1 2008-11-20 Michael Smith <msmith@songbirdnest.com>
3 * gst/gstregistrybinary.c:
4 In win32 codepath, if we fail to write the registry, create the
5 directory for it and try again, matching the behaviour in non-win32
8 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
10 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
11 Changing the render delay changes the latency and so we must post a
14 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
18 Add GstQueryType for custom queries instead of having to use the
19 not-so-very-convenient registration infrastructure to register new
22 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
24 Patch by: Andrew Feren <acferen at yahoo dot com>
26 * gst/gstobject.c: (gst_object_default_deep_notify):
27 Unref the GEnumClass after usage again. Fixes bug #561501.
29 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
31 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
32 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
33 (gst_bin_change_state_func):
35 Add do-latency signal with the old default fallback implementation. This
36 allows for custom latency calculations for when the default is not
38 API: GstBin::do-latency signal.
40 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
42 * win32/common/libgstreamer.def:
43 Add new symbols to .def file.
45 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
47 * docs/gst/gstreamer-sections.txt:
48 * gst/gstbin.c: (gst_bin_recalculate_latency),
49 (gst_bin_change_state_func):
51 Add method to recalculate and redistribute the latency on a bin.
52 API: gst_bin_recalculate_latency().
54 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
57 Document the free_func.
59 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
61 * libs/gst/controller/gstinterpolation.c:
62 * libs/gst/controller/gstlfocontrolsource.c:
63 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
64 as it is mapped to a cast on non-win32 platforms.
66 2008-11-17 Stefan Kost <ensonic@users.sf.net>
68 * libs/gst/controller/gstcontroller.c:
69 * libs/gst/controller/gstcontrollerprivate.h:
70 Keep last-value and only call set_property if value has changed. This
71 supresses all the g_object_notifies we would trigger otherwise. It
72 also allows the user to chage the value while there is no controller
75 2008-11-17 Stefan Kost <ensonic@users.sf.net>
78 Don't crash if either of the string GValues is empty.
80 2008-11-17 Andy Wingo <wingo@pobox.com>
82 * tools/gst-inspect.c (print_all_uri_handlers): New function,
83 prints a summary of what URI schemes are supported by what
85 (main): Plumb in support for --uri-handlers or -u, and fix the
86 argc check for -a and -u.
88 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
91 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
94 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
96 * gst/gstbuffer.c: (gst_buffer_finalize):
97 Avoid costly typechecking for trivially correct pointers.
99 * gst/gstpoll.c: (gst_poll_wait):
100 Add some G_LIKELY here and there.
102 * libs/gst/base/gstadapter.c: (gst_adapter_push):
105 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
107 * docs/random/wtay/poll-timeout:
110 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
112 * tests/old/testsuite/caps/intersection.c: (main):
113 * tests/old/testsuite/plugin/loading.c: (main):
114 Remove references to deprecated API g_mem_chunk*.
117 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
119 * tools/gst-inspect.c: (main):
120 Add --plugin option. Fixes #560301.
122 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
124 * docs/random/wtay/poll-timeout:
125 Quick braindump for a possible (not totally verified) atomic case.
127 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
129 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
130 (gst_registry_binary_initialize_magic),
131 (gst_registry_binary_write_cache),
132 (gst_registry_binary_check_magic):
133 * gst/gstregistrybinary.h:
134 Don't write and check a CRC for the binary registry file. It's
135 guaranteed that the registry is completely written (it's first written
136 to a temporary file and then moved) and if the registry was corrupted
137 by some hardware failure we would have bigger problems.
139 Bump binary registry version to 0.10.21.1 for this as it's an
140 incompatible change and to ensure that the registry gets rebuild
143 This saves some milliseconds for reading/writing the registry.
146 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
148 * docs/random/wtay/poll-timeout:
149 Some pseudo code for how we could implement clock timeouts with GstPoll.
151 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
153 * plugins/elements/gstfilesink.c:
154 Update Author string to match others.
156 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
158 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
159 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
160 being fixed and inline the trivial check.
162 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
164 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
165 (gst_caps_merge_structure), (gst_caps_get_structure),
166 (gst_caps_copy_nth), (gst_caps_set_simple),
167 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
168 (gst_caps_is_equal_fixed), (gst_caps_intersect),
169 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
170 (gst_caps_to_string):
171 Callgrind micro optimisations.
172 Avoid array bounds checks and force inline of trivial function.
174 * gst/gstobject.c: (gst_object_set_name_default):
175 -1 is equivalent to letting glib to the strlen but then there is more
176 room for optimisations and it's not our fault.
178 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
179 no need to clear the array, we're cool.
181 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
182 The most common _is_fixed() check is done on fundamental glib base
183 types so we check this first instead of doing a huge amount of
184 useless GST_TYPE_ARRAY calls.
186 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
189 Add a SKIP seek flag for use with advanced trickmodes.
190 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
192 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
194 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
195 No need to memset, we can clear the value ourselves.
197 * gst/gstvalue.c: (gst_type_is_fixed),
198 (gst_value_get_compare_func):
199 Some optimisations from a few callgrind sessions:
200 When checking if a type is fixed, check for trivial fundamental types
201 first before checking types for which we need to get the type followed
202 by the heavy duty type checks, this reduces the amount of
203 g_type_fundamental() calls a lot.
204 When getting the compare function, first check for our registered types.
205 If that fails, do the heavy duty g_type_is_a() checks, reduces the
206 amount of g_type_is_a() considerably.
208 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
210 * docs/design/part-TODO.txt:
211 Mumble something about removing GstXML.
213 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
215 * gst/gstbin.c: (gst_bin_handle_message_func):
216 Get the seqnum before we dispose the message.
218 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
220 * docs/design/part-TODO.txt:
221 Refer to the framestepping document.
223 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
225 * gst/gstbin.c: (bin_handle_async_start),
226 (gst_bin_handle_message_func), (gst_bin_query):
227 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
228 (gst_base_sink_event), (gst_base_sink_change_state):
229 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
230 (gst_base_src_loop), (gst_base_src_change_state):
231 Copy seqnums from events to messages so that they can all be related
234 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
236 * tools/gst-launch.c: (event_loop):
237 Print the message seqnums.
239 2008-11-04 Andy Wingo <wingo@pobox.com>
241 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
243 2008-11-04 Andy Wingo <wingo@pobox.com>
245 Add sequence numbers to events and messages. See #559250.
247 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
251 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
252 events with a new sequence number, and copy it when copying.
253 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
254 an event's sequence number.
257 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
258 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
261 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
263 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
265 * docs/manual/advanced-position.xml:
266 * docs/manual/basics-bins.xml:
267 * docs/manual/basics-bus.xml:
268 * docs/manual/basics-pads.xml:
269 * docs/manual/intro-gstreamer.xml:
270 * docs/manual/intro-preface.xml:
271 Some Application Development Manual fixes thanks to
272 Andrew Feren. Fixes #558459.
274 2008-11-03 Stefan Kost <ensonic@users.sf.net>
276 * gst/gstregistrybinary.c:
277 Don't bother with the GTimer if we don't output the results.
279 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
281 Patch by: David Schleef <ds@schleef.org>
283 * libs/gst/net/Makefile.am:
284 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
286 2008-10-31 Stefan Kost <ensonic@users.sf.net>
288 * gst/gstregistrybinary.c:
289 Oh my, studip, stupid me. Remove double stat() call.
291 2008-10-31 Stefan Kost <ensonic@users.sf.net>
294 Use g_unlink instead of unlink.
296 * gst/gststructure.c:
305 Formatting & whitespaces.
307 2008-10-31 Stefan Kost <ensonic@users.sf.net>
309 * plugins/elements/gstidentity.c:
310 Doc typo. Use return value of parent_class->event.
312 * plugins/elements/gsttypefindelement.c:
313 Chain up at the end for consistency.
315 2008-10-30 Stefan Kost <ensonic@users.sf.net>
318 * docs/gst/gstreamer-docs.sgml:
319 * docs/gst/gstreamer-sections.txt:
320 * docs/gst/running.xml:
321 * docs/libs/gstreamer-libs-docs.sgml:
322 Change to xinclude based build - its faster and easier to maintain.
324 2008-10-30 Stefan Kost <ensonic@users.sf.net>
326 * gst/gstregistrybinary.c:
327 * gst/gstregistryxml.c:
328 Use g_unlink() as none of these are directories.
330 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
332 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
335 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
337 * libs/gst/base/gstbasetransform.c:
338 (gst_base_transform_find_transform), (gst_base_transform_getrange):
339 If we have a fixate function, call it even if we already have fixed caps
340 because the subclass might add some caps. Makes audioconvert add a
341 default channel layout.
343 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
345 * libs/gst/base/gstbasetransform.c:
346 (gst_base_transform_prepare_output_buffer),
347 (gst_base_transform_getrange):
348 Clear the output buffer variable.
349 Cleanups to the error path in the getrange function.
352 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
354 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
355 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
356 Use gst_buffer_try_new_and_alloc() and handle errors instead of
357 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
360 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
362 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
363 Set the last_stop to a more meaningful position when configuring the
364 segment. ie. the start/stop of the segment or clipped against the
365 updated segment boundaries.
367 * tests/check/gst/gstsegment.c: (GST_START_TEST):
368 Add some unit tests for the last_stop.
370 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
372 * libs/gst/base/gstbytereader.c:
373 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
376 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
378 * docs/gst/gstreamer-sections.txt:
380 API: Move float endianness conversion macros from libgstfloatcast
381 to core as it's useful in general, even in core. Fixes bug #555196.
382 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
383 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
384 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
386 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
387 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
388 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
389 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
391 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
393 * docs/libs/gstreamer-libs-sections.txt:
394 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
395 (gst_byte_reader_peek_data):
396 * libs/gst/base/gstbytereader.h:
397 * win32/common/libgstbase.def:
398 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
399 to get a pointer to the data at the current position and have
402 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
405 Fix a bug in the output of the configure script summary
406 when --gst-disable-registry is supplied
408 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
410 * libs/gst/base/gstbitreader.c:
411 * libs/gst/base/gstbytereader.c:
412 Fix the names of 2 functions in the docs strings.
414 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
416 * libs/gst/base/gstbasetransform.c:
417 (gst_base_transform_prepare_output_buffer),
418 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
419 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
420 refcount problems as seen in banshee and maybe also in farsight2.
421 Remove atomic int now that we need to take the lock anyways.
423 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
425 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
426 (gst_base_sink_default_prepare_seek_segment),
427 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
428 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
429 (gst_base_sink_query):
430 Implement more seeking in pull mode.
431 Use pad convert functions to convert position to the requested format.
432 Fix position/duration reporting in pull mode.
433 Implement position and duration reporting in other formats than time.
435 * libs/gst/base/gstbasesink.h:
436 Add member to keep track of when the segment is playing.
438 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
440 * gst/gstpad.c: (gst_pad_configure_src):
441 When we use gst_pad_alloc_buffer() without wanting to set the caps we
442 also don't need to check if the caps are compatible because the caller
443 presumably is going to perform its own custom checks. Fixes some cases
444 where basetransform elements would error out when it was not needed.
446 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
448 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
451 * libs/gst/base/gstbasetransform.c:
452 (gst_base_transform_handle_buffer),
453 (gst_base_transform_reconfigure):
456 * win32/common/libgstbase.def:
459 2008-10-19 Stefan Kost <ensonic@users.sf.net>
461 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
462 Remove duplicated assignment and log a message in failure case.
464 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
466 Patch by: Dig Ge <dig.ge.cn at gmail com>
468 * tests/examples/helloworld/helloworld.c: (main):
469 Fix copy'n'paste bug in hello world example (#556900).
471 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
473 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
474 (gst_base_sink_query):
475 Query the total number of bytes when activating the pad in pull mode.
476 Implement duration query in pull mode by using the installed pad convert
477 function to convert from bytes to the requested format.
479 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
481 * docs/libs/gstreamer-libs-sections.txt:
482 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
483 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
484 (gst_base_sink_event), (gst_base_sink_perform_seek),
485 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
486 (gst_base_sink_send_event), (gst_base_sink_change_state):
487 * libs/gst/base/gstbasesink.h:
488 Add method to commit the state in subclasses.
489 Refactor the flush_start and flush_stop code because we need it for
490 flushing while seeking too.
491 Implement the beginnings of seeking in pull mode.
492 Use the segment last_stop field for the pulling offset.
493 Fix the pause method in pull mode.
494 Configure the segment to BYTES for pull mode.
495 API: GstBaseSink::gst_base_sink_do_preroll()
497 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
499 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
502 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
504 * gst/gstquark.c: (_priv_gst_quarks_initialize):
505 Fix printf format warning.
507 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
509 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
510 Fix flow aggregation of tee. Error out immediately for all flow returns
511 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
512 and return OK if at least one pad is linked.
514 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
515 and otherwise returned the flow return of the last pad, which is wrong.
517 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
518 (GST_START_TEST), (tee_suite):
519 Add unit tests for the flow aggregation.
521 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
523 * docs/design/part-TODO.txt:
524 Remove item from the todo list because it was fixed with the latency
525 state change rewrites.
527 * docs/design/part-seeking.txt:
528 * docs/design/part-segments.txt:
531 * gst/gstevent.c: (gst_event_new_new_segment_full),
532 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
533 (gst_event_parse_buffer_size), (gst_event_new_qos),
534 (gst_event_parse_qos), (gst_event_new_seek),
535 (gst_event_parse_seek), (gst_event_new_latency),
536 (gst_event_parse_latency):
537 Use quarks to construct and parse events.
539 * gst/gstquark.c: (_priv_gst_quarks_initialize):
541 Add some more quarks to the table.
542 Emit a warning when the quark tables are not in sync.
544 * tests/check/gst/gstbus.c: (GST_START_TEST):
547 2008-10-13 Stefan Kost <ensonic@users.sf.net>
549 * plugins/elements/Makefile.am:
550 * plugins/indexers/Makefile.am:
551 Don't install static libs for plugins. Fixes #550851 for core.
553 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
555 * gst/gstbus.c: (gst_bus_source_finalize),
556 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
557 (gst_bus_enable_sync_message_emission),
558 (gst_bus_disable_sync_message_emission),
559 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
560 Fix deadlock, g_source_get_id() cannot be called in finalize.
561 Keep track of the watch source by keeping a pointer to the source object
563 Use the bus lock to protect access to the pointer to the current
566 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
568 Base on Patch by: Olivier Crete <tester at tester dot ca>
570 * gst/gstbus.c: (gst_bus_source_finalize),
571 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
572 Only allow one bus watch to be set at a time. This is necessary
573 because the dispatcher pops the message from the bus and the second
574 watcher will then get NULL or the next message (and the first won't
575 get this next message then, etc). If more than one "watcher" is
576 required signal watches should be used. Fixes bug #526044.
578 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
580 * tools/gst-launch.c:
581 Change the printing of the 'buffering...' output to avoid putting
582 a \r in a translateable string (flagged by the TP).
584 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
587 Clarify that the save_thyself() and restore_thyself() virtual
588 functions of GstObject need to be overriden, not
589 gst_object_(save|restore)_thyself() which is impossible.
592 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
594 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
595 Revert a patch from 21 months ago that broke caps negotiation in pull
596 mode. Basically, having a buffer pass over a pad will trigger the
597 setcaps function when caps change, just like in push mode.
599 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
601 * docs/design/part-negotiation.txt:
602 Update the docs some more.
604 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
605 If we pull a buffer with non-trivial caps, suggest those caps with the
608 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
610 * docs/design/part-TODO.txt:
611 Add another limitation of pad-blocking with segment seeks not pushing
614 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
616 * win32/common/libgstbase.def:
617 * win32/common/libgstreamer.def:
618 Add new symbols to the win32 defs files
620 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
622 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
623 (gst_bin_handle_message_func):
624 The message src can be NULL, don't try to print the object names in that
627 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
628 Add some more debug info.
630 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
633 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
636 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
638 * docs/design/part-negotiation.txt:
641 * docs/libs/gstreamer-libs-sections.txt:
642 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
643 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
644 (gst_base_sink_init), (gst_base_sink_set_blocksize),
645 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
646 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
647 (gst_base_sink_loop), (gst_base_sink_pad_activate),
648 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
649 (gst_base_sink_change_state):
650 * libs/gst/base/gstbasesink.h:
651 Add blocksize property and methods to control the amount of data
653 Negotiate first before activating upstream in pull mode so that they can
654 negotiate themselves.
655 When we operate in pull mode, we only accept the caps that we
657 Make the sink go ASYNC to PAUSED, like all other sinks.
658 API: GstBaseSink::gst_base_sink_set_blocksize()
659 API: GstBaseSink::gst_base_sink_get_blocksize()
660 API: GstBaseSink::blocksize
662 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
663 (gst_base_src_set_live), (gst_base_src_is_live),
664 (gst_base_src_set_format), (gst_base_src_query_latency),
665 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
666 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
667 (gst_base_src_set_property), (gst_base_src_get_property):
668 * libs/gst/base/gstbasesrc.h:
669 Add typechecking in public API functions.
670 Add methods to control the blocksize in subclasses.
671 API: GstBaseSrc::gst_base_src_set_blocksize()
672 API: GstBaseSrc::gst_base_src_get_blocksize()
674 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
676 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
677 (buffer_probe), (event_probe), (GST_START_TEST):
678 We now see 3 events go through our pad, since basesink now sends
679 upstream latency events.
681 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
683 * gst/gstpipeline.c: (gst_pipeline_change_state):
684 Release the object lock before trying to flush the bus.
686 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
688 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
689 Forward LATENCY events upstreams so that elements know about the total
690 pipeline latency. Fixes #555307.
692 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
694 * plugins/elements/gstqueue.c:
695 Allow through queries when we don't know how
696 to adjust them (not TIME or BYTES), as otherwise it's
697 not possible to query the current position in order
698 to seek in other formats at all.
700 2008-10-08 Andy Wingo <wingo@pobox.com>
702 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
704 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
708 Unbreak -good build, private is a reserved c++ keyword.
710 2008-10-08 Andy Wingo <wingo@pobox.com>
712 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
713 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
714 removal: re-add GST_GHOST_PAD_CAST to the header.
716 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
717 (GstGhostPadClass): Publically expose these structures so as to
718 allow easy subclassing from C. Hide the member data behind a
719 private opaque data pointer.
721 * gst/gstghostpad.c: Adapt to store instance data in the type
722 instance's private data region, not in the public struct.
724 2008-10-08 Andy Wingo <wingo@pobox.com>
726 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
727 template via g_object_get(), be sure to unref it.
729 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
731 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
733 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
734 If we can't get a cache file don't try to save something to it.
735 Dereferencing NULL pointers usually isn't a good idea.
737 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
739 * tests/check/Makefile.am:
740 * tests/check/gst/gstabi.c:
741 * tests/check/gst/struct_sparc.h:
742 * tests/check/libs/libsabi.c:
743 * tests/check/libs/struct_sparc.h:
746 * tests/check/gst/gstvalue.c: (GST_START_TEST):
747 Cast signed integer to unsigned to avoid a compiler warning.
749 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
751 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
752 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
753 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
754 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
755 (gst_byte_reader_peek_int24_be):
756 Use new GST_READ_UINT24_(LE|BE) macros.
758 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
760 * docs/gst/gstreamer-sections.txt:
762 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
763 as it's too easy to break the ISO C strict aliasing rules with simple
764 casts to the corresponding type and this would introduce hard to debug
765 bugs. Fixes bug #545714.
767 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
769 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
771 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
772 * gst/gstghostpad.c: (gst_ghost_pad_construct):
773 Add 'Since' bits to gtk-doc chunks for new API.
775 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
777 * docs/gst/gstreamer-sections.txt:
780 2008-10-06 Andy Wingo <wingo@pobox.com>
782 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
783 that will be called on the malloc_data to free it. Basically a way
784 to avoid subclassing when all you need is a different free
785 function, i.e. free() instead of g_free().
787 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
788 calling the free function.
789 (gst_buffer_init): Initialize the free function to g_free.
791 2008-10-06 Andy Wingo <wingo@pobox.com>
794 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
795 finishes the initialization of ghost pad. Useful for language
796 bindings and subclassers of GstGhostPad. Fixes #539108.
797 (gst_ghost_pad_new_full): Use the new constructor.
799 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
801 Base on Patch by: Olivier Crete <tester at tester dot ca>
803 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
804 (gst_bin_remove_func), (update_degree),
805 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
806 Keep track of pads that are being linked/unlinked and resync the state
809 * gst/gstpad.c: (gst_pad_get_direction),
810 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
811 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
812 (gst_pad_link_prepare), (gst_pad_link),
813 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
814 (gst_pad_check_pull_range), (gst_pad_get_range),
815 (gst_pad_pull_range):
816 Some code cleanups, use macros to check pad direction.
817 Don't need to take the lock on the pad direction.
818 Post structure change when pads are linked/unlinked.
819 Change some checks into _return_if_fail().
821 * tests/check/gst/gstbin.c:
822 (test_link_structure_change_state_changed_sync_cb),
823 (GST_START_TEST), (gst_bin_suite):
824 Add testcase for pad link/unlinke resync during a state change.
827 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
829 * docs/gst/gstreamer-sections.txt:
830 * gst/gstmessage.c: (gst_message_new_structure_change),
831 (gst_message_parse_structure_change):
833 Implement STRUCTURE_CHANGED messages. These messages will be used to
834 signal the parent bin of link/unlink operations that could require a
835 resync when doing a state change. See ##510354.
836 API: gst_message_new_structure_change()
837 API: gst_message_parse_structure_change()
839 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
843 Add some more quarks for new message. See #510354.
845 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
847 * docs/libs/gstreamer-libs-docs.sgml:
848 * docs/libs/gstreamer-libs-sections.txt:
849 * libs/gst/base/Makefile.am:
850 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
851 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
852 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
853 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
854 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
855 (gst_bit_reader_skip_to_byte):
856 * libs/gst/base/gstbitreader.h:
857 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
858 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
859 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
860 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
861 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
862 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
863 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
864 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
865 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
866 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
867 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
868 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
869 * libs/gst/base/gstbytereader.h:
870 * tests/check/Makefile.am:
871 * tests/check/libs/bitreader.c: (GST_START_TEST),
872 (gst_bit_reader_suite):
873 * tests/check/libs/bytereader.c: (GST_START_TEST),
874 (gst_byte_reader_suite):
875 API: Add bit reader and byte reader classes, including documentation
876 and an extensive unit test suite. Fixes bug #553554.
878 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
880 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
881 (gst_base_sink_query):
882 Improve position reporting while flushing and other intermediate state
883 changes. Fixes #553874.
885 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
887 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
889 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
890 Original patch by : Simon Descaries
891 Fix small refount leak in caps compatibility check.
894 2008-10-06 Stefan Kost <ensonic@users.sf.net>
896 * docs/pwg/advanced-request.xml:
897 Fix 0.8 api usage in example. Fixes #554561
899 * docs/pwg/appendix-porting.xml:
900 Change 0.9 to 0.10 here.
902 2008-10-06 Stefan Kost <ensonic@users.sf.net>
904 * docs/manual/basics-data.xml:
905 Change "event-event interaction" to "element-element interaction".
906 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
909 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
912 Back to development -> 0.10.21.1
914 === release 0.10.21 ===
916 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
919 releasing 0.10.21, "Take These Things From Me"
921 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
924 0.10.20.4 pre-release
926 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
928 * libs/gst/base/gstbasetransform.c:
929 * plugins/elements/gstcapsfilter.c:
930 * tests/check/Makefile.am:
931 * tests/check/elements/.cvsignore:
932 * tests/check/elements/capsfilter.c:
933 Fix assertion in basetransform when the subclass chooses not to
934 allocate a buffer in prepare_buffer(), and make capsfilter error out
935 cleanly if requested to apply caps that don't completely specify the
936 buffer. Fixes #551509
938 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
940 * libs/gst/base/gstbasetransform.c:
941 (gst_base_transform_prepare_output_buffer):
942 Take new caps ref because our old one might have been gone when the
943 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
945 2008-09-15 Stefan Kost <ensonic@users.sf.net>
948 Do not probe availability of check unit test library when cross
949 compiling, as test would not work anyway. Also cleanup verbose output
950 of the check test. Fixes #551952.
952 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
954 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
956 * gst/gstelement.c: (gst_element_sync_state_with_parent):
957 Avoid leaking the parent ref when we fail changing the state of the
958 element using gst_element_sync_state_with_parent(). Fixes #551978.
960 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
962 * docs/manual/intro-motivation.xml::
963 Remove some bits that no longer apply, update others (#551642).
965 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
968 0.10.20.2 pre-release
976 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
978 * win32/common/config.h.in:
979 Add GST_DATADIR, hard-code cpu to x86.
981 * win32/common/libgstreamer.def:
984 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
987 Fix Since: markers for new geo tags.
989 2008-09-02 Stefan Kost <ensonic@users.sf.net>
992 Fix actual tag name define after renaming from altitude to elevation.
994 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
996 * gst/gstpad.c: (add_unref_pad_to_list),
997 (gst_pad_get_internal_links_default):
998 Add fallback when calling the deprecated function on an element that
999 implements the new internal_link handler.
1001 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1003 * docs/gst/gstreamer-sections.txt:
1006 Add new tags for geo location and clarify purpose of existing location
1009 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1011 Patch by: Olivier Crete <tester at tester dot ca>
1013 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1014 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1015 Use thread-safe internal links iterator. Fixes #549504.
1017 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1019 Based on patch by: Olivier Crete <tester at tester dot ca>
1021 * docs/gst/gstreamer-sections.txt:
1022 * win32/common/libgstreamer.def:
1023 * gst/gstpad.c: (gst_pad_init),
1024 (gst_pad_set_iterate_internal_links_function),
1025 (int_link_iter_data_free), (iterate_pad),
1026 (gst_pad_iterate_internal_links_default),
1027 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1029 Add threadsafe replacement functions for getting internal links of an
1030 element. Deprecate the old internal links functions.
1031 API:GstPad::gst_pad_set_iterate_internal_links_function()
1032 API:GstPad::GstPadIterIntLinkFunction
1033 API:GstPad::gst_pad_iterate_internal_links()
1034 API:GstPad::gst_pad_iterate_internal_links_default()
1036 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1037 (gst_proxy_pad_init):
1038 Implement threadsafe internal links.
1040 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1041 Unit test for internal links on tee. See #549504.
1043 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1045 * tests/check/Makefile.am:
1046 libs/transform1 test requires libs/test_transform.c
1048 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1050 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1051 Die evil deadlock, die !
1053 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1055 * gst/gstutils.c: (gst_element_get_compatible_pad):
1056 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1057 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1058 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1059 not steal the refcount of the given caps as stated.
1061 REVERT THIS COMMIT ONCE FIXED !
1062 REVERT THIS COMMIT ONCE FIXED !
1063 REVERT THIS COMMIT ONCE FIXED !
1064 REVERT THIS COMMIT ONCE FIXED !
1065 REVERT THIS COMMIT ONCE FIXED !
1066 REVERT THIS COMMIT ONCE FIXED !
1068 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1070 * gst/gstiterator.c:
1071 * gst/gstiterator.h:
1072 After 3 years it's about time to revise the documentation of the
1075 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1077 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1078 Make the internal links function less thread-unsafe and add some
1079 comments, dunno why.
1081 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1083 * gst/gst_private.h:
1084 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1085 build with --disable-gst-debug.
1087 2008-08-28 David Schleef <ds@schleef.org>
1089 * gst/gstpadtemplate.c: Revert last change, since it breaks
1090 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1091 but shouldn't be enabled until we've released fixed versions
1092 of -good and -ffmpeg.
1094 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1097 Put the gst_object_get_name() back in.
1099 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1101 * gst/gstpadtemplate.c:
1102 The old behaviour was that gst_pad_template_new() takes ownership of
1103 the caps. As we now call g_object_new() which calls g_object_set() and
1104 which copies the caps, we have to unref them to not leak them. Fixes
1105 make valgrid for me.
1107 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1110 Don't segfault on input like "tel:+1-123-555-1234".
1112 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1115 Due to popular request also include ObjectType in
1116 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1118 2008-08-26 David Schleef <ds@schleef.org>
1120 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1121 src_val must be positive, because that's not a requirement.
1122 This causes problems with converting negative granulepos
1124 * gst/gstquery.c: Same, gst_query_new_convert().
1126 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1128 * gst/gstclock.c: (gst_clock_add_observation):
1129 Add some more debugging to the clock slaving code.
1131 * win32/common/libgstbase.def:
1132 Add new basetransform method.
1134 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1136 * gst/gstbin.c: (gst_bin_element_set_state):
1137 Take the (recursive) state lock between getting the locked state of an
1138 element and changing the element state. This allows the application to
1139 lock an element's state and then change its state without races.
1141 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1143 * gst/gstbin.c: (gst_bin_element_set_state):
1144 When an element is in the locked state we still want to update the
1145 base_time of the element.
1147 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1149 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1150 Use the result from gst_pad_set_caps() instead of assuming the element
1151 always accepted the caps computed by the default negotiate function.
1153 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1155 * docs/libs/gstreamer-libs-sections.txt:
1156 * libs/gst/base/gstbasetransform.c:
1157 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1158 (gst_base_transform_chain), (gst_base_transform_suggest),
1159 (gst_base_transform_reconfigure):
1160 * libs/gst/base/gstbasetransform.h:
1161 Implement method for reconfiguring basetransform.
1162 API: GstBaseTransform::gst_base_transform_reconfigure()
1164 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1166 patch by: Murray Cumming <murrayc@murrayc.com>
1169 Mention that this is just like gst_buffer_merge() but with extra
1170 unreffing for C coders. Advise language bindings not to wrap it.
1173 Also fix file comment.
1175 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1177 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1179 * plugins/elements/gstfakesink.c:
1180 * plugins/elements/gstfakesrc.c:
1181 Call super::event() when not handling it. Fixes #544855.
1183 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1185 Patch by: Alessandro Decina <alessandro@nnva.org>
1186 * plugins/elements/gstfilesrc.c:
1187 Use 64 bit variants of stat functions on win32, to enable support
1188 of large files there.
1191 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1193 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1194 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1195 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1196 (gst_base_sink_get_position), (gst_base_sink_change_state):
1197 Improve position reporting in the flushing state.
1198 Also report the position when we are not yet prerolled but we
1199 have a newsegment event. Fixes #543444.
1200 Improve the pull-based negotiation code.
1202 * tests/check/elements/fakesink.c: (GST_START_TEST),
1204 Add testcase for position reporting while flushing in PAUSED and
1207 * tests/check/generic/sinks.c: (GST_START_TEST):
1208 Update unit-test, we can now query the position as soon as we receive a
1211 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1213 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1215 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1216 When the subclass event handler releases the PREROLL_LOCK, we could be
1217 in the flushing state and we have to ignore the event. Fixes #548394.
1219 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1221 * tools/gst-launch.1.in:
1222 Document GST_REGISTRY_UPDATE environment variable.
1224 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1226 * libs/gst/base/gstbasetransform.c:
1227 (gst_base_transform_prepare_output_buffer):
1228 If the element is configured in passthrough mode but the
1229 prepare_output_buffer gave us a new output buffer, discard that buffer
1230 and reuse the input buffer.
1232 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1234 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1236 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1237 (gst_tee_request_new_pad), (gst_tee_release_pad),
1238 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1239 * plugins/elements/gsttee.h:
1240 Protect pad_alloc with a new lock so that we can be sure that nothing is
1241 performing a pad_alloc when removing the pad. Fixes #547835.
1243 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1244 (buffer_alloc_harness_teardown), (app_thread_func),
1245 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1246 Added testcase for shutdown race.
1248 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1253 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1255 * libs/gst/base/gstbasetransform.c:
1256 (gst_base_transform_prepare_output_buffer),
1257 (gst_base_transform_buffer_alloc):
1258 Go over the buffer_alloc function again and make sure we always end up
1259 allocating a buffer.
1261 Avoid doing pad alloc when we have a pending suggestion because we
1262 cannot yet deal with changing caps in that case. Fixes #547728
1264 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1266 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1268 * docs/manual/advanced-clocks.xml:
1269 * docs/manual/clocks.png:
1270 * docs/manual/diagrams-clocks.svg:
1271 Add one more image showing different times together with a describing
1272 paragraph. Fixes #547729.
1274 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1276 * win32/common/libgstbase.def:
1279 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1281 * libs/gst/base/gstbasetransform.c:
1282 (gst_base_transform_transform_caps),
1283 (gst_base_transform_prepare_output_buffer),
1284 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1285 Don't overwrite the outsize when calculating the expected size of a new
1286 buffer because we still need it in case we cannot process the new
1288 When converting the size of the new buffer to an upstream size, actually
1289 use the expected size of the buffer, not some other random value.
1290 Use an atomic int to signal that a new upstream caps suggestion is
1292 When we can convert the current buffer to a new format, check if the
1293 buffer size is of the expected size and allocate a new buffer of the
1294 expected size when this is not the case. Fixes #546883.
1296 * tests/check/libs/transform1.c: (GST_START_TEST):
1297 remove ifdeffed code from the unit test.
1299 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1301 * pkgconfig/gstreamer-uninstalled.pc.in:
1302 * pkgconfig/gstreamer.pc.in:
1303 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1304 called gstcontroller-0.10.
1306 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1308 * gst/gstchildproxy.h:
1310 Remove double interface from doc-string.
1312 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1314 * libs/gst/base/gstbasesrc.c:
1315 * libs/gst/base/gstbasetransform.c:
1316 Fix headings in docs and gtk-doc warnings.
1318 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1320 * gst/gstregistrybinary.c:
1321 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1325 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1327 * libs/gst/base/gstbasetransform.c:
1328 (gst_base_transform_buffer_alloc):
1329 Fix a "may be used unitialized" warning.
1331 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1333 * docs/gst/gstreamer-sections.txt:
1335 Document preset-iface vmethods.
1337 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1339 * docs/manual/advanced-interfaces.xml:
1340 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1341 only used to discover devices.
1343 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1345 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1347 * gst/gst.c: (init_pre):
1348 Make sure gettext returns translations in UTF-8 encoding rather
1349 than in the current locale encoding (#546822).
1351 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1353 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1356 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1357 Improve unit test subset tests and add a testcase for the subset failure
1360 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1361 Improve subtraction unit test.
1363 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1365 * plugins/elements/gsttee.c:
1366 Unlock, instead of locking again.
1368 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1371 Clarify the docs a bit more.
1373 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1375 * tests/examples/metadata/read-metadata.c:
1376 Don't leak old taglist.
1378 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1380 Patch by: Olivier Crete <tester at tester dot ca>
1382 * gst/gststructure.c:
1383 (gst_structure_fixate_field_nearest_fraction):
1384 Avoid overflows in fixation code when dealing with MAXINT values, which
1385 v4l2src seems to do.
1388 * tests/check/gst/gststructure.c: (GST_START_TEST):
1389 Make a unit test to check the fix.
1391 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1393 * plugins/elements/gstcapsfilter.c: (copy_func),
1394 (gst_capsfilter_set_property):
1395 Use new caps suggestion feature of basetransform to request a caps
1396 negotiation upstream.
1398 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1400 * docs/libs/gstreamer-libs-sections.txt:
1402 API: GstBaseTransform::gst_base_transform_suggest()
1404 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1405 (gst_base_transform_init), (gst_base_transform_transform_caps),
1406 (gst_base_transform_transform_size),
1407 (gst_base_transform_configure_caps),
1408 (gst_base_transform_can_transform),
1409 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1410 (gst_base_transform_prepare_output_buffer),
1411 (gst_base_transform_buffer_alloc),
1412 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1413 (gst_base_transform_chain), (gst_base_transform_activate),
1414 (gst_base_transform_set_passthrough),
1415 (gst_base_transform_is_passthrough),
1416 (gst_base_transform_set_in_place),
1417 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1418 (gst_base_transform_set_qos_enabled),
1419 (gst_base_transform_is_qos_enabled),
1420 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1421 (gst_base_transform_reconfigure):
1422 * libs/gst/base/gstbasetransform.h:
1423 Rewrite of basetransform to perform negotiation outside of the
1424 buffer_alloc functions. Fixes #545853.
1426 * tests/check/libs/transform1.c: (GST_START_TEST),
1430 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1432 * tests/check/gst/gstpreset.c:
1433 Only run preset tests when $HOME is writable. Preliminary fix for
1436 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1438 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1439 (gst_bin_change_state_func), (bin_handle_async_done),
1440 (gst_bin_handle_message_func):
1441 Fix race for bins that simulate ASYNC state changes by inserting
1442 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1443 pending ASYNC messages even when the bin does not have ASYNC children.
1444 We note detect this behaviour because we will receive an ASYNC message
1445 that is originating from the bin itself.
1446 Fixes races with decodebin2 state changes.
1448 * tests/check/gst/gstbin.c: (GST_START_TEST):
1449 Add some more debug.
1451 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1453 * gst/gsttaglist.c: (_gst_tag_initialize):
1456 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1459 Argh. actually save the text before committing. Now adds
1460 gst_tag_merge_strings_with_comma() to gst_tag_register().
1462 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1466 Do as tim pointed out and actually register the new tag. Also improve
1467 te docs and use gst_tag_merge_strings_with_comma() method to allow
1468 retriving all keywords merged in one list.
1470 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1473 * docs/gst/gstreamer.types:
1474 Revert 'accidential' change of the configure option removal. We still
1475 need to generate the types file in configure --disable-load-save.
1477 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1479 * docs/gst/gstreamer-sections.txt:
1481 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1483 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1485 * gst/gstpadtemplate.c:
1486 (gst_pad_template_class_init), (gst_static_pad_template_get),
1487 (gst_pad_template_new), (gst_pad_template_pad_created),
1488 (gst_pad_template_set_property), (gst_pad_template_get_property):
1489 Add "name-template", "direction", "presence" and "caps" properties,
1490 so that gst_pad_template_new() is just a thin wrapper around
1491 g_object_new(), which is better for bindings. (Fixes: #539772)
1493 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1496 Be more liberal in what URIs we accept.
1497 Do not unescape bits of the URI for no apparent reason before passing to
1498 the element. Fixes #545352.
1500 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1502 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1505 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1507 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1510 * docs/gst/gstreamer-sections.txt:
1511 * docs/gst/gstreamer.types:
1512 * docs/gst/gstreamer.types.in:
1515 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1516 * gst/gstconfig.h.in:
1517 * gst/gstelement.c: (gst_element_get_index):
1518 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1519 (gst_registry_binary_load_feature),
1520 (gst_registry_binary_read_cache):
1521 * gst/gstregistryxml.c: (load_feature),
1522 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1523 * plugins/Makefile.am:
1525 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1526 (print_plugin_features), (print_element_features):
1527 * tools/gst-xmlinspect.c: (print_event_masks),
1528 (print_element_info):
1529 * win32/common/gstconfig.h:
1530 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1532 Disabling the indexers and URI handler code will only reduce the
1533 required amount of memory by a very small amount but on the other hand
1534 requires much more maintaince work. Apart from that many places of
1535 code are broken when disabling them.
1537 Disabling the enum types doesn't reduce the required amount of memory
1538 by more than a few bytes and makes it hard to fix bugs like #539772,
1539 i.e. use the enums as GObject properties.
1541 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1543 * docs/design/part-TODO.txt:
1544 Add some thoughts and problems with upstream renegotiation.
1546 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1548 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1549 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1550 Remove silly redundant debug.
1551 Add some more debug info.
1552 Clarify the docs regarding new caps received from pad_alloc.
1554 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1556 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1557 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1558 Make setting the caps more threadsafe.
1560 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1562 * docs/design/part-element-transform.txt:
1565 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1567 * plugins/elements/gstqueue.c: (gst_queue_init),
1568 (gst_queue_acceptcaps):
1569 Add and use a custom acceptcaps function instead of falling back to the
1570 potentially less optimized default implementation.
1572 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1574 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1575 Only sanity-check the buffer size if requested_caps == buffer_caps
1576 (ie. don't take pad caps into account, they're not relevant here)
1578 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1580 * plugins/elements/gsttee.c:
1581 * plugins/elements/gsttee.h:
1582 Reverting as not everything is clear yet. Needs some general design
1585 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1588 ChangeLog surgery for tee commit.
1590 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1592 * docs/gst/gstreamer-sections.txt:
1593 Cleanup section-file.
1595 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1597 * plugins/elements/gsttee.c:
1598 * plugins/elements/gsttee.h:
1599 Relay tag events in tee. Fixes parts of #474016.
1600 Downgrades 3 reoccurring debugs to log.
1602 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1605 * libs/gst/Makefile.am:
1606 Build the net library if we have winsock2.
1608 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1610 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1612 * docs/manual/advanced-threads.xml:
1613 * docs/manual/diagrams-pipelines.svg:
1614 * docs/manual/hello-world.png:
1615 * docs/manual/linked-elements.png:
1616 * docs/manual/mime-world.png:
1617 * docs/manual/queue.png:
1618 * docs/manual/thread-buffering.png:
1619 * docs/manual/thread-synchronizing.png:
1620 Replace one diagram with two separate ones and updates others.
1623 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1626 Fix link in documentation.
1628 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1631 Fix confusing documentation.
1633 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1635 * libs/gst/base/gstbasesrc.h:
1636 revert the changes to the header file for the ABI.
1638 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1640 * libs/gst/base/gstbasesrc.c:
1641 * libs/gst/base/gstbasesrc.h:
1642 Don't cache the seekable status.
1645 2008-07-24 Rene Stadler <mail@renestadler.de>
1647 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1648 code to close the pipeline graph. This prevents the program from
1649 printing internal data flow errors.
1651 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1653 * docs/manual/basics-bus.xml:
1654 Correct typo. Fixes bug #544320.
1656 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1659 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1660 Add check (taken from -base) for winsock, adds WIN32_LIBS
1662 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1664 Define GST_EXPORTS when building libgstreamer (only used on win32)
1665 * gst/gst_private.h:
1667 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1668 for symbols that we need to export in both these files.
1670 Include gst_private.h higher up to avoid some compile problems on win32.
1672 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1677 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1680 Previous commit was wrong NULL caps does not exist
1681 and indicate an error, so also add a FIXME to
1682 gst_caps_is_equal where NULL caps are accepted.
1684 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1687 Allow passing of NULL to gst_caps_union
1689 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1691 * gst/gstghostpad.c:
1692 Add in doc that gst_ghost_pad_set_target can accept
1693 NULL to clear target
1695 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1698 * gst/gstregistry.c:
1699 GstRegistryPool doesn't exist; don't refer to it in docs.
1700 Don't refer to functions that don't exist in docs, it's
1703 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1706 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1708 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1710 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1712 * docs/pwg/building-testapp.xml:
1713 Don't use an undeclared variable in the example program.
1716 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1718 * gst/gstdebugutils.c:
1719 Squeeze ghost-pad links and remove <> from classname labels to save
1720 more horizontal space.
1722 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1724 * gst/gstdebugutils.c:
1725 Give request and sometimes pads a different shpe style. Condense the
1726 graphs a little more.
1728 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1731 Don't require flex and bison if the parser is disabled.
1733 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1735 * libs/gst/controller/gstinterpolationcontrolsource.c:
1736 (_list_find_sorted_custom):
1737 Don't use declarations after statements.
1739 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1741 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1742 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1743 of the the child-added / -removed signals as GstChildProxy
1744 only supports GstObjects.
1746 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1748 * gst/gstdebugutils.c:
1751 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1753 Patch by: Alessandro Decina <alessandro at nnva dot org>
1756 Fix "ignored return value" compiler warning with newer glibc.
1758 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1760 * gst/gstchildproxy.c:
1761 Fix copy&paste error in gst_child_proxy_removed() documentation.
1763 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1765 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1766 Print error debug message if plugin description fields that should
1769 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1770 Don't crash if the string to serialise is NULL (it really should
1771 not be, but apparently this used to work with the xml registry ...).
1773 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1775 * tools/gst-plot-timeline.py:
1776 Fix parsing of log messages
1778 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1780 * win32/common/libgstbase.def::
1781 Sort alphabetically so make check-exports doesn't barf.
1783 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1786 Use gst_format_get_name() to improve debug output.
1789 Remove #ifdef'ed code. Add TODO comment.
1792 Add debug output to ease spotting format != segment.format assertions.
1794 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1796 * tests/check/libs/gdp.c: (gst_dp_suite):
1797 Also enable the GDP unit test again on PPC now that the bug
1800 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1802 * libs/gst/dataprotocol/dataprotocol.c:
1803 Don't write to the same region of memory as a uint64 and uint16
1804 as this breaks strict aliasing rules and apparantly breaks on PPC
1805 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1807 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1809 * libs/gst/controller/gstinterpolationcontrolsource.c:
1810 Optimize list handling. Use own find function. Exploit that fact that
1811 the list is sorted. Also pass back the node before, so that we can
1812 insert quickly. Have a fast path for append.
1814 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1816 * docs/design/draft-framestep.txt:
1817 * docs/design/part-negotiation.txt:
1820 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1823 Show configuration sumary after configure run. Based on patch by
1824 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1826 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1828 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1830 * docs/manual/advanced-autoplugging.xml:
1831 * docs/manual/advanced-threads.xml:
1832 * docs/manual/basics-bins.xml:
1833 * docs/manual/basics-elements.xml:
1834 * docs/manual/basics-helloworld.xml:
1835 * docs/manual/basics-pads.xml:
1836 Add scale factor for pdf output.
1838 * docs/manual/intro-basics.xml:
1839 Switched sections "pads" and "bins" and added a pipeline diagram.
1841 * docs/manual/intro-gstreamer.xml:
1842 Added more info on gstreamer.
1844 * docs/manual/intro-motivation.xml:
1845 Commented out the whole section "current problem", which sounds
1846 historical and somehow osolete; it could be turned in a positive
1847 way and reused to improve the design principles.
1849 * docs/manual/intro-preface.xml:
1850 - Update URLs to library.gnome.org.
1851 - Do not mention GTK+ in preliminary reading (irrelevant).
1852 - Mention Plugin Writer's Manual and further reading only in the
1854 - Added a list of most relevant GObject/glib topics.
1856 * docs/manual/Makefile.am:
1857 * docs/manual/bin-element-ghost.fig:
1858 * docs/manual/bin-element-ghost.png:
1859 * docs/manual/bin-element-noghost.fig:
1860 * docs/manual/bin-element-noghost.png:
1861 * docs/manual/bin-element.fig:
1862 * docs/manual/bin-element.png:
1863 * docs/manual/filter-element-multi.fig:
1864 * docs/manual/filter-element-multi.png:
1865 * docs/manual/filter-element.fig:
1866 * docs/manual/filter-element.png:
1867 * docs/manual/gstreamer-overview.png:
1868 * docs/manual/hello-world.fig:
1869 * docs/manual/hello-world.png:
1870 * docs/manual/linked-elements.fig:
1871 * docs/manual/linked-elements.png:
1872 * docs/manual/mime-world.fig:
1873 * docs/manual/mime-world.png:
1874 * docs/manual/queue.fig:
1875 * docs/manual/queue.png:
1876 * docs/manual/simple-player.png:
1877 * docs/manual/sink-element.fig:
1878 * docs/manual/sink-element.png:
1879 * docs/manual/src-element.fig:
1880 * docs/manual/src-element.png:
1881 * docs/manual/diagrams-general.svg:
1882 * docs/manual/diagrams-pipelines.svg:
1883 Removed .fig, added .png counterpart.
1887 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1889 * plugins/elements/gstmultiqueue.c:
1890 * plugins/elements/gstmultiqueue.h:
1891 revert extra-size-buffers stuff, caused some race conditions
1892 and extra-size-buffers is not used anymore. Docs needs some updates
1894 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1896 * win32/common/config.h:
1897 * win32/common/gstenumtypes.c:
1898 * win32/common/gstenumtypes.h:
1899 * win32/common/gstversion.h:
1902 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1904 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1905 (GST_DEBUG_BIN_TO_DOT_FILE):
1906 Add missing Since' markers to gtk-doc blurbs.
1908 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1910 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1911 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1912 (set_caps_1), (set_caps_ct1), (transform_ct1),
1913 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1914 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1915 (transform_size_ct2), (buffer_alloc_ct2):
1916 Add some more tests with switching caps in buffer_alloc.
1918 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1920 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1921 (gst_test_trans_class_init), (result_sink_chain),
1922 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1923 (gst_test_trans_push), (gst_test_trans_pop):
1924 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1925 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1926 (set_caps_1), (set_caps_ct1), (transform_ct1),
1927 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1928 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1929 (transform_size_ct2), (buffer_alloc_ct2),
1930 (gst_basetransform_suite):
1931 More tests, prepare for tests with switching caps in buffer_alloc.
1933 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1935 * plugins/elements/gstmultiqueue.c:
1936 * plugins/elements/gstmultiqueue.h:
1937 Fix dead-lock in underrun_cb
1939 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1941 * docs/design/part-states.txt:
1942 Fix device open/close docs.
1944 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1947 Mention bugnumber for last commit.
1949 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1951 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1953 * docs/manual/manual.xml:
1954 - Reorganised the previous "introduction" bundle into Foreword,
1955 Introduction, and About GStreamer. The two first are <preface>
1956 docbook elements. The later is the first part of the book.
1957 - added intro-gstreamer.xml (content partially from
1959 - moved appendix-win32.xml into appendix-integration.xml
1961 * docs/manual/intro-preface.xml: gstreamer section moved...
1962 * docs/manual/intro-gstreamer.xml: ...here. new file.
1964 * docs/manual/appendix-win32.xml: removed file. Content moved...
1965 * docs/manual/appendix-integration.xml: ...here.
1967 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1968 * docs/manual/appendix-checklist.xml: ...here.
1972 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1974 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1976 * docs/manual/basics-helloworld.xml:
1977 * docs/manual/hello-world.fig:
1978 - Explicitely include glib.h.
1979 - Do not use global variables.
1980 - Use g_printerr() instead of g_print().
1981 - Minor formating/renaming to increase readibility.
1982 - Renamed new_pad() to on_pad_added()
1983 - Improved explenatory comments.
1984 - renamed ogg parser to ogg demuxer
1985 - Use "autoaudiosink" instead of "alsasink".
1988 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1991 Remove cvs conflict marker.
1993 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1996 Document that for plgin-docs we extraxt he short-desc from the element
1999 * docs/design/part-states.txt:
2000 Tell that devices should be closed in PAUSED -> READY.
2002 * docs/manual/README:
2003 Document how tests in the manual are handled.
2008 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2010 * gst/gstbin.c: (bin_query_latency_fold):
2011 Only care about latency min and max when the sink is actually a live
2014 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2016 * docs/design/part-block.txt:
2019 * docs/design/part-element-transform.txt:
2020 Add notes about why transform needs to know input/output sizes.
2021 Add some issues that need to be solved.
2022 Add some more use cases.
2024 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2025 (gst_test_trans_class_init), (result_sink_chain),
2026 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2027 (gst_test_trans_push), (gst_test_trans_pop):
2028 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2029 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2030 (set_caps_1), (set_caps_ct1), (transform_ct1),
2031 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2032 (gst_basetransform_suite):
2033 Add suport for different pad templates and buffer-alloc.
2034 Add more checks for caps and buffer-alloc.
2035 Add checks for proxy buffer alloc.
2036 Add unit test for copy transform.
2038 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2040 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2042 * docs/manual/appendix-integration.xml:
2043 * docs/manual/appendix-licensing.xml:
2044 * docs/manual/basics-elements.xml:
2045 * docs/manual/basics-helloworld.xml:
2046 * docs/manual/basics-pads.xml:
2047 * docs/manual/highlevel-components.xml:
2048 * docs/manual/highlevel-xml.xml:
2049 * docs/manual/intro-basics.xml:
2050 * docs/manual/intro-preface.xml:
2051 Typo and formatting fixes (#538594).
2053 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2055 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2056 Fix some memory leaks and uses of object instances that we don't
2059 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2061 * plugins/elements/gstmultiqueue.c:
2062 Add functionality to extra-size-buffers property.
2064 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2066 * plugins/elements/gstmultiqueue.c:
2067 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2068 activate the pads if they are added in STATE_NULL.
2070 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2072 * docs/libs/gstreamer-libs-sections.txt:
2074 * libs/gst/check/gstcheck.c:
2075 * libs/gst/check/gstcheck.h:
2076 API: gst_check_teardown_pad_by_name
2078 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2080 * libs/gst/check/gstcheck.c:
2081 * libs/gst/check/gstcheck.h:
2082 Also setup request pads and allow setup pads by name (#537812)
2083 API: gst_check_setup_src_pad_by_name
2084 API: gst_check_setup_sink_pad_by_name
2086 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2088 * tests/check/gst/gstbuffer.c:
2089 * tests/check/pipelines/parse-launch.c:
2090 Use HAVE_VALGRIND_H some more.
2092 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2094 * scripts/cvs-update.sh:
2095 Pass arguments to make.
2096 Run autoregen.sh if Makefile is not there.
2098 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2102 Don't assume that <valgrind/valgrind.h> exists just because
2103 the binary is there.
2105 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2107 * tests/check/Makefile.am:
2108 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2109 (gst_test_trans_class_init), (gst_test_trans_init),
2110 (gst_test_trans_set_data), (result_sink_chain),
2111 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2112 (gst_test_trans_pop):
2113 * tests/check/libs/transform1.c: (GST_START_TEST),
2114 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2115 Add some test basetransform element and the beginnings of various
2118 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2120 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2121 Increase code readability.
2122 Don't try to compare buffer offsets when ther are invalid.
2124 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2126 * docs/design/Makefile.am:
2127 Dist some more design docs.
2129 * docs/random/moving-plugins:
2130 Small addition: good plugins mustn't have functional code
2131 within assertion macros.
2133 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2135 * docs/design/draft-framestep.txt:
2136 Some ideas about a framestep API
2138 * docs/design/part-element-transform.txt:
2139 Start design and use cases for basetransform in order to get it
2142 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2145 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2146 be in UTF-8 encoding.
2148 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2151 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2153 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2155 * plugins/elements/gstcapsfilter.c:
2156 * plugins/elements/gstfakesink.c:
2157 * plugins/elements/gstfakesrc.c:
2158 * plugins/elements/gstfdsink.c:
2159 * plugins/elements/gstfdsrc.c:
2160 * plugins/elements/gstfilesink.c:
2161 * plugins/elements/gstfilesrc.c:
2162 * plugins/elements/gstidentity.c:
2163 * plugins/elements/gstmultiqueue.c:
2164 * plugins/elements/gstqueue.c:
2165 * plugins/elements/gsttee.c:
2166 * plugins/elements/gsttypefindelement.c:
2167 Remove short_description. Add basic docs for gsttypefindelement.
2168 Simplify markup for fakesrc/fdsrc.
2170 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2172 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2175 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2177 Patch by: Joel Larsson <tilljoel at gmail dot com>
2179 * docs/plugins/gstreamer-plugins.args:
2180 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2181 (gst_fd_src_init), (gst_fd_src_update_fd),
2182 (gst_fd_src_set_property), (gst_fd_src_get_property),
2183 (gst_fd_src_create):
2184 * plugins/elements/gstfdsrc.h:
2185 Add timeout property like udpsrc. Fixes #538628.
2186 Add some more docs and example pipelines.
2188 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2190 * docs/libs/gstreamer-libs-sections.txt:
2191 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2192 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2193 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2194 (gst_base_sink_do_sync):
2195 * libs/gst/base/gstbasesink.h:
2196 * win32/common/libgstbase.def:
2197 Add method to allow sinks to specify additional delay between the sync
2198 times and the actual rendering of the data.
2199 API: gst_base_sink_set_render_delay()
2200 API: gst_base_sink_get_render_delay()
2202 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2205 Bump version number back to dev -> 0.10.20.1
2207 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2209 * docs/gst/gstreamer-sections.txt:
2210 * gst/gsttaglist.c: (_gst_tag_initialize):
2212 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2215 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2217 * libs/gst/controller/gstcontroller.c:
2218 Revert one change, that make ret value possible uninitialized.
2220 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2222 * libs/gst/controller/gstcontroller.c:
2223 Use freeze/thaw notify to sync notify emission a bit (its also more
2224 efficient). Move debug output to LOG (is called a lot in a loop).
2225 Always unset g_values if the have been initialized.
2227 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2229 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2230 (gst_base_sink_wait_eos), (gst_base_sink_event):
2231 If we have not seen a buffer before EOS, use the segment values to
2232 report the current position instead of invalid positions.
2234 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2236 * docs/plugins/tmpl/.cvsignore:
2237 * tests/check/gst/.cvsignore:
2240 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2242 * libs/gst/controller/gstinterpolation.c:
2243 * libs/gst/controller/gstinterpolationcontrolsource.c:
2244 * tests/check/libs/controller.c:
2245 Rewrite handling of default values. Fix overflow with unsigned types
2246 in linear interpolation. Remove now obsolete _first_value() function.
2247 Add more tests. Fixes #538201.
2249 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2251 * libs/gst/base/gstbasetransform.c:
2252 (gst_base_transform_class_init), (gst_base_transform_init),
2253 (gst_base_transform_transform_caps),
2254 (gst_base_transform_prepare_output_buffer):
2256 When a buffer is writable, its metadata is also writable so we don't
2257 need to subbuffer (which then makes the buffer not-writable anymore).
2259 === release 0.10.20 ===
2261 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2264 releasing 0.10.20, "You Crazy Diamond"
2266 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2269 0.10.19.3 pre-release
2271 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2275 Rename DATADIR to GST_DATADIR to avoid build problems
2276 on win32. Patch By: David Schleef <ds@schleef.org>
2279 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2282 Explicitely link with -ldl if dladdr() is found there. Before it was
2283 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2284 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2286 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2288 * gst/gsterror.c: (_gst_stream_errors_init):
2289 Fix typo (spotted by Fabricio Godoy, #536723).
2291 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2294 0.10.19.2 pre-release
2296 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2298 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2299 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2301 Make sure we don't generate invalid QoS messages.
2303 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2305 * gst/gstevent.c: (gst_event_new_qos):
2306 Add some assert and docs for invalid input to the qos function.
2308 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2310 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2311 (gst_base_sink_get_position):
2312 The reported position must always be smaller than the last seen
2313 timestamps (or timestamp + duration for reverse).
2315 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2317 Patch by: Rob Bradford <rob at robster dot org dot uk>
2319 * gst/gstregistry.c: (gst_registry_scan_path_level):
2320 Don't recurse into .debug directories as some distros install
2321 the debugging symbols next to the plugins in .debug directories
2322 and dlopen() crashes on them sometimes. Fixes bug #508070.
2324 Add FIXME for 0.11 to not recurse into directories at all because
2325 it's very inconsistent to the behaviour of other PATH environment
2328 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2330 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2331 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2332 Fix position query range checks in reverse playback.
2334 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2338 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2339 clear of the reference to the resulting pad must be released later
2340 or not, resulting in possible leaks. Fixes bug #533865.
2342 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2344 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2346 * gst/gstelementfactory.c:
2347 Small doc fix. Fixes #535285.
2349 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2351 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2353 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2354 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2355 (gst_base_src_loop), (gst_base_src_set_flushing),
2356 (gst_base_src_change_state):
2357 Make sending an EOS event to the basesrc non-blocking even if the
2358 implementation does blocking waits in the create function. This is done
2359 by unlocking the create function when EOS is sent.
2362 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2364 * tools/gst-inspect.c: (print_element_properties_info):
2365 If possible print the element type of GValueArray properties.
2367 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2369 * gst/gstiterator.c:
2370 Remove an unused field from the private GstListIterator struct.
2372 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2374 * libs/gst/controller/gstcontroller.c:
2375 Add parameter guards.
2377 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2379 * tests/check/gst/gstpipeline.c:
2380 Revert test change and add comment why it should not work.
2382 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2384 * tests/check/gst/gstpipeline.c:
2385 Extending the test a little to verify that we also get the NULL state-
2388 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2390 * gst/gstpreset.c: (gst_preset_default_get_meta),
2391 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2392 (gst_preset_load_preset), (gst_preset_save_preset),
2393 (gst_preset_rename_preset), (gst_preset_delete_preset),
2394 (gst_preset_set_meta):
2395 Add Since: markers to docs blurbs.
2397 * win32/common/libgstreamer.def:
2398 Add recently-added API.
2400 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2402 Patch by: Stefan Kost <ensonic@users.sf.net>
2405 Add DATADIR for storing presets.
2407 * docs/gst/gstreamer-docs.sgml:
2408 * docs/gst/gstreamer-sections.txt:
2409 * docs/gst/gstreamer.types.in:
2410 Add GstPreset to docs.
2414 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2415 (preset_open_and_parse_header), (preset_parse_version),
2416 (preset_merge), (preset_get_keyfile),
2417 (gst_preset_default_get_preset_names),
2418 (gst_preset_default_get_property_names),
2419 (gst_preset_default_load_preset),
2420 (gst_preset_default_save_presets_file),
2421 (gst_preset_default_save_preset),
2422 (gst_preset_default_rename_preset),
2423 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2424 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2425 (gst_preset_default_reset), (gst_preset_get_preset_names),
2426 (gst_preset_get_property_names), (gst_preset_load_preset),
2427 (gst_preset_save_preset), (gst_preset_rename_preset),
2428 (gst_preset_delete_preset), (gst_preset_set_meta),
2429 (gst_preset_get_meta), (gst_preset_class_init),
2430 (gst_preset_base_init), (gst_preset_get_type):
2432 Add GstPreset to core. Fixes #396779
2434 * tests/check/Makefile.am:
2435 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2436 (gst_preset_test_set_property), (gst_preset_test_class_init),
2437 (gst_preset_test_base_init), (gst_preset_test_get_type),
2438 (gst_preset_test_plugin_init), (GST_START_TEST),
2439 (remove_preset_file), (test_setup), (test_teardown),
2441 Add GstPreset unit tests.
2443 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2445 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2446 The default event function on a sinkpad should return TRUE when
2447 there are no internal links but should collect the return values from
2448 the internal links otherwise.
2450 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2452 * plugins/elements/gsttypefindelement.c:
2453 (gst_type_find_element_src_event),
2454 (gst_type_find_element_handle_event):
2455 Use faster and safer _pad_push_event().
2457 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2459 * docs/gst/gstreamer-sections.txt:
2460 * gst/gstutils.c: (element_find_unlinked_pad),
2461 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2463 API: add gst_bin_find_unlinked_pad()
2464 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2466 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2472 Fixed a bunch of typos.
2474 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2477 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2478 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2479 (gst_parse_bin_from_description_full):
2481 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2483 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2485 * docs/pwg/advanced-tagging.xml:
2486 Small docs update, can't be bothered to rewrite the nonsensical
2489 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2492 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2494 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2496 * gst/parse/grammar.y:
2497 Remove unneeded casts.
2499 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2501 * gst/parse/grammar.y:
2502 * tests/check/pipelines/parse-launch.c:
2503 Get all missing elements from a parse launch string if possible
2504 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2506 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2508 * tests/check/Makefile.am:
2509 * tests/check/pipelines/parse-launch.c:
2510 Add some unit tests for the new gst_parse_launch*_full() API.
2511 (Exposes a previously-existing memory leak in the error code
2512 path, so adding to VALGRIND_TO_FIX for now).
2514 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2516 * docs/gst/gstreamer-sections.txt:
2517 * gst/gst.c: (init_post):
2518 * gst/gst_private.h: (_GstParseContext):
2519 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2520 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2521 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2522 (gst_parse_launch_full):
2523 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2524 (GstParseFlags), (GstParseContext):
2525 * gst/gstutils.c: (gst_parse_bin_from_description),
2526 (gst_parse_bin_from_description_full):
2528 * gst/parse/grammar.y:
2529 * gst/parse/types.h:
2530 * win32/common/libgstreamer.def:
2531 Add new gst_parse_*_full API (#528178):
2532 API: gst_parse_launch_full()
2533 API: gst_parse_launchv_full()
2534 API: gst_parse_bin_from_description_full()
2535 API: gst_parse_context_new()
2536 API: gst_parse_context_free()
2537 API: gst_parse_context_get_missing_elements()
2539 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2541 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2543 * docs/faq/gst-uninstalled:
2544 Also support ffmpeg in gst-uninstalled.
2546 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2549 After discussion on IRC use the binary registry as default
2550 but allow to disable it with --disable-binary-registry.
2552 * win32/common/libgstreamer.def:
2553 Add the two new symbols for the binary registry.
2555 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2557 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2558 * gst/gstutils.c: (gst_parse_bin_from_description):
2559 * gst/parse/grammar.y: (graph):
2560 More guards against bad input; typo fix; some minor clean-ups.
2562 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2564 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2566 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2567 If nothing else can be used, use the last buffer's start time as
2568 the segment's last stop. Fixes bug #534258.
2570 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2572 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2573 Move size sanity check to the right place: downstream may return
2574 a buffer with a smaller size if the buffer caps are different than
2575 the requested ones, as may happen when doing reverse negotiation.
2577 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2579 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2580 (gst_file_sink_render):
2581 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2582 (gst_file_src_start):
2583 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2586 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2588 * gst/gstpad.c: (gst_pad_load_and_link):
2589 * gst/gstutils.c: (gst_element_link_pads),
2590 (gst_element_unlink_pads):
2591 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2592 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2593 (gst_check_teardown_sink_pad),
2594 (gst_check_element_push_buffer_list):
2595 * tests/check/elements/fakesink.c: (GST_START_TEST):
2596 * tests/check/elements/filesink.c:
2597 * tests/check/elements/filesrc.c: (GST_START_TEST):
2598 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2599 (mq_sinkpad_to_srcpad):
2600 * tests/check/elements/tee.c: (GST_START_TEST):
2601 * tests/check/generic/sinks.c: (GST_START_TEST):
2602 * tests/check/gst/gstbin.c: (GST_START_TEST):
2603 * tests/check/gst/gstevent.c: (GST_START_TEST):
2604 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2605 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2606 * tests/check/gst/gstquery.c: (GST_START_TEST):
2607 * tests/check/gst/gstutils.c: (GST_START_TEST):
2608 * tests/check/libs/basesrc.c: (GST_START_TEST):
2609 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2610 (gst_parse_test_element_change_state):
2611 Don't use gst_element_get_pad().
2613 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2616 Fix installing plugin documentation when gtk-doc is disabled.
2618 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2620 * docs/manual/advanced-autoplugging.xml:
2621 * docs/manual/basics-helloworld.xml:
2622 * docs/manual/basics-pads.xml:
2623 * docs/manual/highlevel-components.xml:
2624 Avoid using a bad function in the example code.
2626 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2628 * gst/gstclock.c: (gst_clock_set_calibration):
2629 Fix debug of the new clock rate.
2631 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2633 * win32/common/libgstbase.def:
2634 Add gst_base_sink_wait_clock() to the exported symbols.
2636 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2638 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2640 * libs/gst/base/gstbasetransform.c:
2641 (gst_base_transform_sink_event):
2642 Unref events that the GstBaseTransform::event vfunc didn't want to
2643 have forwarded by the base class. Closes a leak in identity.
2646 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2648 * docs/libs/gstreamer-libs-sections.txt:
2649 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2650 * libs/gst/base/gstbasesink.h:
2651 Expose a method that was previously used internally to synchronize
2652 against the clock because it can be useful for subclasses too.
2653 API: GstBaseSink::gst_base_sink_wait_clock()
2655 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2657 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2658 Add sanity check to make sure we don't get smaller buffers
2659 than requested (and fallback to normal buffer alloc if we do).
2661 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2663 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2664 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2665 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2666 Refactor adjusting the running_time with latency and offset into a
2668 When doing clipping, we still want to use the subclass get_times method,
2669 just in case the DURATION or TIMESTAMP are not set.
2671 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2673 * docs/gst/gstreamer-sections.txt:
2674 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2675 * gst/gsttypefind.h:
2676 * win32/common/libgstreamer.def:
2677 API: add gst_type_find_suggest_simple(), #533740.
2679 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2681 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2682 Use right error code when typefinding fails, so we can use
2683 the default (translated) error messages.
2685 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2687 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2688 (gst_base_src_start):
2689 When the subclass did not set caps on outgoing buffers, configure the
2690 caps we negotiated on the source pad.
2691 When the typefind helper does not find caps, error out properly instead
2692 of doing things with NULL caps.
2694 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2696 * gst/gsttypefind.h:
2697 Tabs to spaces, oh yes!
2699 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2701 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2702 Add David's and Benjamin's tests for array intersection to the
2703 unit test suite (#147931).
2705 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2708 Document that gst_event_new_tag() and gst_event_new_navigation()
2709 take ownership of the taglist/structure passed to them. (#533635).
2711 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2714 Don't descend into the plugins dir if plugin docs building
2718 Add a note about the new type:GTypeName syntax for the plugin
2719 documentation .types file.
2721 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2723 * gst/gstmessage.c: (gst_message_new_error),
2724 (gst_message_new_warning), (gst_message_new_info):
2726 Mark the debug string parameters as const. Fixes bug #533490.
2728 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2730 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2731 Sort buffer cache list by end offsets. This makes sure that we don't
2732 stop to search for a cached buffer that contains the requested data
2734 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2735 more efficient. Fixes bug #459862.
2737 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2740 Explain why we copy the list.
2742 * gst/gstpipeline.c:
2746 Add one debug-log statement to help tracing probelms with linking pads.
2748 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2750 * tests/check/gst/gstinfo.c:
2751 Add a test for removing the default log handler. Seems to fail under
2754 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2756 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2757 Release pad lock before calling out to avoid a possible deadlock.
2759 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2761 * gst/parse/grammar.y:
2762 Remove unneeded value unset.
2764 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2765 Add unit test for de/serialization of caps.
2767 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2769 * plugins/elements/gstfakesink.c:
2770 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2771 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2772 (gst_fake_src_class_init):
2773 Use custom marshalers that take GstMiniObject as first parameter.
2774 Using OBJECT as parameter while a GstMiniObject is given will lead
2775 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2777 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2779 * plugins/elements/gsttypefindelement.c:
2780 (gst_type_find_element_handle_event),
2781 (gst_type_find_element_send_cached_events),
2782 (gst_type_find_element_change_state):
2783 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2786 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2788 * plugins/elements/gsttypefindelement.c:
2789 (gst_type_find_handle_src_query), (stop_typefinding),
2790 (gst_type_find_element_handle_event),
2791 (gst_type_find_element_send_cached_events),
2792 (gst_type_find_element_change_state):
2793 Forward FLUSH_START events immediately and clean up instead of
2796 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2798 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2800 * libs/gst/base/gstbasetransform.c:
2801 (gst_base_transform_buffer_alloc):
2802 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2803 fall back to default negotiation in the chain function if the caps
2804 are different from what was requested. Fixes bug #526768.
2806 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2809 * tests/check/gst/gstsegment.c:
2810 No, let's not use g_slice_{dup|copy} here, since they only exist
2811 since GLib 2.14 and we still depend only on >= 2.12. Also add
2812 unit test for gst_segment_copy().
2814 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2816 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2817 Try to fix 'dereferencing type-punned pointer will break strict
2818 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2819 changed the default GType typedef from gulong to gsize at some point,
2820 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2821 g_once_* functions all take a gsize * though, so work around the type
2822 mismatch for C++ by doing everything in gsize and casting to GType
2825 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2827 * plugins/elements/gstmultiqueue.c:
2828 Add documentation for the signals to push our core plugin docs
2829 coverage back up to 100%.
2831 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2833 * gst/gstinfo.h (GST_FUNCTION):
2834 Reverted GST_FUNCTION to the old version as we don't want the
2835 full signature in C++ code. Also added support for MSVC.
2837 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2840 Intern the type name string, similar to what G_DEFINE_TYPE does.
2842 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2845 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2847 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2849 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2851 * libs/gst/base/gstbasetransform.c:
2852 (gst_base_transform_buffer_alloc):
2853 Don't passthrough buffer allocation too easily if the caps change.
2854 This breaks when working in passthrough mode and upstream changes
2855 it's caps. Fixes bug #526768.
2857 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2859 * gst/gstinfo.c (gst_debug_log_valist):
2860 Improved the __FILE__ part of debug output for MSVC.
2862 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2864 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2865 Declaration after statement fix for compilers like MSVC.
2867 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2869 * win32/common/config.h.in:
2870 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2871 use the real thing than having "???" unconditionally.
2873 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2875 * gst/gstinfo.h (GST_FUNCTION):
2876 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2878 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2880 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2883 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2884 (gst_base_sink_set_flushing):
2885 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2888 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2890 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2891 (gst_fake_src_init), (gst_fake_src_set_property),
2892 (gst_fake_src_get_property), (gst_fake_src_start):
2893 * plugins/elements/gstfakesrc.h:
2894 Added format property to control the format of the newsegment events.
2895 API: GstFakeSrc:format
2897 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2899 * win32/common/libgstreamer.def:
2900 Add gst_pad_has_name() to the exported symbols.
2902 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2904 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2905 * libs/gst/base/gstbasetransform.c:
2906 (gst_base_transform_prepare_output_buffer):
2907 Don't allow negative sizes when allocating new buffers.
2910 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2912 Patch by: Sjoerd Simons <sjoerd at luon net>
2914 * gst/gstbus.c: (gst_bus_source_dispatch):
2915 Don't print a warning if the queue is empty when we try to pop
2916 here. That could happen if another thread or callback set the
2917 bus to flushing between the source's check/prepare and the
2918 dispatch being called (#531538).
2920 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2922 * plugins/elements/gstmultiqueue.c:
2925 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2927 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2928 Add unit test for deserializing uint64s and check some really large
2929 numbers in the int64 test.
2931 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2933 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2934 (print_interfaces), (print_element_properties_info),
2935 (print_signal_info):
2936 Use "%s" as format string instead of printing strings directly.
2938 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2940 * gst/gstclock.c: (gst_clock_set_calibration):
2941 Make some checks actually useful.
2943 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2944 Remove some unused code. Unsigned integers tend to be >= 0.
2946 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2948 * gst/gstminiobject.c: (gst_value_get_mini_object):
2949 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2950 function was not in the unscheduled 0.10.19 release.
2952 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2954 * gst/gstregistry.c: (gst_registry_scan_path_level):
2955 Only print one log message per non-plugin file.
2957 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2959 * gst/gstinfo.c: (gst_debug_log_default):
2960 Fix alignment of debug log columns on 64-bit.
2962 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2964 * docs/libs/Makefile.am:
2965 * docs/libs/gstreamer-libs-sections.txt:
2966 Ignore private controller headers for docs.
2968 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2970 * libs/gst/controller/gstcontrollerprivate.h:
2971 * libs/gst/controller/gsthelper.c:
2972 * libs/gst/controller/gstinterpolation.c:
2973 * libs/gst/controller/gstinterpolationcontrolsource.c:
2974 (gst_interpolation_control_source_set_interpolation_mode):
2975 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2976 * libs/gst/controller/lib.c:
2977 Move some private declarations into private headers.
2979 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2981 * gst/gstdebugutils.c: (debug_dump_element_pad):
2982 Remove some code that is unused after Stefan's refactoring and uses
2983 uninitialized variables now, resulting in a compiler warning.
2985 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2987 * gst/gstregistry.c: (gst_registry_scan_path_level):
2988 Run g_str_has_suffix() only on the file name, not the
2991 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2993 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2994 Since we're not called only from the chain function any longer,
2995 we can't assume that there's always data in the queue, so move
2996 the is_full check to the beginning of the loop (otherwise we'd
2997 hit the assert when changing the limit properties while the
2998 queue is empty or not running yet).
2999 Also, only set a discont if items were actually removed from
3002 * tests/check/elements/queue.c: (test_leaky_downstream):
3003 Test case for the above.
3005 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3007 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3009 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3010 (gst_queue_chain), (queue_capacity_change),
3011 (gst_queue_set_property):
3012 When changing thr max capacity of a leaky queue, immediatly drop buffers
3013 instead of waiting for a push on the sinkpad. Fixes #530637.
3015 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3017 * gst/gstdebugutils.c:
3018 Refactor code and fix handling of ghostpads and their proxypads.
3020 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3022 * docs/gst/gstreamer-sections.txt:
3023 * gst/gstevent.c: (gst_event_has_name):
3025 * tests/check/gst/gstevent.c: (GST_START_TEST):
3026 Add method to conveniently check the name of a custom event with
3027 gst_event_has_name().
3028 Reformat the event docs so that related methods are put together instead
3029 of the default alphabetical sort.
3030 Update unit test with new method.
3031 API: GstEvent::gst_event_has_name()
3033 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3035 * libs/gst/check/Makefile.am:
3036 Don't add an explicit link to libgstreamer-0.10.la; it's already
3037 included in GST_OBJ_LIBS.
3039 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3042 Register GstClock type from a type-safe context. Fixes bug #530317.
3044 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3046 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3048 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3050 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3052 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3054 Use the GLib stuff to create a private structure.
3055 Add some locking around some dispose methods to make them a little
3056 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3058 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3060 * libs/gst/base/gstbasesink.h:
3061 * libs/gst/base/gstbasesrc.h:
3062 * libs/gst/base/gstbasetransform.h:
3063 * libs/gst/base/gstcollectpads.h:
3064 Fix doc typos and unify caps a bit.
3066 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3068 * tools/gst-launch.1.in:
3069 Forgot to also add the envvar docs here.
3071 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3073 * gst/gst.c: (init_post), (gst_deinit):
3074 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3075 (test_concurrent_create), (gst_pipeline_suite):
3076 Ref some more classes in gst_init() to work around thread-safety
3077 issues in pre-2.16 GLibs, and add basic unit test.
3079 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3081 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3082 (gst_base_sink_send_event):
3083 Rearrange the latency query code. We always want to do the upstream
3084 query, even if we are not live so that the upstream elements can get the
3085 latency results too. If we fail doing the query and we are live, we
3086 return TRUE afterwards.
3088 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3090 patch by: Jason Zhao <e3423c@motorola.com>
3092 * docs/gst/running.xml:
3094 Enable/disable scan_and_update_registry() based on commandline switch
3095 or environment variable. Fixes #520468.
3098 Fix typo in my previous commit.
3100 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3102 * gst/gstregistrybinary.c:
3103 Add a warning if we hit unhandled factories when saving.
3104 More debug logging detail, but move to LOG category.
3106 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3108 * gst/gstregistry.c:
3109 Tell the *truth* when improving the documentation.
3111 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3113 * gst/gstelementfactory.c: (gst_element_factory_make):
3114 Unref the factory after it was used the last time, not before.
3116 * gst/gstindexfactory.c: (gst_index_factory_make):
3117 Improve debugging a bit and don't leak a ref to the index factory with
3120 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3122 * gst/gstregistry.c:
3123 Improve the documentation.
3125 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3128 The glib macro seems to be borked. Use g_slice_copy directly and cast
3129 in the hope that this fixes the warning on 64bit.
3131 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3134 Document the new function. Use g_slice_dup() (no need for
3135 gst_segment_init()).
3137 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3139 * docs/gst/gstreamer-sections.txt:
3140 Move GParamSepc macros to standart section.
3143 Dn't document _get_type - its in private section in docs anyway and
3144 this doc-blob was incomplete.
3147 Fix wrong symbol names in docs.
3150 Add once doc sentence.
3152 * tests/check/gst/.cvsignore:
3155 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3157 * docs/gst/Makefile.am:
3158 And remove those libs here.
3160 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3162 * docs/libs/Makefile.am:
3163 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3165 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3167 Patch by: Olivier Crete <tester at tester dot ca>
3169 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3170 Add the min-threshold to the min latency if possible. Fixes #529148.
3172 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3174 * docs/gst/gstreamer.types.in:
3175 Stupid editor, I removed that line as it should go in yet.
3177 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3179 * docs/gst/gstreamer.types.in:
3180 * docs/libs/gstreamer-libs.types:
3181 Remove library types fro core docs and have them in libs docs.
3182 Reformat and cleanup. Add comment for miniobject types.
3184 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3186 * gst/gsturi.c: (gst_uri_get_protocol):
3187 Fix leak: g_strdown operates on the string in place, while
3188 g_ascii_strdown() returns a newly-allocated string.
3190 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3192 * tools/gst-inspect.c: (print_uri_handler_info),
3193 (print_element_info):
3194 Print the URI protocols and the URI type supported by the element.
3196 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3198 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3199 Use g_value_take_string() instead of the deprecated
3200 g_value_set_string_take_ownership().
3202 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3204 * gst/gstregistrybinary.c: (_gst_crc32):
3205 Return the old CRC instead of 0 if we give a NULL buffer
3206 or a buffer with a length of 0.
3208 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3210 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3211 (gst_uri_get_protocol), (gst_uri_has_protocol),
3212 (gst_uri_construct), (gst_uri_handler_set_uri):
3213 A valid URI scheme can also include '+', '-' and '.' additional
3214 to alphanumeric characters as per RFC 3986 Section 3.1.
3216 Handle URI schemes case insensitive in all places and convert
3217 to lower-case when constructing an URI or setting an URI with
3218 the GstURIHandler interface. Fixes bug #528868.
3219 All elements can still assume (as before) that they will
3220 get passed URIs with a lower-case URI scheme by the GstURIHandler
3223 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3225 * gst/gstcaps.c: (gst_static_caps_get):
3226 * gst/gstclock.c: (gst_clock_entry_new):
3227 Don't use g_atomic_set_int where it's not needed.
3229 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3231 * gst/gstvalue.c: (gst_value_deserialize_caps):
3232 * gst/parse/grammar.y:
3235 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3237 * gst/gstutils.c: (gst_atomic_int_set):
3238 Use g_atomic_int_set() here too instead of assignment +
3241 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3245 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3246 now that we depend on new enough GLib.
3248 * gst/gstcaps.c: (gst_static_caps_get):
3249 * gst/gstclock.c: (gst_clock_entry_new):
3250 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3251 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3252 (gst_debug_category_set_threshold):
3253 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3254 (gst_base_sink_set_qos_enabled):
3255 * libs/gst/net/gstnettimeprovider.c:
3256 (gst_net_time_provider_set_property):
3257 Use g_atomic_int_set() instead of gst_atomic_int_set().
3259 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3262 Also use G_GINT64_CONSTANT for the queries.
3264 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3267 Use G_GINT64_CONSTANT in varargs function.
3269 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3271 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3272 Initialize the registry magic with zeroes.
3274 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3276 * gst/gstregistrybinary.c: (_gst_crc32),
3277 (gst_registry_binary_write),
3278 (gst_registry_binary_initialize_magic),
3279 (gst_registry_binary_write_cache),
3280 (gst_registry_binary_check_magic),
3281 (gst_registry_binary_read_cache):
3282 * gst/gstregistrybinary.h:
3283 Add crc32 checksum to the binary registry file and check this before
3284 accepting a registry file.
3286 Also free the data list when writing to the registry file fails.
3288 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3290 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3291 (gst_registry_binary_load_feature),
3292 (gst_registry_binary_load_plugin):
3293 If an element supports the Uri interface, returns a valid pointer
3294 to the supported URI protocols but this pointer contains nothing
3295 don't try to save that as it will corrupt the registry.
3297 Don't unref the plugin if we added it to the registry already but
3298 fail to load a feature as gst_registry_add_plugin() takes ownership
3301 Improve debugging a bit.
3303 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3306 Clarify some tag item docs after discussion on irc.
3308 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3310 * docs/gst/gstreamer-docs.sgml:
3311 Remove commented out plugins (they have their own docs). Update
3314 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3316 * docs/gst/gstreamer-docs.sgml:
3317 * docs/gst/gstreamer-sections.txt:
3318 * gst/gstparamspecs.c:
3319 * gst/gstparamspecs.h:
3320 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3321 docs to own section.
3324 This now only documents GValue.
3326 * docs/libs/gstreamer-libs-sections.txt:
3327 * libs/gst/controller/gstcontroller.h:
3328 Remove GST_PARAM_CONTROLLABLE.
3330 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3333 Correct file path. Tell about how to use -overrides.txt.
3334 * docs/design/draft-tagreading.txt:
3335 Small design update.
3337 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3339 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3340 (gst_registry_binary_load_plugin):
3341 Fix a typo in a debug message and revert change from yesterday as
3342 gst_registry_add_plugin() will only fail if something is really wrong
3343 already and we can't survive it anyway.
3345 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3347 * gst/gst.c: (init_post), (gst_deinit):
3348 Pre-register GstGError GType from a thread-safe context
3349 (fixes #527967); unref enum type classes in deinit.
3351 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3353 Patch by: Rene Stadler <mail at renestadler de>
3355 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3356 Merging an empty list with another list in KEEP_ALL mode should
3357 yield an empty list as result and not the second list (#512578).
3359 * tests/check/gst/gsttagsetter.c:
3360 Add unit test for tag merge modes and the aforementioned bug.
3362 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3364 Patch by: Rene Stadler <mail at renestadler de>
3367 Fix description to match the order in the table (#512577).
3369 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3371 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3373 * libs/gst/net/gstnettimepacket.h:
3374 * docs/libs/gstreamer-libs-sections.txt:
3375 Define socklen_t as int if it's not defined yet. Fixes compilation
3376 with MSVC6 and other versions where socklen_t is not defined in
3377 the windows headers (#518022).
3379 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3381 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3382 If gst_registry_add_plugin() fails our reference to the plugin is
3383 invalid so don't try to use it anymore and instead error out.
3385 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3387 * tools/gst-xmlinspect.c: (print_element_info), (main):
3388 De-cruft a bit. If no argument is specified, print all elements in
3389 XML syntax rather than a freestyle list of elements like gst-inspect.
3390 Also, don't print XML header chunk unless we actually have something
3391 to print (ie. don't print it before an error message); print error
3392 message to stderr not stdout. Remove support for printing plugin
3393 info (it would just output something freestyle along the lines of
3394 gst-inspect so far), which fixes #514507. Also add license header.
3396 2008-04-11 Julien Moutte <julien@fluendo.com>
3399 * configure.ac: Merge platform specific defines, introduce a new
3400 define on OS X to remember that forking when updating registry is
3402 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3404 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3406 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3407 condition that leads to absolutely no plugins being registered on
3410 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3412 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3414 * gst/gstutils.c: (gst_pad_add_data_probe),
3415 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3416 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3417 (gst_pad_add_buffer_probe_full):
3419 * docs/gst/gstreamer-sections.txt:
3420 * win32/common/libgstreamer.def:
3421 Add gst_pad_add_*_probe_full() functions with a notify callback that
3422 lets the caller free the data it passes to the probe functions. This
3423 is useful for bindings such as gst-python or gstreamermm (#526814).
3424 API: gst_pad_add_data_probe_full
3425 API: gst_pad_add_buffer_probe_full
3426 API: gst_pad_add_event_probe_full
3428 * tests/check/gst/gstutils.c:
3429 Add minimal unit test to make sure freeing the data actually works
3432 * tests/benchmarks/.cvsignore:
3433 Random cvsignore addendum.
3435 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3437 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3438 (GST_DEBUG_BIN_TO_DOT_FILE):
3439 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3440 to it in the docs (since these are macros the types of the arguments
3441 won't be shown in the docs otherwise).
3443 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3446 Do not abort on out of memory for pad_alloc_buffer.
3448 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3450 * libs/gst/check/gstcheck.c:
3451 Remove blank line between symbol name ad parameters to fix gtkdoc
3454 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3456 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3458 * docs/gst/gstreamer-sections.txt:
3461 * win32/common/libgstreamer.def:
3462 Expose gst_segment_copy() to make things easier for the c++ bindings.
3464 API: gst_segment_copy()
3466 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3468 * gst/gst.c: (gst_init_get_option_group), (init_post):
3469 Fix const position; ref GType classes for enum types to work
3470 around thread-safety issues in GLib versions < 2.16.
3472 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3474 * docs/design/part-buffering.txt:
3475 Fix some typos and set the estimated total for push mode to -1.
3477 * gst/gstquery.c: (gst_query_new_buffering):
3478 Set buffering-left to 0 as we're not buffering by default.
3480 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3481 Implement BUFFERING query.
3483 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3485 Based on patch by: Milosz Derezynski <internalerror gmail com>
3487 * gst/gsterror.c: (_gst_stream_errors_init):
3489 Add two new error codes for encrypted content. Fixes #524659.
3490 API: GST_STREAM_ERROR_DECRYPT
3491 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3493 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3498 * win32/common/libgstreamer.def:
3501 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3503 * plugins/elements/gstidentity.c: (gst_identity_event),
3504 (gst_identity_start):
3505 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3506 event after processing some data. Fixes bug #526042.
3508 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3510 * docs/gst/gstreamer-sections.txt:
3511 * gst/gstquery.c: (gst_query_parse_latency),
3512 (gst_query_set_buffering_percent),
3513 (gst_query_parse_buffering_percent),
3514 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3516 Rename _avail -> _range
3517 API: gst_query_set_buffering_range
3518 API: gst_query_parse_buffering_range
3520 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3522 * docs/design/part-buffering.txt:
3525 * gst/gstquery.c: (gst_query_parse_latency),
3526 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3527 (gst_query_parse_buffering_percent):
3529 Add busy field and quark for the buffering query so that the app can
3530 only use the query to see if buffering is in progress.
3532 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3534 * docs/gst/gstreamer-sections.txt:
3535 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3536 (gst_message_parse_buffering_stats):
3538 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3539 (gst_query_parse_latency), (gst_query_new_buffering),
3540 (gst_query_set_buffering_percent),
3541 (gst_query_parse_buffering_percent),
3542 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3543 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3545 Reorder the message docs and headers for clarity.
3546 Add aditional buffering stats API for messages.
3547 Add buffering query.
3548 Convert some leftover queries to use GstQuark.
3549 API: gst_message_set_buffering_stats
3550 API: gst_message_parse_buffering_stats
3551 API: GST_QUERY_BUFFERING
3552 API: GstBufferingMode
3553 API: gst_query_new_buffering
3554 API: gst_query_set_buffering_percent
3555 API: gst_query_parse_buffering_percent
3556 API: gst_query_set_buffering_stats
3557 API: gst_query_parse_buffering_stats
3559 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3561 * gst/gstmessage.c: (gst_message_new_error),
3562 (gst_message_new_warning), (gst_message_new_info),
3563 (gst_message_new_buffering), (gst_message_new_state_changed),
3564 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3565 (gst_message_new_new_clock), (gst_message_new_segment_start),
3566 (gst_message_new_segment_done), (gst_message_new_duration),
3567 (gst_message_new_async_start), (gst_message_parse_buffering),
3568 (gst_message_parse_state_changed),
3569 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3570 (gst_message_parse_new_clock), (gst_message_parse_error),
3571 (gst_message_parse_warning), (gst_message_parse_info),
3572 (gst_message_parse_segment_start),
3573 (gst_message_parse_segment_done), (gst_message_parse_duration),
3574 (gst_message_parse_async_start):
3575 Use GstQuark for messages.
3577 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3579 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3581 Add some more quarks needed for messages and queries.
3583 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3585 * docs/design/part-buffering.txt:
3586 Remove the "none" buffering mode, STREAM is a good default.
3587 Move estimated-time to the avail query, that's when it will be needed.
3588 Other small typo fixes and updates.
3590 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3592 * gst/gstindex.c: (gst_index_resolver_get_type):
3593 Don't put descriptions into the nick field of a GEnumValue: it's not
3594 meant for that and some language bindings rely on the nick field to
3595 construct constants and the like. Fixes #526705.
3597 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3602 Merge other changes from 0.10.19 release branch.
3604 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3606 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3609 Actually build dlls when cross-compiling with mingw32.
3612 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3614 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3617 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3619 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3621 * docs/design/draft-latency.txt:
3624 * docs/design/part-buffering.txt:
3625 Update design docs with more buffering ideas.
3627 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3630 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3632 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3635 Revert part that belongs to the preset patch.
3637 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3640 Add qoutes to the define. Fixes # 525961.
3642 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3644 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3645 (gst_file_index_load), (gst_file_index_add_id),
3646 (gst_file_index_get_assoc_entry):
3647 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3648 (gst_mem_index_free_id), (gst_mem_index_add_id),
3649 (gst_mem_index_index_format):
3650 Use GSlice when possible.
3652 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3654 * libs/gst/controller/gstinterpolationcontrolsource.c:
3655 (gst_control_point_free),
3656 (gst_interpolation_control_source_set_internal):
3657 Use GSlice for allocating the control points.
3659 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3661 * plugins/elements/gsttypefindelement.c:
3662 (gst_type_find_element_class_init),
3663 (gst_type_find_element_set_property),
3664 (gst_type_find_element_get_property),
3665 (gst_type_find_element_activate):
3666 * plugins/elements/gsttypefindelement.h:
3668 Fix pad leak when peer query fails.
3669 We can still typefind when the peer returns -1.
3670 Add property to force caps and bypass typefinding. This will be used in
3674 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3679 * gst/glib-compat-private.h:
3680 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3681 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3682 Unconditionally use GSlice for allocation.
3684 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3685 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3686 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3687 (gst_structure_free):
3688 Use GSlice for allocation.
3690 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3692 * gst/parse/Makefile.am:
3693 * gst/parse/grammar.tab.pre.c:
3694 * gst/parse/grammar.tab.pre.h:
3695 * gst/parse/lex._gst_parse_yy.pre.c:
3696 Require a new enough flex and bison and remove the parser hacks to use
3697 a pre-regenerated version.
3699 2008-04-01 Julien Moutte <julien@fluendo.com>
3701 patch by: Jason Zhao <E3423C@motorola.com>
3703 * configure.ac: Add a configure switch to disable option parsing
3707 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3710 * gst/gstregistry.c:
3711 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3712 and handle this case.
3715 Add a comment here describing, why we stat each plugin and not try to
3718 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3720 * libs/gst/base/gstbasetransform.c:
3721 (gst_base_transform_prepare_output_buffer):
3722 Also unset the GAP flag on buffers if we're working inplace but
3723 the element is not GAP-aware.
3725 Mark a comment as FIXME 0.11.
3727 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3730 Fix type in log message and add one to ease seeing how long registry
3731 cache verification takes.
3733 * gst/gstregistry.c:
3734 Only test plugin filenames against G_MODULE_SUFFIX.
3736 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3738 * gst/gstdebugutils.c:
3739 Improve handling ghost/proxy pads.
3741 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3743 * docs/gst/gstreamer-sections.txt:
3746 Expose macro to docs and fix link to it.
3748 2008-03-27 Michael Smith <msmith@fluendo.com>
3750 * libs/gst/dataprotocol/dataprotocol.c:
3751 (gst_dp_packet_from_event_1_0):
3752 When calculating GDP body CRC, use the correct pointer.
3753 Fixes part of #522401.
3755 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3757 Patch by: Mark Nauwelaerts <manauw at skynet be>
3759 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3760 (gst_identity_init), (gst_identity_prepare_output_buffer):
3761 Identity is not always a passthrough element, it can modify the buffer
3762 timestamps when it has a datarate and operates in single-segment mode.
3763 We therefore make it an in_place filter with a custom buffer prepare
3764 function that conditionally makes the input buffer metadata writable
3765 when needed. Fixes #523985.
3767 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3769 Patch by: Mark Nauwelaerts <manauw at skynet be>
3772 * libs/gst/base/gstbasesrc.h:
3773 * libs/gst/base/gstbasetransform.c:
3774 * libs/gst/check/gstcheck.c:
3775 Small documentation fixes. Fixes #523978.
3777 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3779 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3780 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3781 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3783 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3785 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3786 (single_queue_underrun_cb):
3787 When trying to make room in the queue, bump the max allowed buffers
3788 bigger than the current amount of buffers in the queue. this fixes some
3789 nasty deadlocks in multiqueue when dynamically changing the limits of
3792 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3794 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3796 * gst/gstcaps.c: (gst_caps_set_simple),
3797 (gst_caps_set_simple_valist), (gst_caps_intersect):
3799 Constify the field gchar * params in set_simple and friends.
3802 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3804 * gst/gstvalue.c: (gst_value_transform_object_string):
3805 Transform a GstObject to a more meaningfull string that includes the
3806 object type in addition to its name.
3808 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3811 ChangeLog surgery to add bugnumber to commit.
3813 2008-03-23 Rene Stadler <mail@renestadler.de>
3815 * libs/gst/base/gstbasetransform.c:
3816 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3818 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3820 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3821 Rename constant everywhere and don't forget one occurence.
3823 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3825 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3826 Align memory to the pointer size even if the architecture allows
3827 unaligned memory access. Unaligned memory access usually comes with
3828 performance penality.
3830 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3832 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3833 (gst_registry_binary_check_magic),
3834 (gst_registry_binary_load_pad_template),
3835 (gst_registry_binary_load_feature),
3836 (gst_registry_binary_load_plugin):
3837 Align memory to the pointer size instead of always 32 bit. Fixes
3838 unaligned memory accesses on ia64 and friends.
3840 * gst/gstregistrybinary.h:
3841 Bump binary registry format version for this as it changes the
3842 format on those architectures that don't have unaligned access
3843 and 64 bit pointers.
3845 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3847 * docs/pwg/advanced-dparams.xml:
3848 * docs/pwg/building-props.xml:
3849 * docs/pwg/other-source.xml:
3850 * gst/glib-compat.h:
3851 * gst/gstbin.c: (gst_bin_class_init):
3852 * gst/gstclock.c: (gst_clock_class_init):
3853 * gst/gstindex.c: (gst_index_class_init):
3854 * gst/gstobject.c: (gst_object_class_init):
3855 * gst/gstpad.c: (gst_pad_class_init):
3856 * gst/gstpipeline.c: (gst_pipeline_class_init):
3857 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3858 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3859 * libs/gst/base/gstbasetransform.c:
3860 (gst_base_transform_class_init):
3861 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3862 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3863 (_gst_check_fault_handler_sighandler),
3864 (_gst_check_fault_handler_setup), (gst_check_init):
3865 * libs/gst/controller/gstcontroller.c:
3866 (_gst_controller_class_init):
3867 * libs/gst/controller/gstlfocontrolsource.c:
3868 (gst_lfo_control_source_class_init):
3869 * libs/gst/net/gstnetclientclock.c:
3870 (gst_net_client_clock_class_init):
3871 * libs/gst/net/gstnettimeprovider.c:
3872 (gst_net_time_provider_class_init):
3873 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3874 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3875 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3876 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3877 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3878 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3879 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3880 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3881 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3882 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3883 * plugins/elements/gsttee.c: (gst_tee_class_init):
3884 * plugins/elements/gsttypefindelement.c:
3885 (gst_type_find_element_class_init):
3886 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3887 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3888 use it everywhere for GParamSpecs that use static strings (i.e. all).
3889 This gives us less memory usage, fewer allocations and thus less
3890 memory defragmentation. Fixes bug #523806.
3892 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3894 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3895 (gst_param_spec_mini_object):
3896 * gst/gstminiobject.h:
3897 * win32/common/libgstreamer.def:
3898 * docs/gst/gstreamer-sections.txt:
3899 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3900 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3901 GstParamSpecMiniObject into a public header for this.
3903 This make GstMiniObject a bit more consistent with GObject and makes
3904 it possible to extend the param specs.
3906 gst_value_dup_mini_object is mainly useful for set_property methods.
3910 * tools/gst-inspect.c: (print_element_properties_info):
3911 Print something useful for GstMiniObject properties and not just
3914 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3916 * docs/gst/gstreamer-sections.txt:
3917 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3918 (gst_registry_binary_check_magic):
3919 * gst/gstregistrybinary.h:
3920 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3921 and add it to the (private part) of the docs to fix the build.
3923 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3925 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3926 (gst_registry_binary_check_magic),
3927 (gst_registry_binary_read_cache):
3928 * gst/gstregistrybinary.h:
3929 Don't use GST_MAJORMINOR for the binary registry version. Instead
3930 hardcode a value that must be changed whenever the format changes
3931 in an incompatible way.
3932 Also don't GST_ERROR when there is a version mismatch, just
3933 regenerate the registry silently.
3935 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3938 Back to development - 0.10.18.1
3940 === release 0.10.18 ===
3942 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3945 releasing 0.10.18, "So far away"
3947 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3950 * win32/common/config.h:
3951 0.10.17.4 pre-release
3953 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3955 Patch by: Ole André Vadla Ravnås
3956 <ole dot andre dot ravnas at tandberg dot com>
3958 * docs/gst/gstreamer-sections.txt:
3959 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3960 (gst_poll_update_winsock_event_mask),
3961 (gst_poll_prepare_winsock_active_sets),
3962 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3963 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3964 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3965 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3966 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3968 * win32/common/libgstreamer.def:
3969 Add new function gst_poll_fd_ignored() for improved Windows
3971 Various minor fixes and cleanups. See #520808.
3973 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3975 * gst/gstindex.c: (gst_index_entry_free):
3977 Don't free key strings which we don't own. Fixes crash in
3978 gst_index_entry_free() (#522741).
3980 * tests/check/Makefile.am:
3981 * tests/check/gst/.cvsignore:
3982 * tests/check/gst/gstindex.c: (test_index_entries),
3983 (gst_index_suite), (gst_index):
3984 Add unit test for the above.
3986 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3988 * win32/common/libgstreamer.def:
3989 Remove symbols that were removed recently. Fixes bug #521740.
3991 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3994 * win32/common/config.h:
3995 0.10.17.3 pre-release
3997 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3999 Patch by: Ole André Vadla Ravnås
4000 <ole dot andre dot ravnas at tandberg dot com>
4002 * docs/gst/gstreamer-sections.txt:
4003 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4004 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4005 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4006 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4007 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4008 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4009 (gst_poll_fd_can_write), (gst_poll_wait),
4010 (gst_poll_set_controllable), (gst_poll_restart),
4011 (gst_poll_set_flushing):
4013 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4014 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4015 (gst_net_time_provider_new):
4016 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4017 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4018 * tests/benchmarks/gstpollstress.c: (main):
4019 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4020 Remove GstPollMode from the API, it does not make sense to let the
4021 application control this.
4022 Add support for Win32.
4023 Fix the testsuite. Fixes #520671.
4025 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4027 Patch by: Ole André Vadla Ravnås
4028 <ole dot andre dot ravnas at tandberg dot com>
4030 * gst/gstregistrybinary.c:
4031 Include io.h for write() and close() when building with MSVC. Fixes
4034 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4037 * gst/gst_private.h:
4038 * gst/gstconfig.h.in:
4039 * gst/gstregistry.h:
4040 * gst/gstregistrybinary.c:
4041 * win32/common/gstconfig.h:
4042 Move registry backend API to private headers where we can. Add
4043 fixme-0.11 comments for the others. Add stubs for the xml backend when
4044 using the binary to ensure they functions exists (they should not be
4045 used though). Fixes #520756.
4047 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4050 * win32/common/config.h:
4053 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4055 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4056 (gst_registry_binary_read_cache):
4057 * gst/gstregistryxml.c: (gst_registry_save):
4058 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4059 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4060 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4061 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4062 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4065 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4067 * gst/gstminiobject.c:
4068 Import gst_private.h before any other header that might include other
4069 glib headers. This fixes the build on windows using native compilers.
4071 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4073 * win32/common/gstconfig.h:
4074 Add here too, just for completeness.
4076 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4079 * gst/gstconfig.h.in:
4080 * gst/gstregistry.h:
4081 Fix broken use of config.h-defined preprocessor directive in a public
4082 header file. Add a corresponding define to gstconfig.h, since we can't
4083 really remove those function declarations from the header file now
4084 (or can we? and why are they there in the first place?).
4086 2008-03-03 Andy Wingo <wingo@pobox.com>
4088 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4091 * gst/gststructure.c (gst_structure_from_string): Warn if
4092 structure_from_string didn't consume the whole string, but the
4093 caller did not provide an end pointer.
4095 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4097 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4099 * gst/gstregistryxml.c: (read_string), (load_feature):
4100 Strings allocated by libxml2 should be freed with xmlFree(), not
4101 with g_free(). Fixes issues on windows in certain contexts (#519698).
4103 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4105 * gst/gstinterface.c: (gst_element_implements_interface):
4106 Don't crash if the element supports the interface queried, but does
4107 not implement GstImplementsInterface. Fixes #519584.
4109 * tests/check/Makefile.am:
4110 * tests/check/gst/.cvsignore:
4111 * tests/check/gst/gstinterface.c:
4112 Add unit test for the above.
4114 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4116 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4119 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4121 * gst/gstsegment.c: (gst_segment_set_seek),
4122 (gst_segment_to_stream_time):
4123 Improve some comment.
4124 Update variables where it makes more sense.
4126 2008-02-29 Rene Stadler <mail@renestadler.de>
4128 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4129 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4130 URIHandlers implemented using language bindings.
4132 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4134 * gst/gstelementfactory.h:
4135 * tests/check/elements/fakesink.c:
4136 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4137 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4138 * tests/check/elements/filesink.c: (setup_filesink):
4139 * tests/check/elements/filesrc.c: (setup_filesrc):
4140 * tests/check/elements/identity.c: (setup_identity):
4141 * tests/check/elements/tee.c:
4142 * tests/check/generic/sinks.c:
4143 * tests/check/generic/states.c: (setup), (teardown):
4144 * tests/check/gst/gst.c:
4145 * tests/check/gst/gstabi.c:
4146 * tests/check/gst/gstbin.c:
4147 * tests/check/gst/gstbus.c: (pull_messages):
4148 * tests/check/gst/gstcaps.c:
4149 * tests/check/gst/gstelement.c:
4150 * tests/check/gst/gstevent.c:
4151 * tests/check/gst/gstghostpad.c:
4152 * tests/check/gst/gstiterator.c:
4153 * tests/check/gst/gstmessage.c:
4154 * tests/check/gst/gstminiobject.c: (my_foo_init):
4155 * tests/check/gst/gstobject.c: (thread_name_object),
4157 * tests/check/gst/gstpad.c:
4158 * tests/check/gst/gstplugin.c:
4159 * tests/check/gst/gstpoll.c:
4160 * tests/check/gst/gstquery.c:
4161 * tests/check/gst/gstsegment.c:
4162 * tests/check/gst/gststructure.c:
4163 * tests/check/gst/gstsystemclock.c:
4164 * tests/check/gst/gsttask.c:
4165 * tests/check/gst/gstutils.c:
4166 * tests/check/gst/gstvalue.c:
4167 * tests/check/gst/struct_hppa.h:
4168 * tests/check/gst/struct_i386.h:
4169 * tests/check/gst/struct_ppc32.h:
4170 * tests/check/gst/struct_ppc64.h:
4171 * tests/check/gst/struct_x86_64.h:
4172 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4173 * tests/check/libs/basesrc.c:
4174 * tests/check/libs/controller.c: (GST_START_TEST):
4175 * tests/check/libs/gdp.c:
4176 * tests/check/libs/gstnetclientclock.c:
4177 * tests/check/libs/gstnettimeprovider.c:
4178 * tests/check/libs/libsabi.c:
4179 * tests/check/libs/struct_hppa.h:
4180 * tests/check/libs/struct_i386.h:
4181 * tests/check/libs/struct_ppc32.h:
4182 * tests/check/libs/struct_ppc64.h:
4183 * tests/check/libs/struct_x86_64.h:
4184 * tests/check/pipelines/cleanup.c:
4185 * tests/check/pipelines/simple-launch-lines.c:
4186 * tests/check/pipelines/stress.c:
4187 And correct even more valid sparse warnings.
4189 * win32/common/libgstreamer.def:
4190 Add gst_poll_fd_init to the list of symbols.
4192 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4194 * gst/gstconfig.h.in:
4195 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4196 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4197 (gst_check_log_critical_func), (gst_check_drop_buffers),
4198 (gst_check_element_push_buffer_list):
4199 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4200 (gst_controller_get_type):
4201 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4202 (gst_object_get_controller), (gst_object_get_control_source):
4203 * libs/gst/controller/gstinterpolationcontrolsource.c:
4204 (gst_interpolation_control_source_new):
4205 * libs/gst/controller/gstlfocontrolsource.c:
4206 (gst_lfo_control_source_new):
4207 * libs/gst/dataprotocol/dataprotocol.c:
4208 (gst_dp_event_from_packet_0_2):
4209 * plugins/elements/gstfdsrc.c:
4210 * plugins/elements/gstmultiqueue.c:
4211 * plugins/elements/gsttee.c:
4212 * plugins/elements/gsttypefindelement.c:
4213 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4214 (gst_file_index_add_association):
4215 * plugins/indexers/gstmemindex.c:
4216 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4217 * tests/check/elements/queue.c: (setup_queue):
4218 * tests/check/gst/gstpipeline.c:
4219 * tests/check/libs/collectpads.c: (setup), (teardown),
4220 (gst_collect_pads_suite):
4221 * tests/examples/adapter/adapter_test.c:
4222 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4223 * tests/examples/xml/createxml.c:
4224 * tests/examples/xml/runxml.c:
4225 * tools/gst-inspect.c:
4227 Correct all relevant warnings found by the sparse semantic code
4228 analyzer. This include marking several symbols static, using
4229 NULL instead of 0 for pointers, not using variable sized arrays
4230 on the stack, moving variable declarations to the beginning of
4231 a block and using "foo (void)" instead of "foo ()" for declarations.
4233 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4235 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4236 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4237 Don't reset GstPollFDs, this is not necessary at all.
4239 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4240 (delayed_restart), (delayed_control):
4241 Use GST_POLL_FD_INIT.
4243 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4245 * gst/gstpoll.c: (gst_poll_fd_init):
4249 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4250 Use some more init macros.
4252 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4254 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4255 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4256 Use init macros and functions.
4258 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4260 * docs/gst/gstreamer-sections.txt:
4261 * gst/gstpoll.c: (gst_poll_fd_init):
4263 Add INIT macro and _init method for initializing the GstPollFD.
4265 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4267 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4268 (gst_fd_sink_update_fd):
4269 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4270 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4271 (delayed_restart), (delayed_control):
4272 Initialize some uninitialized variables as spotted by valgrind.
4274 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4276 * tests/benchmarks/Makefile.am:
4277 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4279 Add poll stress test.
4281 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4283 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4285 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4286 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4287 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4288 * plugins/elements/gstfdsink.h:
4289 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4290 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4291 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4292 (gst_fd_src_uri_set_uri):
4293 * plugins/elements/gstfdsrc.h:
4294 Port to GstPoll. See #505417.
4296 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4298 * win32/common/libgstreamer.def:
4299 Add new gst_poll_ symbols to win32 defs.
4301 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4303 * docs/libs/gstreamer-libs-sections.txt:
4304 * libs/gst/net/gstnetclientclock.c:
4305 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4306 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4307 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4308 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4309 * libs/gst/net/gstnetclientclock.h:
4310 * libs/gst/net/gstnettimeprovider.c:
4311 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4312 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4313 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4314 (gst_net_time_provider_new):
4315 * libs/gst/net/gstnettimeprovider.h:
4316 Use a private stuct to not break ABI.
4318 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4320 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4322 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4323 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4324 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4325 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4326 * libs/gst/net/gstnetclientclock.h:
4327 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4328 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4329 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4330 (gst_net_time_provider_new):
4331 * libs/gst/net/gstnettimeprovider.h:
4332 Massive code removal and cleanups because of GstPoll.
4335 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4338 Add checks for poll, ppoll and pselect.
4340 * docs/gst/gstreamer-docs.sgml:
4341 * docs/gst/gstreamer-sections.txt:
4342 Add docs for GstPoll.
4346 * gst/gstpoll.c: (find_index), (selectable_fds),
4347 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4348 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4349 (gst_poll_set_mode), (gst_poll_get_mode),
4350 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4351 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4352 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4353 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4354 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4355 (gst_poll_fd_can_write), (gst_poll_wait),
4356 (gst_poll_set_controllable), (gst_poll_restart),
4357 (gst_poll_set_flushing):
4359 Add generic poll abstraction. We ideally don't want to have this in core
4360 here but in glib intead...
4361 This code will be used in various network elements and ultimately for
4362 the nanosecond precision monotonic clock (that's why it's here in core).
4363 It'll allow us to implement cancelable socket operations for windows too.
4365 * tests/check/Makefile.am:
4366 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4367 (delayed_stop), (delayed_restart), (delayed_flush),
4368 (delayed_control), (gst_poll_suite):
4369 Add GstPoll unit test.
4371 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4374 Improve documentation of gst_filter_run(). Fixes #518627.
4376 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4379 Add a few lines about the new 'check-inspected-versions' target.
4381 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4383 * tests/check/gst/gstevent.c:
4384 Add qos to the event test. Rename tcase/tsuite; is not only about
4387 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4389 * plugins/elements/gstqueue.c:
4390 Ensure that buffer metadata is writeable, before modifying. Spotted by
4393 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4395 * plugins/elements/gstqueue.c:
4396 * plugins/elements/gstqueue.h:
4397 When dropping buffers in leaky modes, mark next buffers we sent as
4400 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4402 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4403 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4405 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4407 * plugins/elements/Makefile.am:
4408 * plugins/elements/gstbufferstore.c:
4409 * plugins/elements/gstbufferstore.h:
4410 * plugins/elements/gsttypefindelement.h:
4411 Remove GstBufferStore, no idea why we were still building it.
4412 It's not used anywhere and superseded by GstAdapter.
4414 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4415 (gst_file_src_create_mmap):
4416 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4417 Printf format fixes for 64-bit integers.
4419 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4422 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4423 We're not in 0.8 times anymore.
4425 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4427 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4428 (gst_check_element_push_buffer_list):
4429 * libs/gst/check/gstcheck.h:
4430 Make the declaration in the header for
4431 gst_check_element_push_buffer_list match the implementation.
4433 Fix up spelling, grammar and wording of the documentation in a few
4434 places, and add the Since keyword to new API functions.
4435 Use g_list_delete_link instead of g_list_remove in
4436 gst_check_drop_buffers, since it's immeasurably more efficient.
4438 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4439 Use new gst_check_drop_buffers function where appropriate.
4441 * win32/common/libgstbase.def:
4442 * win32/common/libgstreamer.def:
4443 Add new symbols gst_collect_pads_take_buffer,
4444 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4447 Changelog surgery to add API keyword to new gst_check API.
4449 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4451 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4452 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4453 Update pre-generated flex files with flex 2.3.34.
4455 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4457 * gst/gstminiobject.c:
4458 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4459 friendly to subclasses and not require them to know all internals
4460 of their parent class.
4462 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4464 * docs/libs/gstreamer-libs-sections.txt:
4465 * libs/gst/base/gstcollectpads.c:
4466 * libs/gst/base/gstcollectpads.h:
4467 Add sub-buffer functions to collectpads. Fixes #516187.
4468 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4470 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4473 Copy selected buffer-flags when creating subbuffers.
4476 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4478 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4479 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4480 * gst/gstmessage.c: (gst_message_class_init),
4481 (gst_message_finalize):
4482 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4483 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4484 (gst_mmap_buffer_finalize):
4485 Properly chain up finalize functions to the parent class.
4487 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4489 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4491 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4492 (gst_index_set_resolver_full):
4494 Add new function with option to dispose of user_data in resolver.
4495 Actually call the dispose function when finalizing the object and not
4496 just when changing the resolver/filter.
4497 API: GstIndex::gst_index_set_resolver_full()
4499 * docs/gst/gstreamer-sections.txt:
4500 Add new function to docs. Fixes #515469.
4502 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4504 * gst/gstindex.c: (gst_index_finalize):
4505 Chain up finalize to the parent class. Fixes leaking the GstObject
4506 name and other things.
4508 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4511 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4512 pre-releases or releases.
4514 * docs/faq/gst-uninstalled:
4517 * docs/random/release:
4518 Change one of the steps - we only upload core & base to Gnome FTP
4520 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4522 * gst/gstconfig.h.in:
4523 Add 'id' for example.
4527 * plugins/elements/gstfdsink.c:
4528 Link to signals. Doc and comment fixes.
4530 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4532 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4533 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4534 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4535 unused and unimplemented; finally, it is plugin features, not
4536 plugins, that have ranks.
4538 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4540 * gst/gstpluginfeature.h:
4541 Clarify GstRank range docs.
4543 2008-02-05 David Schleef <ds@schleef.org>
4545 * gst/gst.c: Add a separate gst_deinitialized that prevents
4546 gst_init() from being called after gst_deinit(). Fixes #509559
4548 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4550 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4551 (gst_bin_class_init):
4552 * gst/gstelement.c: (gst_element_base_class_init),
4553 (gst_element_class_add_pad_template):
4554 * gst/gstpadtemplate.c: (gst_pad_template_init):
4555 * gst/gstpipeline.c: (gst_pipeline_get_type),
4556 (gst_pipeline_base_init), (gst_pipeline_class_init):
4557 * libs/gst/base/gstbasesink.c:
4558 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4559 (gst_base_src_base_init), (gst_base_src_class_init):
4560 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4561 (gst_capsfilter_class_init):
4562 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4563 (gst_fake_sink_class_init):
4564 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4565 (gst_fake_src_class_init):
4566 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4567 (gst_fd_sink_class_init):
4568 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4569 (gst_fd_src_class_init):
4570 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4571 (gst_file_sink_class_init):
4572 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4573 (gst_file_src_class_init):
4574 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4575 (gst_identity_class_init):
4576 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4577 (gst_multi_queue_class_init):
4578 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4579 (gst_queue_class_init):
4580 * plugins/elements/gsttee.c: (gst_tee_base_init),
4581 (gst_tee_class_init):
4582 * plugins/elements/gsttypefindelement.c:
4583 (gst_type_find_element_base_init),
4584 (gst_type_find_element_class_init):
4585 * tests/check/gst/gstelement.c: (gst_element_suite):
4586 Revert previous changes to the behaviour of GstPadTemplates, etc
4587 and the possiblity to call them in class_init as it breaks too
4588 many elements. Reopens bug #491501.
4590 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4593 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4595 * tools/gst-launch.c:
4596 Dump one graph per pipeline state-change and state change name
4597 (if GST_DEBUG_DUMP_DOT_DIR is set).
4599 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4602 * tests/check/gst/gstpad.c:
4603 Be sure that we have a new copy of the caps and not
4604 reffed caps from a template
4606 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4608 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4609 * gst/gstpipeline.c: (gst_pipeline_get_type),
4610 (gst_pipeline_class_init):
4611 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4612 (gst_base_sink_class_init):
4613 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4614 (gst_base_src_class_init):
4615 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4616 (gst_base_transform_class_init):
4617 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4618 (gst_collect_pads_class_init):
4619 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4620 * libs/gst/net/gstnettimeprovider.c:
4621 (gst_net_time_provider_base_init),
4622 (gst_net_time_provider_class_init):
4623 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4624 (gst_capsfilter_class_init):
4625 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4626 (gst_fake_sink_class_init):
4627 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4628 (gst_fake_src_class_init):
4629 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4630 (gst_fd_sink_class_init):
4631 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4632 (gst_fd_src_class_init):
4633 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4634 (gst_file_sink_class_init):
4635 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4636 (gst_file_src_class_init):
4637 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4638 (gst_identity_class_init):
4639 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4640 (gst_multi_queue_class_init):
4641 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4642 (gst_queue_class_init):
4643 * plugins/elements/gsttee.c: (gst_tee_base_init),
4644 (gst_tee_class_init):
4645 * plugins/elements/gsttypefindelement.c:
4646 (gst_type_find_element_base_init),
4647 (gst_type_find_element_class_init):
4648 Don't use base_init where not absolutely necessary. For example it's
4649 not necessary anymore for adding pad templates or setting element
4652 Leave empty base_init functions in several places as GST_BOILERPLATE
4653 still defines and uses them.
4655 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4657 * gst/gstelement.c: (gst_element_base_class_init),
4658 (gst_element_class_add_pad_template):
4659 * gst/gstpadtemplate.c:
4660 Make it possible (and recommended) to set element details and add
4661 pad templates in the class_init functions by copying the details/pad
4662 templates in GstElement's base_init.
4664 Also make it possible to replace existing pad templates by adding
4665 a new one with the same name. This was done in a hackish fashion
4666 in same elements before already.
4668 Don't reference pad templates that are added a second time. A
4669 new pad template has a refcount of one and is not floating anymore
4670 and to be owned by the element's class. Make this more explicit by
4671 mentioning it in the docs of gst_element_class_add_pad_template().
4673 These changes are backwards compatible. Fixes bug #491501.
4675 * tests/check/gst/gstelement.c:
4676 Add unit test for setting element details, adding pad templates and
4677 replacing them in a subclass.
4679 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4681 * tools/gst-inspect.c: (print_interfaces),
4682 (print_element_properties_info), (print_pad_info),
4683 (print_signal_info), (print_element_info):
4684 Fix a few memory leaks.
4686 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4688 * docs/libs/gstreamer-libs-sections.txt:
4689 * libs/gst/check/gstcheck.c:
4690 * libs/gst/check/gstcheck.h:
4691 Add more functions for unit testing: gst_check_drop_buffers,
4692 gst_check_caps_equal, gst_check_element_push_buffer_list,
4693 gst_check_element_push_buffer
4694 API: gst_check_drop_buffers
4695 API: gst_check_caps_equal
4696 API: gst_check_element_push_buffer_list
4697 API: gst_check_element_push_buffer
4699 2008-02-01 Julien Moutte <julien@fluendo.com>
4701 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4702 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4703 (gst_index_finalize), (gst_index_entry_free),
4704 (gst_index_add_association): Fix memory leaks.
4705 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4706 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4707 (gst_mem_index_free_format), (gst_mem_index_free_id),
4708 (gst_mem_index_finalize): Fix memory leaks.
4709 * win32/common/config.h: Updated to CVS HEAD.
4711 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4714 Some more details about how the plugin docs works.
4716 * docs/plugins/gstreamer-plugins-sections.txt:
4719 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4721 * gst/parse/grammar.tab.pre.c:
4722 * gst/parse/grammar.tab.pre.h:
4723 * gst/parse/grammar.y:
4724 * gst/parse/lex._gst_parse_yy.pre.c:
4725 Add delayed set-property. This allows to set properties on dynamicaly
4726 created objects (pads in videomxer). Fixes #509391.
4728 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4731 Check if caps are not NULL (fix bug #510194)
4733 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4735 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4736 (gst_base_sink_get_position_paused):
4737 Add fixme regarding EOS in pull mode.
4738 Fix position reporting in PAUSED for negative rates.
4740 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4742 * gst/gstminiobject.c: (gst_mini_object_replace):
4743 When replacing a miniobject, do a quick equality check first so that we
4744 can avoid a ref/unref pair.
4746 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4748 * docs/design/part-synchronisation.txt:
4751 * docs/plugins/Makefile.am:
4752 * docs/plugins/gstreamer-plugins-docs.sgml:
4753 * docs/plugins/gstreamer-plugins-sections.txt:
4754 * plugins/elements/gstmultiqueue.c:
4755 Add multiqueue to the docs.
4757 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4762 === release 0.10.17 ===
4764 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4767 releasing 0.10.17, "Due Negligence"
4769 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4772 Revert caps != NULL check temporarily for 0.10.17 release.
4774 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4777 Check if caps are not NULL (fix bug #510194)
4779 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4782 Fix compilation on systems that have posix timers but no
4785 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4788 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4790 * tools/gst-inspect.c:
4791 Revert previous commit in preparation for an impromptu 0.10.17 release
4793 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4795 * tools/gst-inspect.c: (print_interfaces),
4796 (print_element_properties_info), (print_pad_info),
4797 (print_signal_info), (print_element_info):
4798 Fix a few memory leaks.
4800 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4805 === release 0.10.16 ===
4807 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4810 releasing 0.10.16, "Special Dispensation"
4812 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4815 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4816 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4817 not fail when trying to crosscompile on OpenEmbedded (#511750).
4819 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4822 Use $(MAKE) instead of make to fix the build if GNU make is
4823 called different. Fixes bug #510747.
4825 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4827 * gst/gstplugin.c: (_gst_plugin_initialize):
4828 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4829 again, which I broke two commits ago when changing the API
4830 of gst_plugin_register_static(): the g_list_foreach() in
4831 _gst_plugin_register_static still assumed the old function
4832 signature and would therefore fail (re-fixes #510187).
4834 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4835 (_gst_plugin_register_static), (gst_plugin_register_static):
4836 Revert the (technically correct) change to call g_thread_init() from
4837 the pre-main() constructor. This will break programs which call
4838 g_thread_init() without an if (!g_thread_supported()) guard in their
4839 main function. We could just blame it on GLib or the application, but
4840 it's probably best to just avoid this altogether and simply not use
4841 any GLib functions here and use plain old malloc() with a simple
4842 array to store the plugins to register later when gst_init() is
4843 finally called (re-fixes #510187).
4845 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4846 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4847 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4848 (GST_START_TEST), (gst_plugin_suite):
4849 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4852 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4854 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4855 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4856 This makes gtk-doc complain, but results in slightly better
4857 compiler errors. The old _gst_plugin_register_static() is
4858 still guarded, so there'll be a compiler warning about that
4859 instead. Fixes #510187 too.
4861 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4863 * gst/gst.c: (init_post):
4864 * gst/gstplugin.c: (_gst_plugin_register_static),
4865 (gst_plugin_register_static), (_gst_plugin_initialize):
4866 * gst/gstplugin.h: (GstPluginFilter):
4867 Change API of gst_plugin_register_static() to not take
4868 a GstPluginDesc, but rather just take all the arguments
4869 in a GstPluginDesc directly. This is more intuitive and
4870 avoids certain mistakes when porting code from
4871 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4874 * tests/check/gst/gstplugin.c:
4875 Fix up for changed API.
4877 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4879 * docs/faq/legal.xml:
4880 Update FAQ, Totem actually has an exception these days.
4882 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4884 * win32/common/libgstreamer.def:
4885 Add new API declarations
4887 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4889 * gst/gstminiobject.c:
4890 Spelling fixes for the API docs.
4892 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4894 * libs/gst/base/gstbasetransform.c:
4895 Fix long property description for QoS.
4897 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4900 _gst_trace_on is already provided by gsttrace.h, no need to declare
4903 * docs/libs/gstreamer-libs-sections.txt:
4904 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4905 and remove strange tcase_add_test which is outputting a warning.
4907 * libs/gst/check/gstcheck.c:
4908 * libs/gst/check/gstcheck.h:
4909 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4910 and define them in gstcheck.c instead of having every .c file whcih
4911 includes gstcheck.h be defining its own copy and relying on symbol
4912 interposing to marry them all, which doesn't work on Solaris.
4914 * tests/check/elements/identity.c: (GST_START_TEST):
4915 Don't define 'buffers' locally, it comes from libgstcheck.
4917 * tests/check/generic/sinks.c: (send_buffer):
4918 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4920 * tests/check/gst/gststructure.c: (GST_START_TEST):
4921 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4922 * tests/check/gst/gstutils.c: (GST_START_TEST):
4923 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4924 Add a bunch of casts to make various constants fit the types
4925 they're being assigned to.
4927 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4929 * gst/gstchildproxy.c:
4930 Improve docs and add some ideas for making this more general-purpose.
4932 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4934 * gst/gst_private.h: (GST_CAT_TYPES):
4935 Add GST_CAT_TYPES, for consistency, and so that the other
4936 debug categories don't make fun of it. Spotted by Saur on IRC.
4938 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4940 * gst/parse/Makefile.am:
4941 Move types.h from EXTRA_DIST to noinst_HEADERS.
4943 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4946 Add -Wno-portability to the automake parameters to stop warnings
4947 about GNU make extensions being used. We require GNU make in almost
4948 every Makefile anyway.
4951 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4952 at the same time is required for per target flags.
4954 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4957 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4958 __GNUC__ is defined before using it.
4960 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4962 * docs/gst/gstreamer-sections.txt:
4963 * gst/gst.c: (init_post):
4964 * gst/gstplugin.c: (_gst_plugin_register_static),
4965 (gst_plugin_register_static), (_gst_plugin_initialize),
4966 (gst_plugin_register_func):
4967 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4968 API: add gst_plugin_register_static() and deprecate
4969 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4971 Also, in _gst_plugin_register_static(), make sure to call
4972 g_thread_init() before calling GLib functions such as
4973 g_list_append() if we're not initialised yet, since that
4974 may lead to random crashes with older GSlice/GLib versions.
4976 * tests/check/gst/gstplugin.c:
4977 Adapt unit test to above changes.
4979 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4981 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4982 * gst/gstcaps.c: (gst_caps_to_string):
4983 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4984 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4985 Yet another gratuitous GString micro-optimisation: add a (private)
4986 function that serialises a structure appending to an existing
4987 GString, so that when we serialise caps we don't need to alloc+free
4988 a throwaway GString for each structure (each of which also entailing
4989 multiple reallocs on the way); also use g_string_sized_new() in
4990 various places with an approximate string length to avoid reallocs
4991 within GString. See #500143.
4993 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4995 * gst/gststructure.c: (gst_structure_id_set_value):
4996 Always check UTF-8 conformance of structure strings and not only
4997 if the debugging system is enabled; reasoning: the behaviour of
4998 the actual code shouldn't really change depending on whether the
4999 debugging system is enabled or not (#508291).
5001 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5004 Remove old coverage target in favour of "make lcov".
5006 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5008 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5009 (gst_base_src_loop):
5010 The start segment for reverse playback goes from start to last_stop.
5012 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5014 Patch by: Peter Kjellerstedt <pkj axis com>
5017 Cast the results from the timeval/spec_to_time macros to what the
5018 docs say it casts to, a GstClockTime. fixes #508175.
5020 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5023 Update some comments.
5025 * tools/gst-inspect.c: (print_element_properties_info):
5026 Improve printing of flags.
5028 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5030 * libs/gst/base/gstbasetransform.c:
5031 (gst_base_transform_transform_size):
5032 Print element name with g_warning() if there's a problem
5035 2008-01-07 David Schleef <ds@schleef.org>
5037 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5039 * libs/gst/controller/gstcontroller.h:
5040 * libs/gst/controller/gstcontrolsource.h:
5041 * libs/gst/controller/gstinterpolationcontrolsource.h:
5042 * libs/gst/controller/gstlfocontrolsource.h:
5043 * libs/gst/dataprotocol/dataprotocol.h:
5044 Fix empty prototypes. Fixes bug #507957.
5046 2008-01-07 David Schleef <ds@schleef.org>
5048 * docs/faq/dependencies.xml: Fix typo.
5050 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5052 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5053 (gst_base_src_loop):
5054 Don't update the last_stop position in do_seek, that's the position we
5056 Read backwards when we have a negative rate.
5058 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5059 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5061 Add check for reverse reading.
5063 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5065 Patch by: Alexis Ballier <aballier at gentoo org>
5067 * tests/check/gst/gstabi.c:
5068 * tests/check/gst/struct_ppc64.h:
5069 * tests/check/libs/libsabi.c:
5070 * tests/check/libs/struct_ppc64.h:
5071 Decide which header to include based on the userland ABI target
5072 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5073 for 64-bit userland (#503590). Might need something similar for
5076 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5078 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5079 Log the reason why fopen fails in addition to the fact that it failed.
5081 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5083 * gst/parse/parse.l:
5084 Use "%option never-interactive" to prevent useless calls to isatty()
5085 on every input when parsing. Also use "%option noinput" to not define
5086 the static input/yyinput functions which we don't use anyway. This
5087 removes a compiler warning with gcc 4.3 and saves some bytes in the
5090 * gst/parse/lex._gst_parse_yy.pre.c:
5091 Regenerated for the above change.
5093 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5095 * gst/gstpad.c: (fixate_value):
5096 Don't crash when trying to fixate and empty list.
5099 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5101 * docs/faq/gst-uninstalled:
5102 Clarify the comments to make the usage of this script and what it
5103 does easier to understand.
5105 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5107 * tools/gst-plot-timeline.py:
5108 Add more options to gst-plot-timeline
5110 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5112 * docs/design/part-synchronisation.txt:
5113 Some more info on how the stream_time in GstBaseSink is done.
5115 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5117 * tests/check/generic/sinks.c: (gst_sinks_suite):
5118 Put back the tcase_set_timeout(), apparently it's needed after
5119 all; fix it up in a way that makes things work with valgrind too.
5121 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5123 * gst/gstdebugutils.c:
5124 Add warning when failed to open file for writing.
5126 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5128 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5130 * gst/gstvalue.c: (gst_value_is_fixed):
5131 Optimisation: bail out of the loop as early as possible (#500143).
5133 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5135 * gst/gstcaps.c: (gst_caps_to_string):
5136 * gst/gstinfo.c: (gst_debug_construct_term_color):
5137 * gst/gstparse.c: (gst_parse_launchv):
5138 * gst/gstutils.c: (gst_util_dump_mem):
5139 * gst/gstvalue.c: (gst_value_serialize_any_list),
5140 (gst_value_transform_any_list_string):
5141 Bunch of gratuitous nano-optimisations.
5143 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5145 * tests/check/generic/sinks.c: (async_done_func),
5146 (async_done_eos_func):
5147 Fix leak in unit test (bus sync handler must unref the message
5148 if it returns GST_BUS_DROP). Don't fiddle with the default test
5149 timeout, this is smaller than the current preconfigured value
5150 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5151 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5153 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5155 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5158 Check for stdio_ext.h for the filesink changes.
5160 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5161 (gst_file_sink_class_init), (gst_file_sink_init),
5162 (gst_file_sink_dispose), (gst_file_sink_set_property),
5163 (gst_file_sink_get_property), (gst_file_sink_open_file),
5164 (gst_file_sink_close_file):
5165 * plugins/elements/gstfilesink.h:
5166 Add two properties to control the buffering mode and size.
5167 API: GstFileSink::buffer-mode
5168 API: GstFileSink::buffer-size
5171 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5173 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5174 Add some more docs to explain why a FIXME was wrongly added.
5176 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5179 Fix typo in the gst_object_{ref,unref} documentation.
5181 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5183 * tests/check/libs/controller.c:
5184 * tests/check/libs/typefindhelper.c:
5185 * tests/check/pipelines/parse-launch.c:
5186 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5187 going to be deprecated (see #498924).
5189 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5191 * gst/gsttypefind.c: (gst_type_find_register):
5192 Make gst_type_find_register work for static typefind functions,
5193 ie. allow passing plugin == NULL (prerequisite for #498924).
5195 * gst/gstelementfactory.c: (gst_element_register):
5196 Small docs addition.
5198 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5200 * gst/gstpad.c: (gst_pad_dispose):
5201 Really unlink the peer pad instead of setting the peer pointer to NULL
5202 when we dispose the pad.
5203 This correctly calls the unlink functions and makes sure that the peer
5204 does not have a handle to invalid memory. See #504671.
5206 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5207 Add testsuite for above case.
5209 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5211 Patch by: Peter Kjellerstedt <pkj axis com>
5213 * libs/gst/check/gstcheck.h:
5214 Fix detection of the check version we're compiling against (would
5215 otherwise break if check goes v0.10.0); correctly report the
5216 name of the failed test again in case of failure, instead of
5217 just 'tf' (fixes #504499).
5219 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5221 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5222 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5223 (gst_base_src_loop), (gst_base_src_set_flushing),
5224 (gst_base_src_change_state):
5225 Allow sending EOS to the source to make it send out an EOS event from
5226 the streaming thread.
5227 Update docs and deprecate the old NULL/READY shutdown method.
5229 * tests/check/libs/basesrc.c: (GST_START_TEST),
5230 (gst_basesrc_suite):
5231 Add unit test for controlled shutdown.
5233 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5235 * docs/design/part-synchronisation.txt:
5238 * gst/gstsegment.c: (gst_segment_set_seek),
5239 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5240 (gst_segment_to_running_time):
5241 The seek format can be different from the segment format when the start
5242 and stop values are not to be updated, when we only do a rate change for
5245 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5246 (gst_segment_suite):
5247 Add a testcase for the rate-only seeks, checking that the format is
5248 correctly ignored when start and stop are not updated.
5250 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5252 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5254 * win32/vs8/grammar.vcproj:
5255 * win32/vs8/libgstcontroller.vcproj:
5256 * win32/vs8/libgstreamer.vcproj:
5257 Fix compilation with VS8 and include some missing files.
5259 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5262 Small docs addition: mention that the strings returned by
5263 gst_tag_list_get_string*() are in UTF-8 encoding.
5265 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5268 The check-exports stuff moved to common/win32.mak, so include that.
5270 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5272 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5273 (gst_base_src_perform_seek), (gst_base_src_get_range),
5274 (gst_base_src_set_playing), (gst_base_src_change_state):
5275 Make _wait_playing() not check any variables so that we can call this
5276 function from subclasses. Move the checks elsewhere similar to
5277 _wait_preroll() in basesink.
5279 Only signal the LIVE cond when we are going back to PLAYING.
5281 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5283 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5284 Use g_remove() and g_rename(). Check result of g_rename(), and
5285 don't leak the open file descriptor if we error out when writing.
5287 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5288 Must check the return value of close() after writing out the new
5289 registry file. Sometimes write problems such as out-of-diskspace
5290 are only reported when the file is closed and not already during
5291 the write. This may have caused partial/broken registry files in
5292 some rare circumstances. Should fix #503675.
5294 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5296 * docs/gst/.cvsignore:
5297 * docs/libs/.cvsignore:
5298 * docs/plugins/.cvsignore:
5299 Ignore files generated by new common/* modifications
5301 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5303 * win32/common/libgstbase.def:
5304 Yes, you can also have a <TAB> if you want.
5306 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5308 * win32/common/libgstbase.def:
5309 Add new basetransform API to win export file.
5311 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5313 * tests/check/gst/gstbin.c:
5314 Adjust the test to the refcount change two days ago.
5316 2007-12-14 David Schleef <ds@schleef.org>
5318 * docs/faq/getting.xml: Fix typo.
5320 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5322 * docs/libs/gstreamer-libs-sections.txt:
5323 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5324 (gst_base_transform_prepare_output_buffer),
5325 (gst_base_transform_set_gap_aware):
5326 * libs/gst/base/gstbasetransform.h:
5327 API: Add gst_base_transform_set_gap_aware() to control whether
5328 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5329 get buffers with this flag at all. Fixes #503231.
5331 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5333 * libs/gst/base/gstbasesink.c:
5334 * libs/gst/base/gstbasesrc.c:
5335 * libs/gst/base/gstbasetransform.c:
5336 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5337 thread. Correct log message in gstbasesrc.c.
5339 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5341 * gst/gstutils.c: (element_find_unconnected_pad):
5342 Fix possible compiler warning (#503417).
5344 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5346 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5347 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5349 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5351 * tools/gst-inspect.c: (print_element_properties_info):
5352 Add support for GstFraction properties.
5354 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5357 Add check-exports target and run it as part of 'make check'
5358 (see #499140 and #493983).
5360 * gst/gst_private.h:
5361 * gst/gstelementfactory.h:
5362 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5363 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5364 (_priv_gst_in_valgrind):
5365 * gst/gstinfo.h: (GstLogFunction):
5366 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5367 (gst_type_find_register):
5368 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5369 (gst_type_find_factory_get_type):
5370 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5371 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5372 (gst_controller_new_valist), (gst_controller_new_list),
5373 (_gst_controller_dispose), (_gst_controller_class_init):
5374 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5375 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5376 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5377 (gst_object_get_controller), (gst_object_set_controller),
5378 (gst_object_suggest_next_sync), (gst_object_sync_values),
5379 (gst_object_set_control_source), (gst_object_get_control_source),
5380 (gst_object_get_value_arrays), (gst_object_get_value_array),
5381 (gst_object_get_control_rate), (gst_object_set_control_rate):
5382 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5383 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5384 Make some functions that should be static static; rename some
5385 private symbols so that they don't get exported; add some FIXME
5386 comments so we can move accidentally exported functions into
5387 our private section in 0.11.
5389 * win32/common/libgstreamer.def:
5390 Add gst_utils_get_timestamp().
5392 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5396 Add more missing "Since:" tags to docs.
5398 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5401 Add mising "Since:" to docs.
5403 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5406 Include "glib-compat-private.h" to fix the build on system with
5407 glib < 2.10. Fixes #503131.
5409 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5413 Actually its not PURE as it gets the time from elsewhere.
5415 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5417 * docs/gst/gstreamer-sections.txt:
5419 * gst/gstdebugutils.c:
5423 * libs/gst/base/gstbasesink.c:
5424 * tools/gst-launch.c:
5425 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5426 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5427 Thanks Tim for spotting.
5428 API: gst_util_get_timestamp
5430 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5433 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5435 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5437 * gst/gststructure.c: (gst_structure_validate_name),
5438 (gst_structure_new_valist), (gst_structure_parse_value),
5439 (gst_structure_from_string):
5440 Don't crash in _from_string() if the structure name is not valid
5441 (fixes #501560). Allow structure names to start with a number
5442 again (this apparently broke the ubuntu codec installer).
5444 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5446 Add unit test for the crash; update unit tests for new behaviour.
5448 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5451 Clarify gst_element_get_compatible_pad() documentation.
5454 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5456 * tests/check/Makefile.am:
5457 Don't forget to dist {gst,libs}/struct_hppa.h.
5459 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5461 * libs/gst/base/gstbasesink.c:
5462 Use new API to get elapsed time.
5464 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5466 * gst/gstdebugutils.c:
5468 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5470 * tools/gst-launch.c:
5471 Use new API to get elapsed time.
5473 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5475 * docs/gst/gstreamer-sections.txt:
5477 * gst/gstdebugutils.c:
5479 Rename new API + ChangeLog surgery to remove old name from last entry..
5481 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5483 * docs/gst/gstreamer-sections.txt:
5485 * gst/gstdebugutils.c:
5487 Now hide the different clock stuff behind a macro.
5489 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5492 * gst/gstdebugutils.c:
5494 Apply the posix-timer check from #361155. Conditionally use the posix
5495 timer for logging. This gives better timestamp precission, less
5496 overhead and no ntp jitter.
5498 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5500 * gst/gstminiobject.c: (gst_mini_object_get_type),
5501 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5502 (gst_mini_object_finalize), (gst_mini_object_copy),
5503 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5504 (gst_mini_object_replace), (param_mini_object_validate),
5505 (gst_param_spec_mini_object_get_type):
5506 Some cleanup and checking against invalid function parameters.
5508 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5510 * docs/gst/gstreamer-sections.txt:
5512 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5513 (gst_systemclock_suite):
5514 Start merging in the easy bits of #361155, the monotonic clock patch.
5515 This one adds a few handy macros with docs and a testsuite.
5517 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5519 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5520 Be a bit smarter when seeking, like, don't try to do a seek when it's
5521 not needed. This avoids errors when the file is not seekable.
5524 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5526 * docs/gst/gstreamer-docs.sgml:
5527 * docs/gst/gstreamer-sections.txt:
5528 * docs/gst/gstreamer.types.in:
5533 * plugins/elements/gstqueue.c:
5534 Due to popular request remove preset interface again. :-(.
5536 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5538 * tools/gst-inspect.c:
5539 Print 'default value' for enums and flags too.
5541 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5543 * docs/random/ensonic/profiling.txt:
5547 Fix typo and give better log output.
5549 * gst/gstdebugutils.c:
5550 * gst/gstdebugutils.h:
5551 More ideas, make graphs a bit smaller and fix param name in macro.
5553 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5556 Try harder to use the return value from fgets().
5558 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5561 For theses two fgets we handle the error below.
5563 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5565 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5566 Only send upstream events upstream. Fixes #498746.
5568 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5570 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5572 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5573 (gst_identity_init), (gst_identity_transform_ip),
5574 (gst_identity_set_property), (gst_identity_get_property):
5575 * plugins/elements/gstidentity.h:
5576 Add property to disable handoff signal emission. Fixes #498694.
5577 API: GstIdentity::signal-handoffs
5579 2007-11-21 Julien Moutte <julien@fluendo.com>
5581 * docs/faq/gst-uninstalled: Yet another missing library for the
5582 uninstalled script (fft)
5584 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5586 * docs/faq/developing.xml:
5587 Add a question about how to submit new translations.
5589 * docs/random/release:
5590 Update the contact email address for the Translation Project
5592 * plugins/elements/gstfdsrc.c:
5593 The parent_class for fdsrc is pushsrc, not GstElement.
5595 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5598 Plug a leak and fix saving.
5600 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5602 * docs/gst/gstreamer-sections.txt:
5603 Add new gst_preset__get_property_names() function to the docs
5606 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5610 Change _get_preset_names API to return a strv with copies. Add
5611 _get_property_names to allow implementations to filter and provide
5612 good default implementation.
5614 2007-11-20 Julien MOUTTE <julien@moutte.net>
5616 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5619 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5622 More cleanups, docs, and TODOs from comments that now slowly come in.
5624 2007-11-19 Julien MOUTTE <julien@moutte.net>
5626 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5629 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5632 Fix bogus warning and make the property type specific code more
5635 2007-11-19 Julien MOUTTE <julien@moutte.net>
5637 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5640 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5642 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5643 (gst_bin_add_func), (gst_bin_remove_func),
5644 (gst_bin_change_state_func), (gst_bin_continue_func):
5645 Change email, cleanups add some more debug and comments.
5646 Also set bus and clock on new elements when the pipeline was in error.
5648 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5651 * gst/gstdebugutils.c:
5652 Fix build with --disable-gst-debug. Fixes #497859.
5653 Spotted by Sameer Naik.
5655 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5658 Little documentation improvment.
5661 More TODO cleanups. Remove c++ comments.
5663 * libs/gst/controller/gstcontroller.c:
5664 Add TODO and use quark from static string.
5666 * tests/check/gst/gstmessage.c:
5667 * tests/check/gst/gststructure.c:
5668 Use quark from static string.
5670 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5673 Add some comments and TODOs.
5676 Add padding for future changes.
5678 * plugins/elements/gstqueue.c:
5679 Implement the iface.
5681 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5683 * docs/gst/gstreamer-docs.sgml:
5684 * docs/gst/gstreamer-sections.txt:
5685 * docs/gst/gstreamer.types.in:
5690 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5692 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5698 === release 0.10.15 ===
5700 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5703 releasing 0.10.15, "October"
5705 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5707 * win32/vs6/libgstreamer.dsp:
5708 Convert line endings back to DOS.
5710 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5712 * docs/design/draft-tagreading.txt:
5713 * docs/random/ensonic/profiling.txt:
5714 Update fast tagreading draft and performance profiling ideas.
5716 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5718 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5719 Don't hold the object lock when unreffing a buffer because it could
5720 cause a deadlock when the finalize function wants to grab the object
5721 lock too. Fixes #495133.
5723 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5725 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5726 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5727 Also accumulate time correctly when doing reverse playback. Fixes
5729 When converting to running and stream time, use default values for
5730 start/stop/time/accum when comparing different formats. Fixes #494245.
5732 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5733 Do running/stream time in TIME format.
5735 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5736 (gst_segment_suite):
5737 2 new unit tests for segment accumulation.
5739 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5741 * gst/gst.c: (init_pre):
5742 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5743 (_gst_debug_bin_to_dot_file):
5744 Move getenv() back into gst_init, so everyone can live happily
5745 ever after. Make sure the symbol isn't exported though.
5747 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5749 Patch by: Sebastien Moutte <sebastien moutte net>
5751 * win32/common/gstenumtypes.c:
5752 * win32/common/gstenumtypes.h:
5755 * win32/vs6/libgstreamer.dsp:
5756 Update vs6 project files (#494343).
5758 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5760 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5761 (gst_base_src_perform_seek), (gst_base_src_default_event),
5762 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5763 (gst_base_src_activate_pull):
5764 Unify flushing code, remove some old unlock code that is no longer used.
5765 Take the streaming lock when seeking to avoid races. Fixes #492729.
5766 Added some more comments.
5768 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5770 * gst/gst.c: (_gst_disable_segtrap):
5771 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5772 we can use gst_segtrap_is_enabled() there now that we have that API.
5773 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5774 to do the getenv here (and export the variable).
5776 * gst/gstdebugutils.c: (debug_dump_element),
5777 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5778 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5780 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5781 (gst_debug_log_default):
5782 Rename _gst_info_start_time to priv_gst_info_start_time so it
5783 doesn't get exported (was never in any header).
5785 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5786 (gst_plugin_loading_mutex):
5787 Make static mutex gst_plugin_loading_mutex really static (was never
5788 in any header), and use gst_segtrap_is_enabled() instead of
5789 _gst_disable_segtrap.
5791 * gst/gsttrace.c: (_gst_trace_default):
5792 Make local _gst_trace_default static (was never in any header).
5794 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5796 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5798 * win32/common/libgstbase.def:
5799 * win32/common/libgstcontroller.def:
5800 * win32/common/libgstdataprotocol.def:
5801 * win32/common/libgstnet.def:
5802 * win32/common/libgstreamer.def:
5803 Add more missing symbols, remove some duplicates, and sort
5804 as the 'sort' command sorts it (partially fixes #493983).
5806 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5808 * gst/gstelement.c: (gst_element_set_state_func):
5809 Only change the state cookie if a different state was set on the
5810 element. See #492729.
5812 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5815 Remove unused and uninitialised type variables that were still
5816 exported for some reason (they were never in any header files
5819 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5821 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5822 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5823 (gst_base_sink_event), (gst_base_sink_get_position_last),
5824 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5825 (gst_base_sink_change_state):
5826 Don't try to report a 0 position when we don't know, return -1 and FALSE
5827 instead. This mostly happens when we are prerolling.
5828 Make sure we can report the right position before we post the ASYNC_DONE
5829 message so that a message handler can query position without races.
5831 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5832 (async_done_handoff), (async_done_func), (send_buffer),
5833 (async_done_eos_func), (gst_sinks_suite):
5834 Add two tests for the above.
5836 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5839 Update with new email address.
5841 * docs/design/part-TODO.txt:
5842 Add some more info about future pad-block and negotiation changes.
5844 * docs/design/part-buffering.txt:
5845 Add some ideas about buffering reporting.
5847 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5849 * tests/check/gst/gstobject.c:
5850 Disable silly racy test that always fails on this combination of CPU
5853 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5855 Patch by: Murray Cumming <murrayc@murrayc.com>
5858 Corrected the registration of the parent-set and parent-unset
5859 signals: The parameter is a GstObject, not a GObject (#493134).
5861 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5863 * gst/gst_private.h:
5872 Move declaration of private _gst_foo_initialize() functions into
5873 our private header file where they should have been all along.
5875 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5877 * docs/plugins/gstreamer-plugins-sections.txt:
5878 * gst/gstdebugutils.h:
5880 * plugins/elements/gstqueue.c:
5881 gtk-doc fixes; trailing-comma-in-enum fix.
5883 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5885 * gst/gst.c: (gst_deinit):
5886 Clean up on deinit (not the external ones though, doesn't seem to be
5887 needed for some reason).
5889 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5891 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5892 Remove __declspec(dllimport) for MSVC that was copied over into core
5893 from a plugin, obviously without ever having been tested (note the
5894 single underscore in _declspec in the initial commit), and that doesn't
5895 really make sense. See #492077.
5897 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5899 * gst/gst.c: (init_post):
5900 * gst/gstevent.c: (_gst_event_initialize):
5901 * gst/gstquery.c: (_gst_query_initialize):
5902 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5903 g_type_class_ref() other types as well, see #349410 and #64764.
5905 * gst/gstbuffer.c: (_gst_buffer_initialize):
5906 * gst/gstmessage.c: (_gst_message_initialize):
5907 Simplify existing g_type_class_ref().
5909 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5911 * gst/gstformat.c: (_gst_format_initialize):
5912 g_type_class_ref() our GstFormat type to make sure we avoid the
5913 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5914 bug #64764. Should fix intermittent tee unit test failures (#474823).
5916 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5918 * tests/check/elements/tee.c: (test_num_buffers):
5919 Simplify, simplify, simplify - or not. Rewrite unit test
5920 not to use gst_parse_launch(); allow N sub-streams. Increasing
5921 the number of sub-streams seems to reproduce #474823 more easily.
5923 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5925 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5928 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5929 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5930 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5931 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5932 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5933 so use _pipe() directly (#492077).
5935 * win32/common/dirent.c: (_treaddir):
5936 Add a couple of casts to make it build without warnings with MSVC.
5938 * win32/common/libgstreamer.def:
5939 Add some more symbols that need to be exported.
5941 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5943 * tests/examples/metadata/read-metadata.c: (message_loop):
5944 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5945 arriving in a second or third tag message are added to
5946 the tag list as well.
5948 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5950 * libs/gst/base/gstbasesrc.c:
5951 Its "Since:" and not "@Since:". And remove an superflous cast.
5953 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5955 * docs/libs/gstreamer-libs-sections.txt:
5956 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5957 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5958 (gst_base_sink_get_property), (gst_base_sink_render_object),
5959 (gst_base_sink_preroll_object),
5960 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5961 (gst_base_sink_change_state):
5962 * libs/gst/base/gstbasesink.h:
5963 Add a new last-buffer property that contains the last buffer used in
5964 basesink for preroll or rendering. useful for making snapshots.
5965 API: gst_base_sink_get_last_buffer()
5966 API: GstBaseSink::last-buffer
5968 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5970 * docs/gst/running.xml:
5972 * gst/gstdebugutils.c:
5973 * gst/gstdebugutils.h:
5974 * tools/gst-launch.c:
5975 Improve bin graph dumping, by using the envvar to specify a path.
5976 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5978 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5980 * plugins/elements/gsttypefindelement.c:
5981 (gst_type_find_element_handle_event),
5982 (gst_type_find_element_activate):
5983 Post special error message if we can't determine the type of a stream
5986 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5988 * docs/gst/running.xml:
5989 * gst/gstdebugutils.c:
5990 Document new env-var. Add one log-line after dumpng a graph.
5992 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5995 Ugly hack to put the (recently removed and non-portable, apparently)
5996 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5997 GNU ld, because without that 'make check' fails miserably on my debian
5998 stable box. Someone with more knowledge of linker intricacies and
5999 portability issues than me fix this properly please.
6001 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6003 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6004 Reset last seen position after flushing so that we don't report the old
6007 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6009 * gst/gstelementfactory.c: (gst_element_register):
6011 Patch from Alessandro Decina adding get_type_full and
6012 get_protocols_full private vfuncs to the URIHandler interface
6013 to allow bindings to support creating URI handlers.
6014 Partially fixes: #339279
6015 API: GstURIHandlerInterface::get_type_full
6016 API: GstURIHandlerInterface::get_protocols_full
6018 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6020 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6021 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6022 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6023 Make it so that pads are considered linked until a buffer is pushed
6024 and discovered otherwise. This avoids problems with decodebin2 hanging
6025 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6028 Make sure we lock the multiqueue when updating the max-size properties.
6030 Fix a crash on Solaris in a debug statement in get_request_pad that
6031 passes a NULL string to GST_DEBUG.
6033 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6034 (run_output_order_test):
6035 Fix the test to allow the first buffer on not-linked pads to come out
6036 of sequence while multiqueue discovers that they are not-linked.
6038 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6041 * libs/gst/check/Makefile.am:
6042 Use a custom export symbol regex for libgstcheck, as it needs
6043 to export symbols that don't match the standard GStreamer gst_*
6044 pattern, and --export-dynamic is not portable (only works on
6047 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6048 (gst_check_setup_sink_pad):
6049 Make sure to pass a message parameter to the fail_* macros.
6051 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6052 Fix some compiler warnings.
6054 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6056 * tests/check/gst/gststructure.c: (test_to_string):
6057 Disable test that checks that white spaces are not allowed
6058 in structure names or field names, since we need to
6059 support that for now for backwards compatibility reasons.
6061 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6063 * docs/gst/gstreamer-sections.txt:
6066 API: add GST_TAG_ARTIST_SORTNAME
6067 API: add GST_TAG_ALBUM_SORTNAME
6068 API: add GST_TAG_TITLE_SORTNAME
6069 Add tag variants for sorting (#414539).
6071 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6073 * gst/gststructure.c:
6074 Also allow white space for names so we don't break
6075 backwards compatibility.
6077 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6079 * docs/design/part-TODO.txt:
6080 * docs/design/part-segments.txt:
6081 * docs/design/part-streams.txt:
6084 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6086 * docs/gst/gstreamer-sections.txt:
6087 Fixed documentation from my previous commit (added new API add
6088 gst_value_set_structure(), add gst_value_get_structure() and
6089 GST_VALUE_HOLDS_STRUCTURE).
6091 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6093 * gst/gstdebugutils.c:
6094 Reflow code to fix uninitialized variable warning.
6096 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6098 * gst/gstcaps.c: (gst_caps_to_string),
6099 (gst_caps_from_string_inplace):
6100 * gst/gststructure.c: (gst_structure_get_abbrs),
6101 (gst_structure_to_string), (gst_structure_from_string):
6102 * gst/gstvalue.c: (gst_value_set_structure),
6103 (gst_value_get_structure), (gst_value_serialize_structure),
6104 (gst_value_deserialize_structure), (_gst_value_initialize):
6106 * tests/check/gst/gststructure.c: (GST_START_TEST),
6107 (gst_structure_suite):
6108 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6109 Added GstStructure to gst_value_table and its related functions.
6110 Changed gst_structure_to_string to print ';' in the end.
6111 Changed gst_caps_to_string to not print ';' beteween its
6112 fields (structures) anymore and remove the lastes ';' from latest
6113 structure. Now it is possible to have nested structures.
6114 In addition, backward compatibilty is assured by accepting '\0' as
6115 end delimiter. Fixes: #487969.
6116 API: add gst_value_set_structure()
6117 API: add gst_value_get_structure()
6118 API: add GST_VALUE_HOLDS_STRUCTURE
6120 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6123 When no GSource callback has been set up, tell developer
6124 to use a function that actually exists.
6126 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6128 * docs/gst/gstreamer-sections.txt:
6132 * gst/gstdebugutils.c:
6133 * gst/gstdebugutils.h:
6136 * tools/gst-launch.c:
6137 Allow dumping pipelines as dot graphs. Fixes #456573.
6139 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6141 * gst/gststructure.c:
6142 Allow '+' as well, it can be part of media or mime types
6143 such as image/svg+xml.
6145 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6147 * docs/gst/gstreamer-sections.txt:
6150 API: add gst_bus_pop_filtered
6151 API: add gst_bus_timed_pop_filtered
6152 Two new functions for waiting for specific message types on the
6153 bus for a specified amount of time without iterating any main
6154 loops or main contexts.
6156 * tests/check/gst/gstbus.c:
6157 Some tests for the new functions.
6159 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6161 * docs/libs/gstreamer-libs-sections.txt:
6162 Make gtk-doc ignore stuff it should ignore.
6164 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6166 * libs/gst/check/gstcheck.c:
6167 * libs/gst/check/gstcheck.h:
6168 Allow runtime selection of unit tests to run via the GST_CHECKS
6169 environment variable (test case function names, comma-separated).
6171 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6173 * gst/gststructure.c:
6174 * tests/check/gst/gststructure.c:
6175 Revert serialisation change and constrain structure-names after
6176 consensus on irc. Update api documentation to reflect the change.
6178 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6180 * gst/gststructure.c:
6181 Improve serialization and fix tests.
6183 * tests/check/gst/gststructure.c:
6184 Add another test that covers why I actually did the previous structure
6187 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6189 * tools/gst-inspect.c: (print_element_info):
6190 Don't crash when inspecting an element.
6192 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6194 * tests/check/gst/gststructure.c:
6195 Add unit test for escaping of structure name when serialising
6196 and deserialising to/from strings.
6198 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6200 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6201 (gst_single_queue_new):
6202 * plugins/elements/gstqueue.c: (gst_queue_init),
6203 (gst_queue_push_one):
6204 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6205 upstream is tricked into thinking it can suggest a format downstream
6206 while downstream does not support that format. The real problem is that
6207 core calls acceptcaps when pushing a buffer with new caps, for which we
6208 do a little workaround by setting the caps on the srcpad ourselves
6209 before pushing the buffer (until this is figured out). Fixes #486758.
6211 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6213 * gst/gststructure.c:
6215 Add some more comments and debug output. Quote structure name to fix
6216 deserialisation of some strings.
6218 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6221 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6222 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6224 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6226 * tools/gst-inspect.c:
6227 Save approx. 400 1 byte allocs when printing. Use API to acces element
6233 * tools/gst-xmlinspect.c:
6234 Use API to acces element details.
6236 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6239 Fix some spelling errors.
6241 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6243 * gst/gstbin.c: (bin_handle_async_done):
6244 Correctly set the next state if all of our async children commited their
6245 state. This makes sure we can actually cancel the state change in
6246 progress. Fixes a regression in Rhythmbox when seeking.
6248 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6251 Don't shadow local variable.
6254 Don't shadow global function name.
6256 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6258 * gst/gstelementfactory.c:
6259 * gst/gstpluginfeature.c:
6260 * gst/gstpluginfeature.h:
6261 * gst/gstregistrybinary.c:
6262 * gst/gstregistryxml.c:
6263 * gst/gsttypefind.c:
6264 Use already-interned string for the private GstPluginFeature
6267 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6269 * docs/libs/gstreamer-libs-sections.txt:
6270 Add new API to docs; fixes the build.
6272 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6274 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6276 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6277 (gst_base_sink_event):
6278 * libs/gst/base/gstbasesink.h:
6279 Add function to wait for EOS, subclasses can use this to correctly wait
6280 for devices to drain before performing the EOS logic. Fixes #485343.
6281 API: gst_base_sink_wait_eos()
6283 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6286 Cast description string constants in GST_PLUGIN_DEFINE macros
6287 to a (gchar*) to make C++ code using these macros compile
6288 without warning with g++-4.2 (see #462737). Even if slightly
6289 ugly, this seems preferable to putting the description strings
6290 into the GLib quark table or making the structure member a
6291 const gchar * and doing casts in core code that allocs and
6292 frees these strings, or requiring a cast in the C++ code.
6294 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6297 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6298 to print the entire class/function signature into the log
6299 file for C++ code. This only affects C++ code, for C code
6300 everything remains the same.
6302 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6304 * gst/gstbin.c: (remove_from_queue):
6305 Work around a problem with pipelines containing (semi)loops until a
6306 proper, more complicated solution is ready. See #475455.
6308 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6312 * gst/gstregistrybinary.c:
6313 * gst/gstregistryxml.c:
6314 Put more strings into the GLib quark table. No need to keep
6315 a hundred-something copies of identical version strings,
6316 license strings, package name strings and package origin
6319 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6321 * docs/manual/advanced-dataaccess.xml:
6322 Don't imply that it's okay to unconditionally change
6323 buffer data or buffer metadata in a pad probe callback,
6324 and a bunch of other comments. Fixes #430031.
6326 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6328 * win32/common/gstenumtypes.c:
6329 * win32/common/gstenumtypes.h:
6330 * win32/common/gstversion.h:
6331 Update generated files.
6333 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6335 * docs/manual/advanced-autoplugging.xml:
6336 Prefix section with broken code with a warning (see #342432).
6338 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6340 * docs/manual/appendix-integration.xml:
6341 * docs/manual/basics-init.xml:
6342 Call g_thread_init() before g_option_context_new() to
6343 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6345 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6347 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6348 (gst_base_sink_queue_object_unlocked),
6349 (gst_base_sink_queue_object), (gst_base_sink_event),
6350 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6351 When we received EOS and are waiting for when to post the EOS message,
6352 our state is prerolled and we should not return ASYNC.
6353 Reorganize some code paths to implement this behavior.
6355 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6357 Add unit test to verify above EOS fix.
6359 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6361 * plugins/elements/gsttypefindelement.c:
6362 (gst_type_find_element_have_type), (gst_type_find_element_init),
6363 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6364 Move detecting the input caps of the sinkpad to the setcaps function.
6365 This allows us to update the output caps when we receive new input caps
6366 instead of always using the first detected caps.
6368 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6370 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6371 (gst_base_sink_get_position):
6372 Don't try to preroll non-async elements after a flush.
6373 Subtract latency form clock times when reporting position.
6375 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6377 * gst/gstpad.c: (gst_pad_pause_task):
6379 Small comment and documentation update.
6381 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6383 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6384 (gst_base_src_set_live), (gst_base_src_is_live),
6385 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6386 (gst_base_src_default_event), (gst_base_src_wait),
6387 (gst_base_src_do_sync), (gst_base_src_get_range),
6388 (gst_base_src_pad_get_range), (gst_base_src_loop),
6389 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6390 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6391 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6392 (gst_base_src_change_state):
6393 Rework the locking of basesrc in a similar fashion to basesink. We
6394 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6395 us to handle live sources and semi live ones much better.
6397 Fix unlocking when seeking, shutting down and pausing in live sources.
6399 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6401 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6402 Fix compilation again.
6404 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6407 Use meaningful categories for the logs to clean the default one.
6409 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6411 * tests/check/pipelines/cleanup.c:
6412 Print message name and not just number.
6414 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6416 * docs/design/draft-tagreading.txt:
6417 Add some more thoughts.
6419 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6421 * tests/check/pipelines/simple-launch-lines.c:
6422 Print message name and not just number.
6424 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6426 * libs/gst/base/gsttypefindhelper.c:
6427 Speedup typefinding. This is work in progress (see #459862).
6429 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6432 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6433 Spotted by Josep Torra Valles <josep@fluendo.com>.
6435 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6438 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6439 field has moved to GstObject.
6441 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6443 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6444 (gst_base_src_get_range), (gst_base_src_change_state):
6445 Call unlock for live sources so that they can't get stuck in _create and
6446 produce a buffer before they are set back to PLAYING.
6448 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6450 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6451 (gst_queue_locked_dequeue):
6452 Comment the segment-related code... in the PROPER function.
6453 See #482147 and my commit from yesterday.
6455 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6457 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6458 Also initialize the counter that calculates the first timestamp on a
6459 buffer correctly for non-live sources.
6461 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6463 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6464 Disable code that's breaking the current-time-level reporting.
6467 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6469 * docs/gst/gstreamer-sections.txt:
6470 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6471 as they shouldn't show up. Fixes the docs build.
6473 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6476 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6477 Define M_PI which is used in files which are including gstinfo.h.
6478 VS6 includes doesn't define it.
6479 * win32/common/libgstbase.def:
6480 * win32/common/libgstcontroller.def:
6481 * win32/common/libgstreamer.def:
6482 Add new exported functions and variables.
6483 * win32/vs6/libgstcontroller.dsp:
6484 * win32/vs6/libgstreamer.dsp:
6485 Update the list of files to build.
6487 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6489 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6491 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6492 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6493 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6494 Improve debugging. Fixes #480858.
6496 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6498 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6500 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6501 First patch of code cleanups, use the macros and right arguments in the
6502 macros to signal and lock the queue. See #480858.
6504 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6506 * gst/gstbus.c: (poll_func):
6507 Improve debugging when dealing with _poll().
6509 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6511 * gst/gstregistryxml.c:
6512 Fix memory leak I introduced a few days ago.
6514 2007-09-26 Michael Smith <msmith@fluendo.com>
6516 * gst/gstbuffer.c: (gst_buffer_finalize):
6517 Make it once again possible to free GstBuffers in the default
6519 The poisoning scribbles on parts of the miniobject we need in
6523 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6525 * docs/gst/gstreamer-sections.txt:
6528 API: add GST_TAG_COMPOSER, fixes #459809.
6530 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6534 Add the 3-clause BSD license and the MIT/X11 license to the license
6535 list. Fixes #479784.
6537 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6539 * docs/faq/getting.xml:
6540 Add Q+A about different GStreamer versions (#364056).
6542 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6544 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6545 (gst_base_sink_event), (gst_base_sink_change_state):
6546 Return correct gboolean from query function.
6548 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6550 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6551 (gst_base_sink_event), (gst_base_sink_query),
6552 (gst_base_sink_change_state):
6553 Simplify latency query.
6554 When not synchronizing, we can report latency without querying the peer
6557 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6561 Fix small typos in the docs.
6563 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6565 * docs/design/draft-latency.txt:
6566 * docs/design/draft-push-pull.txt:
6567 * docs/design/draft-tagreading.txt:
6568 * docs/design/part-MT-refcounting.txt:
6569 * docs/design/part-activation.txt:
6570 * docs/design/part-block.txt:
6571 * docs/design/part-element-source.txt:
6572 * docs/design/part-events.txt:
6573 * docs/design/part-gstbin.txt:
6574 * docs/design/part-gstelement.txt:
6575 * docs/design/part-gstobject.txt:
6576 * docs/design/part-gstpipeline.txt:
6577 * docs/design/part-messages.txt:
6578 * docs/design/part-preroll.txt:
6579 * docs/design/part-push-pull.txt:
6580 * docs/design/part-qos.txt:
6581 * docs/design/part-query.txt:
6582 * docs/design/part-scheduling.txt:
6583 * docs/design/part-seeking.txt:
6584 * docs/design/part-segments.txt:
6585 * docs/design/part-states.txt:
6586 Documentation updates and typo fixes.
6588 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6590 * plugins/elements/gstfakesink.c:
6591 Add some debug text to error message to indicate that
6592 we errored out on request.
6594 * tools/gst-launch.c:
6595 When the state change to PLAYING fails, check for an
6596 error message on the bus and print it.
6598 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6600 translated by: Jorge González González <aloriel@gmail.com>
6604 Added Spanish translation.
6606 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6608 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6609 Fix printf arguments.
6611 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6613 * tests/check/generic/states.c:
6614 Improved state change unit test.
6616 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6619 Move priv to the right place.
6621 * gst/gstsystemclock.c:
6622 Add FIXME: and improve log.
6624 * tests/check/Makefile.am:
6625 * tests/examples/manual/Makefile.am:
6626 Work with all types of registries.
6628 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6630 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6631 Don't unref the event after pushing it. Fixes #478401.
6633 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6636 * tests/examples/manual/.cvsignore:
6637 Ignore registries in any format.
6639 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6641 * gst/glib-compat-private.h:
6642 Add compatibility macro for g_intern_string() for
6643 GLib-2.8 (any reason we can't just bump the
6644 requirement to at least 2.10?)
6646 * gst/gstpadtemplate.h:
6647 * gst/gstelementfactory.c:
6648 * gst/gstregistryxml.c:
6649 * gst/gstregistrybinary.c:
6650 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6651 up the internal code accordingly. This shouldn't be a problem, since
6652 there is no reason external code could ever assume the string in such
6653 a structure is dynamically allocated unless it did that itself; the
6654 use of g_strdup() is private to element factories. The new code also
6655 saves some memory by putting pad template name strings into the GLib
6656 quark table instead of allocating them dynamically.
6657 Declaring this field constant fixes warnings with g++-4.2 when using
6658 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6660 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6662 * gst/gstelementfactory.c:
6663 Release static caps. Fixes #475723.
6665 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6669 Make some internal API take const gchar * instead of just
6670 gchar * to avoid compiler warnings with g++-4.2.2 when
6671 passing string constants (partially fixes #478092).
6673 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6675 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6676 A latency query fails when one of the sinks fail.
6678 * gst/gstelement.c: (gst_element_set_base_time):
6681 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6683 * gst/gstbin.c: (gst_bin_continue_func):
6684 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6685 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6686 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6688 Fix minor compilation warnings shown with Forte.
6690 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6692 * plugins/elements/gstqueue.c: (apply_buffer),
6693 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6694 Measure queue level based on the diff between head and tail timestamps
6695 even when pushing the first buffer.
6697 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6699 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6700 (gst_base_sink_event), (gst_base_sink_change_state):
6701 Sinks that don't preroll can always be queried for the latency.
6702 Don't post ASYNC start when we are not async.
6704 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6706 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6707 (gst_queue_handle_sink_event), (gst_queue_chain),
6708 (gst_queue_push_one), (gst_queue_handle_src_query),
6709 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6710 * plugins/elements/gstqueue.h:
6711 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6712 push more buffers but allow pushing of EOS and NEWSEGMENT.
6713 Add some more debug info here and there. Fixes #476514.
6715 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6717 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6718 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6719 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6720 (gst_base_sink_set_flushing), (gst_base_sink_query),
6721 (gst_base_sink_change_state):
6722 Latency query is allowed after we are prerolled. Introduce a new flag
6723 for this and stop abusing other variables.
6725 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6727 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6728 Push OOB events downstream when we get them in send_event. This allows
6729 the application to insert events in the pipeline.
6730 Add some more comments.
6732 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6734 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6735 (do_bin_latency), (gst_bin_change_state_func):
6736 * gst/gstpipeline.c: (gst_pipeline_change_state):
6737 Move latency query from GstPipeline to GstBin so that we can also
6738 use it when async-handling is enabled on bins.
6740 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6742 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6743 (gst_base_src_do_sync), (gst_base_src_change_state):
6745 Clean up the timestamping and syncing code for pseudo live sources.
6747 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6749 Patch by: Steve Fink <sphink gmail com>
6751 * docs/manual/appendix-checklist.xml:
6752 Mention less -R switch in the section about debug output (#474055).
6754 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6756 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6757 Queue can latency to the pipeline up to the configured max size in time.
6758 Report this fact in the latency query.
6760 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6762 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6764 * libs/gst/controller/gstinterpolation.c:
6765 * libs/gst/controller/gstlfocontrolsource.c:
6766 Use gst_guint64_to_gdouble() when converting from a uint64 or
6767 GstClockTime to double to fix the build on win32. Fixes #474371.
6769 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6771 * gst/gstbuffer.c: (gst_buffer_finalize):
6772 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6773 When finalizing a buffer the complete struct is filled with 0xff,
6774 thus making a use of the buffer after the final unref impossible.
6776 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6778 * tests/check/libs/controller.c: (GST_START_TEST):
6779 Use fail_unless_equals_int(a, b) instead of
6780 fail_unless_equals (a == b) to get better output on failures.
6782 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6784 * tests/check/gst/gsturi.c:
6785 Also check for the other file URI variant on win32.
6787 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6789 * gst/gsturi.c: (gst_uri_get_location):
6790 If there's no hostname, we want to return 'c:/foo/bar.txt'
6791 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6793 * tests/check/gst/gsturi.c:
6794 Unit test for the above and a few more things.
6796 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6798 * docs/design/part-live-source.txt:
6799 Add docs on how live sources should timestamp.
6801 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6802 Add some more debug info.
6803 For subclasses that are live and like to sync, add aditional startup
6804 latency to sync time and timestamps so that we timstamp according to the
6807 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6810 Also do a g_type_class_ref() for the subbuffer type in
6813 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6815 * docs/gst/gstreamer-sections.txt:
6816 * gst/gstpad.c: (gst_pad_peer_query):
6818 Add function to perform a query on the peer of a pad.
6819 API: gst_pad_peer_query()
6821 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6823 * tests/check/gst/gstsystemclock.c:
6824 Cleanup the test a little (use gst-logging and not g_message). Improve
6825 test to check if a wait reached the target.
6827 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6829 * docs/libs/gstreamer-libs-sections.txt:
6830 Add new API to docs and fix the build.
6832 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6834 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6835 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6836 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6837 (gst_base_src_get_property), (gst_base_src_do_sync):
6838 * libs/gst/base/gstbasesrc.h:
6839 Add property to make the basesrc timestamp buffers based on the current
6841 API: GstBaseSrc::do-timestamp
6842 API: gst_base_src_set_do_timestamp()
6843 API: gst_base_src_get_do_timestamp()
6845 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6847 * docs/random/release:
6848 Really make sure translations are up-to-date before
6849 a release (#465010).
6851 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6853 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6854 Always destroy the timer, also in error cases.
6856 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6858 * docs/manual/highlevel-xml.xml:
6859 Fix XML example code. Fixes #472714.
6861 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6863 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6864 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6865 (gst_base_sink_query):
6866 Protect eos and have_preroll with the OBJECT lock so we don't need to
6867 take the PREROLL lock when querying the latency. Fixes #473846.
6869 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6872 Give some log-messages a category.
6874 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6876 * gst/gststructure.c:
6877 (gst_structure_fixate_field_nearest_fraction):
6878 Fix fraction list fixation code. Take the fraction with the smallest
6879 difference with the target instead of the first one in the list.
6881 * tests/check/gst/gststructure.c: (GST_START_TEST),
6882 (gst_structure_suite):
6883 Added test to verify correct fraction list fixation behaviour.
6885 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6887 * win32/common/libgstreamer.def:
6888 Export gst_bus_add_signal_watch too.
6890 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6892 * docs/libs/gstreamer-libs-sections.txt:
6893 Add new methods to docs.
6895 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6896 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6897 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6898 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6899 * libs/gst/base/gstbasesink.h:
6900 Add ts-offset property to fine-tune the synchronisation.
6901 API: GstBaseSink::ts-offset property
6902 API: gst_base_sink_set_ts_offset()
6903 API: gst_base_sink_get_ts_offset()
6905 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6907 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6908 (gst_base_sink_init), (gst_base_sink_set_sync),
6909 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6910 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6911 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6912 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6913 (gst_base_sink_get_property), (gst_base_sink_change_state):
6914 * libs/gst/base/gstbasesink.h:
6915 Add async property to instruct the sink never to inform the parent about
6916 ASYNC state changes, update docs.
6917 Check argument with g_return_* for the public functions.
6918 API: GstBaseSink::async property
6919 API: gst_base_sink_set_async_enabled()
6920 API: gst_base_sink_is_async_enabled()
6922 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6924 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6927 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6928 (gst_base_src_default_query), (gst_base_src_wait),
6929 (gst_base_src_do_sync), (gst_base_src_change_state):
6930 Rearrange some code so that we can add support for measuring the
6933 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6935 * docs/random/ensonic/dynlink.txt:
6936 More thoughs on this.
6938 * plugins/elements/gstcapsfilter.c:
6939 Add bugzilla ticket number to FIXME comment.
6941 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6943 * docs/design/part-TODO.txt:
6944 * docs/design/part-block.txt:
6947 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6950 Revert patch which uses $(gst_headers) instead of $^ because it
6953 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6955 * tests/check/gst/gstbin.c: (GST_START_TEST):
6956 Fix leaks in the new unit test.
6958 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6961 Don't use GST_INFO before the debug system is actually initialised
6962 (shouldn't do any harm, but won't print anything either, so we can
6963 just as well remove it).
6966 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6967 compilers that don't support variadic macros (such as MSVC), should
6968 check for debug_level <= __gst_debug_min as well, since that's the
6969 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6970 inline helper functions. Should improve performance a bit, but also
6971 makes sure uses of GST_INFO et.al are ignored if the debugging
6972 system isn't initialised yet (instead of printing an assertion
6975 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6977 patch by: David Nečas <yeti@physics.muni.cz>
6980 Replace some non portable makefile constructs.
6982 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6984 * common/gtk-doc-plugins.mak:
6985 Grrrrr. Don't remove the types file on make clean.
6987 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6989 * tools/gst-launch.1.in:
6990 Add colorspace to example pipeline. Fixes #458274.
6992 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6994 * docs/random/release:
6995 The release manager should run 'make download-po' before making a
6996 release to make sure translations are up-to-date.
7002 Add some new translations.
7004 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7006 * tools/gst-launch.c: (event_loop), (main):
7007 Don´t try to do any state management when a live pipeline posts
7009 Also make the buffering string translatable.
7011 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7013 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7014 (bin_handle_async_start), (gst_bin_handle_message_func):
7016 When adding elements, insert messages into the bus of the newly added
7017 element and make sure the element is the source of the message. This
7018 allows the parent bin to intercept the message and do the
7019 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7020 messages to the app (which is not allowed).
7023 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7024 Fix testsuite so that is does not work around messages that should not
7025 have been posted in the first place.
7027 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7029 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7030 (update_degree), (gst_bin_sort_iterator_next):
7031 Fix annoying bug in the sorted iterator where a sink that is not really
7032 a sink (when it has downstream links) screwed up the iterator.
7034 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7035 Unit test to verify the fix.
7037 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7040 Add some more docs for the messages.
7042 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7043 (gst_base_sink_query):
7044 Add some more debugging.
7046 * tools/gst-launch.c: (event_loop):
7047 When interrupting, don't try to set pipeline to PAUSED twice.
7049 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7052 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7053 (bin_handle_async_start), (gst_bin_handle_message_func):
7054 Move ASYNC_START message posting to where it belongs, similar to
7056 Don't post ASYNC_START when we are in error.
7057 Post ASYNC_START when we added an async element to a bin.
7059 2007-08-14 Julien MOUTTE <julien@moutte.net>
7061 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7062 generation from vargs. Fixes #466595.
7064 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7066 * gst/gstbin.c: (gst_bin_element_set_state):
7067 Always change the state of a NO_PREROLL element even if it has ASYNC
7068 elements inside (in case of a bin).
7070 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7071 Unit test for this case.
7073 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7075 * libs/gst/check/gstbufferstraw.c:
7076 * libs/gst/check/gstcheck.h:
7077 * libs/gst/controller/gstcontroller.c:
7078 * libs/gst/controller/gstcontrolsource.h:
7079 * libs/gst/controller/gstlfocontrolsource.h:
7080 * plugins/elements/gstcapsfilter.h:
7081 * plugins/elements/gstfdsink.h:
7082 * plugins/elements/gstfdsrc.h:
7083 Add more missing docs.
7085 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7087 * gst/gststructure.c:
7088 Add Since tag to docs.
7090 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7092 * docs/gst/gstreamer-sections.txt:
7093 * gst/gststructure.c: (gst_structure_get_uint):
7094 * gst/gststructure.h:
7095 Add function to get uint from a structure.
7096 API: gst_structure_get_uint()
7098 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7100 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7101 (gst_caps_intersect):
7102 Fix proper check for simple caps.
7104 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7106 * docs/gst/Makefile.am:
7107 * docs/libs/Makefile.am:
7108 Remove cruft and do some cleanups.
7110 * docs/gst/gstreamer-docs.sgml:
7111 * docs/libs/gstreamer-libs-docs.sgml:
7112 Prepare for comming gtkdoc features (rebase against online docs).
7114 2007-08-10 Michael Smith <msmith@fluendo.com>
7116 * docs/gst/gstreamer-sections.txt:
7117 Add gst_registry_add_path to docs.
7119 2007-08-10 Michael Smith <msmith@fluendo.com>
7121 * gst/gstregistry.h:
7122 Add gst_registry_add_path, which was missing from this header.
7124 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7126 * libs/gst/controller/gstlfocontrolsource.c:
7129 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7131 * libs/gst/base/gstbasesink.c:
7132 Don't send an async_start message during downwards state change if
7133 target state is less than READY
7135 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7137 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7141 Added Hungarian translation.
7143 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7150 Updated translations.
7152 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7154 * libs/gst/controller/Makefile.am:
7155 Dist gstlfocontrolsourceprivate.h
7157 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7159 * docs/libs/gstreamer-libs.types:
7160 Don't register the enum type gst_lfo_waveform_get_type() in the
7161 .types file - only GObject derived types belong.
7163 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7165 Patch by: <arenevier at fdn dot fr>
7168 Remove comma from last element in enum to avoid compile errors when
7169 using -pendantic. Fixes #464366.
7171 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7173 * docs/design/part-TODO.txt:
7174 Add some more TODO items
7176 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7179 * gst/gstcaps.c: (gst_caps_intersect):
7180 Optimize trivial intersection case between identical caps pointers.
7182 * gst/gstelement.c: (gst_element_continue_state),
7183 (gst_element_set_state_func):
7185 Fix spelling and grammar mistakes.
7187 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7191 Update POTFILES. Fixes #461599.
7193 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7196 Fix confusing typo in debug output.
7198 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7200 reviewed by: Stefan Kost <ensonic@users.sf.net>
7202 * libs/gst/controller/Makefile.am:
7203 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7204 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7205 (gst_lfo_control_source_new),
7206 (gst_lfo_control_source_set_waveform),
7207 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7208 (gst_lfo_control_source_finalize),
7209 (gst_lfo_control_source_dispose),
7210 (gst_lfo_control_source_set_property),
7211 (gst_lfo_control_source_get_property),
7212 (gst_lfo_control_source_class_init):
7213 * libs/gst/controller/gstlfocontrolsource.h:
7214 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7215 API: Add GstLFOControlSource, a control source that gives values
7216 for specific timestamps based on several periodic waveforms.
7219 * tests/check/libs/controller.c: (GST_START_TEST),
7220 (gst_controller_suite):
7221 * docs/libs/gstreamer-libs-docs.sgml:
7222 * docs/libs/gstreamer-libs-sections.txt:
7223 * docs/libs/gstreamer-libs.types:
7224 Add documentation and unit tests for GstLFOControlSource.
7226 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7231 === release 0.10.14 ===
7233 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7236 releasing 0.10.14, "Breathing Vacuum"
7238 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7240 * gst/gstelement.c: (gst_element_class_set_details_simple):
7242 Make strings passed to gst_element_class_set_details_simple()
7243 constant, as they should be (#462752).
7245 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7247 * gst/gstbin.c: (gst_bin_change_state_func),
7248 (bin_handle_async_done), (gst_bin_handle_message_func):
7249 Don't forget about the fact that some element went ASYNC even after a
7250 resync. This makes us post the ASYNC_DONE message correctly.
7253 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7255 * gst/gstregistry.c: (gst_registry_add_feature):
7256 When replacing an existing feature in the registry, make sure to
7257 continue holding a reference until we've replaced the name string
7258 within our feature hash table. Make sure to use g_hash_table_replace
7259 instead of g_hash_table_insert to ensure the new name string is used
7260 as a key instead of the old one that we're about to free.
7263 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7265 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7266 (gst_plugin_feature_set_name):
7267 Revert patch from #459466 until after the release and we can work
7268 out exactly what the problem is (if any).
7270 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7272 * docs/gst/gstreamer-sections.txt:
7275 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7277 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7279 * docs/libs/Makefile.am:
7280 Include our build-prefix libs and includes before the generic ones to
7281 avoid linking against the installed libs when we want the build-tree
7284 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7286 Patch by: Steve Fink <sphink gmail com>
7288 * docs/pwg/building-testapp.xml:
7289 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7290 if people try to build or install the example from the plugin
7291 template against a GStreamer from package using the configure
7294 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7296 Patch by: Steve Fink <sphink gmail com>
7298 * tools/gst-inspect.1.in:
7299 Document --print-all and --print-plugin-auto-install-info command
7300 line options in man page.
7302 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7304 * docs/gst/gstreamer-sections.txt:
7305 Add docs for new api function.
7307 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7309 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7310 * gst/gstelementfactory.h:
7311 API: gst_element_factory_has_interface()
7312 Added method to check if an element factory implements a named
7315 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7318 * docs/gst/gstreamer.types.in:
7319 Another conditional doc check.
7322 * gst/gstparamspecs.h:
7323 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7328 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7330 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7331 (gst_registry_binary_load_feature),
7332 (gst_registry_binary_load_plugin),
7333 (gst_registry_binary_read_cache):
7334 Print error just once and with additional info.
7336 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7338 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7339 (helper_find_suggest), (helper_find_get_length),
7340 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7341 (gst_type_find_helper_for_buffer):
7342 Cleanup the typefindhelper code and add private doc comments.
7344 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7346 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7347 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7348 Fix capsfilter for cases where the caps set on capsfilter will provide
7349 additional information.
7352 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7354 * gst/gsttypefindfactory.c:
7355 Fix docs that recommened wrong function to use.
7357 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7359 * tools/gst-inspect.c: (print_plugin_features):
7360 Also give media-type for typefinders in element output.
7362 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7364 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7365 (gst_registry_remove_features_for_plugin_unlocked),
7366 (gst_registry_add_feature), (gst_registry_remove_feature),
7367 (gst_registry_lookup_feature_locked):
7368 * gst/gstregistry.h:
7369 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7372 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7374 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7375 (gst_plugin_feature_set_name):
7376 Avoid double memory usage for pluginfeature names. Fixes #459466.
7378 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7381 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7382 driving the pipeline may need to explicitly check for NOT_LINKED as
7383 well, since IS_FATAL doesn't cover that.
7385 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7387 * docs/pwg/advanced-types.xml:
7388 Fix typo and duplicate entry in video formats list.
7390 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7392 * libs/gst/controller/gstinterpolation.c:
7393 Also round to the nearest int when using cubic interpolation.
7395 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7397 * libs/gst/controller/gstinterpolation.c:
7398 When linearly interpolating integer types, round to the nearest int
7399 by adding 0.5. Don't do it for float/double types.
7400 Fixes the failing controller test on my machine, which is somehow
7401 rounding differently than on the buildbots.
7403 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7405 * tools/gst-plot-timeline.py:
7406 Better log parsing (categories can have -). Adjust text vs. lines, so
7407 that they span the same y-range.
7409 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7411 * docs/random/ensonic/audiobaseclasses.txt:
7412 * docs/random/ensonic/dynlink.txt:
7413 * docs/random/ensonic/profiling.txt:
7416 * docs/random/moving-plugins:
7417 Add note to use g_assert type macros.
7419 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7422 * libs/gst/check/Makefile.am:
7423 Add libm check as we use in for plugins.
7425 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7427 * gst/gstbin.c: (gst_bin_continue_func):
7428 Check that the state_cookie hasn't changed since the continue_func
7429 was scheduled. Avoids problems where the state changes back to
7430 something it shouldn't be because it was changed in the meantime.
7432 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7434 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7435 (gst_registry_binary_save_string),
7436 (gst_registry_binary_save_pad_template),
7437 (gst_registry_binary_save_feature),
7438 (gst_registry_binary_save_plugin),
7439 (gst_registry_binary_load_feature),
7440 (gst_registry_binary_load_plugin),
7441 (gst_registry_binary_read_cache):
7442 Fix memory leak. Be less verbose in the log.
7444 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7446 * tests/check/elements/.cvsignore:
7447 Add file to cvsignore as commanded.
7449 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7451 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7452 (mq_dummypad_event), (run_output_order_test):
7453 Use a GStaticMutex to protect all cases where libcheck
7454 fail_if/fail_unless macros might be called from multiple threads
7455 simultaneously to avoid errors like:
7456 "check_pack.c:107: :-1081725400:Bad message type arg"
7458 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7460 * tests/check/pipelines/stress.c: (GST_START_TEST):
7461 Make sure we set the pipeline back to the NULL state before
7462 dropping our final reference.
7464 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7466 * tests/check/elements/tee.c: (GST_START_TEST):
7467 Make the tee stress-test a little less stressful so it doesn't just
7468 time out on slow-machines, and remove a small race when it's starting
7469 up by adding a get_state() call.
7471 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7474 Avoid reading registry twice on startup. Fixes #457322.
7476 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7478 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7479 * pkgconfig/gstreamer-check.pc.in:
7480 Substitute the CFLAGS for libcheck into our .pc file too so that
7481 dependent modules will pick it up properly if libcheck is installed
7482 into some other prefix.
7484 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7487 Revert the pkg-config check for libcheck, since it pulls in the
7488 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7489 a proper solution, either from the check project, or something else.
7491 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7494 Use pkg-config to locate check.
7496 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7503 Add deprecation guards.
7505 * libs/gst/base/gstcollectpads.h:
7506 Don't document object (this is implicitly private).
7508 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7510 * gst/gststructure.c: (gst_structure_parse_value):
7511 When deserialising foo=bar without a type cast, check if it's a
7512 boolean before falling back to a string type, otherwise things like
7513 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7514 because the filtercaps end up having a signed=(string)true field,
7515 which causes problems later when intersection caps.
7517 * tests/check/gst/gststructure.c: (GST_START_TEST):
7518 Add a unit test for this.
7520 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7522 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7524 * libs/gst/controller/Makefile.am:
7525 * libs/gst/controller/gstcontroller.c:
7526 (gst_controlled_property_add_interpolation_control_source),
7527 (gst_controlled_property_new), (gst_controlled_property_free),
7528 (gst_controller_find_controlled_property),
7529 (gst_controller_new_valist), (gst_controller_new_list),
7530 (gst_controller_new), (gst_controller_remove_properties_valist),
7531 (gst_controller_remove_properties_list),
7532 (gst_controller_remove_properties),
7533 (gst_controller_set_property_disabled),
7534 (gst_controller_set_disabled), (gst_controller_set_control_source),
7535 (gst_controller_get_control_source), (gst_controller_get),
7536 (gst_controller_sync_values), (gst_controller_get_value_array),
7537 (_gst_controller_dispose), (gst_controller_get_type),
7538 (gst_controlled_property_set_interpolation_mode),
7539 (gst_controller_set), (gst_controller_set_from_list),
7540 (gst_controller_unset), (gst_controller_unset_all),
7541 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7542 * libs/gst/controller/gstcontroller.h:
7543 * libs/gst/controller/gstcontrollerprivate.h:
7544 * libs/gst/controller/gstcontrolsource.c:
7545 (gst_control_source_class_init), (gst_control_source_init),
7546 (gst_control_source_get_value),
7547 (gst_control_source_get_value_array), (gst_control_source_bind):
7548 * libs/gst/controller/gstcontrolsource.h:
7549 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7550 (gst_object_get_control_source):
7551 * libs/gst/controller/gstinterpolation.c:
7552 (gst_interpolation_control_source_find_control_point_node),
7553 (gst_interpolation_control_source_get_first_value),
7554 (_interpolate_none_get), (interpolate_none_get),
7555 (interpolate_none_get_boolean_value_array),
7556 (interpolate_none_get_enum_value_array),
7557 (interpolate_none_get_string_value_array),
7558 (_interpolate_trigger_get), (interpolate_trigger_get),
7559 (interpolate_trigger_get_boolean_value_array),
7560 (interpolate_trigger_get_enum_value_array),
7561 (interpolate_trigger_get_string_value_array):
7562 * libs/gst/controller/gstinterpolationcontrolsource.c:
7563 (gst_control_point_free), (gst_interpolation_control_source_reset),
7564 (gst_interpolation_control_source_new),
7565 (gst_interpolation_control_source_set_interpolation_mode),
7566 (gst_interpolation_control_source_bind),
7567 (gst_control_point_compare), (gst_control_point_find),
7568 (gst_interpolation_control_source_set_internal),
7569 (gst_interpolation_control_source_set),
7570 (gst_interpolation_control_source_set_from_list),
7571 (gst_interpolation_control_source_unset),
7572 (gst_interpolation_control_source_unset_all),
7573 (gst_interpolation_control_source_get_all),
7574 (gst_interpolation_control_source_get_count),
7575 (gst_interpolation_control_source_init),
7576 (gst_interpolation_control_source_finalize),
7577 (gst_interpolation_control_source_dispose),
7578 (gst_interpolation_control_source_class_init):
7579 * libs/gst/controller/gstinterpolationcontrolsource.h:
7580 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7581 API: Refactor GstController into the core controller which can take
7582 a GstControlSource for providing actual values for timestamps.
7583 Implement a interpolation control source and use this for backward
7584 compatibility, deprecate a bunch of functions that are now handled
7585 by GstControlSource or GstInterpolationControlSource.
7586 Make it possible to disable the controller completely or only for
7587 specific properties. Fixes #450711.
7588 * docs/libs/gstreamer-libs-docs.sgml:
7589 * docs/libs/gstreamer-libs-sections.txt:
7590 * docs/libs/gstreamer-libs.types:
7591 Add new functions and classes to the docs.
7592 * tests/check/libs/controller.c: (GST_START_TEST),
7593 (gst_controller_suite):
7594 * tests/examples/controller/audio-example.c: (main):
7595 Port unit test and example to the new API and add some new
7598 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7600 Patch by: Mark Nauwelaerts <manauw at skynet be>
7602 * plugins/elements/gstmultiqueue.c:
7603 (gst_multi_queue_get_internal_links), (apply_buffer),
7604 (single_queue_overrun_cb), (gst_single_queue_new):
7605 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7606 the pipeline layout can be tracked correctly. Fixes #453732.
7608 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7610 * docs/gst/Makefile.am:
7611 * docs/libs/Makefile.am:
7612 * docs/plugins/Makefile.am:
7613 Simplify --extra-dir as gtkdoc scans recursively.
7615 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7617 * tools/gst-launch.c: (main):
7618 When we got an error, there is no point in waiting for preroll when
7621 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7623 * plugins/elements/gsttee.c: (gst_tee_base_init),
7624 (gst_tee_request_new_pad), (gst_tee_release_pad),
7625 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7626 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7628 Be a lot smarter when deciding what srcpad to use for proxying
7629 the buffer_alloc. Also handle pad added/removed when doing so.
7631 Keep track of what pads we already pushed on in case we have pads
7632 added/removed while pushing. Fixes #374639
7634 * tests/check/Makefile.am:
7635 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7637 Added unit test for pad resync.
7639 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7643 Updated translations.
7645 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7647 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7651 Added new Finnish translation.
7653 2007-06-28 Wim Taymans <wim@fluendo.com>
7655 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7656 (single_queue_overrun_cb):
7657 When figuring out when a queue is filled, use our internal time estimate
7658 based on segments, just like check_full does.
7660 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7662 * gst/gstminiobject.c: (gst_mini_object_get_type):
7663 Remove 3 do-nothing methods.
7665 2007-06-27 Wim Taymans <wim@fluendo.com>
7667 Patch by: Tim Angus <tim at ngus dot net>
7669 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7670 (gst_capsfilter_set_property):
7671 Take a reference instead of a copy when setting "caps".
7672 Fix documentation to clarify this behaviour. Fixes #449414.
7674 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7676 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7677 * gst/gstplugin.c: (gst_plugin_init):
7678 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7679 * gst/gstquery.c: (gst_query_get_type):
7680 * gst/gstregistry.c: (gst_registry_init):
7681 * gst/gsturi.c: (gst_uri_handler_base_init):
7682 Remove empty instance_init() functions to save relocs and lessen the
7683 noise. Remove some of the function prototypes that are doubled by
7686 2007-06-27 Wim Taymans <wim@fluendo.com>
7688 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7690 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7691 Add peer and direction in the XML serialisation of ghostpads.
7694 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7697 Preserve useful information, thanks Tim.
7699 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7701 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7702 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7703 (gst_single_queue_push_one), (gst_multi_queue_loop),
7704 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7705 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7706 (compute_high_id), (gst_single_queue_new):
7707 * plugins/elements/gstmultiqueue.h:
7708 Take the multiqueue lock when updating the fill level so we don't get
7711 After applying a buffer or event on the src pad segment, make sure to
7712 call gst_data_queue_limits_changed() to get the data queue to unblock
7713 and check the filled state again.
7715 Rework the not-linked pad handling so the logic is that not-linked
7716 pads can push as fast as they like, but only so they never get
7717 ahead of any linked pads.
7719 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7720 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7721 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7723 Add a test to check that not-linked pads always stay behind
7728 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7730 * docs/random/release:
7731 Some updates to the release procedure.
7733 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7735 * gst/gstelementfactory.c: (__gst_element_details_clear):
7736 Microoptimization that saves stunning 80 bytes.
7738 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7740 * docs/plugins/gstreamer-plugins.args:
7741 * docs/plugins/inspect/plugin-coreelements.xml:
7742 * docs/plugins/inspect/plugin-coreindexers.xml:
7743 Update docs with caps info.
7745 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7748 Updated Italian translation.
7750 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7754 Update Vietnamese translations.
7756 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7758 * libs/gst/base/gstbasesink.c:
7759 Remove unused signal enum.
7761 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7763 * docs/gst/gstreamer-sections.txt:
7765 * gst/gstutils.c: (gst_type_register_static_full):
7766 Beef up and include the docs for gst_type_register_static_full and
7767 gst_element_class_set_details_simple and add the API keyword
7770 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7772 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7773 (update_time_level), (gst_single_queue_push_one),
7774 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7775 (single_queue_overrun_cb), (single_queue_underrun_cb),
7776 (single_queue_check_full):
7777 Fix setting max-* properties after adding queues.
7778 Use IS_FILLED for checking visible items.
7779 Signal overrun if multiple queues overrun.
7780 Add extra debug output.
7781 Patch by: Wim Taymans <wim@fluendo.com>
7783 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7785 * gst/gstelement.c: (gst_element_class_set_details_simple):
7787 * gst/gstutils.c: (gst_type_register_static_full):
7789 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7790 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7791 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7792 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7793 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7794 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7795 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7796 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7797 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7798 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7799 (apply_buffer), (gst_queue_chain):
7800 * plugins/elements/gsttee.c: (gst_tee_base_init):
7801 * plugins/elements/gsttypefindelement.c:
7802 (gst_type_find_element_base_init),
7803 (gst_type_find_element_class_init):
7804 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7805 API: add gst_type_register_static_full
7806 API: add gst_element_class_set_details_simple
7808 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7810 * docs/pwg/advanced-types.xml:
7811 Fix typo in iana.org URI.
7813 2007-06-19 Andy Wingo <wingo@pobox.com>
7815 * tests/check/pipelines/simple-launch-lines.c
7816 (test_state_change_returns): Enable pull-mode tests now that
7817 basesink has been fixed.
7819 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7820 Changed from gst_base_sink_is_prerolled, reversing the sense of
7821 the return value. Returns FALSE also if the sink is in pull mode,
7822 in which case it needs no preroll.
7823 (gst_base_sink_query, gst_base_sink_change_state): Update for
7824 needs_preroll change.
7825 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7826 chaining up, in which we return SUCCESS directly if we activated
7827 in pull mode instead of ASYNC. Involves countering an async_start
7828 message sent before chaining up; not sure if this is correct, in
7829 an ideal world we only send async-start when activating in push
7832 * tests/check/pipelines/simple-launch-lines.c
7833 (test_state_change_returns): New test, partially disabled until
7836 2007-06-19 Wim Taymans <wim@fluendo.com>
7838 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7839 (gst_multi_queue_sink_event):
7842 2007-06-19 Wim Taymans <wim@fluendo.com>
7844 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7845 (gst_bin_change_state_func), (bin_push_state_continue),
7846 (bin_handle_async_start), (bin_handle_async_done),
7847 (gst_bin_handle_message_func):
7848 Move the common code for posting state-change messages into
7850 Broadcast the state signal after we posted the messages.
7851 Mark the bin as busy when it's doing a state-change.
7852 Make sure async-start/done messages don't interfere with the bin's
7853 state when it's busy.
7854 After the state change, let the bin check which elements completed the
7855 state change while it was busy so that it can update its state.
7857 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7859 * docs/random/release:
7860 Add a note about updating the doap file to the release checklist
7862 2007-06-18 Wim Taymans <wim@fluendo.com>
7864 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7865 (gst_single_queue_push_one), (gst_multi_queue_chain),
7866 (gst_multi_queue_sink_event):
7867 Make sure we don't reference the buffer/event after we have given away
7868 ownership in the queue.
7870 2007-06-18 Wim Taymans <wim@fluendo.com>
7872 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7873 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7874 Update queue state _after_ adding the item in the queue because else we
7875 could end up being full without the element added yet.
7877 2007-06-18 Wim Taymans <wim@fluendo.com>
7879 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7880 (gst_bin_remove_func), (gst_bin_get_state_func),
7881 (gst_bin_element_set_state), (gst_bin_continue_func),
7882 (bin_push_state_continue), (bin_handle_async_start),
7883 (bin_handle_async_done), (gst_bin_handle_message_func):
7885 Immediatly commit the toplevel bin state when receiving an async-done
7886 message. This enables us to avoid spawning a thread to commit the state
7887 in some common cases and it also avoids some races.
7888 Avoid spawning a state thread when adding/removing async elements to a
7889 toplevel bin. Instead we immediatly update the bin state.
7890 Get rid of iterating all the children when getting the state in the bin
7891 because it is now always up-to-date.
7892 Fix bug where locked elements would always return _SUCCESS even it they
7893 returned NO_PREROLL before being locked.
7894 Fix the order of the state_change, async-start/done messages that was
7895 sometimes incorrect.
7896 Mark the state_dirty field as deprecated, we don't need it anymore as we
7897 are always up-to-date.
7899 * gst/gstelement.c: (gst_element_get_state_func),
7900 (gst_element_continue_state):
7901 Small debug inprovements.
7902 Return the previous element state return when nothing is pending instead
7903 of blindly returning SUCCESS.
7905 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7907 Add a whole bunch of new testcases.
7909 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7913 Update translations.
7915 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7918 Fix typo in the docs.
7920 2007-06-15 Wim Taymans <wim@fluendo.com>
7922 * docs/libs/gstreamer-libs-sections.txt:
7923 Add docs for new methods.
7925 2007-06-15 Wim Taymans <wim@fluendo.com>
7927 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7928 (gst_multi_queue_item_new):
7929 Don't use GSlice because we don't depend on >= 2.10 yet.
7931 2007-06-15 Wim Taymans <wim@fluendo.com>
7933 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7934 (update_time_level), (apply_segment), (apply_buffer),
7935 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7936 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7937 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7938 (single_queue_underrun_cb), (single_queue_check_full):
7939 Remove debug printf.
7941 2007-06-15 Wim Taymans <wim@fluendo.com>
7943 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7944 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7945 (gst_data_queue_set_flushing), (gst_data_queue_push),
7946 (gst_data_queue_pop), (gst_data_queue_drop_head),
7947 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7948 * libs/gst/base/gstdataqueue.h:
7950 Added methods to get the current levels and to inform the queue that the
7951 'full' limits changed.
7953 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7954 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7955 (gst_single_queue_flush), (update_time_level), (apply_segment),
7956 (apply_buffer), (gst_single_queue_push_one),
7957 (gst_multi_queue_item_steal_object),
7958 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7959 (gst_multi_queue_loop), (gst_multi_queue_chain),
7960 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7961 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7962 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7963 (single_queue_underrun_cb), (single_queue_check_full),
7964 (gst_single_queue_new):
7965 Keep track of time in the queue by measuring the difference between
7966 running_time on input and output. This gives more accurate results and
7967 can compensate for segments correctly.
7968 Make a queue by default only 5 buffers deep. We will now increase the
7969 buffer size depending on the filledness of the other queues.
7970 Factor out commong flush code.
7971 Make sure we don't add additional refcounts to buffers when we can avoid
7973 Propagate GstFlowReturn differently.
7974 Use GSlice for intermediate GstMultiQueueItems.
7976 Resize queues on over and underruns based on filled level of other
7978 When checking if the queue is filled, prefer to measure in time if we
7979 can and fall back to bytes when no time is known.
7981 * plugins/elements/gstqueue.c:
7984 2007-06-15 Wim Taymans <wim@fluendo.com>
7986 * libs/gst/base/gstbasetransform.c:
7987 (gst_base_transform_sink_event):
7988 Work around the brokenness of the event vmethod in basetransform. Prefer
7989 to return TRUE when the subclass returned FALSE (meaning don't forward
7992 * libs/gst/base/gstbasetransform.h:
7995 2007-06-15 Wim Taymans <wim@fluendo.com>
7997 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7998 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7999 (gst_base_src_default_query), (gst_base_src_get_range),
8000 (gst_base_src_start):
8001 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8004 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8006 * docs/pwg/advanced-types.xml:
8007 Added more formats to caps table.
8009 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8011 * tools/gst-launch.c: (main):
8012 Remove crufy code. GOption does not need this workaround.
8014 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8016 * libs/gst/controller/gstcontroller.c:
8017 (gst_controlled_property_set_interpolation_mode):
8018 Fix wrong getter for enums in controller.
8020 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8022 * libs/gst/check/gstcheck.c: (gst_check_init):
8023 Intercept criticals and warnings in the Gst-Phonon log domain, so
8024 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8027 2007-06-14 Edward Hervey <edward@fluendo.com>
8029 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8030 Since this file doesn't include "gst.h" it will not go through the
8031 macros that disable GST_LOG if debugging was disabled.
8033 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8035 * libs/gst/check/Makefile.am:
8036 * libs/gst/check/gstcheck.h:
8037 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8038 * pkgconfig/gstreamer-check.pc.in:
8039 Ugly 'fix' for the controller unit test on the p5 bot: in
8040 fail_unless_equals_float() check whether the values are 'almost
8041 equal' by allowing a small absolute error, which should be good
8042 enough for our use cases (normal numbers and values close to 0).
8043 Proper fixage left to floating point arithmetic aficionados.
8045 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8047 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8048 (gst_base_sink_render_object), (gst_base_sink_get_position):
8049 Add two breaks thats where missing.
8051 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8053 * docs/libs/gstreamer-libs-sections.txt:
8054 * libs/gst/check/gstcheck.h:
8055 API: add fail_unless_equals_float() and assert_equals_float().
8056 Add documentation for some of the macros.
8058 * tests/check/libs/controller.c: (GST_START_TEST):
8059 Use newly-added asserts.
8061 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8063 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8064 Show the caps change in the log to help spotting the case of not
8065 exactly matching caps.
8067 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8069 * docs/pwg/building-boiler.xml:
8070 Fix typos, spotted by Thijs Vermeir (#447190).
8072 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8074 * docs/plugins/tmpl/.cvsignore:
8075 Ignore file to keep the buildbots happy
8077 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8079 * docs/plugins/Makefile.am:
8080 * docs/plugins/gstreamer-plugins-docs.sgml:
8081 * docs/plugins/gstreamer-plugins-sections.txt:
8082 Pull fdsink into the docs too.
8084 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8086 * libs/gst/controller/gstinterpolation.c:
8087 Actually use the new functions with min/max checks for the trigger and
8088 none interpolation modes for get() and get_value_array() instead of
8091 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8093 * libs/gst/controller/gstcontroller.c:
8094 (gst_controlled_property_free):
8095 Unset the minimum and maximum GValues when freeing the corresponding
8096 GstControllerProperty struct.
8098 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8100 * libs/gst/controller/gstcontroller.c:
8101 (gst_controlled_property_new):
8102 * libs/gst/controller/gstcontrollerprivate.h:
8103 * libs/gst/controller/gstinterpolation.c:
8104 (gst_controlled_property_find_control_point_node),
8105 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8106 (interpolate_none_get_string_value_array),
8107 (interpolate_trigger_get),
8108 (interpolate_trigger_get_enum_value_array),
8109 (interpolate_trigger_get_string_value_array):
8110 Protect against values larger or smaller than the minimum or maximum
8111 allowed value for the property when using values that can be compared.
8113 Optimize trigger interpolator a bit by taking the last requested value
8114 into account instead of always looping through the complete list.
8116 Fix coding style a bit, everywhere else we use "return foo" instead
8119 * tests/check/libs/controller.c: (GST_START_TEST),
8120 (gst_controller_suite):
8121 Add unit test for the protection against too large or too small
8124 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8126 * docs/random/slomo/controller.txt:
8127 Add some thoughts about the future of the controller.
8129 2007-06-08 Wim Taymans <wim@fluendo.com>
8131 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8132 Don't overflow in retimestamping code.
8134 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8136 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8137 Use gst_util_guint64_to_gdouble for conversions.
8138 * win32/common/libgstreamer.def:
8139 Add new exported functions.
8141 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8144 Small docs addition.
8146 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8149 Remove that test line again.
8151 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8154 Test commit mail sending.
8156 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8159 Fix typo and test commit mail sending.
8161 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8163 * tests/examples/controller/audio-example.c:
8164 Improve comment and test commit mail sending.
8166 2007-06-07 Wim Taymans <wim@fluendo.com>
8168 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8169 (gst_bin_remove_func), (gst_bin_element_set_state),
8170 (bin_handle_async_start), (bin_handle_async_done),
8171 (gst_bin_handle_message_func):
8172 Add helper function to find messages.
8173 Generate the async-done messages together with the state change
8175 Small cleanups in handling toplevel bins.
8177 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8179 * libs/gst/base/gstdataqueue.c:
8180 * libs/gst/base/gstdataqueue.h:
8181 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8182 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8183 (gst_multi_queue_sink_event):
8184 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8185 Fix multiqueue leaking buffers and events when downstream or the
8186 queue are flushing. Make refcounting assumptions explicit and
8187 document them (shouldn't break existing code that uses it other than
8188 maybe leak miniobjects, but that already happens anyway). Add unit
8189 test for the most common flushing case. Fixes #423700.
8191 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8193 * libs/gst/controller/gstcontroller.c:
8194 Clarify docs: The get_all, get_value_array(s) functions
8195 don't modify the GObject properties.
8197 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8199 * libs/gst/controller/gstcontroller.c:
8200 (gst_controlled_property_set_interpolation_mode),
8201 (gst_controlled_property_prepend_default),
8202 (gst_controlled_property_new), (gst_controller_set_unlocked),
8203 (gst_controller_set), (gst_controller_set_from_list),
8204 (gst_controller_unset), (gst_controller_unset_all):
8205 * libs/gst/controller/gstcontrollerprivate.h:
8206 * libs/gst/controller/gstinterpolation.c:
8207 Factor out the 'set' logic into gst_controller_set_unlocked for the
8208 gst_controller_set and gst_controller_set_from_list functions.
8210 To make life of the interpolators easier always add a control point
8211 at timestamp zero with the default value.
8213 In the linear interpolator make things more obvious by better variable
8216 Implement cubic interpolation mode (by using a natural cubic spline)
8217 and map the quadratic interpolation mode to this too (as quadratic
8218 doesn't make much sense, see discussion on the list).
8220 * tests/check/libs/controller.c: (GST_START_TEST),
8221 (gst_controller_suite):
8222 Add unit test for the cubic interpolation mode and check everywhere
8223 if the interpolation mode could be set as expected.
8225 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8227 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8228 Don't use GLib-2.10 functions, we still depend on
8229 GLib-how-old-is-it-again-2.8.
8231 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8233 * docs/gst/gstreamer-sections.txt:
8237 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8238 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8239 (_gst_param_fraction_values_cmp),
8240 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8241 * gst/gstparamspecs.h:
8243 * tests/check/Makefile.am:
8244 * tests/check/gst/.cvsignore:
8245 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8246 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8247 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8248 (GST_START_TEST), (gst_param_spec_suite):
8249 API: add GstParamSpecFraction, so elements can have fraction
8250 properties without lots of painful string parsing (#444648).
8252 2007-06-05 Wim Taymans <wim@fluendo.com>
8254 * gst/gstobject.c: (gst_object_class_init):
8255 Fix signal signature.
8258 Add small clarification in the api docs.
8260 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8261 States are protected with object lock.
8263 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8266 I should probably be listed as an author by now.
8268 * docs/random/release:
8269 Update the release doc
8271 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8274 Make docs for gst_value_compare() mention return enums that
8277 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8282 === release 0.10.13 ===
8284 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8287 releasing 0.10.13, "With or without you"
8289 2007-05-25 Wim Taymans <wim@fluendo.com>
8291 * gst/gstbin.c: (bin_handle_async_done):
8292 Make sure that the child bin stops after completing the async state
8293 change so that the parent can continue the state change to PLAYING.
8296 2007-05-25 Wim Taymans <wim@fluendo.com>
8298 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8299 (unref_data), (gst_collect_pads_remove_pad),
8300 (gst_collect_pads_check_pads):
8301 Use additional refcounting to avoid crashes when dynamically adding and
8302 removing pads. Fixes #420206.
8304 2007-05-24 Wim Taymans <wim@fluendo.com>
8306 * tools/gst-launch.c: (event_loop):
8307 When buffering goes from a two digit to a single digit number, make sure
8308 to remove the old second digit by writing a blank over it.
8310 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8312 * libs/gst/base/gstdataqueue.c:
8313 Eliminate tabs and trailing comma in enum list; fix some typos.
8315 2007-05-24 Wim Taymans <wim@fluendo.com>
8317 * tests/check/gst/gstbin.c: (GST_START_TEST):
8318 Allow refcount of 3 and 4 because some state thread might still be busy
8321 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8323 * plugins/elements/Makefile.am:
8324 * plugins/elements/gstmultiqueue.h:
8325 * plugins/elements/gstqueue.h:
8326 These are not installed headers, no need for padding.
8328 2007-05-24 Wim Taymans <wim@fluendo.com>
8330 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8331 (gst_bin_continue_func):
8332 Enable latency for next release.
8333 Restore STATE_LOCK around recalc_state that was left out during the
8334 rewrite and could result in racy behaviour when _get_state and
8335 recalc_state are run concurrently. See #440463.
8337 2007-05-23 Wim Taymans <wim@fluendo.com>
8339 * tests/check/gst/gstsystemclock.c: (store_callback),
8341 Improve test_async_order to also work when both timers are already
8342 expired when we get scheduled to check it.
8344 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8346 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8347 (gst_bin_set_property), (gst_bin_get_property),
8348 (gst_bin_remove_func), (gst_bin_handle_message_func):
8350 'private' is a c++ keyword, let's not use that in header files,
8351 otherwise c++ compilers will throw a tantrum.
8353 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8355 * plugins/elements/gstelements.c:
8356 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8357 (gst_file_sink_get_current_offset):
8358 * plugins/indexers/gstindexers.c: (plugin_init):
8359 Use #ifdef for HAVE_XYZ for consistency.
8361 * tests/check/Makefile.am:
8362 * tests/check/elements/.cvsignore:
8363 * tests/check/elements/filesink.c: (setup_filesink),
8364 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8365 Add some unit tests for filesink.
8367 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8369 Patch by: Mark Nauwelaerts <manauw at skynet be>
8371 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8372 (gst_file_sink_query), (gst_file_sink_do_seek),
8373 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8374 * plugins/elements/gstfilesink.h:
8375 Fix position reporting; rename data_written member to current_pos to
8376 reflect its real meaning (fixes #412648).
8378 2007-05-22 Edward Hervey <edward@fluendo.com>
8380 * docs/gst/gstreamer-sections.txt:
8381 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8382 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8383 (gst_bin_remove_func), (gst_bin_handle_message_func):
8385 Add a property for bins that handle the state change of their childs.
8388 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8390 * libs/gst/controller/gstinterpolation.c:
8391 Use an array of the correct type when using _get_value_array with
8392 linear interpolation.
8394 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8396 * gst/gstelement.c (gst_element_requires_clock,
8397 gst_element_provides_clock, gst_element_request_pad,
8398 gst_element_class_set_details, gst_element_class_set_details_simple,
8399 gst_element_default_send_event, gst_element_abort_state,
8400 gst_element_continue_state, gst_element_set_state,
8401 gst_element_set_state_func, iterator_activate_fold_with_resync):
8402 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8403 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8404 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8405 gst_pad_get_range, gst_pad_pull_range):
8406 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8407 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8408 GstPadActivateModeFunction, GstPadChainFunction,
8409 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8410 GstPadFixateCapsFunction, GstPadTemplate):
8411 * gst/gstpipeline.c (gst_pipeline_change_state,
8412 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8413 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8414 gst_pipeline_get_delay):
8415 Whitespace and docs fixes.
8417 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8419 * libs/gst/controller/gstinterpolation.c:
8420 (interpolate_trigger_get_enum_value_array),
8421 (interpolate_trigger_get_string_value_array):
8422 Add support for retrieving value arrays when using the trigger
8425 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8427 * libs/gst/controller/gstcontroller.c:
8428 (gst_controller_get_value_array):
8429 * libs/gst/controller/gstcontroller.h:
8430 Clarify the docs of gst_controller_get_value_array(): The array where
8431 the values should be written to must be allocated as there seems to be
8432 no way to get the size of a random GType. This doesn't change any
8433 behaviour. Also fix some typos all over the place and remove an unused,
8434 commented function that is not necessary as g_object_set() could be
8436 * tests/check/libs/controller.c: (GST_START_TEST),
8437 (gst_controller_suite):
8438 Add unit test for gst_controller_get_value_array().
8440 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8442 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8444 Disable part of the gst_buffer_try_new_and_alloc test, because
8445 it can happily succeed on 64-bit systems where there's more address
8448 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8450 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8451 Add unit test for the improved caps checking from bug #421543.
8453 2007-05-21 Wim Taymans <wim@fluendo.com>
8455 * docs/design/part-synchronisation.txt:
8458 * gst/gstbin.c: (gst_bin_query):
8459 * plugins/elements/gstqueue.c: (apply_segment):
8465 2007-05-21 Wim Taymans <wim@fluendo.com>
8467 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8468 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8469 (gst_pad_configure_src):
8470 Added simple version of improved caps checking. It was previously
8471 assumed that a setcaps function would check the validity of the caps but
8472 people prefer us to check caps against the template automatically.
8475 2007-05-21 Wim Taymans <wim@fluendo.com>
8477 * libs/gst/base/gstbasetransform.h:
8478 Fix macro for locking/unlocking the transform lock.
8480 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8482 * docs/plugins/tmpl/.cvsignore:
8485 2007-05-18 Edward Hervey <edward@fluendo.com>
8487 * plugins/elements/gstqueue.c: (gst_queue_loop):
8488 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8489 for the subtle art of warning a potentially blocking thread that it
8490 should check the source pad return value, and relay the information
8493 2007-05-18 Edward Hervey <edward@fluendo.com>
8495 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8496 Release the queue lock !
8498 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8500 * docs/libs/gstreamer-libs-sections.txt:
8501 Add the two new controller functions to the appropiate places.
8503 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8505 reviewed by: Stefan Kost <ensonic@users.sf.net>
8507 * libs/gst/controller/gstcontroller.c:
8508 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8509 (_gst_controller_get_property), (_gst_controller_set_property),
8510 (_gst_controller_init), (_gst_controller_class_init):
8511 * libs/gst/controller/gstcontroller.h:
8512 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8513 (gst_object_get_control_rate), (gst_object_set_control_rate):
8514 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8515 Add API that provides sync suggestion timestamps for elements that
8516 call gst_object_sync_values() from which those elements can subdivide
8517 their processing loop to get the best results for the controlled
8518 properties. For now it just suggests last_sync + control_rate as
8519 new timestamp but this will be improved in the future.
8521 While doing that change the control-rate property to a GstClockTime
8522 from guint and change it's meaning from samples to nanoseconds as
8523 the GstController doesn't know anything about sampling rate. Strictly
8524 speaking this breaks ABI but as the control-rate property didn't do
8525 anything in the past and as such couldn't be used this should be no
8528 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8530 reviewed by: Stefan Kost <ensonic@users.sf.net>
8532 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8533 (gst_controller_unset_all):
8534 * libs/gst/controller/gstcontrollerprivate.h:
8535 * libs/gst/controller/gstinterpolation.c:
8536 (gst_controlled_property_find_control_point_node):
8537 Save last synced value from the list to continue searching from there
8538 in future syncs. This speeds everything up a bit.
8540 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8542 reviewed by: Stefan Kost <ensonic@users.sf.net>
8544 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8545 (gst_control_point_find), (gst_controlled_property_new),
8546 (gst_control_point_free), (gst_controlled_property_free),
8547 (gst_controller_set), (gst_controller_set_from_list),
8548 (gst_controller_unset), (gst_controller_unset_all),
8549 (gst_controller_sync_values):
8550 * libs/gst/controller/gstcontroller.h:
8551 * libs/gst/controller/gstcontrollerprivate.h:
8552 * libs/gst/controller/gstinterpolation.c:
8553 (gst_controlled_property_find_control_point_node),
8554 (interpolate_none_get), (interpolate_trigger_get):
8555 Add a new private GstControlPoint struct which "inherits" from
8556 GstTimedValue to allow different interpolators to store internal
8557 values next to each control point. From the outside everything is
8558 still a GstControlPoint so we don't loose binary compatibility.
8559 Also fixup all the GValue handling to not leak GValues or list nodes.
8560 * tests/check/libs/controller.c: (GST_START_TEST):
8561 Free the list nodes and GValues in the controller_misc test.
8563 2007-05-17 Edward Hervey <edward@fluendo.com>
8568 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8570 * gst/gstplugin.c: (gst_plugin_load_file):
8571 If we fail to load a plugin because of unresolved symbols or missing
8572 libraries and spew a warning to stderr, we may just as well mention
8573 which plugin it was that failed to load.
8575 2007-05-13 David Schleef <ds@schleef.org>
8577 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8578 handles the case when ENABLE_GTK_DOC is false, and installs
8579 the prebuilt documentation. So gtk-doc subdirs are
8580 unconditionally enabled. Fixes: #349099.
8582 2007-05-13 David Schleef <ds@schleef.org>
8584 * gst/gstutils.h: Reword some documentation.
8586 2007-05-12 David Schleef <ds@schleef.org>
8588 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8589 do anything with the passed "module" parameter, so remove it.
8590 Allows removal of additional vestigal code.
8592 2007-05-12 David Schleef <ds@schleef.org>
8595 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8596 Switch to using g_stat() because it's more portable.
8598 2007-05-12 David Schleef <ds@schleef.org>
8601 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8602 parsing for embedded systems.
8603 * gst/gstelementfactory.c:
8604 Allow gst_element_register() to be called with plugin==NULL.
8605 Did nobody notice that static elements were broken?
8607 2007-05-12 Wim Taymans <wim@fluendo.com>
8609 * tools/gst-launch.c: (event_loop):
8610 Give more interesting info when buffering starts and stops.
8611 Fix case where buffering starts but we fail to update the buffering flag
8612 because the target state is not PLAYING.
8614 2007-05-12 Wim Taymans <wim@fluendo.com>
8616 * plugins/elements/gstqueue.c: (gst_queue_init),
8617 (gst_queue_finalize), (update_time_level), (apply_segment),
8618 (apply_buffer), (gst_queue_locked_flush),
8619 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8620 (gst_queue_handle_sink_event), (gst_queue_chain),
8621 (gst_queue_push_one), (gst_queue_loop):
8622 * plugins/elements/gstqueue.h:
8623 Refactor an cleanup queue a bit.
8624 Do better time level calculations that also work when the srcpad is not
8626 Remove some unneeded debug lines.
8628 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8629 Added testcase for time level measurement.
8630 Try to make some stuff more racefree.
8632 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8634 * gst/gsturi.c: (gst_element_make_from_uri):
8635 Don't leak plugin feature.
8637 * tests/check/Makefile.am:
8638 * tests/check/gst/.cvsignore:
8639 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8640 Add brain-dead unit test.
8642 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8644 Patch by: Jeroen Wouters <woutersj at gmail com>
8646 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8647 Treat protocol strings in a case-insensitive way (#437563).
8649 2007-05-11 Michael Smith <msmith@fluendo.com>
8651 * gst/gstplugin.c: (gst_plugin_load_file):
8652 * gst/gstregistry.c: (gst_registry_scan_path_level):
8653 Don't print a g_warning for any failure to load a shared object.
8654 Instead, push this down into gstplugin.c, and warn _only_ if we
8655 failed to open the module (i.e. failure to link).
8656 Avoids warnings on normal, working, non-plugin .so files.
8658 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8660 * gst/gstplugin.c (gst_plugin_load_file):
8661 * gst/gstregistry.c (GST_CAT_DEFAULT,
8662 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8663 Print a g_warning if there was an error when loading a plugins during
8664 registry scan. The shuld help beginners starting with gst-plugin
8667 2007-05-10 Wim Taymans <wim@fluendo.com>
8669 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8670 (update_time_level), (gst_queue_locked_flush),
8671 (gst_queue_handle_sink_event), (gst_queue_chain),
8672 (gst_queue_push_one), (gst_queue_loop):
8673 * plugins/elements/gstqueue.h:
8674 Be smarter when calculating the current amount of data in the queue by
8675 measuring the difference between start and end timestamps (in running
8676 time) inside the queue. Fixes #432876.
8677 API: GstQueue::pushing to notify elements that we are pushing data again
8678 since the running signal is rather broken for this purpose.
8680 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8682 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8683 gst_queue_base_init, gst_queue_init):
8686 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8688 * win32/common/libgstreamer.def:
8689 Add new exported functions.
8690 * win32/vs6/grammar.dsp:
8691 Use grammar pre-generated files.
8693 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8695 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8698 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8700 * gst/gstutils.c: (gst_parse_bin_from_description):
8702 Maintain API and ABI when --disable-parse is used. Now that
8703 we have an appropriate error code, we can just return NULL and the
8704 appropriate error when gst_parse_launch() is used despite it having
8705 been disabled (#342564).
8707 * tests/check/Makefile.am:
8708 * tests/check/pipelines/.cvsignore:
8709 * tests/check/pipelines/parse-disabled.c:
8710 Make sure these functions exist and return NULL plus a GError when
8711 --disable-parse is used.
8713 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8715 * tests/benchmarks/complexity.c: (main):
8716 * tests/benchmarks/mass-elements.c: (main):
8717 Set a good example and don't leak messages.
8719 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8721 * docs/gst/Makefile.am:
8722 * docs/libs/Makefile.am:
8723 Correct fixxrefs options.
8725 * docs/plugins/Makefile.am:
8726 * docs/plugins/gstreamer-plugins-docs.sgml:
8727 * docs/plugins/gstreamer-plugins-sections.txt:
8728 * plugins/elements/Makefile.am:
8729 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8730 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8731 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8732 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8733 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8734 _GstCapsFilterClass, trans_class):
8735 * plugins/elements/gstelements.c (name, rank, type, _elements):
8736 * plugins/elements/gstidentity.c
8737 (gst_identity_check_imperfect_timestamp,
8738 gst_identity_check_imperfect_offset):
8739 Document capsfilter and add doc-blurb to identity.
8741 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8743 * libs/gst/controller/gstcontroller.c:
8744 (gst_controlled_property_set_interpolation_mode):
8745 * libs/gst/controller/gstinterpolation.c:
8746 Don't crash if someone tries to set an interpolation mode that
8747 is invalid or that isn't supported yet. Fixes #422295.
8749 * tests/check/libs/controller.c: (GST_START_TEST),
8750 (gst_controller_suite):
8751 Add a test case for the above.
8753 2007-05-03 Edward Hervey <edward@fluendo.com>
8755 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8756 Properly set the last_stop position on GstSegment. This will only happen
8757 if there is a buffer to push out.
8759 2007-05-03 Wim Taymans <wim@fluendo.com>
8761 * libs/gst/base/gstbasetransform.c:
8762 (gst_base_transform_buffer_alloc):
8763 always_in_place does not mean that the sink and source caps are the
8764 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8766 2007-05-03 Wim Taymans <wim@fluendo.com>
8768 * docs/libs/gstreamer-libs-sections.txt:
8769 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8770 (gst_base_src_default_query), (gst_base_src_get_range):
8771 * libs/gst/base/gstbasesrc.h:
8772 API: gst_base_src_query_latency(). Added method so that subclasses can
8773 easily get the latency values of the base source class.
8775 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8777 * tools/gst-inspect.c (print_implementation_info):
8780 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8782 * tools/Makefile.am:
8783 * tools/gst-launch.1.in:
8784 Don't create a customised man page based on the host architecture,
8785 describe the default registry path generically. That way the man
8786 page is the same for all architectures and packagers have one
8787 multilib issue less to deal with. Fixes #434926.
8789 2007-05-02 Wim Taymans <wim@fluendo.com>
8792 Fix documentation as spotted by rg on IRC.
8794 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8797 Improve docs for gst_element_{link,unlink}.
8799 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8801 * docs/design/part-events.txt:
8802 * docs/design/part-overview.txt:
8806 * libs/gst/base/gstbasesink.c:
8807 Typo fixes; minor docs addition.
8809 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8811 * docs/gst/gstreamer-sections.txt:
8812 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8813 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8815 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8816 or src that supports a given URI protocol exists.
8818 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8820 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8821 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8822 Set the location to NULL if "file://" is set as URI. Otherwise
8823 some random previous URI would still be set if "file://" is
8824 set on an already used filesink/filesrc.
8826 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8828 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8829 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8830 Special case the "file://" URI as as this is used by some
8831 applications to test with gst_element_make_from_uri if there's
8832 an element that supports the URI protocol.
8833 Also move the g_path_is_absolute() check for the location part
8834 of the URI to also check this for "file://localhost/bla" URIs.
8836 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8838 * docs/gst/gstreamer-sections.txt:
8839 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8841 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8843 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8845 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8847 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8848 (gst_registry_binary_load_pad_template),
8849 (gst_registry_binary_load_plugin),
8850 (gst_registry_binary_read_cache):
8851 * gst/gstregistrybinary.h:
8852 Implement no-mmap alternative for registry reading. Do code cleanups.
8853 Add more comments about avoiding strdups for all text data. Comments
8856 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8858 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8859 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8860 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8861 Comment structs and reformat to fix the build (that stuff should go
8862 into a priv. header).
8864 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8866 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8867 (gst_registry_binary_load_feature):
8868 * gst/gstregistrybinary.h:
8869 Refactor so that we can implement multiple features. Add support for
8870 TypeFindFactory features.
8872 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8874 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8877 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8879 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8881 * gst/gstbin.c: (gst_bin_element_set_state),
8882 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8883 (bin_handle_async_done), (gst_bin_handle_message_func):
8884 Fix build with --gst-disable-gst-debug
8886 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8888 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8889 Make sure streaming has finished before calling the ::stop() vfunc,
8890 since that vfunc might clear state which is being used in the
8891 streaming thread. This fixes a race that caused crashes in
8892 audioresample when shutting down a pipeline (#420106).
8894 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8896 * docs/gst/gstreamer-sections.txt:
8897 That was one byte missing.
8899 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8902 * docs/gst/gstreamer-sections.txt:
8904 * gst/gstconfig.h.in:
8905 * gst/gstobject.c: (gst_object_class_init),
8906 (gst_signal_object_class_init):
8908 2nd attempt to have a xml-less build as a joined effort of #413123
8911 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8913 * docs/design/draft-tagreading.txt:
8914 Added open issues/thoughts to draft.
8916 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8918 * gst/parse/grammar.tab.pre.c:
8919 * gst/parse/grammar.tab.pre.h:
8920 * gst/parse/lex._gst_parse_yy.pre.c:
8921 Update the prebuild parser sources.
8923 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8925 * gst/parse/Makefile.am:
8926 And now fix the building of the flex sources. Now everything should
8929 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8931 * gst/parse/Makefile.am:
8932 Now hopefully fix the build failures by setting proper rule
8933 dependencies and moving instead of copying.
8935 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8937 * tests/benchmarks/complexity.gnuplot:
8938 * tests/benchmarks/complexity.scm:
8939 * tests/benchmarks/mass-elements.gnuplot:
8940 * tests/benchmarks/mass-elements.scm:
8941 Total licensification.
8943 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8945 * gst/parse/Makefile.am:
8946 Fix the build by correcting the rule that gave wrong files to flex.
8948 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8950 * tests/benchmarks/complexity.c:
8951 * tests/benchmarks/mass-elements.c:
8952 Change licence to LGPL as granted by Benjamin and Andy.
8954 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8956 * gst/parse/Makefile.am:
8957 Add correct grammar.tab.h dependency if compiling without new enough
8958 flex. Fixes #431150.
8960 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8962 * gst/parse/Makefile.am:
8963 Fix typo and use outdated sources if the flex/bison sources are newer
8964 than the pregenerated ones but flex is too old. Print a warning in
8965 that case. This should fix the build on the build bot.
8967 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8969 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8970 * gst/parse/Makefile.am:
8971 * gst/parse/grammar.y:
8972 * gst/parse/parse.l:
8973 Make the parser reentrant and recursively callable. This requires flex
8974 >= 2.5.31, for older versions pregenerated sources are used as we
8975 can't bump the build dependency. Finally fixes #349180.
8977 * gst/gstparse.c: (gst_parse_launch):
8978 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8981 * docs/gst/Makefile.am:
8982 * docs/gst/Makefile.am:
8983 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8984 (__gst_parse_strfree), (__gst_parse_link_new),
8985 (__gst_parse_link_free), (__gst_parse_chain_new),
8986 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8987 (gst_parse_element_set), (gst_parse_free_link),
8988 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8989 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8990 (_gst_parse_launch):
8991 * gst/parse/grammar.tab.pre.h:
8992 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8993 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8994 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8995 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8996 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8997 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8998 (_gst_parse_yypop_buffer_state),
8999 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9000 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9001 (yy_fatal_error), (_gst_parse_yyget_extra),
9002 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9003 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9004 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9005 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9006 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9007 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9008 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9009 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9010 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9011 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9012 (_gst_parse_yyfree):
9013 If the installed flex version is too old use pre-generated parser
9014 sources. These pre-generated parser sources are always updated when
9015 the actual flex/bison sources change but require everybody who wants
9016 to change something in the parser to have flex >= 2.5.31 installed.
9018 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9020 * common/m4/gst-gettext.m4:
9021 * gst/gst-i18n-lib.h:
9022 Make --disable-nls to work
9024 2007-04-17 Wim Taymans <wim@fluendo.com>
9026 * gst/gstconfig.h.in:
9027 Revert previous change that broke the build.
9029 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9033 * gst/gstconfig.h.in:
9034 Drop libxml2 dependency when building with
9035 --enable-binary-registry --disable-loadsave
9037 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9039 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9040 (gst_registry_binary_read_cache):
9041 * gst/gstregistrybinary.h:
9042 Remove unnecessary <sys/mman.h> include which broke the win32 build
9043 with MingW; move includes from header file to .c file, even if the
9044 header file isn't installed; use g_strerror() where UTF-8 strings
9045 are expected, such as in GST_DEBUG messages.
9047 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9049 * docs/libs/gstreamer-libs-sections.txt:
9050 Remove bogus addition for API I didn't end up keeping.
9052 * libs/gst/base/gstbasesrc.h:
9053 Mention Since: 0.10.13 in the documentation.
9055 Add the API keyword to the previous ChangeLog entry.
9057 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9059 * docs/libs/gstreamer-libs-sections.txt:
9060 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9061 (gst_base_src_default_prepare_seek_segment),
9062 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9063 * libs/gst/base/gstbasesrc.h:
9064 Allow basesrc derived classes to execute seeks in other formats
9065 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9066 to prepare the GstSegment in any format that their perform_seek method
9067 will be able to understand. The default implementation provides the
9068 old behaviour of attempting to convert the seek offsets to the
9069 configured native format.
9071 API: basesrc::prepare_seek_segment vmethod.
9073 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9075 * gst/gstelement.c: (gst_element_get_state_func):
9076 Don't output the same debug statement twice.
9078 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9079 (gst_adapter_peek), (gst_adapter_take_buffer):
9080 Optimise the case where we have buffers at the head of the queue that
9081 can be joined quickly (because they're contiguous sub-buffers) by
9082 merging them together rather than copying data out into new memory.
9084 * gst/parse/grammar.y:
9085 * tests/check/pipelines/parse-launch.c:
9086 Fix a leak in an error path for parse_launch, and add a check
9087 for it to the testsuite.
9089 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9091 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9092 Don't deadlock when releasing a pad - gst_pad_set_active may try
9093 and take the multiqueue lock too.
9095 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9097 * gst/gsterror.c: (_gst_core_errors_init):
9099 API: add GST_CORE_ERROR_DISABLED (#392804).
9101 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9103 * docs/faq/gst-uninstalled:
9104 don't get empty paths on the PATH variables
9105 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9106 Don't format for the uncommon terminal width of 84 characters.
9108 2007-04-06 Wim Taymans <wim@fluendo.com>
9110 * gst/gstpipeline.c: (reset_stream_time),
9111 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9112 Only try to select a different pipeline clock when we went back to
9113 PAUSED and not when we merely got flushed.
9115 2007-04-05 Michael Smith <msmith@fluendo.com>
9117 * tools/gst-launch.1.in:
9118 fractions are better supported in gstreamer than ractions, so
9119 suggest using those.
9121 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9123 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9127 Added Danish translation.
9129 2007-04-05 Wim Taymans <wim@fluendo.com>
9131 * libs/gst/base/gstbasesink.c:
9132 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9133 Fix leak caused when refusing newsegment after EOS.
9135 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9136 (gst_fake_sink_init), (gst_fake_sink_set_property),
9137 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9138 (gst_fake_sink_render), (gst_fake_sink_change_state):
9139 * plugins/elements/gstfakesink.h:
9140 Add num-buffers property to make the element generate EOS after a
9141 configurable amount of buffers.
9142 API: fakesink::num-buffers property.
9144 * tests/check/elements/fakesink.c: (GST_START_TEST),
9146 Fix GstBus leak in test.
9147 Test for fakesink num-buffers.
9149 2007-04-05 Wim Taymans <wim@fluendo.com>
9151 * libs/gst/base/gstbasesink.c:
9152 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9153 (gst_base_sink_change_state):
9154 Don't accept anything after an EOS, return UNEXPECTED instead.
9156 * tests/check/elements/fakesink.c: (GST_START_TEST),
9158 Unit test for new EOS behaviour.
9160 2007-04-05 Wim Taymans <wim@fluendo.com>
9162 * gst/gstelement.c: (gst_element_get_request_pad):
9163 Make padtemplates also work when they don't contain %s or %d.
9165 2007-04-05 Wim Taymans <wim@fluendo.com>
9167 * docs/gst/gstreamer-sections.txt:
9168 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9169 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9171 Improve _adjust_unlocked() so that it overflows less.
9172 Add gst_clock_unadjust_unlocked to convert from external time to
9173 internal time based on calibration.
9174 Add some more debug.
9175 API: GstClock::gst_clock_unadjust_unlocked()
9177 2007-04-03 Wim Taymans <wim@fluendo.com>
9179 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9181 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9182 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9183 when releasing sink pad. Fixes #425400.
9185 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9187 * docs/random/ensonic/dynlink.txt:
9188 More work on proposal for new core api.
9190 * docs/libs/gstreamer-libs-sections.txt:
9191 * libs/gst/base/gstbasetransform.h:
9192 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9194 * libs/gst/controller/gstcontroller.c:
9195 (on_object_controlled_property_changed),
9196 (gst_controller_sync_values),
9197 (gst_controller_set_interpolation_mode):
9198 * libs/gst/controller/gstcontroller.h:
9199 Less verbose logging add docs for unimplemented parts and correctly
9200 return when using unavailable parts.
9202 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9204 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9205 Move all the debug to the CLOCK category, and associate it with
9208 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9210 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9211 Make take_buffer a bit quicker by removing redundant checks
9212 caused by calling gst_adapter_take.
9214 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9216 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9219 * tests/check/Makefile.am:
9220 * tests/check/elements/.cvsignore:
9221 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9222 (GST_START_TEST), (multiqueue_suite):
9223 Add some dead simple unit tests for the 'multiqueue' element
9224 (some bits don't work yet and are disabled for now).
9226 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9228 * gst/gstelement.c: (gst_element_get_request_pad),
9229 (gst_element_class_get_request_pad_template):
9230 Make gst_element_get_request_pad() create request pads only for
9231 request pad templates and not for, say, sometimes pad templates.
9233 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9235 * docs/design/draft-klass.txt:
9236 Add example that needs more thinking.
9238 * docs/design/draft-missing-plugins.txt:
9239 More thoughts about wrapper plugins.
9241 * docs/random/ensonic/embedded.txt:
9242 * docs/random/ensonic/profiling.txt:
9245 2007-03-25 Wim Taymans <wim@fluendo.com>
9247 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9248 (gst_base_src_loop):
9249 Only push the segment events in the PLAYING state for live sources.
9251 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9253 * gst/gstpipeline.c: (gst_pipeline_change_state):
9254 Modify the clock distribution path in PAUSED->PLAYING so that we
9255 never attempt to choose a new clock unless we're actually leaving
9256 the PAUSED state for the first time. This prevents choosing a
9257 different clock when the state_change gets called for a 2nd time due
9258 to some element doing an async state change.
9260 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9262 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9263 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9264 (gst_pad_chain_unchecked), (gst_pad_push):
9265 Revert last commit. This needs some more thoughts.
9267 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9269 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9270 (gst_pad_chain_unchecked), (gst_pad_push):
9271 Check in set_caps if the caps are compatible with the pad and remove
9272 two functions that are redundant now. Fixes #421543.
9274 2007-03-22 Wim Taymans <wim@fluendo.com>
9276 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9277 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9278 Unref some more to make valgrind happy.
9280 2007-03-22 Wim Taymans <wim@fluendo.com>
9282 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9283 (gst_system_clock_id_wait_jitter),
9284 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9285 Fix anoying regression that survived a few releases. When adding an
9286 async entry while blocking on a sync entry, the sync entry will unblock
9287 but still be busy, so it should continue to wait instead of returning
9289 Add some comments here and there.
9291 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9292 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9293 Add testcase for this.
9295 2007-03-22 Wim Taymans <wim@fluendo.com>
9297 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9298 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9299 WRONG_STATE and can silently pause the task. All other cases should
9302 2007-03-22 Wim Taymans <wim@fluendo.com>
9304 Patch by: Ville Syrjala <syrjala at sci dot fi>
9306 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9307 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9310 2007-03-21 Michael Smith <msmith@fluendo.com>
9312 * docs/pwg/advanced-types.xml:
9313 Fix some errors in the typefinding docs pointed out on irc.
9315 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9317 * libs/gst/base/gstbasesrc.c:
9318 Clarify FIXME comment in the face of having added unlock_stop()
9320 2007-03-21 Wim Taymans <wim@fluendo.com>
9322 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9323 Prepare for release where we warn against possible app breakage in the
9324 case of live pipelines along with an env var to enable/disable live
9325 preroll mode (GST_COMPAT=[no-]live-preroll).
9327 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9329 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9330 So we should use correct constants for checking for None offset.
9332 2007-03-20 Wim Taymans <wim@fluendo.com>
9334 * docs/design/part-block.txt:
9335 Mention the fact that the newly switched element should be set to at
9338 2007-03-20 Wim Taymans <wim@fluendo.com>
9341 Fix compilation with registry disabled as spotted by Saur.
9343 2007-03-20 Wim Taymans <wim@fluendo.com>
9345 Patch by: Olivier Crete <tester at tester dot ca>
9347 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9348 Look at the pending state too when syncing the element state to the
9349 parent. Fixes #420133.
9351 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9353 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9354 (gst_base_sink_change_state):
9355 * libs/gst/base/gstbasesink.h:
9356 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9357 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9358 (gst_base_src_deactivate):
9359 * libs/gst/base/gstbasesrc.h:
9360 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9361 for sub-classes to correctly clear any state they set trying to
9362 unlock, such as clearing out unlock commands from a command fd.
9363 API: basesrc::unlock_stop
9364 API: basesink::unlock_stop
9366 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9367 (gst_fd_sink_render), (gst_fd_sink_unlock),
9368 (gst_fd_sink_unlock_stop):
9369 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9370 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9371 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9373 Implement unlock_stop in fdsrc and fdsink.
9374 Implement seeking in fdsrc when a seekable fd is passed, as in
9375 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9377 2007-03-19 Wim Taymans <wim@fluendo.com>
9379 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9381 * gst/gstelement.c: (gst_element_class_init):
9382 Fix pad-added and pad-removed signal signatures so that the pad type is
9383 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9385 2007-03-19 Wim Taymans <wim@fluendo.com>
9387 * docs/gst/gstreamer-sections.txt:
9388 Add new element field and method.
9390 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9391 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9392 (gst_bin_recalc_state), (gst_bin_get_state_func),
9393 (gst_bin_element_set_state), (gst_bin_change_state_func),
9394 (gst_bin_continue_func), (bin_bus_handler),
9395 (bin_push_state_continue), (bin_handle_async_start),
9396 (bin_handle_async_done), (gst_bin_handle_message_func):
9397 Make async state changes a bit smarter by using new ASYNC_START and
9398 ASYNC_DONE messages. This reduces the number of times we run the state
9399 recalculation thread.
9400 Don't change state of element with a pending ASYNC_START message.
9401 Deprecate STATE_DIRTY messages.
9403 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9404 (gst_element_get_state_func), (gst_element_continue_state),
9405 (gst_element_lost_state), (gst_element_set_state_func),
9406 (gst_element_change_state):
9408 Keep the state that was last set by the app in a new element field.
9409 Don't allow state changes when handling an element event.
9410 Post ASYNC_START and ASYNC_DONE messages.
9411 Change lost_state so that we go to PAUSED and wait for the parent to set
9412 us to PLAYING again (so latency calculation can be performed)
9413 Export gst_element_change_state() method so that subclasses can use it.
9414 API: gst_element_change_state()
9415 API: GST_STATE_TARGET
9417 * gst/gstpipeline.c: (gst_pipeline_class_init),
9418 (reset_stream_time), (gst_pipeline_change_state),
9419 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9420 Using the new ASYNC_START message we can reset the base_time when
9421 needed. This can then be used to implement base_time redistribution in
9422 flushing seeks so that we can remove the explicit seek handling.
9423 Perform latency query and configuration when going to PLAYING.
9425 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9426 (gst_base_sink_query), (gst_base_sink_change_state):
9427 Post new ASYNC_START/ASYNC_DONE messages.
9429 * tests/check/generic/sinks.c: (GST_START_TEST):
9430 Fix test because the bin will not set the async element to PLAYING right
9433 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9434 Make the message check a little stronger.
9435 Handle ASYNC messages.
9437 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9438 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9439 Expect ASYNC_DONE messages.
9441 2007-03-19 Wim Taymans <wim@fluendo.com>
9443 * docs/gst/gstreamer-sections.txt:
9444 * gst/gstmessage.c: (gst_message_new_async_start),
9445 (gst_message_new_async_done), (gst_message_parse_info),
9446 (gst_message_parse_async_start):
9448 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9451 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9453 * tools/gst-inspect.c:
9454 (print_plugin_automatic_install_info_codecs):
9455 Now that we don't check for the 'Codec' keyword any longer in the
9456 klass, we shouldn't spew a warning if the klass isn't a decoder or
9457 encoder (since it might be a Source/Network, for example).
9459 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9461 * tools/gst-inspect.c:
9462 (print_plugin_automatic_install_info_codecs):
9463 Don't require decoder/demuxer/depayloader elements or
9464 encoder/muxer/paylader elements to have 'Codec' as part of their
9465 factory class string when introspecting a plugin's capabilities.
9466 draft-klass.txt mentions that it might be removed in future, and
9467 flump3dec doesn't have it as part of its class string, so chances
9468 are others might also not have it.
9470 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9492 Update translations from translation project
9494 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9496 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9497 (gst_child_proxy_set_property):
9498 Invert precondition check to be alike the ones in the mimiced gobject
9501 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9503 * docs/design/draft-tagreading.txt:
9504 * docs/random/ensonic/audiobaseclasses.txt:
9505 Do some Architect work.
9507 * gst/gstobject.c: (gst_object_set_name):
9511 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9513 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9515 * gst/gstsystemclock.c: (gst_system_clock_init),
9516 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9517 Defer starting the async system clock thread until the first async
9518 wait is scheduled. Fixes #414986.
9520 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9522 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9523 (gst_single_queue_free):
9524 Fix small leak (free GstSingleQueue structure too, not only contents).
9526 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9528 * gst/gstbin.c:(gst_bin_add):
9529 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9530 * win32/common/libgstbase.def:
9531 * win32/common/libgstreamer.def:
9532 Add new exported functions.
9534 2007-03-09 Wim Taymans <wim@fluendo.com>
9536 * docs/plugins/gstreamer-plugins-sections.txt:
9539 2007-03-09 Wim Taymans <wim@fluendo.com>
9541 * docs/gst/gstreamer-sections.txt:
9542 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9544 Add metadata copy functions. Fixes #393099.
9545 API: gst_buffer_copy_metadata()
9547 * gst/gstutils.c: (gst_buffer_stamp):
9548 * libs/gst/base/gstbasetransform.c:
9549 (gst_base_transform_prepare_output_buffer):
9550 Use new metadata copy functions.
9552 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9554 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9555 (gst_identity_init), (gst_identity_check_perfect),
9556 (gst_identity_check_imperfect_timestamp),
9557 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9558 (gst_identity_set_property), (gst_identity_get_property):
9559 * plugins/elements/gstidentity.h:
9560 Separate out check-imperfect-timestamp and check-imperfect-offset.
9561 Put back check-perfect as it was to keep compatibility.
9563 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9565 * gst/gstelement.c: (gst_element_dispose):
9566 There's no need to warn if VOID_PENDING is not NONE here, as
9567 long as the state is NULL it's ok, and that's checked immediately
9570 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9572 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9573 Fix check for perfect stream to ignore buffers with -1
9574 offsets/offset ends when checking data contiguity.
9576 2007-03-08 Wim Taymans <wim@fluendo.com>
9578 * tools/gst-launch.c: (event_loop):
9579 Print INFO messages.
9581 2007-03-08 Wim Taymans <wim@fluendo.com>
9583 * libs/gst/base/gstbasetransform.c:
9584 (gst_base_transform_sink_eventfunc),
9585 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9586 (gst_base_transform_activate):
9587 * libs/gst/base/gstbasetransform.h:
9588 Add support for dropping buffers with custom GstFlowReturn.
9589 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9590 buffers or dropped buffers.
9592 * docs/libs/gstreamer-libs-sections.txt:
9593 docs for new custom return code.
9595 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9596 Use drop support in base class to implement drop-probability.
9598 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9600 * gst/gst.c: (load_plugin_func):
9601 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9602 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9603 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9604 Remove newlines at end of debug log strings.
9606 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9608 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9609 Only post bus message at max, once per buffer received.
9611 2007-03-07 Wim Taymans <wim@fluendo.com>
9613 * docs/design/Makefile.am:
9614 * docs/design/part-synchronisation.txt:
9615 Add doc about synchronisation
9617 * docs/design/draft-latency.txt:
9618 * docs/design/part-TODO.txt:
9619 * docs/design/part-clocks.txt:
9620 * docs/design/part-events.txt:
9621 * docs/design/part-gstbus.txt:
9622 * docs/design/part-gstpipeline.txt:
9623 * docs/design/part-live-source.txt:
9624 * docs/design/part-messages.txt:
9625 * docs/design/part-overview.txt:
9626 * docs/design/part-streams.txt:
9627 * docs/design/part-trickmodes.txt:
9628 Documentation updates.
9630 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9633 Update the doap file.
9635 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9637 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9638 Rename non-perfect to imperfect for Mike and for the sanctity of the
9640 Also make sure bus message gets emitted for data-incontiguities.
9642 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9644 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9645 (gst_identity_start):
9646 * plugins/elements/gstidentity.h:
9647 Emit bus message if check-perfect is true and we encounter a
9648 non-perfect stream between 2 consecutive buffers.
9651 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9656 === release 0.10.12 ===
9658 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9661 releasing 0.10.12, "Inevitable Demise"
9663 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9666 Version 0.10.11.2 (0.10.12 pre-release)
9667 Bump libtool versioning.
9669 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9671 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9672 Log flow-names and not numbers.
9674 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9677 Convert to new AG_GST style.
9679 2007-02-28 Wim Taymans <wim@fluendo.com>
9681 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9682 Don't unref query twice.
9684 2007-02-28 Wim Taymans <wim@fluendo.com>
9686 * gst/gstvalue.c: (gst_value_transform_object_string),
9687 (_gst_value_initialize):
9688 Implement GstObject -> string transform so we print object names
9689 when serializing GValues containing GstObjects.
9691 2007-02-28 Wim Taymans <wim@fluendo.com>
9693 * docs/gst/gstreamer-sections.txt:
9694 Add new stuff to docs.
9696 2007-02-28 Wim Taymans <wim@fluendo.com>
9698 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9699 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9700 (gst_base_sink_change_state):
9701 Improve latency query code.
9702 Don't leak latency events.
9704 * tests/check/gst/gstbin.c: (GST_START_TEST):
9707 2007-02-28 Wim Taymans <wim@fluendo.com>
9709 * gst/gstelement.c: (gst_element_message_full),
9710 (gst_element_get_state_func):
9712 Improve docs a little. Added Since: for new macro.
9714 * gst/gstobject.c: (gst_object_sink):
9715 * gst/gstpipeline.c: (gst_pipeline_change_state),
9716 (gst_pipeline_set_new_stream_time):
9717 * gst/gstpipeline.h:
9718 Improve debugging and docs.
9720 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9723 2007-02-28 Wim Taymans <wim@fluendo.com>
9725 * gst/gstelement.c: (gst_element_message_full),
9726 (gst_element_set_locked_state), (gst_element_get_state_func),
9727 (gst_element_change_state):
9728 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9729 Documentation updates.
9730 Small code cleanups.
9732 * gst/gstmessage.c: (gst_message_new_info),
9733 (gst_message_parse_info):
9735 API: gst_message_new_info()
9736 API: gst_message_parse_info()
9737 Add INFO message create and parse code.
9739 2007-02-28 Wim Taymans <wim@fluendo.com>
9741 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9742 (bin_query_latency_done):
9743 Also report the live parameter of a latency query.
9745 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9747 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9748 Copy the current generic/states example from -base and adapt so
9749 we can use the exact same code everywhere.
9750 Check a STATES_IGNORE_ELEMENTS env var which can be used
9751 to ignore certain element factories for this test, which is
9752 what is being done in -base
9753 * tests/check/Makefile.am:
9754 Mention this environment variable.
9756 2007-02-27 Wim Taymans <wim@fluendo.com>
9758 * docs/gst/gstreamer-sections.txt:
9759 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9760 (gst_bus_timed_pop), (gst_bus_pop):
9762 API: gst_bus_timed_pop()
9763 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9764 message to arrive on the bus.
9766 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9768 Two unit tests for new _timed_pop() function.
9770 2007-02-23 Wim Taymans <wim@fluendo.com>
9772 * gst/gstpipeline.c: (gst_pipeline_change_state),
9773 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9774 Don't ref a NULL clock in _provide_clock_func().
9775 Don't allow an INVALID delay.
9776 Don't try to calculate base_time with an invalid start_time.
9777 Also distribute and notify a NULL clock when it was selected.
9779 * tools/gst-launch.c: (event_loop):
9780 Don't crash when a NULL clock was selected in the pipeline.
9782 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9784 * docs/design/Makefile.am:
9785 * docs/design/draft-missing-plugins.txt:
9786 * docs/random/draft-missing-plugins.txt:
9787 Some small updates: update plugin system identifier prefix
9788 ('gstreamer.net' to 'gstreamer'), mention our new install
9789 API in libgstbaseutils rather than libgimme-codec, add
9790 reference to the online docs.
9792 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9794 * win32/common/config.h:
9795 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9796 use moap cl ci to only check in what is mentioned in the ChangeLog.
9798 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9800 * docs/gst/gstreamer-sections.txt:
9802 Fix up documentation to link to the correct GstGError section.
9803 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9805 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * tools/gst-launch.c: (event_loop):
9808 Make sure that we actually show the important message part of a
9810 No need to check if the gerror is not NULL to free; first of all
9811 g_free accepts NULL; and second the default error handler would
9812 segfault if gerror was NULL.
9814 2007-02-21 Wim Taymans <wim@fluendo.com>
9816 * docs/gst/gstreamer-sections.txt:
9817 Removed docs as well.
9819 2007-02-21 Wim Taymans <wim@fluendo.com>
9821 * gst/gstmessage.c: (gst_message_parse_duration):
9823 Remove new messages for release.
9825 2007-02-20 Wim Taymans <wim@fluendo.com>
9827 * docs/design/part-gstghostpad.txt:
9828 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9829 (gst_ghost_pad_new_full):
9830 Make the ghostpad a parent of the internal pad again for better backward
9831 compatibility. Don't write code that relies on this however.
9833 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9834 (gst_pad_link_check_hierarchy):
9835 Require that parents should be GstElements in the hierarchy check.
9837 2007-02-20 Wim Taymans <wim@fluendo.com>
9839 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9840 (gst_bin_change_state_func), (bin_query_min_max_init),
9841 (bin_query_latency_fold), (bin_query_latency_done),
9844 Implement latency query.
9846 2007-02-20 Wim Taymans <wim@fluendo.com>
9848 * docs/design/part-gstghostpad.txt:
9849 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9850 (gst_ghost_pad_internal_do_activate_push),
9851 (gst_ghost_pad_internal_do_activate_pull),
9852 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9853 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9854 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9855 Do not set the internal pad as a parent anymore so we can avoid
9856 hierarchy linking errors when the ghostpad has no parent yet. This also
9857 fixes failed activation because of unlinked internal pads, which in
9858 turn fixes the impossible case where you have to activate a pad before
9859 you can add it to a running element.
9862 * gst/gstpad.c: (pre_activate), (post_activate),
9863 (gst_pad_set_active), (gst_pad_activate_pull),
9864 (gst_pad_activate_push), (gst_pad_check_pull_range):
9865 Add some more debug info.
9866 Mark activation mode in pre_activate so that we don't try to activate in
9867 endless loops. Fixes #385084.
9869 2007-02-19 Wim Taymans <wim@fluendo.com>
9871 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9872 (gst_base_transform_check_get_range):
9873 Implement a checkgetrange function instead of relying on the default
9874 core behaviour that assumes we can operate in pull mode if we have a
9875 getrange function. First step at fixing #385084.
9877 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9879 * gst/gstchildproxy.h:
9880 * libs/gst/base/gstbasesink.h:
9881 * libs/gst/base/gstbasesrc.h:
9882 * libs/gst/base/gstbasetransform.h:
9883 More docs coverage and some ChangeLog surgery (add missing names)
9885 2007-02-15 Wim Taymans <wim@fluendo.com>
9887 * docs/design/part-TODO.txt:
9888 * docs/design/part-activation.txt:
9889 * docs/design/part-block.txt:
9890 * docs/design/part-buffering.txt:
9891 * docs/design/part-clocks.txt:
9892 * docs/design/part-element-source.txt:
9893 * docs/design/part-events.txt:
9894 * docs/design/part-gstbin.txt:
9895 * docs/design/part-gstbus.txt:
9896 * docs/design/part-gstpipeline.txt:
9897 * docs/design/part-live-source.txt:
9898 * docs/design/part-messages.txt:
9899 * docs/design/part-overview.txt:
9900 * docs/design/part-qos.txt:
9901 * docs/design/part-query.txt:
9902 * docs/design/part-states.txt:
9903 * docs/design/part-trickmodes.txt:
9904 Some doc updates. Start renaming from stream_time to running_time where
9905 it was used wrongly.
9907 2007-02-15 Wim Taymans <wim@fluendo.com>
9909 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9910 Answer LATENCY query.
9912 2007-02-15 Wim Taymans <wim@fluendo.com>
9914 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9918 2007-02-15 Wim Taymans <wim@fluendo.com>
9920 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9921 (gst_pad_dispatcher):
9922 Improve debugging of default pad dispatcher and query functions.
9924 2007-02-15 Wim Taymans <wim@fluendo.com>
9926 * docs/gst/gstreamer-sections.txt:
9927 Remove old unused method.
9929 2007-02-13 Wim Taymans <wim@fluendo.com>
9931 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9934 2007-02-13 Wim Taymans <wim@fluendo.com>
9936 * docs/design/part-seeking.txt:
9939 * gst/gstsegment.c: (gst_segment_set_seek):
9940 Revert old bogus change that should make seeking work again.
9942 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9944 * docs/random/ensonic/dynlink.txt:
9945 * docs/random/ensonic/interfaces.txt:
9946 * docs/random/ensonic/receipies.txt:
9947 Possible dynamic reconnection api, plus some type fixes the other two
9950 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9952 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9953 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9954 Also check for an absolute path following file:// in the filesrc
9955 element. Remove redundant check and call g_path_is_absolute() on the
9958 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9960 * docs/design/draft-klass.txt:
9961 Add existing category analysis.
9964 Fix doc example, framerate is a fraction.
9966 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9969 * docs/gst/Makefile.am:
9970 * docs/gst/gstreamer-sections.txt:
9971 * docs/libs/Makefile.am:
9972 Erm, forgot a bunch of --extra-dir.
9974 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9977 * docs/gst/Makefile.am:
9978 * docs/libs/Makefile.am:
9979 * docs/plugins/Makefile.am:
9980 Add crossreferences to glib/gobject docs.
9982 2007-02-12 Wim Taymans <wim@fluendo.com>
9984 * docs/design/draft-latency.txt:
9987 * docs/libs/gstreamer-libs-sections.txt:
9988 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9989 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9990 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9991 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9992 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9993 (gst_base_sink_get_position), (gst_base_sink_query),
9994 (gst_base_sink_change_state):
9995 * libs/gst/base/gstbasesink.h:
9996 API: gst_base_sink_query_latency() to let subclasses query the upstream
9998 API: gst_base_sink_get_latency() to let subclasses query the configured
9999 latency in the sink.
10000 Implement query and set latency.
10002 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10003 don't continue preroll when we are flushing. Fixes #405284.
10005 * tests/check/pipelines/stress.c: (change_state_timeout),
10006 (quit_timeout), (GST_START_TEST), (stress_suite):
10009 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10011 Patch by: René Stadler <mail at renestadler de>
10013 * docs/gst/gstreamer-sections.txt:
10014 * gst/gsttaglist.c: (_gst_tag_initialize):
10015 * gst/gsttaglist.h:
10016 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10018 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10020 * docs/libs/Makefile.am:
10021 Fix path to core docs.
10023 * gst/gstbin.c: (gst_bin_get_by_interface),
10024 (gst_bin_iterate_all_by_interface):
10025 Refix docs by also renaming 'interface' to 'iface' in implementation.
10027 * docs/gst/gstreamer-sections.txt:
10029 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10030 * gst/gstchildproxy.h:
10031 * gst/gstelementfactory.c:
10032 * gst/gstpadtemplate.h:
10033 * libs/gst/controller/gstcontroller.c:
10034 (gst_controlled_property_new):
10037 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10039 * gst/gstbin.h:(gst_bin_get_by_interface),
10040 (gst_bin_iterate_all_by_interface):
10041 Replace interface parameter name by iface as interface is
10042 a reserved keyword in Visual Studio for C++ projects so it removes
10043 a build error for application developpers using VS.
10044 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10045 Fix a bug on Windows in uri format check. Now the prefix checked
10046 is file:// and next we check if the path after file:// is absolute.
10047 * win32/common/libgstbase.def:
10048 * win32/common/libgstdataprotocol.def:
10049 * win32/common/libgstgstreamer.def:
10050 Add new exported functions.
10052 2007-02-09 Andy Wingo <wingo@pobox.com>
10054 * tests/check/pipelines/simple-launch-lines.c
10055 (simple_launch_lines_suite, test_tee): Disable tee test until I
10056 have time to fix it :-(
10058 * tests/check/Makefile.am (noinst_HEADERS):
10059 * tests/check/libs/libsabi.c:
10060 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10061 * tests/check/gst/gstabi.c:
10062 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10064 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10065 tests for push and pull tee behavior.
10067 * plugins/elements/gsttee.h:
10068 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10069 mark as deprecated as well as unimplemented. It was a crack idea.
10070 Add support for tee operating in pull mode, off by default.
10072 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10073 normal-case logs down to LOG, raise errors to WARNING.
10074 (gst_registry_xml_read_cache): Don't log before calling a function
10077 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10078 exit (registry finalize).
10079 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10080 DEBUG log when we emit signals that people don't even have the
10081 chance to connect to.
10082 (gst_registry_scan_path_level): Less logging in the normal case.
10084 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10086 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10088 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10089 Correctly generate EOS for non-seekable files. We don't have a total
10090 length for them and would get an unexpected end of file if we only
10091 special-cased for regular files. (Fixes: #404569)
10093 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10095 * tests/check/elements/filesrc.c: (GST_START_TEST),
10097 Add unit test for the GstURIHandler interface in filesrc. This also
10098 tests the newly added file://localhost/foo/bar support.
10100 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10102 * gst/gstelementfactory.h:
10103 The klass string is not a hierarchy. Add reference to the design doc
10104 for more information and common types.
10106 2007-02-02 Wim Taymans <wim@fluendo.com>
10108 * gst/gstquery.c: (gst_query_new_latency):
10109 Remove old structure field.
10111 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10113 * tools/gst-launch.1.in:
10114 Give example for network streaming (#351998)
10116 2007-02-02 Wim Taymans <wim@fluendo.com>
10118 * docs/gst/gstreamer-sections.txt:
10119 Add docs for new methods.
10121 * gst/gstevent.c: (gst_event_new_latency),
10122 (gst_event_parse_latency):
10124 Add new LATENCY event to configure latency in a pipeline.
10125 API: gst_event_new_latency
10126 API: gst_event_parse_latency
10128 * gst/gstmessage.c: (gst_message_new_buffering),
10129 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10130 (gst_message_new_latency), (gst_message_parse_buffering),
10131 (gst_message_parse_lost_preroll):
10132 * gst/gstmessage.h:
10133 Added messages used in draft-latency.
10134 API: gst_message_new_lost_preroll
10135 API: gst_message_parse_lost_preroll
10136 API: gst_message_new_prerolled
10137 API: gst_message_new_latency
10139 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10140 (gst_query_parse_latency):
10142 Implemented new latency query as in design doc.
10143 API: gst_query_new_latency
10144 API: gst_query_set_latency
10145 API: gst_query_parse_latency
10147 2007-02-02 Wim Taymans <wim@fluendo.com>
10149 * docs/design/draft-latency.txt:
10150 Slight redesign to allow for dynamic latency adjustments.
10152 * docs/design/part-negotiation.txt:
10155 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10157 reviewed by: Wim Taymans <wim@fluendo.com>
10159 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10160 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10161 Allow file://localhost/foo/bar URLs and correctly fail for every other
10162 hostname that one sets. This was gnomevfssrc is linked for those if
10163 installed as it can handle it (#403172)
10165 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10167 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10170 (unref_data), (gst_collect_pads_add_pad_full):
10171 * libs/gst/base/gstcollectpads.h:
10172 Don't put the previously added destroy notify in the GstCollectData
10173 struct as all it's padding is already used and we don't want to break
10174 ABI. Instead put in the pad's GObject data for now. This should be
10175 cleaned up for 0.11 (#402393).
10177 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10179 reviewed by: Wim Taymans <wim@fluendo.com>
10181 * docs/libs/gstreamer-libs-sections.txt:
10182 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10183 (unref_data), (gst_collect_pads_add_pad),
10184 (gst_collect_pads_add_pad_full):
10185 * libs/gst/base/gstcollectpads.h:
10186 API: Add function to specify a destroy notification for custom
10187 GstCollectData when adding new pads in GstCollectPads (#402393).
10189 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10192 Update Swedish translation (#378255).
10194 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10196 * docs/design/draft-klass.txt:
10197 Fix the previous change, this is a list of categories and not a hierarchy.
10199 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10201 * docs/design/draft-klass.txt:
10202 Add info about how to get a list of used classes.
10204 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10206 * plugins/elements/gsttypefindelement.c:
10207 (gst_type_find_element_chain_do_typefinding),
10208 (gst_type_find_element_change_state):
10209 Don't leak found caps in chain function (no idea why that never
10210 showed up as a leak anywhere).
10212 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10215 Fix and expand GstPluginDesc API docs.
10217 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10220 * gst/gstelementfactory.c:
10221 * gst/gstpadtemplate.h:
10224 * libs/gst/controller/gstcontroller.c:
10225 (gst_controlled_property_new):
10226 * tests/examples/controller/audio-example.c:
10229 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10232 comment about refining the xml deps
10234 * docs/manuals.mak:
10235 comments about moving away from jade for docs
10238 recommit the ifdefs to use the binary registry
10240 * gst/gstbin.c: (gst_bin_change_state_func):
10241 this break is obsolete
10243 * gst/gstelementfactory.h:
10244 better GST_ELEMENT_DETAILS docs, add comment about translation
10249 * gst/gstobject.c: (gst_signal_object_get_type):
10250 add G_UNLIKELY as usual
10252 * gst/gstpad.c: (gst_pad_event_default):
10253 add fall trhu comment
10255 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10256 (gst_registry_binary_initialize_magic),
10257 (gst_registry_binary_save_string),
10258 (gst_registry_binary_save_pad_template),
10259 (gst_registry_binary_save_feature),
10260 (gst_registry_binary_save_plugin),
10261 (gst_registry_binary_write_cache),
10262 (gst_registry_binary_check_magic),
10263 (gst_registry_binary_load_pad_template),
10264 (gst_registry_binary_load_feature),
10265 (gst_registry_binary_load_plugin),
10266 (gst_registry_binary_read_cache):
10267 comment typo and formatting
10269 * gst/gstutils.c: (gst_element_state_get_name),
10270 (gst_element_state_change_return_get_name):
10271 remove obsolete breaks
10273 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10274 add FIXME 0.11 and remove cpp comment
10276 2007-01-29 Edward Hervey <edward@fluendo.com>
10278 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10279 Fix print statement in an even more portable way.
10281 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10283 * docs/gst/gstreamer-sections.txt:
10285 API: add GST_ROUND_DOWN_* macros (#401781).
10287 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10289 * docs/gst/gstreamer.types.in:
10290 * gst/gstregistry.c: (gst_registry_class_init):
10291 Document registry signals and make gtk-doc pick them up (#401381).
10293 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10295 * docs/pwg/building-testapp.xml:
10296 Add some audioconverts and audioresample to the pipeline, and some
10297 more comments and error handling.
10299 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10301 * docs/manual/manual.xml:
10302 * docs/pwg/pwg.xml:
10303 Fix typo (#400987).
10305 2007-01-26 Wim Taymans <wim@fluendo.com>
10307 * gst/gstcaps.c: (gst_static_caps_get):
10308 Init caps flags too.
10310 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10312 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10314 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10315 If not using mmap'ed files try to seek to the end instead of the
10316 start to determine whether we can seek at all. This fixes the case
10317 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10318 seeks for everything afterwards fail. Fixes #400656
10320 2007-01-25 Wim Taymans <wim@fluendo.com>
10322 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10323 Add some refcount debugging.
10324 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10325 in multiple streaming threads.
10327 2007-01-25 Wim Taymans <wim@fluendo.com>
10329 Patch by: David Schleef <ds at schleef dot org>
10331 * docs/libs/gstreamer-libs-sections.txt:
10332 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10333 * libs/gst/base/gstadapter.h:
10334 API: gst_adapter_copy() that can reduce the amount of memcpy when
10335 getting data from the adapter. Fixes #388201.
10337 2007-01-25 Edward Hervey <edward@fluendo.com>
10339 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10340 In print statements, "%x" is for guint. Fixes build on macosx.
10342 2007-01-24 Edward Hervey <edward@fluendo.com>
10344 * plugins/elements/gstmultiqueue.c:
10345 (gst_multi_queue_loop):
10347 (single_queue_overrun_cb), (single_queue_underrun_cb),
10348 (single_queue_check_full), (gst_single_queue_new):
10349 Implement single queue growth system.
10350 This uses the extra-size properties, and will grow single queues by
10351 that much if one goes full whereas there are others empty. This is
10352 called extra-mode in the code.
10353 When a single queue's levels go back below the initial max-size
10354 limits, it is no longer in extra-mode. This is to ensure we don't
10355 consume too much memory.
10358 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10360 * gst/gst.c: (gst_init_get_option_group):
10361 Make warning about late g_thread_init() calls a bit more explicit,
10362 so that it's more obvious to application developers what they need
10363 to do if a user files a bug against their application.
10365 2007-01-22 Edward Hervey <edward@fluendo.com>
10367 * plugins/elements/gstmultiqueue.c:
10368 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10369 Remove previous hack of unsetting the flushing flag for the source pad
10370 instead of activating it. Instead, fix the source pad activate function
10371 so that it no longer depends on having a parent set or not.
10373 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10375 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10377 * docs/manual/basics-bus.xml:
10378 Fix example code, gst_element_unref() doesn't exist any longer.
10380 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10382 Patch by: Mark Nauwelaerts <manauw at skynet be>
10385 Fix two docs typoes (#399094).
10387 2007-01-19 Edward Hervey <edward@fluendo.com>
10389 * docs/faq/gst-uninstalled:
10390 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10391 depending on libgstbaseutils can work in uninstalled environment.
10393 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10395 * gst/gsttaglist.h:
10396 * gst/gsttagsetter.c:
10397 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10398 statement for new tag.
10400 2007-01-17 Edward Hervey <edward@fluendo.com>
10402 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10403 When dynamically creating single queues, activate sinkpad before adding
10405 We should be doing the same thing for the source pad, but we can't
10406 since it would call a method which needs the parent to be set in order
10407 to work propertly. Instead of activating the source pad, we just unset
10408 the flushing flag, which is the minimal requirement for adding a pad
10409 to an element in a state greater than READY.
10411 2007-01-17 Edward Hervey <edward@fluendo.com>
10413 * docs/faq/gst-uninstalled:
10414 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10417 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10419 * tests/check/gst/gstabi.c:
10420 * tests/check/gst/struct_hppa.h:
10421 * tests/check/libs/libsabi.c:
10422 * tests/check/libs/struct_hppa.h:
10423 Add ABI structs for HPPA (see #393796).
10425 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10427 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10428 Actually write ABI structs to the file specified in the GST_ABI
10429 environment variable, as the message we print claims we would.
10431 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10433 * tests/check/gst/gsttask.c:
10434 Fix header comment.
10436 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10438 * gst/gsttaglist.c: (_gst_tag_initialize):
10439 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10440 previous two entries.
10442 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10444 * docs/gst/gstreamer-sections.txt:
10445 * gst/gsttaglist.c: (_gst_tag_initialize):
10446 * gst/gsttaglist.h:
10447 Add tag support for beat-per-minute.
10449 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10451 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10452 (gst_registry_binary_initialize_magic),
10453 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10454 (gst_registry_binary_save_pad_template),
10455 (gst_registry_binary_save_feature),
10456 (gst_registry_binary_save_plugin),
10457 (gst_registry_binary_write_cache),
10458 (gst_registry_binary_check_magic),
10459 (gst_registry_binary_load_pad_template),
10460 (gst_registry_binary_load_feature),
10461 (gst_registry_binary_load_plugin),
10462 (gst_registry_binary_read_cache):
10463 * gst/gstregistrybinary.h:
10464 Use glib types, cleanup comments, impement interfaces and uri-types.
10466 2007-01-13 Andy Wingo <wingo@pobox.com>
10468 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10469 getrange() to return buffers with other caps, while we fix
10470 demuxers and typefind, or otherwise change part-negotiation.txt.
10472 2007-01-12 Andy Wingo <wingo@pobox.com>
10474 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10475 Factor start/stop into this private function instead of partially
10476 in activate functions and partially in the change_state function.
10477 Fixes setup before the element has changed from READY->PAUSED, as
10478 is the case in pull-mode pipelines.
10479 (gst_base_transform_sink_activate_push)
10480 (gst_base_transform_src_activate_pull): Refactor to use
10481 gst_base_transform_activate().
10482 (gst_base_transform_change_state): Removed, not needed any more.
10484 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10485 Truncate before fixating.
10487 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10488 Don't set_caps() if the result of fixating is ANY, as it's not
10489 supported, and not necessary in the case of a link with no
10490 template caps on either side. Fixes tests/check/libs/basesrc in
10491 some pull-mode tests.
10493 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10494 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10495 (gst_base_transform_src_activate_pull):
10496 Track the activation mode.
10497 (gst_base_transform_setcaps): In pull mode, when activating the
10498 src pad, after activating the sink pad, activate the sink pad's
10499 peer, as discussed in part-negotiation.txt.
10501 * libs/gst/base/gstbasesrc.h:
10502 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10503 vmethod, as in basesink.
10505 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10507 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10508 mode, first proxy the setcaps to the peer pad.
10509 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10510 new fixate vmethod.
10511 (gst_base_sink_default_activate_pull): Rename from
10512 gst_base_sink_activate_pull.
10513 (gst_base_sink_negotiate_pull): New function, performs negotiation
10514 in pull mode before calling ::activate_pull().
10515 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10516 vmethod instead of the default implementation. I have no idea how
10517 this worked before. Negotiate before calling activate_pull.
10519 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10520 sink pads in pull mode. In addition to being correct, fixes
10521 filesrc ! decodebin ! identity ! fakesink.
10522 (gst_pad_get_range, gst_pad_pull_range): Don't call
10523 gst_pad_set_caps() if the caps changes; instead error out with
10524 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10526 2007-01-12 Andy Wingo <wingo@pobox.com>
10528 * docs/design/part-negotiation.txt: Update with more policy.
10530 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10532 * libs/gst/check/gstbufferstraw.h:
10533 * libs/gst/check/gstcheck.h:
10534 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10537 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10539 * tests/check/Makefile.am:
10540 * tests/check/gst/.cvsignore:
10541 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10542 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10543 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10544 (GST_START_TEST), (gst_tag_setter_suite):
10545 Add minimal unit test for beforementioned GstTagSetter bug.
10547 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10549 Patch by: René Stadler <mail at renestadler dot de>
10551 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10552 gst_tag_list_merge() returns a new list, so it's not the best idea
10553 to ingore its return value. Effectively meant that tags could only
10554 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10555 Also add function guard to require a non-NULL taglist as input (has
10556 always been so due to gst_tag_list_copy(), just making it explicit).
10558 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10560 * docs/random/draft-missing-plugins.txt:
10561 Some additions: mention new API that is supposed to be used at the
10562 various stages; short blob about new gst-inspect introspection
10563 option; mention potential future problem with plugins that have
10564 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10566 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10568 * tools/gst-inspect.c:
10569 (print_plugin_automatic_install_info_codecs),
10570 (print_plugin_automatic_install_info_protocols),
10571 (print_plugin_automatic_install_info), (main):
10572 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10573 introspect plugin files and get machine-parsable output that corresponds
10574 to the last bit of the missing-plugin installer string (small gotcha:
10575 doesn't take into account ranks).
10577 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10580 * docs/gst/gstreamer-sections.txt:
10582 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10583 (gst_registry_lookup_locked):
10584 * gst/gstregistry.h:
10585 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10586 (gst_registry_binary_initialize_magic),
10587 (gst_registry_binary_save_string),
10588 (gst_registry_binary_save_pad_template),
10589 (gst_registry_binary_save_feature),
10590 (gst_registry_binary_save_plugin),
10591 (gst_registry_binary_write_cache),
10592 (gst_registry_binary_check_magic),
10593 (gst_registry_binary_load_pad_template),
10594 (gst_registry_binary_load_feature),
10595 (gst_registry_binary_load_plugin),
10596 (gst_registry_binary_read_cache):
10597 * gst/gstregistrybinary.h:
10598 * gst/gstregistryxml.c: (load_feature),
10599 (gst_registry_xml_read_cache):
10600 commit binary registry (disabled by default, see #359653)
10602 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10604 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10605 Fix 'make check' too.
10607 2007-01-10 Andy Wingo <wingo@pobox.com>
10609 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10612 * docs/design/part-negotiation.txt: Update with, um, one way that
10613 pull-mode negotiation might work?
10616 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10617 that the pad must be a src pad; makes sense to call it the other
10618 way in pull mode, and the logic is symmetric anyway.
10620 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10622 * plugins/elements/gstfilesink.c:
10623 Include <stdio.h> for fseeko().
10625 2007-01-10 Wim Taymans <wim@fluendo.com>
10629 Reserve LATENCY event.
10631 2007-01-09 Wim Taymans <wim@fluendo.com>
10633 * docs/design/draft-latency.txt:
10636 2007-01-09 Wim Taymans <wim@fluendo.com>
10638 * docs/design/draft-latency.txt:
10641 * gst/gstelement.h:
10642 * gst/gststructure.c:
10646 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10648 * tests/check/.cvsignore:
10649 Ignore test-registry.xml as well.
10651 2007-01-09 Wim Taymans <wim@fluendo.com>
10653 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10654 unref data at the end when we are done with the pad.
10656 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10658 * docs/gst/gstreamer-sections.txt:
10659 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10660 (init_post), (gst_deinit), (gst_update_registry):
10662 API: add gst_update_registry() (#391296).
10664 * tests/check/Makefile.am:
10665 * tests/check/gst/gstregistry.c:
10666 * tests/check/gst/.cvsignore:
10667 Simple unit test for the above.
10669 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10671 * gst/gstregistry.c: (gst_registry_scan_path_level):
10672 Plugin extension on HP-UX is .sl, add that to the list of approved
10673 plugin extensions (see #393796).
10675 * tests/check/gst/gstpad.c: (GST_START_TEST):
10676 ulong => gulong. Fixes compilation with HP-UX compiler.
10678 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10679 Fix compilation if valgrind headers are not available.
10681 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10683 * win32/common/libgstreamer.def:
10684 Add new exported function.
10685 * win32/vs6/libgstbase.dsp:
10686 Add gstdataqueue.c to the build.
10687 * win32/vs6/libgstcoreelements.dsp:
10688 Add gstmultiqueue.c to the build.
10690 2007-01-06 Andy Wingo <wingo@pobox.com>
10692 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10693 activate_pull(), providing for a way to specialize the process of
10694 spawning a thread to pull on the sink pad. There is a default
10697 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10698 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10699 (gst_base_sink_init): Renamed pad activation functions (inserting
10700 "_pad" in their names). Refactor to use the new activate_pull
10701 vmethod, as appropriate.
10702 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10703 default activate_pull function to start a task pulling from the
10704 sink pad, as before.
10706 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10707 on the pads if necessary, as in push()/chain(). Update docs.
10708 Shouldn't affect existing pull() usage as it is currently only
10709 being used on buffers without caps.
10711 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10713 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10715 Call g_thread_init() first thing in gst_init() / gst_check_init().
10716 When initialisation is done via gst_init_get_option_group() and
10717 GOption parsing, issue a warning if the GLib thread system has not
10718 been initialised yet by the time gst_init_get_option_group() is
10719 called, as it's quite likely other GLib functions such as
10720 g_option_context_new() have been called already then, and
10721 g_thread_init() must be called before any other GLib function. The
10722 application in question must be fixed in that case, since memory
10723 corruption might happen otherwise.
10724 We issue the warning because even if the GLib folks decide to work
10725 around the problem on their end in future, this is still an issue
10726 with all GLib versions >= 2.10.0, so we should warn until we depend
10727 on a GLib version we know to be safe.
10728 Update documentation as well.
10729 Closes bug #391278.
10731 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10733 * tools/gst-inspect.c: (main):
10734 * tools/gst-launch.c: (main):
10735 * tools/gst-typefind.c: (main):
10736 * tools/gst-xmlinspect.c: (main):
10737 Call g_thread_init() really really early, before any other GLib
10738 function (see #342564 and recent discussion on gtk-devel-list).
10740 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10742 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10744 * gst/gst_private.h:
10745 * gst/gstconfig.h.in:
10747 On win32, all the __declspec stuff for symbol exporting is
10748 apparently only needed with MSVC, but doesn't work with MingW.
10749 Fixes compilation with MingW and #391909.
10751 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10753 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10754 Change some GST_ERROR_OBJECT that aren't really errors to
10755 GST_WARNING_OBJECT in order to reduce terminal spam.
10757 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10759 * tests/check/Makefile.am:
10760 disable test again, as there seem to be still race problems
10762 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10764 * tests/check/Makefile.am:
10765 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10766 (GST_START_TEST), (queue_suite):
10767 enable queue test again, add tests for the leaky behaviour
10769 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10772 * tests/examples/Makefile.am:
10773 Compile adapter test/example only if the required headers are
10774 available (fixes #391915).
10776 2007-01-01 David Schleef <ds@schleef.org>
10779 Restore the previous signal handler for SIGSEGV instead of
10780 setting to default, since we may have stolen it away from
10781 someone. (i.e., Mono)
10783 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10785 * docs/random/draft-missing-plugins.txt:
10786 Some small additions and clarifications.
10788 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10790 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10791 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10792 since that can lead to random memory corruptions and crashes
10793 (may or may not be related to #383244, #386711, and #386711).
10795 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10797 * tests/check/.cvsignore:
10798 * tests/check/Makefile.am:
10799 sync .cvsignome and CLEANFILES
10801 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10803 * tests/check/Makefile.am:
10806 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10808 * docs/design/part-states.txt:
10809 two tiny additional comments
10811 * gst/gststructure.c:
10814 * tests/check/Makefile.am:
10815 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10817 disable test for now, unless it gets fixed
10819 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10821 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10823 fix race in underrun test
10825 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10827 * tests/check/elements/.cvsignore:
10830 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10832 try to narrow test failure
10834 2006-12-21 David Schleef <ds@schleef.org>
10836 * plugins/elements/gstfakesrc.c:
10837 Use g_random_int_range(), since it produces better random
10838 numbers in a range than almost-correct floating point code.
10840 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10842 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10843 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10844 (gst_check_teardown_sink_pad):
10845 do not automatically (de)activate pads
10847 * tests/check/Makefile.am:
10848 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10849 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10850 add new, yet simple tests for queue
10852 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10853 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10854 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10856 * tests/check/elements/identity.c: (cleanup_identity):
10857 consistent pad (de)activation
10859 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10861 Patch by: Sebastian Dröge <slomo ubuntu com>
10863 * libs/gst/base/gstcollectpads.c:
10864 Fix two doc typos (#387866).
10866 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10868 * docs/manual/advanced-dparams.xml:
10869 Fix typo (g_object_control_properties() doesn't exist).
10871 2006-12-19 Edward Hervey <edward@fluendo.com>
10873 * gst/gstsegment.c: (gst_segment_set_seek):
10874 Fine tune the cases where the segment start/stop values are really
10876 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10877 Add tests for the return values of gst_segment_set_seek().
10879 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10884 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10886 Fix incorrect documentation and flesh it out a bit more.
10887 Set default values for the max properties on the GParamSpec as well,
10888 so it shows up correctly in gst-inspect.
10890 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10892 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10893 Correct docs of queue, add more detail and crosslink it more.
10895 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10897 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10898 Print additional debug info when the stream isn't perfectly
10899 timestamped; don't try to use invalid durations.
10901 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10903 * docs/design/Makefile.am:
10904 Dist new design docs.
10906 2006-12-16 Wim Taymans <wim@fluendo.com>
10908 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10910 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10911 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10912 (gst_collect_pads_stop), (gst_collect_pads_event),
10913 (gst_collect_pads_chain):
10914 * libs/gst/base/gstcollectpads.h:
10915 Add refcounting to the collectpads data so we can track when it's safe
10916 to free the data. Fixes #383382.
10918 2006-12-15 Wim Taymans <wim@fluendo.com>
10920 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10921 (gst_collect_pads_remove_pad):
10922 Automatically activate/deactivate pads when they are added to a
10923 started/stoped collectpads.
10925 2006-12-15 Wim Taymans <wim@fluendo.com>
10927 * gst/gstelement.c: (gst_element_add_pad):
10928 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10929 * gst/gstpad.c: (gst_pad_init):
10930 Set pads to FLUSHING when they are created. Check, warn and fix when a
10931 demuxer adds an inactive pad to itself when running. Fixes #339326.
10933 2006-12-15 Wim Taymans <wim@fluendo.com>
10935 * gst/gstelement.c: (gst_element_class_init),
10936 (gst_element_default_send_event), (gst_element_send_event),
10937 (gst_element_default_query), (gst_element_query):
10938 Expose default element send_event and query handling as vmethods that
10939 subclasses can chain up to.
10941 2006-12-15 Wim Taymans <wim@fluendo.com>
10943 * gst/gstelement.c: (gst_element_set_state_func):
10944 Small documentation fixes.
10946 2006-12-15 Wim Taymans <wim@fluendo.com>
10948 * docs/design/draft-latency.txt:
10949 Checked in draft for handling latency in pipelines.
10951 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10955 * gstreamer.spec.in:
10958 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10960 * gst/gst.c: (init_pre), (init_post):
10961 init_pre() and init_post() might be called via our GOptionGroup or
10962 from gst_init(), and we should skip both of them if we've already
10963 been initialised, otherwise we will init some things twice or add
10964 two default log functions.
10966 2006-12-13 Edward Hervey <edward@fluendo.com>
10968 * docs/manual/basics-bus.xml:
10969 No, gst_main_loop does not exist. Its g_main_loop.
10970 Discovered by somebody who abused the copy-paste technique of coding :)
10972 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10974 * gst/gstghostpad.c:
10975 Log ghostpad debug stuff to the GST_PADS category as well rather
10976 than just to the default category.
10978 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10981 * gst/gst.c: (init_pre):
10982 Add some basic system details such as OS and architecture
10983 to the debug output if possible, courtesy of uname().
10985 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10987 * docs/gst/running.xml:
10988 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10989 environment variables.
10991 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10993 * tests/check/gst/gstbin.c: (GST_START_TEST):
10994 It is acceptable to have a refcount of 2 or 3 at this point in the
10995 test, because the pipeline might be just posting its state_change
10996 message. The next line then waits for that message to appear using
10997 bus_poll, so that should be fine too.
10999 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11001 * gst/gst.c: (ensure_current_registry_forking):
11002 Ignore EINTR when reading from the child registry pipe.
11003 Explicitly ignore the return value from close, since it makes no
11006 * gst/gstminiobject.c: (gst_mini_object_ref),
11007 (gst_mini_object_unref):
11008 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11010 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11011 When removing cached plugins, remove their features too, so they're
11012 not visible after they've disappeared.
11014 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11015 In the unlikely case that we are linking pads with no parents, don't
11016 crash trying to get the non-existent parent bin.
11018 * gst/parse/grammar.y:
11019 Output debug in the PIPELINE category
11021 2005-03-08 Wim Taymans <wim@fluendo.com>
11023 Patch by: René Stadler <mail at renestadler dot de>
11025 * gst/gstclock.c: (gst_clock_new_periodic_id):
11026 Reject invalid clock times for interval of periodic ids.
11029 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11031 * gst/gstelementfactory.c: (gst_element_factory_create):
11032 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11033 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11034 * tools/gst-inspect.c: (print_element_info):
11035 Fix refcounting of gst_plugin_feature_load to match the docs.
11038 2006-12-07 Wim Taymans <wim@fluendo.com>
11040 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11041 (gst_base_sink_get_position):
11042 Improve debugging of events.
11044 2006-12-07 Wim Taymans <wim@fluendo.com>
11046 Patch by: René Stadler <mail at renestadler dot de>
11048 * gst/gstclock.c: (gst_clock_id_wait):
11049 Make period ids add the interval to the origial requested time instead
11050 of the possibly updated time which can be wrong when there are multiple
11051 waiters for the same id. Fixes #382592.
11053 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11054 (gst_system_clock_id_wait_jitter_unlocked),
11055 (gst_system_clock_id_wait_jitter):
11056 Fix restart in the async notify thread when an async entry is added to
11057 the front of the list. Fixes #381492.
11059 * tests/check/gst/gstsystemclock.c: (store_callback),
11060 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11061 Added test for multiple async waits.
11062 Added test for async wait order.
11064 2006-12-07 Wim Taymans <wim@fluendo.com>
11066 * gst/gstbin.c: (gst_bin_query):
11067 Add some more docs about the POSITION query.
11069 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11072 Bump version nano - back to CVS.
11074 === release 0.10.11 ===
11076 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11079 releasing 0.10.11, "Love never runs on time"
11081 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11083 * win32/common/libgstbase.def:
11084 * win32/common/libgstreamer.def:
11085 * win32/vs8/libgstbase.vcproj:
11086 * win32/vs8/libgstcoreelements.vcproj:
11087 * win32/vs8/libgstreamer.vcproj:
11088 Fix compilation on win32 under VS8
11089 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11090 Partially fixes #381175
11092 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11094 * gst/gstvalue.c: (gst_value_compare_fraction):
11095 If someone is foolish enough to compare 2 fractions with denominator =
11096 0, return UNORDERED rather than aborting.
11098 2006-11-28 Edward Hervey <edward@fluendo.com>
11100 * libs/gst/base/Makefile.am:
11101 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11102 (gst_data_queue_base_init), (gst_data_queue_class_init),
11103 (gst_data_queue_init), (gst_data_queue_new),
11104 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11105 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11106 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11107 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11108 (gst_data_queue_set_flushing), (gst_data_queue_push),
11109 (gst_data_queue_pop), (gst_data_queue_drop_head),
11110 (gst_data_queue_set_property), (gst_data_queue_get_property):
11111 * libs/gst/base/gstdataqueue.h:
11112 New GstDataQueue object for threadsafe queueing. Most useful for
11113 elements that need some queueing functionnality.
11114 * docs/libs/gstreamer-libs-docs.sgml:
11115 * docs/libs/gstreamer-libs-sections.txt:
11116 Insert documentation for GstDataQueue
11117 * plugins/elements/Makefile.am:
11118 * plugins/elements/gstelements.c:
11119 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11120 (gst_multi_queue_class_init), (gst_multi_queue_init),
11121 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11122 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11123 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11124 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11125 (gst_multi_queue_loop), (gst_multi_queue_chain),
11126 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11127 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11128 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11129 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11130 (wake_up_next_non_linked), (compute_next_non_linked),
11131 (single_queue_overrun_cb), (single_queue_underrun_cb),
11132 (single_queue_check_full), (gst_single_queue_new):
11133 * plugins/elements/gstmultiqueue.h:
11134 New multiqueue element, using GstDataQueue. Used for queuing multiple
11136 Closes #344639 and #347785
11138 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11140 * docs/pwg/advanced-types.xml:
11141 add more missing type details
11143 * tools/gst-run.c: (main):
11144 remove unused variable
11146 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11148 * docs/libs/Makefile.am:
11149 * docs/libs/gstreamer-libs.types:
11150 add types of base classes to enable gobject specific stuff in the docs
11152 * docs/random/ensonic/embedded.txt:
11153 more ideas about isolating platform specific things
11155 2006-11-20 Wim Taymans <wim@fluendo.com>
11157 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11159 * libs/gst/check/gstcheck.h:
11160 Fix compilation and running against 0.9.4. Fixes #377332.
11162 2006-11-20 Wim Taymans <wim@fluendo.com>
11164 * gst/gstsegment.c: (gst_segment_set_seek),
11165 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11166 (gst_segment_to_running_time):
11167 Fix boundary checking in to_running_time() and to_stream_time().
11170 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11171 stream and running time can now be calculated for the complete
11174 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11176 * gst/gstpad.c: (gst_pad_push_event):
11177 Can't access event structure after giving away ownership of
11180 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11182 * docs/random/ensonic/embedded.txt:
11183 * docs/random/ensonic/profiling.txt:
11184 * docs/random/ensonic/receipies.txt:
11187 2006-11-13 Wim Taymans <wim@fluendo.com>
11189 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11192 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11194 2006-11-13 Wim Taymans <wim@fluendo.com>
11196 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11198 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11199 Store new length in segment duration so we don't keep on calling the
11200 potentially expensize get_size() call. Fixes #370865.
11202 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11204 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11206 * win32/common/libgstreamer.def:
11207 Add two missing symbols (#366492).
11209 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11211 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11212 (gst_adapter_take_buffer):
11213 Fix format string to use all its arguments.
11214 Remove useless >= check on a guint
11216 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11218 * tests/examples/adapter/.cvsignore:
11219 Ignore build file as commanded by the build-bot
11221 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11223 * tests/examples/adapter/Makefile.am:
11224 * tests/examples/adapter/adapter_test.c: (run_test_take),
11225 (run_test_take_buffer), (run_tests), (main):
11227 Add new files from the previous commit
11229 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11233 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11234 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11235 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11236 * libs/gst/base/gstadapter.h:
11237 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11238 (GST_START_TEST), (gst_adapter_suite):
11239 * tests/examples/Makefile.am:
11240 Do some optimisation work in GstAdapter to avoid copies in more cases.
11241 It could still do slightly better by merging buffers when
11242 gst_buffer_is_span_fast is true, but is already faster.
11244 Also, avoid traversing a single-linked list to append each incoming
11245 buffer inside the adapter.
11247 Add simple test app that times the adapter behaviour in different
11248 situations, and extend the unit test to check that bytes enter and
11249 exit the adapter in their original order.
11251 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11253 * docs/random/draft-missing-plugins.txt:
11254 Update: use element message instead of adding a new message
11255 type to the core; don't provide GStreamer API to initiate the
11256 plugin download, just provide API to compose the strings needed
11257 and let an external libgimmestuff handle the rest.
11259 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11261 * tools/gst-inspect.c: (print_element_properties_info):
11262 Print a string instead of 'unknown type' for GValueArray properties
11264 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11266 * docs/random/draft-missing-plugins.txt:
11269 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11271 * tests/examples/typefind/typefind.c: (type_found), (main):
11272 Make typefind element example work again (#371894); add a
11275 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11277 * docs/random/draft-missing-plugins.txt:
11278 Commit initial draft about how to deal with missing plugins,
11279 needs work (API too).
11281 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11283 * docs/pwg/advanced-types.xml:
11284 documents the new caps elements (see #363118)
11286 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11288 * gst/gstplugin.c: (gst_plugin_load_file):
11289 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11290 (gst_file_src_map_region), (gst_file_src_start):
11291 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11292 (gst_file_index_commit):
11293 Use g_strerror() instead of strerror() - we want UTF-8.
11295 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11297 Patch by: Peter Kjellerstedt <pkj at axis com>
11299 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11300 Another printf fix (#371493).
11302 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11304 * tests/check/gst/gsttag.c:
11305 relicence (okay with author=company)
11307 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11309 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11310 (gst_pad_push_event):
11311 Enhance debug and improve docs
11316 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11318 * docs/random/ensonic/distributed.txt:
11319 * docs/random/ensonic/profiling.txt:
11322 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11324 * docs/gst/gstreamer-sections.txt:
11325 add new API and fix the build
11327 * gst/gstbin.c: (gst_bin_recalc_state):
11328 * gst/gstelement.c: (gst_element_message_full),
11329 (gst_element_get_state_func), (gst_element_set_state_func):
11330 use new API and improve logging
11332 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11334 API: add function to get StateChangereturn names to improve logs
11336 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11338 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11339 I'm considering shooting the next person to put strerror stuff
11340 in the translateable part of the message.
11342 2006-11-03 Wim Taymans <wim@fluendo.com>
11344 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11345 Get the type and printf conversion specifiers right.
11347 2006-11-03 Wim Taymans <wim@fluendo.com>
11349 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11351 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11352 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11353 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11354 Some small cleanups. Improve debugging.
11356 Signal all waiting threads with a broadcast instead of just one.
11359 2006-11-03 Wim Taymans <wim@fluendo.com>
11361 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11362 (gst_fd_src_create):
11363 Add some debugging.
11364 Only update fd when it's different from the old.
11366 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11368 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11369 Printf fixes for PPC/OSX, take two (#369366).
11371 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11373 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11375 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11376 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11377 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11378 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11379 don't cast to long long for portability reasons, but use
11380 GLib's types instead.
11382 2006-10-30 Michael Smith <msmith@fluendo.com>
11384 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11385 Get the arguments to lseek() the right way around.
11388 2006-10-30 Wim Taymans <wim@fluendo.com>
11390 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11393 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11395 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11397 Patch by: Kjartan Maraas <kmaraas at gnome org>
11399 * docs/design/part-MT-refcounting.txt:
11400 * docs/random/wtay/capsnego2-docs:
11403 Typo fixes (#366212).
11405 2006-10-28 Wim Taymans <wim@fluendo.com>
11407 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11410 * win32/common/libgstbase.def:
11411 * win32/common/libgstreamer.def:
11412 * win32/vs8/libgstbase.vcproj:
11413 * win32/vs8/libgstcontroller.vcproj:
11414 Add needed entries in .def files.
11416 Rearrange def files in vs8 solutions. Fixes #366286.
11418 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11420 * win32/common/gstconfig.h:
11421 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11422 hand-made win32 gstconfig.h. Fixes #366321.
11424 2006-10-27 Wim Taymans <wim@fluendo.com>
11426 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11427 (gst_ghost_pad_new_full):
11428 Make acceptcaps return TRUE when we don't have a target, just like
11431 2006-10-27 Wim Taymans <wim@fluendo.com>
11433 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11434 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11436 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11438 * gst/gststructure.c: (gst_structure_id_set_value):
11439 If someone tries to set a non-UTF8 string field on a structure,
11440 don't just print a warning, but also ignore the request and do
11441 not change/add that field to the structure.
11443 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11444 Test for the above.
11446 2006-10-25 David Schleef <ds@schleef.org>
11449 g_hash_table_insert() needs a cast to a non-const pointer duh.
11451 2006-10-25 David Schleef <ds@schleef.org>
11455 Change name parameter of _gst_debug_register_funcptr to const
11456 to reflect the constness of its use in the function as well
11457 as to quiet a gcc warning.
11459 2006-10-25 Edward Hervey <edward@fluendo.com>
11461 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11462 Don't push the buffer if it's empty.
11465 2006-10-24 Wim Taymans <wim@fluendo.com>
11470 * libs/gst/base/gstbasetransform.c:
11471 (gst_base_transform_sink_eventfunc):
11472 Debug segment values *after* updating them as this is more
11475 2006-10-23 Wim Taymans <wim@fluendo.com>
11477 * docs/design/part-events.txt:
11480 * docs/design/part-block.txt:
11481 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11482 (gst_pad_push_event):
11483 Revert BLOCKING patch, it tries to be smart without really having a
11484 clear idea what or how. So, now we discard all FLUSHING events again on
11485 a blocking pad. Should fix gnonlin again.
11487 2006-10-23 Wim Taymans <wim@fluendo.com>
11489 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11491 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11492 (gst_base_src_start), (gst_base_src_activate_push):
11493 Make sure size is always initialized. Fixes #364388.
11495 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11497 * docs/random/ensonic/distributed.txt:
11498 add some ideas about doing distributed processing
11500 * docs/random/ensonic/profiling.txt:
11501 get_rusage look promising
11503 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11505 * docs/manual/basics-helloworld.xml:
11506 Add a cast in example to fix compile warning
11508 2006-10-18 Wim Taymans <wim@fluendo.com>
11510 * gst/gstsegment.c: (gst_segment_set_last_stop),
11511 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11512 Relax arg checking again, -1 is allowed.
11514 2006-10-18 Wim Taymans <wim@fluendo.com>
11516 * gst/gstsegment.c: (gst_segment_set_last_stop),
11517 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11518 _set_last_stop() must be with a value != -1
11519 A _TYPE_SET to -1 means seek to 0.
11520 Calc last_stop correctly for negative rates.
11521 Make sure we work with positive durations when updating a segment.
11523 2006-10-18 Wim Taymans <wim@fluendo.com>
11525 * docs/design/part-live-source.txt:
11529 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11532 Add an explicit cast to GstBuffer** to keep old code that added an
11533 explicit cast to GstMiniObject** for gst_mini_object_replace()
11534 compiling without warning.
11536 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11538 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11539 check for validity of dates
11541 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11543 * docs/gst/gstreamer-sections.txt:
11544 Forgot this one, makes gtk-doc shut up.
11546 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11548 Patch by: Peter Kjellerstedt <pkj at axis com>
11551 Don't define xmlNodePtr to gpointer if the core was built with
11552 --disable-loadsave and --disable-registry, this will break
11553 applications that want to use libxml2 but are buildling against a
11554 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11555 instead so we don't have to mess with the libxml2 namespace
11558 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11561 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11562 type-punned pointer warnings.
11564 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11566 * gst/gstelement.h:
11567 Add casts to the correct return type to state <=> state transition
11570 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11572 * docs/design/part-live-source.txt:
11573 describe howto handle latency
11575 * docs/random/ensonic/profiling.txt:
11578 * tools/gst-plot-timeline.py:
11579 fix log parsing for solaris, remove unused function
11581 2006-10-16 Wim Taymans <wim@fluendo.com>
11583 * docs/design/part-trickmodes.txt:
11585 Update some docs regarding reverse playback.
11587 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11589 Patch by: Marcus Granado <mrc dot gran at gmail com>
11591 * win32/vs8/grammar.vcproj:
11592 Error out with a warning if glib-genmarshal.exe is not in path,
11593 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11595 2006-10-13 Wim Taymans <wim@fluendo.com>
11597 * gst/gstsegment.c: (gst_segment_set_seek):
11598 When seeking to stop -1, set last_stop (current position) to the
11599 duration of the segment.
11601 2006-10-13 Wim Taymans <wim@fluendo.com>
11603 * gst/gstelement.h:
11604 Clarify _NO_PREROLL a bit more.
11609 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11610 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11611 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11612 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11613 due to wrong locking order. Fixes #361769.
11614 Remove some redundant/misplaced checks in pad_block.
11616 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11617 For negative rates, count backwards from the duration.
11619 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11621 * gst/gsterror.c: (_gst_library_errors_init):
11622 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11623 up with something better).
11625 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11627 * win32/vs6/libgstreamer.dsp:
11628 * win32/vs7/libgstreamer.vcproj:
11629 * win32/vs8/libgstreamer.vcproj:
11630 Don't reference glib-compat.c which is currently not used and not
11631 disted; add gstquark.c which was recently added. Fixes #361730.
11633 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11635 * win32/common/libgstbase.def:
11636 * win32/common/libgstcontroller.def:
11637 * win32/common/libgstreamer.def:
11638 Add gst_caps_merge() and a bunch of other recently-added functions.
11641 2006-10-11 Wim Taymans <wim@fluendo.com>
11643 * docs/plugins/gstreamer-plugins.args:
11644 * docs/plugins/inspect/plugin-coreelements.xml:
11645 * docs/plugins/inspect/plugin-coreindexers.xml:
11646 Update element args.
11648 * gst/gstsystemclock.c:
11649 Small comment update.
11651 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11652 (gst_tee_request_new_pad), (gst_tee_release_pad),
11653 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11654 (gst_tee_sink_activate_pull):
11655 * plugins/elements/gsttee.h:
11657 Add default property defines.
11658 Implement release pad function.
11659 Give properties better blubs etc.
11660 Activate pads before adding them to a running tee.
11661 Do simple buffer_alloc on the first requested pad.
11662 Post error when activation fails.
11664 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11666 * gst/gst.c: (ensure_current_registry_forking):
11667 Check return value of write() to make compiler happy.
11669 2006-10-11 Wim Taymans <wim@fluendo.com>
11671 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11673 * plugins/elements/gstqueue.c: (gst_queue_chain):
11674 Recheck queue filledness after signalling the overrun when we're about
11675 to leak downstream because we released the lock when emitting the signal
11676 and the queue could be empty again. Fixes #352345.
11678 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11680 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11681 Fix refcounting here too, just like we did for _new_valist() a few
11682 days ago (#357180) (thanks to René Stadler). Also remove all those
11683 'Since: 0.9' from the gtk-doc blobs.
11685 * tests/check/libs/controller.c: (controller_refcount_new_list),
11686 (gst_controller_suite):
11687 Unit test for the above.
11689 2006-10-10 Wim Taymans <wim@fluendo.com>
11691 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11693 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11694 (gst_pad_save_thyself):
11696 Write pad direction in XML output. Fixes #345496.
11698 2006-10-10 Wim Taymans <wim@fluendo.com>
11700 Patch by: René Stadler <mail at renestadler dot de>
11702 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11703 (gst_controller_new_list), (_gst_controller_dispose),
11704 (_gst_controller_finalize), (_gst_controller_class_init):
11705 Take ref to controlled object so that it cannot disappear.
11708 2006-10-10 Wim Taymans <wim@fluendo.com>
11710 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11711 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11712 (gst_check_teardown_sink_pad):
11713 Activate/deactivate pads in setup/teardown respectively.
11715 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11717 Patch by: Josep Torra Valles <josep@fluendo.com>
11720 Cast values when making gstenumtypes.h. This pacifies Forte
11721 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11722 in the enumeration.
11724 2006-10-09 Wim Taymans <wim@fluendo.com>
11726 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11727 Rename some more @cur to @start to fix docs.
11729 * gst/gstsegment.c: (gst_segment_set_seek):
11731 time and start must always stay in sync as defined in design doc.
11733 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11734 Rename param to fix docs.
11736 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11737 Check that start and time are in sync.
11739 * tests/check/pipelines/parse-launch.c:
11740 (gst_parse_test_element_change_state):
11741 Activate pad before adding to the element.
11743 2006-10-09 Wim Taymans <wim@fluendo.com>
11745 * docs/design/part-qos.txt:
11750 Update seek event docs regarding negative rates.
11751 Rename @cur to @start.
11753 * gst/gstsegment.c: (gst_segment_set_seek):
11754 * gst/gstsegment.h:
11755 Update set_seek docs regarding negative rates.
11756 Correctly update last_stop to @stop when dealing with negative
11758 Rename @cur to @start.
11760 * tests/check/gst/gstpad.c: (GST_START_TEST):
11761 Activate pads before trying to use them.
11763 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11764 (gst_segment_suite):
11765 Add simple check for segments and negative rates.
11767 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11769 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11770 * gst/gsttaglist.h:
11771 * docs/gst/gstreamer-sections.txt:
11772 API: add gst_tag_list_is_empty() (#360467).
11774 * tests/check/gst/gsttag.c: (GST_START_TEST):
11777 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11779 * gst/gstmessage.h:
11780 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11781 a value that doesn't fit on enumeration.
11783 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11785 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11786 Remove local debugging system and use Gstreamer's instead.
11788 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11790 Patch by: Josep Torra Valles <josep@fluendo.com>
11792 * common/m4/gst-error.m4:
11793 Disable warning of statement not reached on Forte.
11794 * gst/gstmessage.h:
11795 Fix warning on Forte (value doesn't fit on enumeration).
11796 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11797 Fix warning on Forte (value doesn't fit on enumeration).
11798 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11799 DEBUG macro says it takes minimum of 2 args and so Forte
11800 complains about the use with just 1 arg.
11801 * plugins/elements/gstfdsink.c:
11802 * plugins/elements/gstfdsrc.c:
11803 * plugins/elements/gstfilesink.c:
11804 * plugins/elements/gstfilesrc.c:
11805 Use correct return type for the uri handler implementations.
11807 All these fix warnings in Forte. Fixes bug #360860.
11809 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11811 * gst/gstelement.h:
11812 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11813 format string, so don't use G_GNUC_PRINTF for those versions.
11815 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11817 * gst/gsttaglist.c: (gst_is_tag_list):
11818 * gst/gsttaglist.h:
11819 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11821 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11822 Small test for the above.
11824 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11826 * gst/gsttaglist.h:
11827 Less tabs, more spaces.
11829 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11832 Those two function declarations do actually belong there, revert
11833 commit from yesterday that turned them intro macros.
11835 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11837 Patch by: Josep Torra Valles <josep@fluendo.com>
11839 * gst/gst.c: (gst_init_get_option_group):
11840 Fix empty declaration and type mismatch.
11841 * gst/gstbin.c: (gst_bin_change_state_func):
11843 * gst/gstelement.c: (gst_element_continue_state),
11844 (gst_element_set_state_func), (gst_element_change_state),
11845 (gst_element_change_state_func):
11846 Fix type mismatches.
11847 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11848 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11849 Cast as appropriate.
11850 * gst/gstobject.c: (gst_class_signal_connect):
11851 Cast as appropriate. The function pointer parameter really
11852 has the wrong type but would break API if we change it.
11854 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11855 order of including string.h.
11856 * gst/gstutils.c: (gst_element_state_get_name):
11857 Remove unreachable line.
11858 * gst/gstxml.c: (gst_xml_parse_doc):
11860 All these caught by Forte.
11862 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11864 Patch by: Josep Torra Valles <josep@fluendo.com>
11866 * common/m4/gst-error.m4:
11868 We need to disable warnings on Forte for empty declarations
11869 due to gst-indent adding ;s to lines that just use macros
11870 where the macro actually doesn't need a ; at end to end
11873 2006-10-06 Wim Taymans <wim@fluendo.com>
11875 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11876 (gst_file_sink_close_file), (gst_file_sink_event),
11877 (gst_file_sink_render):
11878 Add some FIXME for the NEWSEGMENT handling.
11880 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11882 * gst/parse/grammar.y:
11883 Remove static function gst_parse_element_lock as all it does
11884 is return. Looks like cruft from 0.8.
11886 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11888 Patch by: Josep Torra Valles <josep@fluendo.com>
11890 * common/m4/gst-error.m4:
11892 * libs/gst/net/Makefile.am:
11893 Fix a compilation issue with Forte on Solaris. inet_aton is in
11896 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11898 * gst/gstpad.c: (pre_activate):
11899 * gst/gstregistry.c: (gst_registry_scan_path_level):
11900 * gst/gstregistryxml.c: (load_plugin):
11901 * libs/gst/controller/gstcontroller.c:
11902 (gst_controlled_property_set_interpolation_mode):
11903 * libs/gst/dataprotocol/dataprotocol.c:
11904 (gst_dp_packet_from_event_1_0):
11905 * libs/gst/net/gstnetclientclock.c:
11906 (gst_net_client_clock_observe_times):
11907 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11910 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11913 * docs/gst/gstreamer-sections.txt:
11914 * gst/gstconfig.h.in:
11915 * gst/gstelement.h:
11917 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11918 whether we can use G_GNUC_PRINTF in other header files and at
11919 least check the printf format/arguments of debug messages and
11920 GST_ELEMENT_ERROR messages when the printf extension is not
11922 Replace more tabs with spaces in gstinfo.h and remove two spurious
11923 function declarations in GST_DISABLE_DEBUG part with macros.
11925 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11927 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11928 More docs for the sync-message signal (mention that it is not
11929 emitted by default); log message structures of messages posted on
11932 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11934 * gst/gst.c: (ensure_current_registry_forking):
11935 Use a pipe pair to receive status results from the forked child, and
11936 ignore the result from waitpid. Fixes #355499
11938 2006-10-02 Wim Taymans <wim@fluendo.com>
11940 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11941 (gst_ghost_pad_suite):
11944 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11947 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11949 2006-10-02 Edward Hervey <edward@fluendo.com>
11951 * docs/design/part-block.txt:
11952 Further explain the use of flushing on blocked pads.
11953 * docs/gst/gstreamer-sections.txt:
11954 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11955 (gst_pad_push_event):
11957 Added new GstPadFlag : GST_PAD_BLOCKING.
11958 Adds the notion of pads really blocking, which enables to properly
11959 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11961 API: gst_pad_is_blocking()
11962 API: GST_PAD_IS_BLOCKING() macro
11963 API: GST_PAD_BLOCKING GstPadFlag
11965 2006-10-02 Wim Taymans <wim@fluendo.com>
11967 Patch by: mrcgran <mrc.gran at gmail dot com>
11969 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11970 Filter the proxied caps against the padtemplate if we have one.
11972 * gst/gstquery.c: (gst_query_new_segment):
11973 Add include for gstinfo.h so that compilation with
11974 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11976 2006-10-02 Wim Taymans <wim@fluendo.com>
11978 Patch by: Alessandro Decina <alessandro at nnva org>
11980 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11981 (gst_file_sink_set_location), (gst_file_sink_open_file),
11982 (gst_file_sink_close_file), (gst_file_sink_event),
11983 (gst_file_sink_render):
11984 Set file to NULL when closing filesink so that we can set a new filename
11985 in READY. Fixes #358613.
11987 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11989 Patch by: Alessandro Decina <alessandro at nnva org>
11991 * gst/gstevent.c: (_gst_event_copy):
11992 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11993 with event structures by setting the parent refcount address of the
11994 copied structure to the address of the refcount member of the newly
11995 copied event rather than the address of the refcount member of the
11996 original event. Fixes #358737.
11998 * tests/check/gst/gstevent.c: (GST_START_TEST):
11999 Unit test for the above.
12001 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12003 * docs/design/Makefile.am:
12004 Dist some more files.
12006 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12008 * tests/check/libs/controller.c: (GST_START_TEST),
12009 (gst_controller_suite):
12010 Add test for the previous fix; add some more tests
12011 for correct refcounting behaviour; fix a few leaks
12012 in test cases; call gst_controller_init() at start
12015 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12017 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12018 (gst_controller_set_from_list):
12019 Don't g_return_val_if_fail() on timed values with invalid timestamps
12020 inside a critical section without unlocking the mutex. Spotted by
12021 René Stadler. (#357617)
12022 Also, fix up refcounting properly: when returning an existing
12023 controller, we should increase the reference only once and not
12024 once per property and when trying to control a property again
12025 we should also increase the refcount.
12027 2006-09-29 Wim Taymans <wim@fluendo.com>
12029 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12030 * libs/gst/net/gstnettimeprovider.c:
12031 (gst_net_time_provider_thread):
12032 Stop reading commands when EOF as well.
12034 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12035 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12036 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12037 Unify description of the dump property.
12039 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12041 * tests/examples/manual/.cvsignore:
12042 OK, so it's actually cvsignore that needs changing. Stop laughing.
12044 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12046 * tests/examples/manual/Makefile.am:
12047 Gah, declare vars *before* using them
12049 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12051 * gst/gst.c: (init_pre), (scan_and_update_registry),
12052 (ensure_current_registry_nonforking),
12053 (ensure_current_registry_forking), (ensure_current_registry),
12054 (init_post), (gst_debug_help), (gst_deinit):
12055 * gst/gst_private.h:
12056 * gst/gstregistry.c: (gst_registry_finalize),
12057 (gst_registry_remove_features_for_plugin_unlocked),
12058 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12059 (gst_registry_scan_path),
12060 (_priv_gst_registry_remove_cache_plugins),
12061 (_priv_gst_registry_cleanup):
12062 * gst/gstregistry.h:
12063 Re-commit the registry changes, along with an extra fix:
12064 When a cached plugin is encountered at a different file path,
12065 update the stored path in the registry cache so that the parent
12066 process knows where it actually is now when it re-reads the registry
12067 cache. Fixes the thing that broke distcheck with the previous commit.
12069 * tests/check/Makefile.am:
12070 Clean up files named 'core' too when running make clean.
12072 * tests/examples/manual/Makefile.am:
12073 Set up a registry path for running these tests, and clean it properly
12076 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12079 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12080 want gmodule-no-export-2.0.pc instead so that we don't drag in
12081 --export-dynamic on every project that links to GStreamer.
12083 Also, make our export regex only match the start of symbols, rather
12084 than any symbol that contains '_gst' somewhere.
12086 * libs/gst/check/Makefile.am:
12087 The libgstcheck we build does however need export-dynamic, as it
12088 produces some symbols that don't match our _gst... style regex.
12091 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12093 * gst/gst.c: (init_pre), (scan_and_update_registry),
12094 (ensure_current_registry_nonforking),
12095 (ensure_current_registry_forking), (ensure_current_registry),
12096 (init_post), (gst_debug_help), (gst_deinit):
12097 * gst/gst_private.h:
12098 * gst/gstregistry.c: (gst_registry_finalize),
12099 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12100 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12101 (_gst_registry_cleanup):
12102 * gst/gstregistry.h:
12103 Revert previous change until I figure out why it breaks distcheck.
12105 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12107 * gst/gst.c: (init_pre), (scan_and_update_registry),
12108 (ensure_current_registry_nonforking),
12109 (ensure_current_registry_forking), (ensure_current_registry),
12110 (init_post), (gst_debug_help), (gst_deinit):
12112 Make init_pre and init_post take the full complement of GOptionFunc
12113 args so they can return useful GErrors. Make the registry updating
12116 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12117 ensure that the registry we're about to write out doesn't contain
12118 stale information about old-deleted plugin files.
12120 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12121 that deletion of plugin files is considered a registry change.
12123 * gst/gst_private.h:
12124 * gst/gstregistry.c: (gst_registry_finalize),
12125 (gst_registry_remove_features_for_plugin_unlocked),
12126 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12127 (gst_registry_scan_path),
12128 (_priv_gst_registry_remove_cache_plugins),
12129 (_priv_gst_registry_cleanup):
12130 * gst/gstregistry.h:
12131 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12132 by adding _priv prefix, so that they won't appear in the global
12133 symbol table. They still do atm though because of #318031. Move the
12134 prototypes to gst_private.h
12136 When removing a plugin, remove all features for that plugin too.
12139 2006-09-27 Wim Taymans <wim@fluendo.com>
12141 * docs/random/moving-plugins:
12142 Make it clear that the "compiled-in descriptions" really mean
12143 the element details.
12145 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12146 (gst_base_sink_wait_preroll):
12149 * docs/libs/gstreamer-libs-sections.txt:
12150 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12151 (gst_base_src_get_range), (gst_base_src_activate_push):
12152 * libs/gst/base/gstbasesrc.h:
12153 Added function to block while waiting for PLAYING, this function
12154 is used by live sources that block on the clock.
12155 API: gst_base_src_wait_playing()
12157 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12159 Patch by: Peter Kjellerstedt <pkj at axis com>
12162 gst-element-check.m4 is generated and should therefore be
12163 copied from the build dir rather than the source dir (#357593).
12164 'make distcheck' hasn't noticed this because we were disting
12165 the file as well, so stop doing that.
12167 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12169 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12170 Add some tests for gst_caps_intersect().
12172 * tools/gst-launch.c: (event_loop):
12173 Print all buffering percentages we get, even the 100% one.
12175 2006-09-26 Wim Taymans <wim@fluendo.com>
12177 * tools/gst-inspect.c: (print_element_properties_info),
12178 (print_signal_info):
12179 Fix printing of flags to match the look of enums.
12181 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12183 * gst/gstelementfactory.c:
12184 Fix typo in docs blurb.
12186 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12188 * gst/gsturi.c: (search_by_entry):
12189 Don't assert/crash here if a uri handler doesn't return any
12190 supported protocols. The list of protocols could be generated
12191 dynamically at runtime or at plugin registration, and an error
12192 in the underlying library shouldn't be fatal (#353301).
12194 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12197 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12198 (spotted by Peter Kjellerstedt).
12200 2006-09-23 Wim Taymans <wim@fluendo.com>
12202 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12204 * libs/gst/base/gstbasesrc.c:
12205 (gst_base_src_default_check_get_range), (gst_base_src_start),
12206 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12207 (gst_base_src_change_state):
12208 Match _start/_stop calls in the activate functions. Remove redundant
12209 _stop call from the state change function. Fixes #356910.
12210 Turn failure DEBUG into ERROR.
12212 2006-09-22 Wim Taymans <wim@fluendo.com>
12214 * docs/design/part-buffering.txt:
12215 * gst/gstmessage.c: (gst_message_new_buffering),
12216 (gst_message_parse_buffering):
12217 Update docs about buffering.
12219 * docs/design/part-trickmodes.txt:
12222 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12224 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12225 (gst_controller_new_list):
12226 Ref instances when returning them again (fixes #357180)
12228 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12230 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12231 Don't forget to release proxy lock when there's an error.
12233 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12236 Add extra initialisers for Caps things, to fix some plugin warnings
12239 2006-09-18 Wim Taymans <wim@fluendo.com>
12241 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12242 Also set template on the internal pad so that a getcaps from the
12243 target pad returns the template caps.
12245 2006-09-18 Wim Taymans <wim@fluendo.com>
12247 * gst/gstelement.c: (gst_element_post_message),
12248 (gst_element_dispose):
12249 Use _DEBUG_OBJECT some more.
12251 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12254 * tools/gst-launch.c: (main):
12255 If the toplevel element is not a GstPipeline, it must be put in a
12256 pipeline so that a bus and clock is selected.
12258 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12260 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12261 JITTER, RATE, and LATENCY query should be handled by the
12262 default case and not by the CONVERT query code.
12264 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12266 * gst/gstformat.c: (gst_format_register):
12267 Fix locking order (must take lock before using n_values).
12269 * gst/gstvalue.c: (gst_value_serialize_enum),
12270 (gst_value_deserialize_enum_iter_cmp),
12271 (gst_value_deserialize_enum):
12272 Fix serialisation/deserialisation of custom registered GstFormats.
12274 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12275 Unit test for custom format serialisation/deserialisation.
12277 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12279 * docs/pwg/building-boiler.xml:
12280 * plugins/elements/gstcapsfilter.c:
12281 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12284 2006-09-16 Edward Hervey <edward@fluendo.com>
12286 * libs/gst/base/gstbasetransform.c:
12287 (gst_base_transform_buffer_alloc):
12288 Check if requested caps are the same as the sinks caps IF
12289 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12291 This fixes the renegotiation issues stated in #352827.
12293 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12296 * docs/manual/advanced-autoplugging.xml:
12297 * tests/examples/Makefile.am:
12298 * tests/examples/manual/.cvsignore:
12299 * tests/examples/manual/Makefile.am:
12300 * tests/examples/manual/extract.pl:
12301 Extract the manual examples again like we used to do.
12304 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12306 * win32/common/config.h:
12309 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12312 Documents how to receive errors.
12314 2006-09-15 Wim Taymans <wim@fluendo.com>
12316 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12317 (event_loop), (main):
12318 Added some comments here and there.
12319 Post an application message when an interrupt is caught instead of doing
12320 an uncontrolled state change.
12321 Clean up the event loop.
12322 Handle buffering messages, pause/resume the pipeline.
12323 Make shutdown because of an interrupt more reliable.
12325 2006-09-15 Wim Taymans <wim@fluendo.com>
12327 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12328 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12329 (gst_base_sink_preroll_object):
12330 Make sure that our internal state is correct when we commit our state
12331 asynchronously. This solves a race where a state change to PLAYING
12332 could cause the sink to remain blocked in preroll in some situations.
12334 2006-09-15 Wim Taymans <wim@fluendo.com>
12336 * tools/gst-inspect.c: (print_element_properties_info),
12337 (print_signal_info):
12338 List flags as hex so it's easier to deal with.
12340 2006-09-15 Wim Taymans <wim@fluendo.com>
12342 * docs/libs/gstreamer-libs-sections.txt:
12343 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12344 (gst_base_sink_do_sync):
12345 * libs/gst/base/gstbasesink.h:
12346 Expose logic to wait for preroll so that subclasses such as audiosink
12347 can also use this method.
12348 API: gst_base_sink_wait_preroll()
12350 2006-09-15 Wim Taymans <wim@fluendo.com>
12352 * gst/gstobject.c: (gst_object_set_parent):
12353 * gst/gstpipeline.c: (do_pipeline_seek):
12354 Small cleanups in docs and code.
12356 * gst/gstsegment.c: (gst_segment_clip):
12357 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12358 if stop == start and start is in the segment, no clipping should be
12359 done. Also add a test for this.
12361 2006-09-15 Wim Taymans <wim@fluendo.com>
12363 * docs/design/part-buffering.txt:
12364 * docs/gst/gstreamer-sections.txt:
12365 * gst/gstmessage.c: (gst_message_new_buffering),
12366 (gst_message_parse_buffering):
12367 * gst/gstmessage.h:
12368 Added methods to create and parse BUFFERING messages.
12369 Added preliminary docs about buffering.
12370 API: gst_message_new_buffering
12371 API: gst_message_parse_buffering
12373 2006-09-06 Wim Taymans <wim@fluendo.com>
12376 Update documentation.
12378 * gst/gstelement.c: (gst_element_class_init),
12379 (gst_element_release_request_pad), (gst_element_set_clock),
12380 (gst_element_get_index), (gst_element_add_pad),
12381 (gst_element_remove_pad), (gst_element_get_random_pad),
12382 (gst_element_send_event), (gst_element_get_query_types),
12383 (gst_element_query), (gst_element_post_message),
12384 (gst_element_message_full), (gst_element_continue_state),
12385 (gst_element_lost_state), (gst_element_save_thyself),
12386 (gst_element_restore_thyself):
12387 Documentation updates.
12388 Rename last bit of the new-pad -> pad-added signal rename.
12389 Fix the case where an element query would only work if the source
12391 Avoid some useless type checking in message handling.
12396 Documentation updates.
12398 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12400 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12401 add an INFO line for when we actually update the fd
12403 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12408 === release 0.10.10 ===
12410 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12413 releasing 0.10.10, "Pais"
12415 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12417 * docs/manual/advanced-position.xml:
12418 Fix typo in sample code.
12420 2006-09-05 Wim Taymans <wim@fluendo.com>
12422 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12423 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12424 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12425 * libs/gst/net/gstnetclientclock.h:
12426 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12427 * libs/gst/net/gstnettimepacket.h:
12428 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12429 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12430 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12431 * libs/gst/net/gstnettimeprovider.h:
12432 Make stuff compile on windows. Fixes #345295.
12434 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12436 * gst/gst.c: (ensure_current_registry_forking):
12437 Print better details when child was terminated by signal.
12439 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12441 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12442 Print a warning rather than g_assert() if a plugin feature
12443 is a URI handler but returns no protocols (#353976).
12445 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12447 * docs/random/moving-plugins:
12450 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12452 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12453 Fix locking order, handle NULL function values properly.
12458 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12459 Initialise variable before using it and fix debug statement to
12460 print the address of the function rather than the address of the
12461 variable on the stack holding the address of the function.
12463 2006-09-01 Wim Taymans <wim@fluendo.com>
12465 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12466 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12467 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12468 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12469 (gst_ghost_pad_parent_unset),
12470 (gst_ghost_pad_internal_do_activate_push),
12471 (gst_ghost_pad_internal_do_activate_pull),
12472 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12473 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12474 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12475 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12476 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12477 (gst_ghost_pad_new_no_target_from_template),
12478 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12480 Avoid needless typechecking in macros.
12481 Since the internal pad is always present and never changes, there is
12482 no need to locking or ref when retrieving it.
12483 Improve debugging a bit.
12484 Handle link errors when setting the target. Fixes #341029.
12486 2006-09-01 Wim Taymans <wim@fluendo.com>
12488 * docs/libs/gstreamer-libs-sections.txt:
12489 * docs/plugins/gstreamer-plugins-sections.txt:
12490 Fix docs some more.
12492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12493 (gst_collect_pads_event):
12494 * libs/gst/base/gstcollectpads.h:
12495 Documentation updates.
12496 Free queued buffer when removing a pad.
12498 2006-08-31 Michael Smith <msmith@fluendo.com>
12500 * gst/gstutils.c: (gst_element_link_pads),
12501 (gst_element_link_pads_filtered):
12502 Ensure that we set a capsfilter to NULL if we failed to link it
12503 when doing filtered linking, to avoid criticals.
12505 No need to check for unreffing srcpad, which is explicly NULLed
12506 above (a trivial code cleanup).
12508 2006-08-31 Wim Taymans <wim@fluendo.com>
12510 * docs/design/part-gstghostpad.txt:
12511 Update ascii art in documentation.
12513 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12514 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12515 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12516 (gst_ghost_pad_internal_do_activate_push),
12517 (gst_ghost_pad_internal_do_activate_pull),
12518 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12519 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12520 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12521 (gst_ghost_pad_set_target):
12522 Small cleanups and leak fixes.
12523 Remove some checks now that the internal pad is never NULL.
12524 Fix the case where linking pads without a target would create nasty
12525 criticals. Fixes #341029.
12526 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12527 value of _set_target().
12529 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12530 (gst_ghost_pad_suite):
12531 Some more tests for creating and linking untargeted ghostpads.
12533 2006-08-31 Edward Hervey <edward@fluendo.com>
12535 * docs/gst/gstreamer-sections.txt:
12536 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12537 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12538 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12539 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12540 (gst_ghost_pad_new_from_template),
12541 (gst_ghost_pad_new_no_target_from_template):
12542 * gst/gstghostpad.h:
12543 Refactored *_new() functions.
12544 Templates are now used as a g_object_new() parameter.
12545 Use template in _do_getcaps() if we don't have a target.
12546 Small documentation cleanups.
12547 Added two new constructors:
12548 gst_ghost_pad_new_from_template()
12549 gst_ghost_pad_new_no_target_from_template()
12550 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12551 (gst_ghost_pad_suite):
12552 Added tests for new ghostpad instanciation functions.
12554 API additions: gst_ghost_pad_new_from_template,
12555 gst_ghost_pad_new_no_target_from_template
12557 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12559 * docs/random/ensonic/profiling.txt:
12560 Ideas about qos profiling.
12562 2006-08-29 Wim Taymans <wim@fluendo.com>
12564 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12568 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12571 Improve and detypofy docs.
12573 * tests/check/Makefile.am:
12574 * tests/check/gst/.cvsignore:
12575 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12576 Add a basic test suite for GstXML.
12578 2006-08-29 Wim Taymans <wim@fluendo.com>
12580 * gst/gstelement.c: (activate_pads), (clear_caps),
12581 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12582 Clear the pad caps when the element shut down all of the pads and
12583 is not streaming data that could modify the caps.
12586 2006-08-28 Michael Smith <msmith@fluendo.com>
12588 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12589 Revert previous change; I misunderstood single-segment mode.
12591 2006-08-28 Michael Smith <msmith@fluendo.com>
12593 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12594 Unset DISCONT on buffers when using single-segment mode.
12596 2006-08-28 Wim Taymans <wim@fluendo.com>
12598 * gst/gstcaps.c: (gst_caps_merge_structure):
12600 Fix docs and indentation again.
12602 * tests/check/gst/gstquery.c: (GST_START_TEST):
12603 Fix leak in tests and add some more tests.
12605 2006-08-28 Edward Hervey <edward@fluendo.com>
12607 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12608 Inform GstSegment of the last stop position in order for the current
12609 segment to have a proper duration if it doesn't have a specific stop
12610 position from which a duration could be calculated.
12611 This bug was noticeable when a non-flushing, non-update new segment was
12612 followed by another segment (all buffers from the new segment were being
12615 2006-08-28 Wim Taymans <wim@fluendo.com>
12617 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12618 Small comment update.
12620 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12621 (gst_identity_transform_ip):
12622 Drop-probability is broken, mention this in the code with a
12623 FIXME and also in the property description.
12624 Make silent also be silent about the drop messages.
12626 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12628 * docs/manual/appendix-win32.xml:
12629 Remove mention of popt, we don't depend on that any
12630 longer (#353136). Add some comments pointing out that
12631 this section is slightly outdated.
12633 2006-08-28 Wim Taymans <wim@fluendo.com>
12635 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12637 * gst/gstquery.c: (gst_query_new_segment):
12638 * tests/check/gst/gstquery.c: (GST_START_TEST):
12639 Initialize variables when creating a new segment query.
12642 2006-08-28 Wim Taymans <wim@fluendo.com>
12644 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12646 * gst/gstelement.c: (gst_element_get_bus):
12647 * tests/check/gst/gstelement.c: (GST_START_TEST):
12648 Check for NULL before _reffing the bus. Fixes #353122.
12650 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12652 * docs/manual/basics-bus.xml:
12653 Docs update: fix wrong callback return value explanation; add
12654 some lines about the implicit relationship between main loop
12655 and main context; remove duplicate main loop variable declaration.
12657 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12659 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12660 Don't leak caps in unit test; add a few more simple
12663 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12665 * docs/gst/gstreamer-sections.txt:
12666 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12667 (gst_caps_structure_is_subset), (gst_caps_merge),
12668 (gst_caps_merge_structure):
12670 * libs/gst/base/gstbasetransform.c:
12671 (gst_base_transform_transform_caps):
12672 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12673 implement caps merging (fixes #352580)
12675 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12677 * tools/Makefile.am:
12678 * tools/gst-plot-timeline.py:
12679 add debug-log plotting developer tool (#340674)
12681 2006-08-23 Wim Taymans <wim@fluendo.com>
12683 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12684 (gst_pad_stop_task):
12685 Improve debugging for task functions.
12687 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12688 (gst_task_start), (gst_task_pause), (gst_task_join):
12689 Make sure that the task function started and finished after a
12691 Don't try to push the task function on the threadpool multiple
12693 Improve the g_warning message with some useful suggestions
12694 about how to fix the problem.
12696 2006-08-23 Wim Taymans <wim@fluendo.com>
12698 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12699 Handle RESYNC correctly in _proxy_getcaps.
12701 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12703 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12704 (gst_xml_parse_memory), (gst_xml_get_element):
12705 Chain up to parent class in dispose function and also
12706 unref the elements in the toplevel_elements GList.
12707 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12708 Always return a reference in gst_xml_get_element() rather
12709 than only sometimes.
12711 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12712 Don't leak GstXml object.
12714 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12716 * docs/gst/gstreamer-sections.txt:
12717 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12720 * libs/gst/base/gstbasetransform.c:
12721 (gst_base_transform_transform_caps):
12722 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12725 2006-08-21 Edward Hervey <edward@fluendo.com>
12727 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12728 Implement GObject::dispose virtual method in GstXML so we can free the
12729 top_elements GList.
12731 2006-08-21 Wim Taymans <wim@fluendo.com>
12733 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12734 (gst_buffer_create_sub):
12735 Copy duration/offset_end/caps when creating a subbuffer of the
12737 Make the subbuffer read-only when we make the metadata writable for
12738 now. Fixes #351768.
12740 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12741 Added check for metadata copy when creating subbuffers.
12743 2006-08-21 Edward Hervey <edward@fluendo.com>
12745 * libs/gst/base/gstbasetransform.c:
12746 (gst_base_transform_buffer_alloc):
12747 Only call downstream buffer_alloc if transform element is passthrough
12748 or always_in_place. Closes #350449.
12750 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12753 ChangeLog surgery to add comments to previous changes
12755 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12760 * gst/gstpad.c: (gst_pad_set_active):
12761 Be more verbose in the log
12763 * libs/gst/base/gstbasetransform.c:
12764 (gst_base_transform_transform_caps):
12765 Simplify caps to get rid of duplicates, fixes #345444
12767 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12771 Use these optimizations only internally.
12773 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12775 * gst/gstvalue.c: (gst_value_compare_list),
12776 (gst_value_compare_fraction_range),
12777 (gst_value_intersect_fraction_fraction_range),
12778 (gst_value_intersect_fraction_range_fraction_range),
12779 (gst_value_subtract_fraction_fraction_range),
12780 (gst_value_subtract_fraction_range_fraction_range),
12781 (gst_value_get_compare_func), (gst_value_compare),
12782 (gst_value_compare_with_func):
12784 Saves the expensive lookup of the compare function in many cases
12787 2006-08-18 Edward Hervey <edward@fluendo.com>
12789 * tests/check/gst/gstinfo.c: (gst_info_suite):
12790 Disable test that require gstdebug if it wasn't built in core.
12792 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12794 * docs/random/ensonic/logging.txt:
12797 * gst/gstinfo.c: (gst_debug_log_default):
12798 reorder fields, save some columns, add optional color codes for log
12801 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12803 * docs/random/ensonic/logging.txt:
12804 add ideas about making the logs a bit more useful
12806 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12808 * docs/pwg/advanced-events.xml:
12809 * docs/pwg/titlepage.xml:
12810 Update for 0.10 API (#340627). Add myself
12813 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12815 * docs/libs/gstreamer-libs-docs.sgml:
12816 * docs/libs/gstreamer-libs-sections.txt:
12817 * libs/gst/check/gstbufferstraw.c:
12818 Make gstcheck stuff show up in docs (still needs to
12819 be documented properly though).
12821 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12823 * docs/gst/gstreamer-sections.txt:
12825 * gst/gst.c: (init_post):
12826 * gst/gst_private.h:
12827 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12829 * gst/gstquery.c: (gst_query_new_position),
12830 (gst_query_set_position), (gst_query_parse_position),
12831 (gst_query_new_duration), (gst_query_set_duration),
12832 (gst_query_parse_duration), (gst_query_new_convert),
12833 (gst_query_set_convert), (gst_query_parse_convert),
12834 (gst_query_new_segment), (gst_query_set_segment),
12835 (gst_query_parse_segment), (gst_query_new_seeking),
12836 (gst_query_set_seeking), (gst_query_parse_seeking):
12837 Add internal helpers for pre-registering quarks from static strings
12838 and using the quark values directly instead of looking them up when
12839 creating and parsing queries. Can be used for event construction too.
12842 2006-08-16 Wim Taymans <wim@fluendo.com>
12847 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12849 * gst/gstutils.c: (gst_util_set_value_from_string):
12850 Fix memleak (#351502).
12852 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12853 Add unit test for most of gst_util_set_value_from_string()
12854 (not that one would want to encourage use of this function).
12856 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12858 * libs/gst/check/gstcheck.h:
12859 Use const gchar * variables in fail_unless_equals_string
12860 macro to avoid compiler warnings (and don't use tabs for
12863 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12865 * tools/gst-launch.c: (print_tag):
12866 More space on the left for the tag names, to cater
12867 for the 'extended comment' tag (not touching the
12868 string for the first line since it's translated).
12870 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12872 * libs/gst/check/gstcheck.h:
12873 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12874 print something when they fail.
12876 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12878 * docs/gst/gstreamer-sections.txt:
12879 * gst/gsttaglist.c: (_gst_tag_initialize):
12880 * gst/gsttaglist.h:
12881 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12882 Also change merge function for GST_TAG_COMMENT to
12885 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12887 * gst/gstinfo.c: (gst_debug_print_object):
12888 Make GST_PTR_FORMAT print messages as well.
12890 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12891 (GST_START_TEST), (gst_info_suite):
12894 2006-08-14 Edward Hervey <edward@fluendo.com>
12896 * gst/gstelementfactory.c: (gst_element_register):
12897 If the GstElementClass doesn't have a GstElementDetails with all fields
12898 filled up correctly (longname, description AND author), then error out
12899 nicely instead of crashing.
12901 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12903 * gst/gststructure.c:
12904 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12907 Expand on the difference between arrays and lists as we use them.
12909 2006-08-14 Wim Taymans <wim@fluendo.com>
12911 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12912 If the parent state change function failed, don't assume we can safely
12913 stop the source, this will be done when the pads are deactivated.
12915 2006-08-14 Wim Taymans <wim@fluendo.com>
12918 * gst/gsttask.c: (gst_task_join):
12921 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12922 (gst_pad_stop_task):
12923 When pad (de)activation failed for some reason, restore the old
12924 activation mode and set the pad to flushing instead of assuming the
12925 pad is deactivated.
12926 If the _task_join() failed, reinstall the task on the pad so that it can
12927 be stopped later and return an error.
12929 2006-08-11 Andy Wingo <wingo@pobox.com>
12932 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12933 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12934 is only for users of API that don't want to see deprecated
12935 functions in the headers; people that want to compile out
12936 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12937 CFLAGS. Fixes the build of multifdsink, or will soon..
12939 2006-08-11 Wim Taymans <wim@fluendo.com>
12941 * docs/gst/gstreamer-sections.txt:
12942 Add GstClockClass vmethod docs.
12945 Mark #endif with comment for associated #if
12947 * gst/gstclock.c: (gst_clock_id_wait):
12949 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12950 most clock implementations.
12952 Flesh out docs about resolution methods.
12953 API: GstClockClass::wait_jitter
12955 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12956 (gst_system_clock_async_thread),
12957 (gst_system_clock_id_wait_jitter_unlocked),
12958 (gst_system_clock_id_wait_jitter):
12959 Use base class wait_jitter variant for improved performance
12960 due to less clock polling.
12962 2006-08-11 Edward Hervey <edward@fluendo.com>
12964 * gst/gst.c: (gst_init_check), (init_post):
12965 Set gst as being initialized before scanning/updating the registry,
12966 since there might be my python plugin loader that calls gst_init() and
12967 we don't want to loop back in.
12970 2006-08-11 Wim Taymans <wim@fluendo.com>
12972 * docs/design/part-qos.txt:
12973 Bring docs in line with the code. Mostly the sign of the jitter was
12974 wrong in the docs. Fixes #349943.
12977 Fix the docs for the jitter.
12979 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12980 (gst_event_parse_tag), (gst_event_new_buffer_size),
12981 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12982 (gst_event_new_seek), (gst_event_parse_seek),
12983 (gst_event_new_navigation):
12984 Make sure the GstStructure has no parent when creating custom
12986 Add some more argument checking so that we avoid 0.0 rates.
12987 Flesh out the docs for the QoS event some more.
12989 2006-08-11 Wim Taymans <wim@fluendo.com>
12991 * docs/gst/gstreamer-sections.txt:
12992 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12993 (ensure_current_registry_forking), (ensure_current_registry),
12994 (parse_one_option), (parse_goption_arg), (gst_deinit),
12995 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12998 Added API and command line option to disable registry forking in
12999 addition to the environment variable.
13000 Constify some static arrays.
13001 Added some more debug.
13002 Don't deinit twice.
13003 API: gst_registry_fork_is_enabled()
13004 API: gst_registry_fork_set_enabled()
13005 API: --gst-disable-registry-fork command line option
13008 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13010 * gst/gst.c: (gst_init):
13011 Fix typo in error message.
13013 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13015 * libs/gst/controller/gstcontroller.h:
13016 fix ABI size-correction
13018 * tests/check/libs/gdp.c: (gst_dp_suite):
13019 make tests that use deprecated API conditional
13021 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13023 * docs/libs/gstreamer-libs-sections.txt:
13024 * libs/gst/controller/gstcontroller.c:
13025 (_gst_controller_get_property), (_gst_controller_set_property),
13026 (_gst_controller_init), (_gst_controller_class_init):
13027 * libs/gst/controller/gstcontroller.h:
13028 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13029 (gst_object_set_control_rate):
13030 API: add gst_object_{s,g}et_control_rate(), add private data section,
13033 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13034 * libs/gst/dataprotocol/dataprotocol.h:
13035 add deprecation guards to make gtk-doc happy and allow disabling cruft
13037 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13039 * tests/check/Makefile.am:
13040 * tests/check/gst/.cvsignore:
13041 Let's enable the new unit test as well.
13043 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13046 * docs/gst/gstreamer-sections.txt:
13047 * gst/gstconfig.h.in:
13048 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13049 (_gst_info_printf_extension_ptr),
13050 (_gst_info_printf_extension_segment):
13051 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13052 register that lets us easily dump GstSegments into debug
13055 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13056 (info_segment_format_printf_extension), (gst_info_suite):
13057 Add simple unit test that logs a bunch of different segments (not
13058 valgrinded at the moment because of leaks in
13059 gst_debug_add_log_function).
13061 2006-08-09 Edward Hervey <edward@fluendo.com>
13063 * libs/gst/base/gstbasetransform.c:
13064 (gst_base_transform_buffer_alloc):
13065 Even if we can't figure out the proper format to request downstream,
13066 call buffer_alloc() downstream with the input parameters without setting
13067 the caps on the srcpad. This will force negotiation in the chain
13071 2006-08-08 Edward Hervey <edward@fluendo.com>
13073 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13074 Unlinking from a pad without a target is now a perfectly valid case
13075 which should NOT raise an assertion.
13076 This case would happen if a linked ghostpad its target set to NULL after
13077 it was previously linked.
13079 2006-08-08 Edward Hervey <edward@fluendo.com>
13081 * tests/check/libs/gdp.c:
13082 Also comment out the test (see below).
13084 2006-08-08 Edward Hervey <edward@fluendo.com>
13086 * tests/check/libs/gdp.c: (gst_dp_suite):
13087 Use the architecture information from config.h and not gcc macros
13088 in order to properly disable a test that fails on PPC64.
13090 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13092 * gst/gstelement.c: (gst_element_remove_pad):
13093 Don't crash printing the warning if the pad has no parent.
13095 2006-08-02 Wim Taymans <wim@fluendo.com>
13097 * libs/gst/dataprotocol/dataprotocol.c:
13098 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13099 (gst_dp_crc), (gst_dp_header_payload_length),
13100 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13101 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13102 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13103 (gst_dp_event_from_packet), (gst_dp_validate_header),
13104 (gst_dp_validate_payload):
13105 Make debug category static
13106 Constify the crc table.
13107 Do some more arg checking in public functions.
13108 Fix some docs and do some small cleanups.
13110 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13111 Add some more checks to see if GDP deals with bogus input.
13113 2006-07-31 Wim Taymans <wim@fluendo.com>
13115 * gst/gstvalue.c: (gst_value_compare_list):
13116 Fix GstValueList comparison code. Fixes #347293.
13118 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13119 Check to test GstValueList comparison.
13121 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13123 * gst/gstelementfactory.c: (gst_element_factory_create):
13124 Remove unnecessary ref/unref pair
13126 * gst/parse/grammar.y:
13127 Make sure to free the parse buffer on all code paths.
13128 Move a g_free up to the error handler where it's easier to see.
13130 * tests/check/gst/gstevent.c: (test_event):
13131 Extending timeout for downstream travelling events to 10 seconds to
13132 hopefully avoid intermittent failure on the buildbots.
13134 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13135 Don't manually set the state of the src element - it will happen as a
13136 natural consequence of the pipeline changing state, and that way it
13137 will do it in the right order too.
13139 2006-07-31 Wim Taymans <wim@fluendo.com>
13141 * libs/gst/base/gstbasetransform.c:
13142 (gst_base_transform_buffer_alloc):
13143 Use OBJECT_LOCK and refcounting to get the pad caps in the
13144 buffer_alloc function because the caps could change while we are
13145 busy with them. Fixes #349105
13147 2006-07-31 Wim Taymans <wim@fluendo.com>
13149 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13150 Protect _PAD_CAPS with OBJECT_LOCK.
13152 2006-07-31 Wim Taymans <wim@fluendo.com>
13154 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13155 (gst_pad_get_property), (gst_pad_activate_pull),
13156 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13157 (gst_pad_set_activate_function),
13158 (gst_pad_set_activatepull_function),
13159 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13160 (gst_pad_set_getrange_function),
13161 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13162 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13163 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13164 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13165 (gst_pad_set_acceptcaps_function),
13166 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13167 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13168 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13169 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13170 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13171 (gst_pad_configure_sink), (gst_pad_configure_src),
13172 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13173 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13174 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13175 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13176 (gst_pad_send_event):
13177 Use _DEBUG_OBJECT when it makes sense.
13178 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13179 Small cleanups and code reflows.
13180 Avoid caps refcounting in _accept_caps.
13181 Refactor alloc_buffer so that the code performed on the peer is in a
13182 separate function. Also if the pad does not implement a buffer alloc
13183 function, we should still check if the pad is flushing before falling
13184 back to the default allocator.
13186 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13188 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13189 Make all uses of identity and fakesink have silent=true to avoid
13190 serialising every passing data structure, which is breaking tests
13191 on FC4 for some unknown reason.
13193 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13195 * gst/parse/Makefile.am:
13196 * gst/parse/grammar.y:
13197 * gst/parse/parse.l:
13198 Reverted previous patch as it required to bump the flex dependency to
13199 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13201 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13203 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13205 * gst/parse/Makefile.am:
13206 * gst/parse/grammar.y:
13207 * gst/parse/parse.l:
13208 push & pop the state of the lexer for reentrant use case
13211 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13213 * libs/gst/base/gstbasesrc.h:
13214 Note in the docs that the ::newsegment vfunc is not actually used by
13217 2006-07-28 Wim Taymans <wim@fluendo.com>
13219 * libs/gst/base/gstcollectpads.c:
13220 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13221 (gst_collect_pads_clear), (gst_collect_pads_flush),
13222 (gst_collect_pads_event), (gst_collect_pads_chain):
13223 When flushing a pad, also clear the queued buffer so that we don't
13224 accidentally use it when we shouldn't.
13225 Fix leaks by inreffing incomming buffer.
13226 Flush out queued buffers in case of errors.
13229 2006-07-28 Wim Taymans <wim@fluendo.com>
13231 * docs/random/phonon-gst:
13232 Random notes about a Phonon backend.
13234 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13236 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13238 * tests/check/libs/gdp.c: (gst_dp_suite):
13239 Take a whack at fixing the ppc compile using a different define to
13240 disable the broken test.
13242 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13243 Remove excess g_print()
13245 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13247 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13248 Oops, meant to uncomment this line too to dampen the noise a bit.
13250 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13252 * gst/parse/grammar.y:
13253 * gst/parse/parse.l:
13254 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13255 (GST_START_TEST), (parse_suite):
13256 Fix some of the leaks exposed by extending the parse-launch testsuite,
13257 and move the 3 I can't figure out into a separate test that won't run
13258 the pipelines unless the appropriate line is uncommented.
13260 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13262 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13263 Requesting 0 bytes before the end of the file should result in
13264 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13267 2006-07-27 Wim Taymans <wim@fluendo.com>
13269 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13270 Fix useless assert, a uint is always positive.
13272 * gst/gststructure.c: (gst_structure_nth_field_name),
13273 (gst_structure_foreach), (gst_structure_map_in_place):
13274 Check input arguments for public functions to avoid obvious crashes.
13276 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13277 * plugins/elements/gstfakesink.h:
13278 Do less useless typechecking.
13280 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13282 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13283 Do not use mmap() by default since there are a number of error
13284 conditions that we would like to handle in a non-fatal way that
13285 will result in a SIGBUS if we use mmap(). Examples: external
13286 devices (USB harddrive, portable music player) being unplugged
13287 while in use; file on mounted CD/DVD that can't be read because
13288 the medium is partly damaged. Fixes #348455 and #348475.
13290 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13293 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13294 rates are a gdouble
13296 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13298 * gst/gstregistry.c:
13299 Move big documentation comment into class section header, so that it
13300 appears in the API docs.
13302 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13304 * docs/gst/gstreamer-sections.txt:
13305 Oops. Commit the docs additions too for new API.
13306 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13308 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13310 * gst/gststructure.c: (gst_structure_id_set),
13311 (gst_structure_id_set_valist):
13312 * gst/gststructure.h:
13313 Add API for setting values into structures without performing
13314 a quark lookup, if the appropriate quark is already known.
13316 API: gst_structure_id_set
13317 API: gst_structure_id_set_valist
13319 * gst/parse/grammar.y:
13320 * gst/parse/parse.l:
13321 Remove some dead code shown by the coverage information.
13322 Don't throw a critical g_warning when encountering a syntax error,
13323 just warn and let the normal error path handle it.
13325 * plugins/elements/gstelements.c:
13326 Bump the rank of filesink up to PRIMARY so that it is preferred over
13327 gnomevfssink for file:// sink uri's
13329 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13330 (GST_START_TEST), (run_delayed_test),
13331 (gst_parse_test_element_base_init),
13332 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13333 (gst_parse_test_element_change_state),
13334 (gst_register_parse_element), (parse_suite):
13335 Beef up the tests for parse syntax to check that more error cases
13336 fail as they are supposed to. Increases the test coverage a bit.
13338 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13340 * docs/manual/basics-elements.xml:
13341 Fix gst_element_link() example.
13344 Mention in API docs that one should usually gst_bin_add()
13345 elements to a bin or pipeline before doing the linking.
13347 2006-07-26 Wim Taymans <wim@fluendo.com>
13349 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13350 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13351 Avoid function call for known types by keeping the buffer and
13352 subbuffer GType global.
13354 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13355 Random silly optimisations in read() path.
13357 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13359 * tools/gst-launch.c: (main):
13360 If the top-level of the parse is a normal bin, it doesn't do the
13361 right logic to run as a top-level element, so place it inside a
13364 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13366 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13367 Remove superfluous g_object_notify() calls, GObject does
13368 that for us automatically.
13370 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13373 on Win32, use dllspec to export the debug category symbols
13375 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13377 * gst/gsttaglist.c: (_gst_tag_initialize):
13378 Allow more than one GST_TAG_IMAGE per taglist.
13380 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13382 * gst/gstminiobject.c:
13384 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13385 (gst_fd_src_create):
13386 log recurring events at LOG level
13387 add more debug for when the fd gets set
13389 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13391 * gst/gstparse.c: (gst_parse_launch):
13392 Also remove reentrance checks if flex is MT safe (#348179)
13393 Fix my empty ChangeLog entry below
13395 2006-07-21 Andy Wingo <wingo@pobox.com>
13397 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13399 * libs/gst/check/Makefile.am
13400 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13401 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13402 * libs/gst/check/gstbufferstraw.h:
13403 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13404 functions, thus proving I am still a GStreamer haxor. OK I wrote
13405 them a long time ago, but anyways.
13407 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13410 * gst/gstparse.c: (gst_parse_launch):
13411 Check for flex version and omit mutex if we have a MT save flex
13414 2006-07-21 Wim Taymans <wim@fluendo.com>
13416 * gst/gstparse.c: (gst_parse_launch):
13417 Protect recursive calls to _parse with a recursive mutex
13420 2006-07-21 Wim Taymans <wim@fluendo.com>
13422 * tests/check/gst/gstpad.c: (GST_START_TEST):
13425 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13427 * gst/gstparse.c: (gst_parse_launch):
13428 Do not hang on recursive usage of gst_parse_launch()
13430 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13432 * gst/gsttaglist.c:
13433 Add some more docs, comments and FIXME 0.11s here and there
13434 and also fix some typos.
13436 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13438 * gst/gstsegment.h:
13439 Convert tabs to spaces for better readability.
13441 2006-07-20 Edward Hervey <edward@fluendo.com>
13443 * tests/check/libs/gdp.c: (gst_dp_suite):
13444 the test_buffer test fails at line 140 on ppc64 at the following
13446 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13447 GST_BUFFER_FLAG_IN_CAPS),
13448 "GST_BUFFER_IN_CAPS flag should have been copied !");
13449 See bug #348114 for more details.
13451 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13453 * docs/pwg/advanced-scheduling.xml:
13455 Fix typos (#348000).
13457 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13459 * docs/pwg/intro-basics.xml:
13460 Fix wrong links (#347927).
13462 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13464 * gst/gstregistry.h:
13465 * gst/gstregistryxml.c: (load_feature),
13466 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13467 * win32/common/config.h:
13468 make --disable-index work (#342564)
13470 2006-07-18 Wim Taymans <wim@fluendo.com>
13472 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13476 The attached patch adds two missing defines to gsttrace.h when tracing
13477 is disabled. It also corrects one existing define.
13480 2006-07-17 Wim Taymans <wim@fluendo.com>
13482 * docs/gst/gstreamer-sections.txt:
13483 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13485 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13486 Add two functions to check and change the SIGSEGV behaviour
13487 when loading plugins.
13488 Don't mess with the SIGSEGV handler when we were told not to.
13490 API: gst_segtrap_is_enabled
13491 API: gst_segtrap_set_enabled
13493 2006-07-14 Wim Taymans <wim@fluendo.com>
13495 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13496 * tests/check/elements/filesrc.c: (GST_START_TEST):
13497 Revert fix for regression in #347408 after release.
13499 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13501 Patch by: Antoine Tremblay <hexa00 at gmail com>
13503 * gst/gstutils.c: (gst_element_unlink):
13504 Free iterator when done (#347311).
13506 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13507 And add a test case for this.
13509 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13512 Bump nano back to CVS
13514 === release 0.10.9 ===
13516 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13519 releasing 0.10.9, "On the road again"
13521 2006-07-13 Wim Taymans <wim@fluendo.com>
13523 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13524 * tests/check/elements/filesrc.c: (GST_START_TEST):
13525 Revert pull-0 fix for release. Disable check. Fixes #347408.
13527 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13529 * libs/gst/dataprotocol/dataprotocol.c:
13530 (gst_dp_event_from_packet_1_0):
13531 Fixes #347337: failure to deserialize event packets with
13532 empty payload (only event type)
13534 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13537 do not install a .c file in the header directory
13539 2006-07-13 Edward Hervey <edward@fluendo.com>
13541 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13542 GhostPad no longer implicitely use the padtemplates of the targets.
13545 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13547 * gst/gstvalue.c: (gst_value_compare_list),
13548 (gst_value_compare_array), (_gst_value_initialize):
13549 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13550 Make GstValueArray comparison be order dependent as designed.
13551 Add checks for value lists and value array comparisons.
13554 2006-07-11 Edward Hervey <edward@fluendo.com>
13556 * gst/gstbin.c: (activate_pads),
13557 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13558 (gst_bin_change_state_func):
13559 (de)activate src pads before calling state_change on the childs.
13560 This is to avoid the case where a src ghostpad is blocked (holding the
13561 stream lock), which would block the deactivation of the ghostpad's
13563 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13564 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13565 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13566 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13567 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13568 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13569 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13570 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13571 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13572 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13573 (gst_ghost_pad_class_init),
13574 (gst_ghost_pad_internal_do_activate_push),
13575 (gst_ghost_pad_internal_do_activate_pull),
13576 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13577 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13578 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13579 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13580 GhostPads now create their internal GstProxyPad at creation (and not
13581 when they're linked, as it was being done previously).
13582 The internal and target pads are linked straight away.
13583 The data will also travel through the other pad in order to make
13584 pad blocking and probes non-hackish (the probe/block now really happens
13585 on the GhostPad and not on the target).
13586 * gst/gstpad.c: (gst_pad_set_blocked_async),
13587 (gst_pad_link_prepare), (gst_pad_push_event):
13588 Remove previous ghostpad cruft.
13589 * gst/gstutils.c: (gst_pad_add_data_probe),
13590 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13591 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13592 (gst_pad_remove_buffer_probe):
13593 Remove previous ghost pad cruft.
13594 Added more detailed debug statements.
13595 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13596 Fix the testsuite for refcounting changes.
13597 The comments about who has references were correct, but the refcount
13598 being checked wasn't the same (!?!).
13602 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13604 * docs/gst/gstreamer-sections.txt:
13605 * gst/gstconfig.h.in:
13606 More docs for configuration options, add docs to gtk-doc.
13608 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13611 * gst/gstconfig.h.in:
13612 * win32/common/config.h:
13613 Fix build when disabling tracing (fixes #344016). Also start to document
13614 the defines that disable the sub-systems.
13616 2006-07-10 Edward Hervey <edward@fluendo.com>
13618 * gst/gst.c: (ensure_current_registry_forking):
13619 let's make valgrind happy...
13621 2006-07-09 Wim Taymans <wim@fluendo.com>
13623 * gst/gstelement.c: (activate_pads),
13624 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13625 Better pad activation code: Reset the collect value too on resync.
13628 2006-07-09 Wim Taymans <wim@fluendo.com>
13630 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13631 (gst_pad_activate_push):
13632 Use some more macros where it makes sense.
13633 Allow pad mode switching instead of asserting. When a pad
13634 is activated in one mode and we activate it in another,
13635 deactivate it first before activating it in a different mode.
13638 2006-07-08 Andy Wingo <wingo@pobox.com>
13640 * tools/gst-launch.c (main): Handle err == NULL.
13642 * gst/gst.c (init_post, ensure_current_registry)
13643 (ensure_current_registry_forking)
13644 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13645 factoring out the registry scanning into separate functions. Don't
13646 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13647 Better environment var name/interface suggestions accepted.
13649 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13651 * gst/gstobject.c: (gst_object_set_name_default),
13652 (gst_object_set_name):
13653 Random micro-optimisation: don't use a hash table
13654 with strings as keys and the usual strdup/strcmp
13655 involved, but rather just use the GQuark of the
13656 type name as key, since it needs to be looked up
13657 anyway to get the type name string.
13659 * tests/check/gst/gstobject.c: (GST_START_TEST):
13662 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13664 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13665 (gst_bin_iterate_all_by_interface):
13666 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13667 GTypes are gulongs and thus the top 4 bytes might be cut
13668 off on some platforms when doing GPOINTER_TO_INT, leading
13669 to invalid GTypes and bad things happening (see RH bug #179654).
13670 Also add a check to make sure the type passed in is really
13673 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13678 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13682 * gst-element-check.m4:
13683 * gst-element-check.m4.in:
13684 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13685 instead of the unversioned gst-inspect (#324176, #168659).
13687 2006-07-06 Wim Taymans <wim@fluendo.com>
13689 * gst/gstmessage.h:
13690 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13693 2006-07-06 Wim Taymans <wim@fluendo.com>
13695 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13696 (gst_base_src_wait), (gst_base_src_update_length),
13697 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13698 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13699 (gst_base_src_loop), (gst_base_src_start),
13700 (gst_base_src_activate_pull):
13702 blocksize == 0 now means the default blocksize when working in push
13704 Remove some pointless asserts in _wait function.
13705 Fix offset/length calculations and EOS handling. We can now pull 0
13706 bytes as well, which is allowed.
13707 use _check_get_range() to decide if we can operate in _pull based
13709 Fix refcounting leak when check_get_range function was not
13711 API GstBaseSrc::blocksize range can be 0 too now (default)
13713 * tests/check/elements/filesrc.c: (GST_START_TEST),
13715 Added check to test _get_range() behaviour.
13717 2006-07-06 Wim Taymans <wim@fluendo.com>
13719 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13720 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13721 (gst_pad_pull_range):
13723 Lots of comments and docs added to the pad functions.
13724 Flesh out the expected behaviour of the get_range() functions.
13726 2006-07-06 Wim Taymans <wim@fluendo.com>
13731 * gst/gstiterator.h:
13735 Remove comma at end of enumerator list.
13737 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13739 * win32/common/libgstbase.def:
13740 * win32/common/libgstdataprotocol.def:
13741 * win32/common/libsgtreamer.def:
13742 Add new exported functions.
13744 2006-07-05 Wim Taymans <wim@fluendo.com>
13746 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13747 Add some more docs here and there.
13749 2006-07-05 Wim Taymans <wim@fluendo.com>
13751 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13752 (gst_base_sink_loop), (gst_base_sink_get_position):
13753 When operating in pull mode update the offset so that we
13756 2006-07-05 Wim Taymans <wim@fluendo.com>
13758 * gst/gstregistryxml.c: (read_string):
13759 Avoid strdup. (will happen in libxml, but hey!)
13762 Add some more docs.
13764 2006-07-05 Wim Taymans <wim@fluendo.com>
13766 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13767 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13768 (gst_buffer_suite):
13769 No point in checking if the size of the subbuffer > 0, the
13770 code handles it correclty as demonstrated by unit test.
13771 Also add a unit test for the zero sized _new_and_alloc and
13772 _copy. Fixes #346663.
13774 2006-07-05 Wim Taymans <wim@fluendo.com>
13776 * libs/gst/base/gstbasetransform.c:
13777 (gst_base_transform_prepare_output_buffer),
13778 (gst_base_transform_buffer_alloc),
13779 (gst_base_transform_handle_buffer):
13780 Make sure the buffer we pass to transform_ip has a refcount of
13781 1 and thus is writable. Fixes #343196
13783 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13785 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13786 (gst_file_src_init), (gst_file_src_set_property),
13787 (gst_file_src_get_property), (gst_file_src_map_region):
13788 * plugins/elements/gstfilesrc.h:
13789 Add "sequential" property, off by default, to use madvise and hint
13790 to the kernel that sequential access is desired.
13791 Touch all retrieved pages by default to ensure they are pulled
13792 into memory. (Closes #345720)
13794 2006-07-03 Wim Taymans <wim@fluendo.com>
13796 * docs/design/part-block.txt:
13797 * docs/design/part-dynamic.txt:
13798 Small docs updates.
13800 2006-07-03 Wim Taymans <wim@fluendo.com>
13802 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13803 (gst_caps_unref), (gst_static_caps_get),
13804 (gst_caps_append_structure):
13805 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13806 Use GSlice when the glib we build against is >= 2.10
13808 2006-07-03 Wim Taymans <wim@fluendo.com>
13810 * gst/gstelement.c: (gst_element_pads_activate):
13811 Small cleanup in pad activation code.
13813 2006-07-03 Wim Taymans <wim@fluendo.com>
13815 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13817 * gst/gst-i18n-app.h:
13818 * gst/gst-i18n-lib.h:
13819 * tools/gst-inspect.c: (print_signal_info):
13820 The attached patch will make the inclusion of gettext.h unconditional in
13821 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13822 libintl.h in tools/gst-inspect.c.
13823 This allows use of --disable-nls again and fixes #344642.
13825 2006-07-03 Edward Hervey <edward@fluendo.com>
13827 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13828 Implement pad blocking on events according to part-block.txt.
13829 More comments on behaviour.
13830 * tests/check/gst/gstevent.c: (test_event):
13831 Send event to peer pad of blocked pad (else it will block).
13833 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13835 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13836 (gst_check_run_suite):
13837 if we get the wrong message, give us the types as string
13838 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13840 * tests/check/elements/filesrc.c: (GST_START_TEST):
13841 add a test for trying to open a non-existing file
13843 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13845 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13846 add a test for adding self
13848 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13850 * libs/gst/check/gstcheck.h:
13851 add some assert_ as alias for fail_unless_*
13852 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13853 increase test coverage
13855 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13858 include lcov.mak for lcov coverage generation
13859 * tools/Makefile.am:
13862 2006-07-02 Edward Hervey <edward@fluendo.com>
13864 * tests/check/elements/.cvsignore:
13867 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13870 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13871 * tests/check/Makefile.am:
13872 clean up gcov files
13874 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13876 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13877 remove gst_caps_simplify; it was not declared and not used
13878 and deprecated in 0.8
13880 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13882 * docs/faq/gst-uninstalled:
13883 don't put empty paths on PYTHONPATH
13884 * docs/gst/gstreamer-sections.txt:
13885 remove some symbols that are not there
13887 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13889 * gst/gstcaps.c: (gst_caps_compare_structures):
13891 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13892 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13895 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13897 * libs/gst/dataprotocol/Makefile.am:
13898 build dataprotocol test by linking to the lib, instead of
13899 compiling the source, so we get coverage
13900 * tests/check/Makefile.am:
13901 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13902 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13903 add a test for filesrc
13905 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13907 * tests/check/gst/gststructure.c: (GST_START_TEST),
13908 (gst_structure_suite):
13909 Push coverage from 59.04% to 70.00%
13911 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13913 * tests/check/Makefile.am:
13914 gst-inspect every element; this makes sure that we also get
13915 coverage on element's get/set functions
13917 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13920 set CFLAGS and friends to -O0 if gcov is being used
13923 * libs/gst/base/Makefile.am:
13924 * libs/gst/check/Makefile.am:
13925 * libs/gst/controller/Makefile.am:
13926 * libs/gst/dataprotocol/Makefile.am:
13927 * libs/gst/net/Makefile.am:
13928 * plugins/elements/Makefile.am:
13929 * plugins/indexers/Makefile.am:
13930 add makefile rules to generate gcov data and clean up
13931 * tests/check/Makefile.am:
13932 add a coverage target that generates an html overview
13935 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13937 * tests/check/elements/fakesink.c:
13938 * tests/check/elements/fakesrc.c:
13939 * tests/check/elements/fdsrc.c:
13940 * tests/check/elements/identity.c:
13941 * tests/check/generic/sinks.c: (gst_sinks_suite):
13942 * tests/check/generic/states.c:
13943 * tests/check/gst/gst.c:
13944 * tests/check/gst/gstabi.c:
13945 * tests/check/gst/gstbin.c:
13946 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13947 * tests/check/gst/gstbus.c: (gst_bus_suite):
13948 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13949 * tests/check/gst/gstelement.c:
13950 * tests/check/gst/gstevent.c: (gst_event_suite):
13951 * tests/check/gst/gstghostpad.c:
13952 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13953 * tests/check/gst/gstmessage.c: (gst_message_suite):
13954 * tests/check/gst/gstminiobject.c:
13955 * tests/check/gst/gstobject.c:
13956 * tests/check/gst/gstpad.c:
13957 * tests/check/gst/gstpipeline.c:
13958 * tests/check/gst/gstplugin.c:
13959 * tests/check/gst/gstquery.c: (gst_query_suite):
13960 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13961 * tests/check/gst/gststructure.c:
13962 * tests/check/gst/gstsystemclock.c:
13963 * tests/check/gst/gsttag.c:
13964 * tests/check/gst/gsttask.c: (gst_task_suite):
13965 * tests/check/gst/gstutils.c:
13966 * tests/check/gst/gstvalue.c:
13967 * tests/check/libs/adapter.c:
13968 * tests/check/libs/basesrc.c:
13969 * tests/check/libs/collectpads.c:
13970 * tests/check/libs/controller.c:
13971 * tests/check/libs/gdp.c: (gst_dp_suite):
13972 * tests/check/libs/gstnetclientclock.c:
13973 * tests/check/libs/gstnettimeprovider.c:
13974 * tests/check/libs/libsabi.c: (libsabi_suite):
13975 * tests/check/libs/typefindhelper.c:
13976 * tests/check/pipelines/cleanup.c:
13977 * tests/check/pipelines/parse-launch.c:
13978 * tests/check/pipelines/simple-launch-lines.c:
13979 * tests/check/pipelines/stress.c: (stress_suite):
13982 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13984 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13985 * libs/gst/check/gstcheck.h:
13986 create a macro and function so that the simple unit test
13987 case can be just one macro to create main()
13989 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13991 * gst/gstbin.c: (gst_bin_restore_thyself):
13992 * gst/gstxml.c: (gst_xml_make_element):
13993 Fix deserialisation from XML. Set parent manually
13994 instead of using gst_bin_add(), since gst_bin_add()
13995 will unlink all pads of the element being added.
13998 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14000 Patch by: Peter Kjellerstedt <pkj at axis com>
14002 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14003 Fix missing g_strdup() and double free when using the
14004 --gst-plugin-load command line option (#346097).
14006 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14009 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14011 * libs/gst/net/gstnetclientclock.c:
14012 * libs/gst/net/gstnettimeprovider.c:
14013 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14015 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14017 * docs/manual/advanced-dataaccess.xml:
14018 Fix buffer probe example compilation in
14021 2006-06-22 Edward Hervey <edward@fluendo.com>
14023 * gst/gstelement.c: (gst_element_pads_activate):
14024 We need to deactivate src pads first and then sink pads.
14025 The reason is the src pads might be blocking while holding the streaming
14026 lock, so we need to deactivate them first so that deactivating the sink
14027 pads doesn't block (since it will require the streaming lock).
14029 2006-06-22 Wim Taymans <wim@fluendo.com>
14031 * libs/gst/base/gstbasetransform.c:
14032 (gst_base_transform_buffer_alloc):
14033 Forgot to remove two unneeded unrefs.
14034 Simplify a check _is_equal allready checks the obvious case.
14036 2006-06-22 Wim Taymans <wim@fluendo.com>
14038 * docs/design/part-block.txt:
14039 Some docs about what pad_block should do.
14041 2006-06-22 Wim Taymans <wim@fluendo.com>
14043 * gst/gstcaps.c: (gst_caps_replace):
14044 Fix crasher when passed NULL. Doc clarification.
14045 Optimize for the trivial case.
14047 * gst/gstpipeline.c: (gst_pipeline_change_state):
14050 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14051 Small documentation cleanup.
14053 * libs/gst/base/gstbasetransform.c:
14054 (gst_base_transform_buffer_alloc):
14055 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14056 is what we need and it avoids a whole lot of redundant
14057 refcount operations.
14059 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14061 Patch by: Philip Jägenstedt <philip at lysator liu se>
14063 * docs/manual/advanced-dataaccess.xml:
14064 Fix 'Embedding static elements' section to use
14065 GST_PLUGIN_DEFINE_STATIC (#345607).
14067 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14069 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14070 Attempt to 'fix' spuriously failing test case: it seems like the
14071 timeout of half a second is simply too small when the system is under
14072 load otherwise, and the timeout doesn't really seem to serve any
14073 particular purpose here. Give the pipeline a few seconds to preroll
14074 first, and then give it another half a second to go from PAUSED to
14075 PLAYING and marshal the message into the main thread.
14077 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14079 * tools/gst-feedback-m.m:
14080 Don't only use unversioned tools, try versioned tools as well
14083 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14085 * gst/gstbus.c: (gst_bus_class_init):
14086 Fix some typos, make docs more explicit.
14088 2006-06-20 Wim Taymans <wim@fluendo.com>
14090 * tests/check/gst/gstghostpad.c: (block_callback),
14091 (GST_START_TEST), (gst_ghost_pad_suite):
14092 Added some more ghostpad tests, mainly blocking
14095 2006-06-16 Wim Taymans <wim@fluendo.com>
14097 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14098 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14099 (gst_file_sink_event), (gst_file_sink_render):
14100 * plugins/elements/gstfilesink.h:
14101 Check if we can seek in the file instead of assuming
14102 we always can. Post an error when we are asked to seek in a
14103 non-seekable file (like a fifo). Fixes #343312.
14106 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14108 * tools/gst-launch.1.in:
14109 Un-garble (fourcc) bit in filtered caps section.
14111 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14113 * docs/manual/advanced-autoplugging.xml:
14114 * docs/manual/basics-helloworld.xml:
14115 * docs/manual/highlevel-components.xml:
14116 Don't leak bus reference in sample code.
14118 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14121 Add default for new --enable-plugin-docs switch.
14124 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14127 * docs/Makefile.am:
14128 Use new ENABLE_PLUGIN_DOCS conditional.
14130 2006-06-14 Wim Taymans <wim@fluendo.com>
14132 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14133 Make it clear with a FIXME and a real define what the #if 0
14134 previously disabled.
14136 2006-06-14 Wim Taymans <wim@fluendo.com>
14138 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14139 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14140 * libs/gst/base/gstbasetransform.c:
14141 (gst_base_transform_sink_eventfunc):
14142 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14143 Don't randomly and silently reset a segment when the format
14144 changes as this is a bug somewhere upstream. Fixes #330379.
14146 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14148 Patch by: Wouter Paesen <wouter at kangaroot net>
14150 * libs/gst/controller/gstcontroller.c:
14151 (gst_controlled_property_new):
14152 Fix controlling of float properties (#344849).
14154 * tests/check/libs/controller.c:
14155 (gst_test_mono_source_get_property),
14156 (gst_test_mono_source_set_property),
14157 (gst_test_mono_source_class_init), (GST_START_TEST):
14158 While we're at it, add some float stuff to unit test.
14160 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14163 * docs/images/gdp-header.svg:
14165 * docs/libs/Makefile.am:
14166 * docs/libs/gdp-header.png:
14167 * libs/gst/dataprotocol/dataprotocol.c:
14168 add it to the API docs
14169 * docs/manual/intro-motivation.xml:
14172 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14174 * gst/gst.c: (scan_and_update_registry), (init_post):
14175 If the fork()'ed child process can't write the updated registry cache
14176 file to disk for some reason, make it exit with a failure exit code,
14177 so that the parent can then re-scan the plugins itself and update the
14178 registry structures in memory and work with that (rather than failing
14179 when creating elements because seemingly no plugins are available).
14180 Refactor registry scanning code into separate function for this and
14181 also separate fork() and non-fork() code paths. Fixes #344748.
14183 2006-06-13 Wim Taymans <wim@fluendo.com>
14185 * docs/manual/advanced-dataaccess.xml:
14186 Fix wrong PluginDesc. Fixes #344755.
14188 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14190 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14191 Fix silly bug that prevented us from creating
14192 ~/.gstreamer-0.10 and writing the registry in one
14193 go (the first call to g_mkstemp() would overwrite the
14194 placeholder in the template string, so the second call
14195 to g_mkstemp() after creating the missing directory
14196 would then error out with 'invalid argument').
14198 2006-06-13 Edward Hervey <edward@fluendo.com>
14200 * gst/gst.c: (init_post):
14203 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14205 * gst/glib-compat-private.h:
14206 * gst/glib-compat.c:
14207 * gst/glib-compat.h:
14208 * gst/gstvalue.c: (gst_value_serialize_flags):
14209 remove GLib 2.6 compatibility code
14211 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14213 * gst/parse/Makefile.am:
14214 Fix build with 'make -j N' even more (#340016).
14216 2006-06-12 Wim Taymans <wim@fluendo.com>
14218 * docs/gst/gstreamer-sections.txt:
14221 2006-06-12 Wim Taymans <wim@fluendo.com>
14223 * gst/gstsegment.c: (gst_segment_set_duration),
14224 (gst_segment_set_last_stop), (gst_segment_set_seek),
14225 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14226 (gst_segment_to_running_time), (gst_segment_clip):
14227 Use G_UNLIKELY to help the compiler a bit.
14229 2006-06-12 Wim Taymans <wim@fluendo.com>
14231 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14233 * gst/gstevent.c: (gst_event_get_type):
14234 * gst/gstmessage.c:
14235 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14237 constify quark registration strings. Fixes #344115
14238 Avoid unneeded type checking is _pad_push() by internally
14239 calling gst_pad_chain_unchecked().
14241 2006-06-12 Wim Taymans <wim@fluendo.com>
14243 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14244 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14245 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14246 (gst_buffer_is_span_fast), (gst_buffer_span):
14247 Init _type for consistency.
14248 Use _FLAGS macro to avoid type check.
14249 Avoid unneeded type checks in subbufer code.
14251 2006-06-12 Wim Taymans <wim@fluendo.com>
14253 * gst/gst.c: (gst_debug_help):
14254 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14255 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14256 (gst_plugin_feature_list_free):
14257 * gst/gstregistry.c: (gst_registry_add_plugin),
14258 (gst_registry_add_feature), (gst_registry_plugin_filter),
14259 (gst_registry_feature_filter), (gst_registry_find_plugin),
14260 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14261 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14262 * gst/gstregistryxml.c: (load_feature),
14263 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14264 * gst/gstminiobject.c: (gst_mini_object_unref),
14265 (gst_mini_object_replace), (gst_value_mini_object_free),
14266 (gst_value_mini_object_copy):
14267 Use _CAST macros to avoid unneeded type checking.
14268 Added some more G_UNLIKELY.
14270 2006-06-12 Wim Taymans <wim@fluendo.com>
14273 Avoid unneeded type checking.
14274 API: GST_BUFFER_IS_DISCONT
14276 * gst/gstminiobject.h:
14277 Avoid type check in flag accessor.
14279 * gst/gstelementfactory.h:
14281 * gst/gstpluginfeature.h:
14283 API: GST_ELEMENT_FACTORY_CAST
14284 API: GST_PLUGIN_CAST
14285 API: GST_PLUGIN_FEATURE_CAST
14287 2006-06-12 Wim Taymans <wim@fluendo.com>
14289 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14290 (gst_object_unref):
14291 Add G_UNLIKELY in type registration.
14292 Avoid type check in _ref/_unref since that is also
14295 2006-06-12 Wim Taymans <wim@fluendo.com>
14297 * gst/gsterror.c: (gst_g_error_get_type):
14298 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14299 (gst_static_pad_template_get_type):
14300 * gst/gsttaglist.c: (gst_tag_list_get_type):
14301 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14302 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14303 * gst/gsturi.c: (gst_uri_handler_get_type):
14304 * gst/gstvalue.c: (gst_date_get_type):
14305 * gst/gstxml.c: (gst_xml_get_type):
14306 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14307 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14308 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14309 Add G_UNLIKELY in type registration.
14311 2006-06-12 Wim Taymans <wim@fluendo.com>
14313 * tools/gst-inspect.c: (print_signal_info):
14314 Properly print enum values.
14316 2006-06-12 Wim Taymans <wim@fluendo.com>
14318 * gst/gstinfo.c: (gst_debug_set_active),
14319 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14321 Add some G_[UN]LIKELY.
14322 Maintain __gst_debug_min to avoid formatting the arguments of
14323 debug messages that will be dropped anyway to avoid a lot of
14324 overhead from the debugging system.
14326 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14329 * po/POTFILES.skip:
14330 add missing files containing translatable strings, tell intltool about
14333 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14335 * tests/check/libs/.cvsignore:
14336 add test-binary to ignore list
14338 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14340 * docs/libs/gstreamer-libs-docs.sgml:
14341 reorder (put dp into a chapter) and indent
14343 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14348 === release 0.10.8 ===
14350 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14353 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14355 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14357 * gst/gst.c: (init_post):
14358 move pid declaration to declaration block
14360 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14362 * gst/gst.c: (init_post):
14363 use _exit() instead of exit() in our forked child; this ensures
14364 that none of the registered exit handlers from whatever is using
14365 GStreamer get executed. This fixes gnome-mixer-applet failing
14366 to load, because ORBit would shut down.
14367 Spotted by: Edward Hervey <edward@fluendo.com>
14368 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14371 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14376 === release 0.10.7 ===
14378 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14381 releasing 0.10.7, "Soepeke, ik zie ou"
14383 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14406 * win32/common/config.h:
14407 0.10.6.2 prerelease
14409 2006-06-07 Wim Taymans <wim@fluendo.com>
14411 * gst/gstindex.c: (gst_index_gtype_resolver):
14412 * tools/gst-xmlinspect.c: (print_plugin_info):
14413 Fix leak spotted by coverity checker. Fixes #343827
14414 Fix another other leak found by paolo borelli.
14416 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14418 * libs/gst/dataprotocol/dataprotocol.c:
14419 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14420 (gst_dp_version_get_type), (gst_dp_init),
14421 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14422 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14423 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14424 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14425 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14426 (gst_dp_packetizer_free):
14427 * libs/gst/dataprotocol/dataprotocol.h:
14428 API: add a GstDPPacketizer object, and create/free functions
14429 API: add GstDPVersion enum
14430 Add 1.0 event function that uses the string serialization
14431 Serialize more useful buffer flags
14434 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14436 * tests/check/Makefile.am:
14437 * tests/check/gst/gstabi.c:
14438 * tests/check/gst/struct_ppc64.h:
14439 * tests/check/libs/libsabi.c:
14440 * tests/check/libs/struct_ppc64.h:
14441 add ppc64 structure sizes
14443 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14445 * tests/check/Makefile.am:
14446 * tests/check/gst/gstabi.c:
14447 * tests/check/gst/struct_x86_64.h:
14448 * tests/check/libs/libsabi.c:
14449 * tests/check/libs/struct_x86_64.h:
14450 generate and add structure size lists for x86_64
14452 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14454 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14455 * libs/gst/check/gstcheck.h:
14456 factor out the method from tests that checks size of structures,
14457 and add code to generate the header containing these sizes
14458 * tests/check/gst/gstabi.c: (GST_START_TEST):
14459 * tests/check/gst/struct_i386.h:
14460 * tests/check/libs/libsabi.c: (GST_START_TEST):
14461 * tests/check/libs/struct_i386.h:
14464 2006-06-06 Michael Smith <msmith@fluendo.com>
14466 * gst/gstsegment.h:
14467 Don't use c++-style comments, fixes #343929
14469 2006-06-05 Edward Hervey <edward@fluendo.com>
14472 plugin_paths is not used if we build without registry support.
14474 * gst/gstsegment.c: (gst_segment_copy):
14475 _copy() was always returning NULL...
14477 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14479 * libs/gst/dataprotocol/dataprotocol.c:
14480 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14481 (gst_dp_packet_from_event):
14482 factor out CRC code
14484 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14486 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14487 make sure we unset caps
14489 2006-06-02 Michael Smith <msmith@fluendo.com>
14491 * libs/gst/check/gstcheck.c: (gst_check_init),
14492 (gst_check_chain_func):
14493 * libs/gst/check/gstcheck.h:
14494 Add a cond/mutex to the check support lib, signal this whenever we
14495 add to the buffers list. This will allow tests to not busy-wait on
14498 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14500 * libs/gst/dataprotocol/dataprotocol.c:
14501 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14502 (gst_dp_packet_from_event):
14503 factor out some common header init code
14505 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * docs/libs/gstreamer-libs-sections.txt:
14508 * docs/libs/tmpl/gstdataprotocol.sgml:
14509 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14510 * libs/gst/dataprotocol/dataprotocol.h:
14511 API: make gst_dp_crc() public
14513 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14515 * plugins/indexers/gstindexers.c: (plugin_init):
14516 conditionally register fileindexer (fixes #343598)
14518 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14520 * gst/gsttagsetter.h:
14521 Can't cast ifaces to a class
14523 * libs/gst/net/gstnetclientclock.h:
14524 * libs/gst/net/gstnettimeprovider.h:
14525 * plugins/elements/gstfakesink.h:
14526 * plugins/elements/gstfakesrc.h:
14527 * plugins/elements/gstfdsink.h:
14528 * plugins/elements/gstfdsrc.h:
14529 * plugins/elements/gstfilesink.h:
14530 * plugins/elements/gstfilesrc.h:
14531 * plugins/elements/gstidentity.h:
14532 * plugins/elements/gstqueue.h:
14533 * plugins/elements/gsttee.h:
14534 * plugins/indexers/gstfileindex.c:
14535 * plugins/indexers/gstmemindex.c:
14536 * tests/old/examples/plugins/example.h:
14537 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14539 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14541 * libs/gst/dataprotocol/dataprotocol.c:
14542 (gst_dp_header_from_buffer):
14543 make sure we zero the whole ABI-compatible area
14545 2006-06-01 Wim Taymans <wim@fluendo.com>
14547 Patch by: Alessandro Decina <alessandro at nnva dot org>
14549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14550 Make sure the EOS flag is cleared from pads after a flush
14551 or stop. Fixes #343538.
14553 * tests/check/libs/collectpads.c: (GST_START_TEST),
14554 (gst_collect_pads_suite):
14555 Added test for collectpads reusage after EOS.
14557 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14560 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14561 * win32/common/libgstbase.def:
14562 export gst_collect_pads_set_flushing
14563 * win32/common/libgstreamer.def:
14564 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14565 gst_value_fraction_multiply
14566 * win32/vs6/gst_inspect.dsp:
14567 add a link to intl.lib
14569 2006-05-30 Wim Taymans <wim@fluendo.com>
14571 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14572 (gst_collect_pads_chain):
14573 Handle the case where a pad is removed from the collection
14574 that could cause the other pads to become collectable.
14576 2006-05-30 Wim Taymans <wim@fluendo.com>
14578 * gst/gstelement.c:
14579 Clarify the use of _release_request_pad() and
14580 _get_request_pad() a bit better.
14582 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14583 (gst_adapter_take_buffer):
14584 Fix some doc and comment typos.
14586 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14588 * docs/gst/gstreamer-sections.txt:
14589 * docs/libs/gstreamer-libs-sections.txt:
14590 add declared symbols
14592 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14594 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14595 Add debug that can be enabled using a #define at the top of the file,
14596 for dumping stats about how late/early we were when waking up from
14597 waiting on the clock.
14599 2006-05-30 Wim Taymans <wim@fluendo.com>
14601 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14602 When rebuilding the pad list, don't leak the previous list.
14604 2006-05-30 Wim Taymans <wim@fluendo.com>
14606 Patch by: Lutz Mueller <lutz at topfrose dot de>
14608 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14609 (gst_base_src_get_query_types), (gst_base_src_update_length):
14610 Publish supported query types.
14611 Update last_stop field in get_range mode so the position
14612 query works. Fixes #342321.
14614 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14616 * docs/gst/gstreamer-sections.txt:
14617 * gst/gsttaglist.c: (_gst_tag_initialize):
14618 * gst/gsttaglist.h:
14619 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14621 2006-05-30 Wim Taymans <wim@fluendo.com>
14623 Patch by: Alessandro Decina <alessandro at nnva dot org>
14625 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14626 Unlock mutex when removing an unknown pad.
14629 * tests/check/Makefile.am:
14630 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14631 (push_event), (setup), (teardown), (GST_START_TEST),
14632 (gst_collect_pads_suite), (main):
14633 Added collecpads check, disabled for now as check crashes for
14636 2006-05-29 Wim Taymans <wim@fluendo.com>
14638 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14639 Don't leak pads lists.
14641 2006-05-29 Wim Taymans <wim@fluendo.com>
14643 * docs/libs/gstreamer-libs-sections.txt:
14644 * libs/gst/base/gstcollectpads.c:
14645 (gst_collect_pads_set_flushing_unlocked),
14646 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14647 (gst_collect_pads_stop):
14648 * libs/gst/base/gstcollectpads.h:
14649 API: gst_collect_pads_set_flushing()
14650 Added api to set the pads to flushing, useful for seeking
14651 code in elements using collectpads.
14652 Clear segment when receiving a flush.
14654 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14656 * gst/gst.c: (add_path_func), (init_post):
14657 Don't scan registry paths passed via --gst-plugin-path immediately
14658 (will crash, because absolutely nothing is set up and no types are
14659 registered etc.); do this later in init_post(). Fixes #343057.
14661 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14663 * gst/gst.c: (init_post):
14664 if we have fork, fork while reading/rebuilding the registry
14665 so the parent doesn't take the hit of having all plugins loaded
14666 in memory. Fixes #342777.
14668 Check if we have fork()
14669 * win32/common/config.h.in:
14672 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14674 * plugins/elements/gstelements.c:
14675 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14676 (gst_file_src_init), (gst_file_src_set_property),
14677 (gst_file_src_get_property), (gst_file_src_start):
14678 * plugins/elements/gstfilesrc.h:
14679 API: GstFileSrc::use-mmap
14681 Add a use-mmap property to enable easier testing of all code paths.
14682 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14683 in the absence of gnomevfssrc. (Closes #340501)
14685 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14687 * tools/gst-inspect.c:
14688 Add missing include, removes warning of ngettext not being defined on
14691 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14693 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14694 Handle NULL input and output pointers silently as a failed conversion,
14695 rather than g_warnings.
14697 2006-05-25 Wim Taymans <wim@fluendo.com>
14699 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14700 Initialize variable before using. Fixes #342820.
14702 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14704 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14705 Fix off-by-one bug that would only allow peeks of N-1 bytes
14706 from the start even if the buffer to typefind on contains
14707 in fact N bytes of data (makes vorbis typefinding from a
14708 vorbis identification header buffer work).
14710 * tests/check/Makefile.am:
14711 * tests/check/libs/.cvsignore:
14712 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14713 (gst_typefindhelper_suite), (main), (foobar_typefind),
14715 Add very basic unit test for gst_type_find_helper_for_buffer()
14716 that checks for the problem fixed above.
14718 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14720 * tools/gst-inspect.c: (print_interfaces),
14721 (print_element_properties_info), (print_element_list), (main):
14722 add more translatable strings
14724 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14726 Patch by: Julien Moutte <julien at moutte net>
14728 * docs/gst/gstreamer-sections.txt:
14729 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14731 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14732 (gst_fake_sink_preroll):
14733 * plugins/elements/gstfakesink.h:
14734 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14736 2006-05-23 Wim Taymans <wim@fluendo.com>
14738 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14740 Added _CUSTOM error and success GstFlowReturn that can be
14741 used be elements internally.
14742 Added macro to check for SUCCESS flowreturns.
14743 API: GST_FLOW_CUSTOM_SUCCESS
14744 API: GST_FLOW_CUSTOM_ERROR
14745 API: GST_FLOW_IS_SUCCESS
14747 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14748 Added check for GstFlowReturn sanity.
14750 2006-05-23 Wim Taymans <wim@fluendo.com>
14752 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14754 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14755 (gst_collect_pads_event):
14756 clear/reset segment info in FLUSH_STOP.
14759 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14761 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14762 (gst_collect_pads_check_collected):
14763 Flush queued buffer on _stop(), fixes playing again (#342454)
14765 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14767 * tests/check/gst/gststructure.c: (GST_START_TEST),
14768 (gst_structure_suite):
14769 add a test for a complete structure
14771 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14773 * docs/faq/developing.xml:
14774 * docs/faq/faq.xml:
14775 * docs/faq/troubleshooting.xml:
14776 * docs/faq/using.xml:
14777 Some minor FAQ updates that won't change the fact that
14778 our FAQ is badly structured, full of information hardly
14779 anyone new to GStreamer needs to know and lacking lots
14780 of information people constantly ask for.
14782 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14784 * gst/gstpad.c: (gst_pad_set_caps):
14785 Short-circuit gst_pad_set_caps if setting the existing
14786 caps pointer again, and avoid printing debug and
14787 reffing/unreffing the caps.
14789 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14790 There's actually no need to set the caps before pushing -
14791 the acceptcaps method will handle it anyway.
14793 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14795 * docs/gst/gstreamer-sections.txt:
14796 * win32/common/libgstreamer.def:
14797 * gst/gstutils.c: (gst_element_seek_simple):
14799 API: add gst_element_seek_simple() (#342238).
14801 2006-05-18 Edward Hervey <edward@fluendo.com>
14803 * gst/gsttypefind.c: (gst_type_find_get_type):
14804 * gst/gsttypefind.h:
14805 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14806 registered for GstTypeFind pointers. This allows wrapping the structure
14807 in bindings (i.e. gst-python).
14809 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14811 * gst/gsttagsetter.c:
14812 Docs additions and fixes (see #339918).
14814 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14816 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14817 The caps intersection algorithm can produce multiple copies of the
14818 caps. Until that is fixed, we need to simplify the result to be
14819 sure whether the allowed caps are fixed or not.
14821 * plugins/elements/gstqueue.c: (gst_queue_init),
14822 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14823 (gst_queue_push_one):
14824 Proxied buffer alloc should not set the caps on the source pad.
14825 When pushing buffers, we always accept the caps change that triggers.
14826 This prevents negotiation errors caused by caps changing mid-stream
14827 and then being refused on our source pad (because upstream is now
14828 refusing those caps).
14830 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14832 * tests/examples/helloworld/helloworld.c: (main):
14833 Must plug audioconvert and audioresample between decoder
14836 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14838 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14839 (load_feature), (load_plugin):
14840 Allow empty strings for some of the plugin fields so we don't
14841 drop valid plugin entries that were written out correctly
14844 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14846 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14847 Use g_remove and g_rename instead of remove and rename that don't
14848 handle utf8 characters. rename was failing for users who had specific
14849 characters in their name then the registry was built at each
14851 * win32/vs6/gst_inspect.dsp:
14852 * win32/vs6/gst_launch.dsp:
14853 * win32/vs6/libgstbase.dsp:
14854 * win32/vs6/libgstcoreelements.dsp:
14855 * win32/vs6/libgstreamer.dsp:
14856 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14857 build of libgstreamer and clean unused libraries in projects link
14860 2006-05-17 Edward Hervey <edward@fluendo.com>
14862 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14863 The queue is not responsible for pushing an EOS when receiving a fatal
14864 flow error. It's up to the real element driving the pipeline to do that.
14866 2006-05-16 Edward Hervey <edward@fluendo.com>
14868 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14869 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14870 buffer returned a fatal error. It should just send an EOS and stop
14872 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14873 when pushing buffers on the queue and will be able to handle the event.
14875 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14877 * docs/manual/basics-bins.xml:
14878 * docs/manual/basics-init.xml:
14879 Fix typos and minor errors in sample code (#341856).
14881 2006-05-16 Wim Taymans <wim@fluendo.com>
14883 * docs/design/part-qos.txt:
14884 Fix indexes in formulas to make more sense.
14886 2006-05-15 Wim Taymans <wim@fluendo.com>
14888 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14889 Don't report POSITION based on clock time if sync is
14890 disabled in a sink.
14892 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14895 Add cast to make compiler happy - refcount variable was a gint
14896 in GstObject but is a guint in GObject and g_atomic_int_get()
14899 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14901 * gst/parse/Makefile.am:
14902 chain commands using &&, which also makes parallel make work
14904 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14906 * docs/gst/gstreamer-sections.txt:
14909 * gst/gstmessage.h:
14912 === release 0.10.6 ===
14914 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14917 releasing 0.10.6, "Take the cannoli"
14919 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14921 * tools/gst-launch.c: (print_tag):
14922 Fix use of uninitialized variable in the hypothetical
14923 case that some broken plugin creates a GST_TAG_IMAGE
14924 tag containing a NULL buffer (#341667).
14926 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14928 * tools/gst-launch.c: (print_tag):
14929 Print something more intelligible for image tags when
14930 using the -t switch (#341556).
14932 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14937 define GST_MAJORMINOR so we have it available in win32/common/config.h
14938 Possibly remove it from our Makefile.am files later
14939 * win32/common/config.h:
14940 * win32/common/config.h.in:
14941 added GST_MAJORMINOR
14942 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14943 * win32/common/gstversion.h:
14946 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14949 Update win32 files listing.
14950 * win32/common/gstversion.h:
14951 Add GST_MAJORMINOR definition.
14952 * win32/common/libgstreamer.def:
14953 Add new exported functions.
14955 2006-05-12 Michael Smith <msmith@fluendo.com>
14957 * gst/gstplugin.c: (gst_plugin_load_file):
14958 If an so file has no plugin entry point, unload the module.
14960 2006-05-11 Wim Taymans <wim@fluendo.com>
14962 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14963 (gst_queue_set_property):
14964 Don't forget to signal the _chain or _loop function
14965 when the queue size or thresholds change since that might
14966 cause them to make progres again.
14968 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14970 * gst/gstclock.c: (gst_clock_class_init):
14971 * gst/gstindex.c: (gst_index_class_init):
14972 * gst/gstobject.c: (gst_object_class_init):
14973 * gst/gstpad.c: (gst_pad_class_init):
14974 * gst/gstpipeline.c: (gst_pipeline_class_init):
14975 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14976 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14977 * libs/gst/base/gstbasetransform.c:
14978 (gst_base_transform_class_init):
14979 * libs/gst/net/gstnetclientclock.c:
14980 (gst_net_client_clock_class_init):
14981 * libs/gst/net/gstnettimeprovider.c:
14982 (gst_net_time_provider_class_init):
14983 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14984 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14985 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14986 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14987 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14988 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14989 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14990 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14991 * plugins/elements/gsttee.c: (gst_tee_class_init):
14992 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14993 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14994 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14996 2006-05-11 Wim Taymans <wim@fluendo.com>
14998 * gst/gstbuffer.c: (_gst_buffer_initialize):
14999 Register subbufer along with the buffer type so that
15000 it does not accidentally gets registered from N
15001 different streaming threads in a non threadsafe way.
15003 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15007 * gst/gstmessage.h:
15008 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15009 gst_event_ref() and gst_message_ref() functions again
15010 (ugly hack, please do fix if there's a better way besides
15011 overrides.txt, which doesn't seem to work).
15013 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15015 * libs/gst/check/gstcheck.h:
15016 add an assert for setting state to avoid lots of repetitive code
15019 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15021 * gst/gstvalue.c: (gst_value_serialize_flags):
15022 fix a leak if no flags are set
15023 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15026 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15028 * docs/manual/basics-pads.xml:
15029 Expand a bit on caps and filtered links and update
15030 examples that were still using the no longer existing
15031 gst_pad_link_filtered() (#338206).
15033 2006-05-10 Wim Taymans <wim@fluendo.com>
15035 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15036 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15037 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15038 (gst_collect_pads_stop):
15039 * libs/gst/base/gstcollectpads.h:
15040 No need to call _stop in _finalize.
15041 Iterate the main pad list in _finalize.
15042 Added some more debug.
15043 Free lists and data in the right order.
15044 Also free data whem doing _remove_pad when stopped for
15045 backward compatibility protect ::started with PAD_LOCK as
15048 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15050 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15051 (gst_structure_parse_value):
15053 rename a method so that it actually says what it does better
15055 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15057 * gst/gstevent.c: (_gst_event_initialize):
15058 * gst/gstformat.c: (_gst_format_initialize):
15059 make sure some essential types used by events are registered
15060 as part of gst_init()
15061 * gst/gstvalue.c: (gst_value_serialize_flags):
15062 if no flags are set, serialize them to a value that represents NONE
15063 so that deserializing them works
15064 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15065 add tests for serialization and deserialization of flags
15067 2006-05-10 Wim Taymans <wim@fluendo.com>
15069 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15070 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15071 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15072 (gst_collect_pads_event), (gst_collect_pads_chain):
15075 Catch and return errors from the collect function
15076 Refuse data on eos pads.
15078 2006-05-10 Edward Hervey <edward@fluendo.com>
15080 * gst/gstinterface.h:
15081 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15082 GInterface type checking.
15083 They were previously using non-defined macros.
15085 2006-05-09 Wim Taymans <wim@fluendo.com>
15087 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15088 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15089 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15090 (gst_collect_pads_start), (gst_collect_pads_stop),
15091 (gst_collect_pads_peek), (gst_collect_pads_pop),
15092 (gst_collect_pads_available), (gst_collect_pads_read),
15093 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15094 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15095 (gst_collect_pads_chain):
15096 * libs/gst/base/gstcollectpads.h:
15097 Clean up the mess that is collectpads, add comments and
15098 FIXMEs where needed.
15099 Maintain a separate pad list so we can add pads while
15100 collecting the other ones. For this we need a new separate
15102 Fix memory leak in finalize.
15103 Refactor some weird code to set/unset pad flushing flags, mark
15105 Don't crash in _available, _read, _flush when we're EOS.
15107 * tests/check/libs/.cvsignore:
15108 Ignore adapter check binary.
15110 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15112 * gst/gstindex.c: (gst_index_resolver_get_type):
15113 * plugins/elements/gstfakesink.c:
15114 (gst_fake_sink_state_error_get_type):
15115 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15116 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15117 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15118 Const-ify GEnumValue arrays.
15120 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15122 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15123 Add test case for flags + gst_buffer_make_metadata_writable().
15125 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15127 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15128 gst_buffer_make_metadata_writable() should maintain the
15129 buffer flags (those that make sense at least) (see #340859).
15131 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15133 * tools/gst-inspect.c:
15134 * tools/gst-launch.c:
15135 * tools/gst-typefind.c:
15136 * tools/gst-xmlinspect.c:
15138 Fix up includes: need to include stdlib.h in tools.h for exit().
15140 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15142 * gst/gsttaglist.c: (_gst_tag_initialize):
15143 * gst/gsttaglist.h:
15144 API: add GST_TAG_IMAGE tag (#340721).
15146 2006-05-08 Wim Taymans <wim@fluendo.com>
15149 Added some docs for the segment query.
15151 2006-05-08 Wim Taymans <wim@fluendo.com>
15153 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15154 (gst_base_src_loop), (gst_base_src_change_state):
15155 Always push non-flushing serialized events in the streaming
15158 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15160 * gst/gsterror.c: (_gst_stream_errors_init):
15161 Add a missing error string.
15163 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15165 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15166 Add applied_rate to the debug
15168 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15169 Copy applied_rate into the outgoing NEWSEGMENT event
15171 2006-05-08 Wim Taymans <wim@fluendo.com>
15173 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15175 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15176 (gst_base_sink_change_state):
15177 call ::unlock before taking the PREROLL_LOCK so we can safely
15178 handle elements that lock in ::render.
15181 2006-05-08 Edward Hervey <edward@fluendo.com>
15183 * autogen.sh: (CONFIGURE_DEF_OPT):
15184 Darwin's libtoolize is in fact called glibtoolize.
15185 Adding glibtoolize to the list of accepted names for libtoolize.
15187 2006-05-08 Wim Taymans <wim@fluendo.com>
15189 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15190 Unify error handling, don't post an error message
15191 when a push() returns EOS but perform our normal EOS
15192 handling code. Fixes #340772.
15194 2006-05-08 Wim Taymans <wim@fluendo.com>
15196 * docs/design/part-overview.txt:
15197 Make upsteam/downstream concepts more clear.
15198 Give an example of serialized/non-serialized events.
15200 * docs/design/part-events.txt:
15201 * docs/design/part-streams.txt:
15202 Mention applied_rate.
15204 * docs/design/part-trickmodes.txt:
15205 Mention applied rate, flesh out some more use cases.
15207 * gst/gstevent.c: (gst_event_new_new_segment),
15208 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15209 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15210 (gst_event_parse_tag), (gst_event_new_buffer_size),
15211 (gst_event_parse_buffer_size), (gst_event_new_qos),
15212 (gst_event_parse_qos), (gst_event_parse_seek),
15213 (gst_event_new_navigation):
15215 Add applied_rate field to NEWSEGMENT event.
15216 API: gst_event_new_new_segment_full()
15217 API: gst_event_parse_new_segment_full()
15219 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15220 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15221 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15222 * gst/gstsegment.h:
15223 Add applied_rate to GstSegment structure.
15224 Make calculation of stream_time and running_time more correct
15225 wrt rate/applied_rate.
15226 Add some more docs.
15227 API: GstSegment::applied_rate field
15228 API: gst_segment_set_newsegment_full();
15230 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15231 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15232 * libs/gst/base/gstbasetransform.c:
15233 (gst_base_transform_sink_eventfunc),
15234 (gst_base_transform_handle_buffer):
15235 Parse and use applied_rate in the GstSegment field.
15237 * tests/check/gst/gstevent.c: (GST_START_TEST):
15238 Add check for applied_rate field.
15240 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15241 (gstsegments_suite):
15242 Add more checks for various GstSegment operations.
15244 2006-05-08 Wim Taymans <wim@fluendo.com>
15246 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15247 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15248 (gst_base_sink_get_position), (gst_base_sink_change_state):
15249 Store the sync time of the buffer end position separatly in a
15250 new variable eos_rtime so we can properly sync the EOS event.
15252 Fix the docs for gst_base_sink_set_qos_enabled().
15253 Don't set segment start to invalid value when we receive a
15254 non TIME newsegment.
15255 get closer to handling position reporting for negative rates
15258 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15261 Docs about how to print caps for debug purposes.
15263 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15264 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15266 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15268 * gst/gstelement.c:
15269 use full enum names and preprend a '%' in docs strings to make recent
15270 gtk-doc turn that into a link
15272 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15274 * docs/manual/basics-bins.xml:
15275 * docs/manual/basics-bus.xml:
15276 * docs/manual/basics-pads.xml:
15277 Some typo fixes, some additions, some clarifications.
15279 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15281 * tools/gst-inspect.c: (main):
15282 * tools/gst-launch.c: (main):
15283 * tools/gst-run.c: (main):
15284 * tools/gst-typefind.c: (main):
15285 * tools/gst-xmlinspect.c: (main):
15286 Use the string passed to g_option_context_new() for
15287 what it's intended for - the program name is already
15290 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15292 * tools/Makefile.am:
15293 * tools/gst-inspect.c: (main):
15294 * tools/gst-launch.c: (main):
15295 * tools/gst-xmlinspect.c: (main):
15297 Add back --version command line option (#340460).
15299 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15300 Add --version option and use GOption for argument parsing; refactor a
15301 bit; accept directories as arguments and recurse into them; lastly,
15302 print a decent error message when things go wrong.
15304 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15306 * docs/manual/basics-bins.xml:
15307 Don't mention GstThread (#340611)
15308 * docs/manual/basics-elements.xml:
15309 Update link to GObject tutorial (#340607)
15311 2006-05-05 Wim Taymans <wim@fluendo.com>
15314 * gst/gstminiobject.c:
15315 Add note about refcounting and miniobject/buffer writeability
15316 to docs. Fixes #340604
15318 * gst/gstelementfactory.h:
15319 Added some explanation about @klass.
15321 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15323 * docs/manual/intro-motivation.xml:
15324 * docs/manual/manual.xml:
15325 Avoid CORBA & Bonobo references (#340598)
15327 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15329 * docs/manual/basics-bus.xml:
15330 * docs/manual/basics-pads.xml:
15331 Fix up some inaccuracies and omissions (#340609)
15333 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15335 * gst/gstghostpad.c:
15336 Small typo in docs (#340625)
15338 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15340 * gst/parse/Makefile.am:
15341 Make 'make -j' proof (see #340698).
15343 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15346 Require GLib-2.8 here as well.
15348 2006-05-05 Wim Taymans <wim@fluendo.com>
15350 * gst/glib-compat.c:
15351 * gst/gst.c: (init_pre):
15352 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15353 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15354 (gst_object_dispatch_properties_changed):
15356 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15357 * gst/gststructure.c: (gst_structure_set_valist):
15358 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15359 Remove pre glib2.8 compatibility, fixes #340508
15361 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15363 * gst/gsttaglist.h:
15364 Mention type of tags in doc blurbs.
15366 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15368 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15369 (gst_pad_configure_src), (gst_pad_push):
15370 Restore acceptcaps checking behaviour now that good plugins have
15373 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15375 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15382 * gst/gstmessage.c:
15386 * gst/parse/Makefile.am:
15387 * libs/gst/base/gstadapter.c:
15388 * libs/gst/base/gstbasesrc.c:
15389 * libs/gst/base/gstpushsrc.c:
15390 * libs/gst/base/gsttypefindhelper.c:
15391 * plugins/elements/gstfakesrc.c:
15392 * plugins/elements/gstidentity.c:
15393 Make sure gstprivate.h and/or config.h are
15394 always included first, otherwise some of our
15395 defines (like _FILE_OFFSET_BITS) might be
15396 redefined in the system headers. Fixes build
15397 on opensolaris (#340016).
15399 2006-05-04 Wim Taymans <wim@fluendo.com>
15401 * docs/libs/gstreamer-libs-sections.txt:
15402 API: addition: gst_adapter_take_buffer()
15404 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15405 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15406 (gst_adapter_available_fast):
15407 * libs/gst/base/gstadapter.h:
15408 Prepare for optimizing the hell out of this hugely inefficient
15410 Added gst_adapter_take_buffer() so we can at least start thinking
15411 about subbuffering and merging.
15412 Added some comments.
15414 * tests/check/Makefile.am:
15415 * tests/check/libs/adapter.c: (GST_START_TEST),
15416 (gst_adapter_suite), (main):
15417 Added GstAdapter check.
15419 2006-05-04 Wim Taymans <wim@fluendo.com>
15421 * docs/design/part-overview.txt:
15422 Fix some typos, add blurb about buffer flags.
15424 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15426 * docs/libs/gstreamer-libs-sections.txt:
15427 make sure GstBaseTransformClass shows up in the docs
15428 * libs/gst/base/gstbasetransform.c:
15429 * libs/gst/base/gstbasetransform.h:
15430 move docs so gtk-doc picks it up now
15432 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15434 * docs/libs/gstreamer-libs-sections.txt:
15435 add missing symbols to docs
15437 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15440 back out the newsegment handling change, see #340060 for ongoing
15443 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15445 * tools/gst-run.c: (get_candidates), (main):
15446 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15447 work); fix typo in error message. Fixes #340079.
15449 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15451 * common/Makefile.am:
15452 * docs/Makefile.am:
15453 * docs/faq/Makefile.am:
15454 * docs/gst/Makefile.am:
15455 * docs/libs/Makefile.am:
15456 * docs/manual/Makefile.am:
15457 * docs/plugins/Makefile.am:
15458 * docs/pwg/Makefile.am:
15459 * docs/slides/Makefile.am:
15461 * common/upload.mak:
15462 move upload.mak to common
15464 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15466 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15467 add more asserts on refcounts
15468 do more cleanup at end of tests
15469 fix test leaks showing in FC5
15471 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15473 * plugins/elements/gsttypefindelement.c:
15474 (gst_type_find_element_handle_event):
15475 reverted wrong change and reflowed code to avoid others falling into
15478 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15480 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15481 fix changelog entry about last collectpads change,
15482 add notes about proper fix
15484 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15487 * gst/gstregistry.c: (gst_registry_scan_path_level),
15488 (gst_registry_scan_path):
15489 * gst/gstregistry.h:
15490 only write out registry if it has changed, fixes #338339
15492 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15495 * gst/gstpipeline.c:
15496 * plugins/elements/gstcapsfilter.c:
15497 * plugins/elements/gstfakesink.c:
15498 * plugins/elements/gstfakesrc.c:
15499 * plugins/elements/gstfdsink.c:
15500 * plugins/elements/gstfdsrc.c:
15501 * plugins/elements/gstfilesink.c:
15502 * plugins/elements/gstfilesrc.c:
15503 * plugins/elements/gstidentity.c:
15504 * plugins/elements/gstqueue.c:
15505 * plugins/elements/gsttee.c:
15506 * plugins/elements/gsttypefindelement.c:
15507 (gst_type_find_element_handle_event):
15508 make GstElementDetails const
15510 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15512 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15513 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15514 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15515 more detailed debug and formatting cleanup,
15516 forward newsegments to src-pad (so that e.g. adder not eats them)
15518 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15520 * gst/gstutils.c: (gst_element_link_pads):
15521 cleanup double code
15523 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15525 * libs/gst/controller/gstcontroller.c:
15526 (gst_controller_sync_values):
15528 * tests/check/libs/controller.c: (GST_START_TEST),
15529 (gst_controller_suite):
15530 a new test for live value handling
15532 2006-04-28 Wim Taymans <wim@fluendo.com>
15534 * gst/gstutils.c: (push_and_ref):
15535 Added some more docs.
15536 Fix refcount issue whith gst_element_found_tags() helper
15537 function. Fixes #338335
15539 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15540 Added testsuite for gst_element_found_tags().
15542 2006-04-28 Michael Smith <msmith@fluendo.com>
15544 * gst/gstvalue.c: (gst_value_serialize_flags):
15545 Avoid NULL dereference when trying to serialize flags containing
15548 2006-04-28 Michael Smith <msmith@fluendo.com>
15550 * plugins/elements/gsttypefindelement.c:
15551 (gst_type_find_element_handle_event):
15552 If we get EOS before any data is accumulated, don't use
15553 uninitialised local variables.
15555 2006-04-28 Michael Smith <msmith@fluendo.com>
15557 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15558 (gst_dp_event_from_packet):
15559 Fixes in reading/writing events over GDP (not currently used?) -
15560 dereferencing NULL events for unknown/invalid event types, memory
15561 leak, and change g_warning to GST_WARNING.
15563 2006-04-28 Wim Taymans <wim@fluendo.com>
15565 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15566 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15567 (gst_base_sink_get_position), (gst_base_sink_change_state):
15568 When frame dropping is enabled, we should not ignore frames
15569 without a duration.
15570 Update some documentation.
15572 2006-04-28 Wim Taymans <wim@fluendo.com>
15574 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15575 (gst_base_src_send_event), (gst_base_src_change_state):
15576 Documentation updates.
15578 2006-04-28 Wim Taymans <wim@fluendo.com>
15580 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15581 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15582 handle EAGAIN, EINTR and short writes correctly. Also clean
15583 up some error cases, avoid a deadlock on bad file descriptors and
15584 use GST_DEBUG_OBJECT.
15587 2006-04-28 Wim Taymans <wim@fluendo.com>
15589 * gst/gstvalue.c: (gst_value_serialize_buffer),
15590 (gst_value_deserialize_buffer):
15591 Don't try to serialize a GValue with a NULL buffer.
15594 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15595 Added check for serialisation of NULL buffers.
15597 2006-04-28 Wim Taymans <wim@fluendo.com>
15599 * gst/gstminiobject.c: (gst_value_take_mini_object):
15600 Taking a NULL miniobject is valid, fix the case where
15601 we try to unref the NULL miniobject.
15603 2006-04-28 Wim Taymans <wim@fluendo.com>
15605 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15607 * gst/gstbin.c: (gst_bin_handle_message_func):
15609 Don't leak bin refcount when a state recalc is
15610 in progress and we delay another one #339808.
15612 2006-04-28 Wim Taymans <wim@fluendo.com>
15614 * docs/design/part-TODO.txt:
15615 Mention QoS as an ongoing work item.
15617 * docs/design/part-buffering.txt:
15618 New doc about buffering that needs to be fleshed out
15621 * docs/design/part-qos.txt:
15622 More QoS policy for decoders/demuxers/transforms
15624 * docs/design/part-trickmodes.txt:
15627 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15632 === release 0.10.5 ===
15634 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15637 releasing 0.10.5, "Fogo"
15639 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15641 patch by: Wim Taymans
15643 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15644 (gst_pad_configure_src), (gst_pad_push):
15645 * gst/gstpipeline.c: (gst_pipeline_init):
15646 Fix internal data flow errors. Fixes #338711.
15648 2006-04-12 Wim Taymans <wim@fluendo.com>
15650 * tests/check/gst/gstelement.c: (GST_START_TEST):
15651 Don't leak the factory.
15653 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15656 * win32/common/config.h:
15659 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15661 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15662 (gst_controller_unset_all):
15663 Free allocated GstTimedValues when freeing list nodes.
15664 Should fix leaks 'make check-valgrind' complains about.
15666 * win32/common/libgstcontroller.def:
15667 Add gst_controller_unset_all.
15669 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15671 * docs/libs/gstreamer-libs-sections.txt:
15672 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15673 (gst_controller_unset_all):
15674 * libs/gst/controller/gstcontroller.h:
15675 API: Added new method gst_controller_unset_all()
15676 fixed gst_controller_unset()
15677 * tests/check/libs/controller.c: (GST_START_TEST),
15678 (gst_controller_suite):
15679 Added two testcases for new and fixed method
15681 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15683 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15684 MSG_DONTWAIT is not defined on Cygwin, so work
15685 around that (fixes #317048).
15687 2006-04-11 Wim Taymans <wim@fluendo.com>
15689 * gst/gstelementfactory.c: (gst_element_register),
15690 (gst_element_factory_create), (gst_element_factory_make):
15693 Updated docs (Fixes #131079)
15695 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15698 * tests/check/gst/gstelement.c: (GST_START_TEST),
15699 (gst_element_suite):
15700 Added testcase for elementfactory class field.
15702 2006-04-10 Wim Taymans <wim@fluendo.com>
15704 * gst/gstsegment.c:
15705 Added some more docs.
15707 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15708 (gst_base_sink_reset_qos):
15709 Calculate more accurate rate values.
15711 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15713 * gst/gst_private.h:
15714 add a new #ifdef to use __declspec(dllimport) only for
15715 other modules and not for gstreamer core
15716 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15717 use gst_guint64_to_gdouble for conversion
15718 * win32/common/libgstreamer.def:
15719 add new exported functions
15720 * win32/vs6/gst_inspect.dsp:
15721 * win32/vs6/gst_launch.dsp:
15722 * win32/vs6/libgstbase.dsp:
15723 * win32/vs6/libgstcontroller.dsp:
15724 * win32/vs6/libgstcoreelements.dsp:
15725 * win32/vs6/libgstdataprotocol.dsp:
15726 * win32/vs6/libgstnet.dsp:
15727 update project files
15729 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15731 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15732 * gst/gstclock.c: (gst_clock_class_init):
15733 * gst/gstelement.c: (gst_element_class_init):
15734 * gst/gstindex.c: (gst_index_class_init):
15735 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15736 * gst/gstobject.c: (gst_object_class_init),
15737 (gst_signal_object_class_init):
15738 * gst/gstpad.c: (gst_pad_class_init):
15739 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15740 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15741 * gst/gstregistry.c: (gst_registry_class_init):
15742 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15743 * gst/gsttask.c: (gst_task_class_init):
15744 * gst/gstxml.c: (gst_xml_class_init):
15745 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15746 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15747 (gst_base_src_loop):
15748 * libs/gst/controller/gstcontroller.c:/
15749 (_gst_controller_class_init):
15750 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15751 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15752 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15753 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15754 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15755 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15757 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15759 * gst/gstpad.c: (gst_pad_link):
15760 Must set peer pads before calling the link function, otherwise
15761 a task started from a link function might get a flow-not-linked
15762 result when trying to push because the other thread where the
15763 linking happens hasn't had a chance to set the peers yet. This
15764 might happen for example when a queue gets linked to a downstream
15765 element, as queue starts a streaming task when its source pad
15766 gets linked. Happens in real life when playing back flac/musepack
15767 files in playbin (#332390).
15769 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15773 * libs/gst/base/gstadapter.h:
15774 * libs/gst/base/gstbasesink.h:
15775 * libs/gst/base/gstbasesrc.h:
15776 * libs/gst/base/gstbasetransform.h:
15777 * libs/gst/base/gstcollectpads.h:
15778 * libs/gst/base/gstpushsrc.h:
15779 Fix broken GObject macros
15781 2006-04-07 Wim Taymans <wim@fluendo.com>
15783 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15784 Initialize start and stop times, thanks valgrind.
15786 2006-04-07 Wim Taymans <wim@fluendo.com>
15788 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15789 Be a bit nicer to badly behaving upstream elements that expect
15790 us to deal with non TIME segments and timestamps (such as fakesrc
15793 2006-04-07 Wim Taymans <wim@fluendo.com>
15796 Small documentation clarification about the signal watch.
15798 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15799 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15800 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15801 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15802 (gst_base_sink_get_position_last),
15803 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15804 Convert and store timestamps in stream time and running time, the
15805 raw timestamps are not useful, also document this better.
15806 Use different window sizes for good and bad QoS observations so
15807 we react to badness a little quicker.
15808 Keep track of the amount of rendered and dropped buffers.
15809 Send QoS timestamps in running time.
15811 * libs/gst/base/gstbasetransform.c:
15812 (gst_base_transform_sink_eventfunc),
15813 (gst_base_transform_handle_buffer):
15814 Compare QoS timestamps against running time.
15816 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15819 Typo fixes in docs.
15821 2006-04-06 Michael Smith <msmith@fluendo.com>
15823 * gst/gstpad.c: (gst_pad_set_property):
15824 Use g_value_get_object() instead of g_value_dup_gst_object(),
15825 to avoid double-reffing the pad template (which we then sink,
15826 so this worked previously if (and only if) the pad template
15829 * gst/gstpadtemplate.c: (gst_pad_template_init),
15830 (gst_pad_template_pad_created):
15831 Never return floating references to pad templates, create
15832 them as initially-sunken.
15834 Document an extra function (and make this stop sinking our
15835 pad template, since that is now guaranteed to do nothing,
15836 since we created it sunken).
15838 * gst/gstghostpad.c:
15841 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15843 * gst/gstinfo.c: (__gst_in_valgrind):
15846 * plugins/elements/gsttypefindelement.c:
15847 (gst_type_find_element_chain):
15848 Don't leak buffer caps.
15850 2006-04-06 Michael Smith <msmith@fluendo.com>
15852 * gst/parse/grammar.y:
15853 Fix a leak in parse-launch for any source-or-sink named element
15856 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15857 Unref the pipeline if it exists after we've failed parsing.
15859 2006-04-05 Michael Smith <msmith@fluendo.com>
15861 * gst/gstpipeline.c: (gst_pipeline_init):
15862 When we create a pipeline bus, initially create it in flushing mode.
15863 Fixes leaks in at least one test, and makes a new pipeline work the
15864 same as one that has gone to READY and then back to NULL.
15866 * gst/gstelement.c:
15869 2006-04-05 Michael Smith <msmith@fluendo.com>
15871 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15872 Unref a pad we reffed.
15873 * tests/check/gst/gstutils.c: (GST_START_TEST):
15876 2006-04-05 Michael Smith <msmith@fluendo.com>
15878 * gst/gstquery.c: (gst_query_set_formats),
15879 (gst_query_set_formatsv):
15880 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15882 2006-04-05 Michael Smith <msmith@fluendo.com>
15884 * tests/check/generic/sinks.c: (GST_START_TEST):
15885 Fix a variety of memleaks in sinks check, which are only sometimes
15886 shown by running the tests under valgrind (weird?).
15888 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15890 * docs/version.entities.in:
15891 Fix the substituted entity name after thomas' changes on the
15894 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15896 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15899 2006-04-05 Andy Wingo <wingo@pobox.com>
15901 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15903 * libs/gst/base/gstbasetransform.c
15904 (gst_base_transform_sink_eventfunc): When resetting our segment on
15905 FLUSH_STOP, also update the flag saying we haven't seen a
15908 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15910 Patch by: Paolo Borelli <pborelli at katamail dot com>
15912 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15913 (gst_plugin_check_license):
15914 minor clean-ups: G_DEFINE_TYPE already takes care of the
15915 parent_class stuff, no need to do it twice. Mark array of
15916 license strings as constant. (#337103)
15918 2006-04-04 Michael Smith <msmith@fluendo.com>
15920 * tools/gst-inspect.c: (print_element_list):
15921 Free the right plugin list; fixes a memory leak.
15923 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15925 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15927 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15928 Don't error out on empty buffers (#336945).
15930 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15932 * docs/libs/gstreamer-libs-sections.txt:
15933 * gst/gsttaglist.c:
15934 * libs/gst/base/gstbasesink.c:
15935 * libs/gst/base/gstbasesink.h:
15936 * libs/gst/base/gstbasesrc.c:
15937 * libs/gst/base/gstbasesrc.h:
15938 Documentation updates. Make BaseSink and BaseSrc docs contain the
15939 class structure so that people can actually see the prototypes for
15940 virtual functions they're supposed to be overriding.
15942 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15944 * plugins/elements/gsttypefindelement.c:
15945 (gst_type_find_element_chain):
15946 More debug info; when skipping typefinding, send cached
15947 events in all cases.
15949 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15952 use new AS_VERSION and AS_NANO macros
15953 * gst/gst-i18n-lib.h:
15956 * gst/gstversion.h.in:
15957 * win32/common/config.h:
15958 * win32/common/config.h.in:
15961 2006-03-31 Michael Smith <msmith@fluendo.com>
15963 * plugins/elements/gsttypefindelement.c:
15964 (gst_type_find_element_chain):
15965 Do not typefind content if the buffers already have caps.
15966 Neccesary for icydemux (#333657), and the right thing to do anyway.
15968 2006-03-30 Wim Taymans <wim@fluendo.com>
15970 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15971 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15972 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15973 (gst_base_sink_record_qos_observation),
15974 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15975 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15976 (gst_base_sink_change_state):
15977 More QoS measurements as described in the design doc.
15978 Get rid of ringbuffer with observations, running average is
15979 more simple and equally good.
15980 Calculates valid proportion now.
15981 Added beginning of flood measurement.
15983 2006-03-29 Wim Taymans <wim@fluendo.com>
15985 * docs/design/part-qos.txt:
15987 Small documentation updates and additions.
15989 2006-03-29 Wim Taymans <wim@fluendo.com>
15991 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15992 (gst_base_src_send_event), (gst_base_src_loop),
15993 (gst_base_src_change_state):
15994 Perform the EOS logic when we reach the segment stop position.
15995 Fix compilation on gcc4.1
15997 2006-03-29 Wim Taymans <wim@fluendo.com>
15999 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16001 * plugins/elements/gstqueue.c: (gst_queue_init),
16002 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16003 (gst_queue_set_property):
16004 * plugins/elements/gstqueue.h:
16005 In queue, when EOS is received, if minimum threshold > max_size -
16006 current_level, there is chance that queue blocks forever in conditional
16007 item del wait. This is because the queue is not emptied completely due
16008 to minimum threshold. Here is another approach. Instead of setting
16009 cur_levels to max in EOS, just zero all minimum threshold levels. This
16010 should make sure that queue gives out all data. When going to READY
16011 (stop) state, just reset the original minimum threshold levels.
16014 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16016 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16017 (gst_type_find_element_handle_event),
16018 (gst_type_find_element_send_cached_events),
16019 (gst_type_find_element_change_state):
16020 * plugins/elements/gsttypefindelement.h:
16021 When typefinding is done in push mode, we should cache
16022 events we receive during typefinding instead of just
16023 dropping them (e.g. newsegment, custom events from
16024 dvdreadsrc etc.) and then send them out once we've
16025 determined the type of the stream (and decodebin
16026 has had a chance to plug in a decoder/demuxer).
16028 2006-03-27 Wim Taymans <wim@fluendo.com>
16030 * docs/design/part-qos.txt:
16033 2006-03-27 Wim Taymans <wim@fluendo.com>
16035 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16037 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16038 (gst_base_src_send_event), (gst_base_src_change_state):
16039 Handle element seek correctly when we are streaming.
16042 2006-03-24 Michael Smith <msmith@fluendo.com>
16044 * docs/faq/gst-uninstalled:
16045 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16046 allow you to correctly run intalled applications built against old
16047 core, using plugins that require updated core (e.g. running
16048 installed totem against a full uninstalled gstreamer stack)
16050 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16055 2006-03-24 Wim Taymans <wim@fluendo.com>
16057 * docs/gst/gstreamer-sections.txt:
16058 Rearrange the order of the methods so that related methods
16059 are grouped together in sections.
16061 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16063 * gst/gstelement.c:
16064 Little clarification in the docs
16066 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16070 * plugins/elements/gstidentity.c:
16071 * plugins/elements/gstqueue.c:
16072 * plugins/elements/gsttee.c:
16073 * plugins/elements/gsttypefindelement.c:
16074 GST_ELEMENT_DETAILS formatting
16076 2006-03-24 Wim Taymans <wim@fluendo.com>
16078 * libs/gst/base/gstbasesink.h:
16079 Only add fields, not insert or we break ABI.
16081 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16083 * win32/common/libgstbase.def:
16084 * win32/common/libgstreamer.def:
16085 Update, add recently added functions.
16087 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16089 * docs/gst/gstreamer-sections.txt:
16090 * gst/gstutils.c: (gst_pad_query_peer_position),
16091 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16093 API: add some new utility functions:
16094 - gst_pad_query_peer_position()
16095 - gst_pad_query_peer_duration()
16096 - gst_pad_query_peer_convert()
16098 2006-03-23 Wim Taymans <wim@fluendo.com>
16100 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16101 (gst_base_sink_init), (gst_base_sink_finalize),
16102 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16103 (gst_base_sink_set_property), (gst_base_sink_get_property),
16104 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16105 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16106 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16107 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16108 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16109 (gst_base_sink_preroll_object), (gst_base_sink_event),
16110 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16111 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16112 (gst_base_sink_query), (gst_base_sink_change_state):
16113 Decouple max-lateness and the fact that QoS messages are generated
16114 with a new property (qos).
16115 added API: GstBaseSink::async_play()
16116 Add vmethod so subclasses can be notified of ASYNC playing
16118 Collect timestamp start and stop to report better current
16119 position in EOS/PLAYING/PAUSED/READY/NULL.
16120 Refactor QoS/frame dropping and other measurements.
16121 API: GstBaseSrc::qos
16124 * libs/gst/base/gstbasesink.h:
16125 Added Private struct.
16126 API: gst_base_sink_set_qos_enabled()
16127 API: gst_base_sink_is_qos_enabled()
16129 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16131 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16132 If compiling against GLib-2.8 or newer, try to read the
16133 registry file using GMappedFile first before falling back
16134 to fopen() + fread() (#332151).
16136 2006-03-22 Wim Taymans <wim@fluendo.com>
16138 * gst/gstinfo.c: (gst_debug_set_active),
16139 (gst_debug_category_set_threshold):
16140 Disable debugging unless explicitly activated.
16143 2006-03-22 Wim Taymans <wim@fluendo.com>
16145 * gst/gstelement.c: (gst_element_set_locked_state),
16146 (gst_element_dispose):
16147 Cleanup the error case.
16149 * gst/gstobject.c: (gst_object_dispose):
16150 print a critical when some object was disposed with
16151 a parent, also revive the object since it might
16154 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16156 * tools/gst-launch.1.in:
16159 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16162 * tests/check/Makefile.am:
16163 disable some tests when we don't have a registry
16164 * tests/check/gst/gstutils.c: (gst_utils_suite):
16165 don't build the part that needs parsing
16167 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16170 * tests/examples/Makefile.am:
16171 fix --disable-parse build
16173 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16175 * tools/gst-feedback.1.in:
16176 Fix typo: s/feeback/feedback/ (#133494).
16178 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16180 * tools/Makefile.am:
16181 * tools/gst-launch.1.in:
16182 Add FILES section and correct entry about GST_REGISTRY_PATH
16183 environment variable (#133495; #133494).
16185 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16187 * tools/Makefile.am:
16188 * tools/gst-md5sum.1.in:
16189 * tools/gst-md5sum.c:
16190 Remove gst-md5sum and man page (the md5sink element
16191 required was removed ages ago)
16193 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16195 * gst/gststructure.c: (gst_structure_id_set_value):
16196 Make sure that string fields in structures/taglists
16197 contain valid UTF-8 - we don't want to pass rubbish to
16198 applications because of a buggy plugin (cp. #334167).
16200 2006-03-21 Edward Hervey <edward@fluendo.com>
16202 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16203 (gst_bin_handle_message_func):
16204 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16205 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16206 (gst_element_set_bus_func):
16207 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16208 * gst/gstminiobject.c: (gst_value_set_mini_object),
16209 (gst_value_take_mini_object):
16210 * gst/gstpad.c: (gst_pad_set_pad_template):
16211 * gst/gstpipeline.c: (gst_pipeline_dispose),
16212 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16213 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16214 (gst_collect_pads_chain):
16215 * libs/gst/net/gstnettimeprovider.c:
16216 (gst_net_time_provider_set_property):
16217 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16218 It's in fact all issues with gst_*object_replace().
16220 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16222 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16224 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16225 * pkgconfig/gstreamer-check.pc.in:
16226 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16228 2006-03-21 Edward Hervey <edward@fluendo.com>
16232 * gst/gstmessage.h:
16233 gst_[buffer|event|message]_ref() macros are replaced by a static
16234 inline functions because gcc-4.1 will about if the return value
16236 * tests/check/gst/gstevent.c: (event_probe):
16237 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16239 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16242 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16243 the type' case. (Closes: #335195 for now). In the future, when we
16244 depend on GLib 2.10, we could also intern the type name using
16245 g_intern_static_string()
16247 2006-03-20 Wim Taymans <wim@fluendo.com>
16249 * gst/gstbin.c: (gst_bin_handle_message_func),
16250 (bin_query_max_init), (bin_query_position_fold),
16251 (bin_query_position_done), (gst_bin_query):
16252 Position query should also take max of all streams.
16254 2006-03-20 Wim Taymans <wim@fluendo.com>
16256 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16257 (gst_fake_src_finalize):
16258 Fix leaks in fakesrc.
16260 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16261 Fix leaks in the testcase.
16263 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16265 * gst/gst_private.h:
16266 add win32 specific import decoration(__declspec(dllimport))
16267 for all extern GstDebugCategory * variables
16268 * win32/common/libgstbase.def:
16269 * win32/common/libgstcontroller.def:
16270 * win32/common/libgstreamer.def:
16271 Add some exports, remove empty lines
16272 * win32/common/libgstdataprotocol.def:
16273 * win32/common/libgstdataprotocol.dsp:
16274 * win32/common/libgstnet.def:
16275 * win32/common/libgstnet.dsp:
16276 new project files and exportation files added
16278 2006-03-19 Wim Taymans <wim@fluendo.com>
16280 * tests/check/libs/basesrc.c: (eos_event_counter):
16281 Use proper return value for probe.
16283 2006-03-17 Wim Taymans <wim@fluendo.com>
16285 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16287 Don't leak buffers, caps and pads on negotiation errors.
16289 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16291 * docs/faq/cvs.xml:
16292 * docs/faq/dependencies.xml:
16293 * docs/faq/developing.xml:
16294 * docs/faq/faq.xml:
16295 * docs/faq/general.xml:
16296 * docs/faq/getting.xml:
16297 * docs/faq/legal.xml:
16298 * docs/faq/troubleshooting.xml:
16299 * docs/faq/using.xml:
16300 Faq review and update.
16302 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16304 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16306 Don't pound the cpu to pieces by checking get_caps when accept_caps
16307 is called with the same caps as the pad already has.
16308 Use GST_DEBUG_OBJECT when outputting caps change information.
16310 2006-03-15 Wim Taymans <wim@fluendo.com>
16312 * gst/gstclock.c: (gst_clock_class_init):
16315 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16320 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16321 (gst_pad_accept_caps), (gst_pad_configure_sink),
16322 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16323 Make the default acceptcaps behaviour be to check the requested
16324 caps against the gst_pad_get_caps output.
16326 Ensure that gst_pad_accept_caps is used to check caps when a pad
16327 doesn't have a setcaps function, so that pads automatically refuse
16328 caps that they don't allow in their pad template. (Fixes #332986)
16330 When a buffer with attached caps is pushed, ensure that the source
16331 pad receives those caps even if the element didn't call
16332 gst_pad_set_caps first.
16334 2006-03-15 Wim Taymans <wim@fluendo.com>
16336 * libs/gst/base/gstadapter.c:
16339 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16341 * win32/common/libgstbase.def:
16342 * win32/common/libgstcontroller.def:
16343 * win32/common/libgstreamer.def:
16344 Add a whole bunch of missing functions (#334434).
16346 2006-03-14 Wim Taymans <wim@fluendo.com>
16348 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16349 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16350 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16351 Better debug info when we receive a segment event.
16352 Reorganize a bit so we can pass the get_times() results around.
16353 Use the segment format when calculating the running time.
16354 Don't do QoS is sync is disabled or we have no clock or the
16355 element does not want us to sync to the clock.
16356 Don't drop buffers if QoS is disabled for now.
16358 2006-03-14 Wim Taymans <wim@fluendo.com>
16360 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16361 Marked the stats property as unimplemented so people don't get
16363 Add debug message when regression goes wrong.
16364 Added some more docs.
16366 2006-03-14 Wim Taymans <wim@fluendo.com>
16368 * gst/gstsegment.c: (gst_segment_to_stream_time):
16369 Return correct return type in case of errors.
16371 2006-03-14 Wim Taymans <wim@fluendo.com>
16373 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16374 Don't segfault on invalid formats.
16376 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16378 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16379 Can't use gst_segment_to_running_time() when the segment
16380 is not in GST_TIME_FORMAT (like with filesink, for example).
16381 Stops flac encoding pipelines from spewing critical warnings
16384 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16386 * gst/gstpipeline.c: (gst_pipeline_class_init):
16387 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16389 * plugins/elements/gsttypefindelement.c:
16390 (gst_type_find_element_handle_event):
16391 Don't try to typefind empty streams.
16393 2006-03-14 Wim Taymans <wim@fluendo.com>
16395 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16396 (gst_base_sink_do_qos):
16397 Separate QoS calculation.
16398 Only drop buffers when lateness is bigger than the
16399 duration of the buffer.
16401 2006-03-13 Wim Taymans <wim@fluendo.com>
16403 * gst/gstpipeline.c: (gst_pipeline_set_property),
16404 (gst_pipeline_get_property), (do_pipeline_seek),
16405 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16406 (gst_pipeline_get_delay):
16407 Don't deadlock when reading properties.
16409 2006-03-13 Wim Taymans <wim@fluendo.com>
16411 * libs/gst/base/gstbasetransform.c:
16412 (gst_base_transform_class_init), (gst_base_transform_init),
16413 (gst_base_transform_sink_event),
16414 (gst_base_transform_sink_eventfunc),
16415 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16416 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16417 (gst_base_transform_set_property),
16418 (gst_base_transform_get_property),
16419 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16420 (gst_base_transform_set_qos_enabled),
16421 (gst_base_transform_is_qos_enabled):
16422 * libs/gst/base/gstbasetransform.h:
16423 Make basetransform virtual method for src events too.
16424 Handle QOS in basetransform.
16425 API: gst_base_transform_update_qos()
16426 API: gst_base_transform_set_qos_enabled()
16427 API: gst_base_transform_is_qos_enabled()
16429 2006-03-13 Wim Taymans <wim@fluendo.com>
16431 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16432 (gst_base_sink_do_sync):
16434 Use QOS debug category.
16436 2006-03-13 Wim Taymans <wim@fluendo.com>
16438 * plugins/elements/gstqueue.c:
16439 Very small doc update.
16441 2006-03-13 Wim Taymans <wim@fluendo.com>
16443 * gst/gst_private.h:
16444 * gst/gstinfo.c: (_gst_debug_init):
16445 Added QOS debug category
16447 2006-03-13 Wim Taymans <wim@fluendo.com>
16449 * docs/gst/gstreamer-sections.txt:
16450 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16452 * gst/gstbus.c: (gst_bus_class_init):
16455 * gst/gstelement.c: (gst_element_set_locked_state):
16456 * gst/gstsegment.c:
16457 Documentation updates.
16459 * gst/gstpipeline.c: (gst_pipeline_get_type),
16460 (gst_pipeline_class_init), (gst_pipeline_init),
16461 (gst_pipeline_dispose), (gst_pipeline_set_property),
16462 (gst_pipeline_get_property), (do_pipeline_seek),
16463 (gst_pipeline_send_event), (gst_pipeline_change_state),
16464 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16465 (gst_pipeline_get_delay):
16466 * gst/gstpipeline.h:
16467 Added methods for setting the delay.
16468 API: gst_pipeline_set_delay()
16469 API: gst_pipeline_get_delay()
16470 Add pipeline debug category
16473 Don't reset stream time when seek failed.
16475 2006-03-13 Wim Taymans <wim@fluendo.com>
16477 * docs/design/draft-klass.txt:
16478 * docs/design/part-clocks.txt:
16479 * docs/design/part-events.txt:
16480 * docs/design/part-gstbin.txt:
16481 * docs/design/part-gstpipeline.txt:
16482 * docs/design/part-messages.txt:
16483 * docs/design/part-negotiation.txt:
16484 * docs/design/part-overview.txt:
16485 * docs/design/part-preroll.txt:
16486 * docs/design/part-seeking.txt:
16487 * docs/design/part-states.txt:
16488 * docs/design/part-streams.txt:
16489 Documentation updates.
16491 2006-03-12 Julien MOUTTE <julien@moutte.net>
16493 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16494 us to leak strings...
16496 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16498 * libs/gst/net/gstnettimeprovider.c:
16500 * win32/common/config.h:
16503 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16505 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16508 Don't check for libgnomeui (leftover from old examples
16509 that aren't built or disted any longer) (#334303).
16511 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16513 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16514 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16515 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16516 there's no space left on the device.
16518 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16521 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16522 to cast the input to GstClockTime before comparing with
16523 another GstClockTime value.
16525 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16530 === release 0.10.4 ===
16532 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16535 releasing 0.10.4, "Light"
16537 2006-03-10 Michael Smith <msmith@fluendo.com>
16539 * libs/gst/dataprotocol/dataprotocol.c:
16540 Fix docs for dataprocotol to not get the return types completely
16541 wrong for a few functions.
16543 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16545 * docs/gst/gstreamer-sections.txt:
16546 * gst/gstpipeline.c: (gst_pipeline_class_init),
16547 (gst_pipeline_init), (gst_pipeline_set_property),
16548 (gst_pipeline_get_property), (gst_pipeline_change_state),
16549 (gst_pipeline_set_auto_flush_bus),
16550 (gst_pipeline_get_auto_flush_bus):
16551 * gst/gstpipeline.h:
16552 Add new API: gst_pipeline_set_auto_flush_bus() and
16553 gst_pipeline_get_auto_flush_bus() to disable automatic
16554 flushing of the pipeline's GstBus when going from READY
16555 to NULL state (#332045).
16557 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16559 * docs/gst/gstreamer-sections.txt:
16560 * gst/gsturi.c: (gst_uri_has_protocol):
16562 Add new API: gst_uri_has_protocol() (#333779).
16564 2006-03-09 Wim Taymans <wim@fluendo.com>
16566 * gst/gstclock.c: (gst_clock_entry_new),
16567 (gst_clock_id_compare_func), (gst_clock_id_wait),
16568 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16569 (gst_clock_init), (gst_clock_get_internal_time),
16570 (gst_clock_set_master), (do_linear_regression),
16571 (gst_clock_add_observation), (gst_clock_set_property):
16575 Fix a possible segfault when the window-size is made smaller.
16576 Calculate jitter before performing the clock wait. Ideally
16577 the clock implementation should calculate jitter but we need
16578 API breakage for that.
16580 * gst/gstsystemclock.c: (gst_system_clock_init):
16583 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16584 Remove leftover else
16586 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16587 (gst_systemclock_suite):
16588 Added check to test GST_CLOCK_DIFF.
16590 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16592 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16593 (gst_type_find_helper_get_range):
16594 If we are provided with the size, we should implement
16595 GstTypeFind::get_length, so that typefind functions who
16596 want to can actually peek at the middle of a file.
16598 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16600 * docs/manual/advanced-dataaccess.xml:
16601 Add some very very basic error checking.
16603 * docs/pwg/appendix-checklist.xml:
16604 Some updates to the list of things to check when writing an element.
16606 2006-03-08 Wim Taymans <wim@fluendo.com>
16608 * docs/design/part-element-transform.txt:
16609 Added some docs about the design of tranform elements.
16611 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16612 (gst_base_src_loop), (gst_base_src_change_state):
16613 Mark buffers with the DISCONT flag.
16615 2006-03-08 Michael Smith <msmith@fluendo.com>
16617 * gst/gstregistry.h:
16618 * gst/gstregistryxml.c: (gst_registry_save),
16619 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16620 (gst_registry_xml_save_pad_template),
16621 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16622 (gst_registry_xml_write_cache):
16623 Rewrite registry-saving to avoid race conditions and check for
16626 2006-03-08 Wim Taymans <wim@fluendo.com>
16628 * libs/gst/base/gstbasetransform.c:
16629 (gst_base_transform_transform_caps),
16630 (gst_base_transform_transform_size),
16631 (gst_base_transform_prepare_output_buffer),
16632 (gst_base_transform_get_unit_size),
16633 (gst_base_transform_buffer_alloc),
16634 (gst_base_transform_handle_buffer),
16635 (gst_base_transform_change_state):
16636 Cleanups, separate normal flow from errors, add sensible
16638 Don't try to renegotiate when allocating an output buffer.
16639 Also copy DISCONT buffer flag when copying a buffer.
16640 Reset the transform after we finish streaming, not during.
16642 2006-03-08 Wim Taymans <wim@fluendo.com>
16644 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16645 Use last buffer timestamp in qos message.
16647 2006-03-07 Wim Taymans <wim@fluendo.com>
16649 Patch by: Christophe Fergeau
16651 * docs/pwg/advanced-tagging.xml:
16652 * docs/pwg/building-pads.xml:
16655 2006-03-07 Wim Taymans <wim@fluendo.com>
16657 * docs/libs/gstreamer-libs-sections.txt:
16658 Added basesink new methods.
16662 Docs updates. Flesh out the QoS docs.
16664 * libs/gst/base/gstadapter.c:
16665 Small doc clarification about ownership and flushing.
16667 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16668 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16669 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16670 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16671 * libs/gst/base/gstbasesink.h:
16673 Added new methods to allow subclass to control max-lateness
16675 Generate very basic QoS events based on last sync observation.
16676 Updated docs, fix typo, added some QoS blurb.
16678 * libs/gst/base/gstbasesrc.c:
16679 Remove obsolete _get_state() calls from docs.
16681 2006-03-07 Wim Taymans <wim@fluendo.com>
16683 * docs/libs/gstreamer-libs-sections.txt:
16684 * libs/gst/base/gstbasetransform.h:
16685 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16686 Fix docs for GstBaseSrc.
16688 2006-03-07 Wim Taymans <wim@fluendo.com>
16690 * docs/gst/gstreamer-sections.txt:
16693 * libs/gst/base/gstbasetransform.h:
16694 Small documentation fixes.
16696 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16699 Document thread-unsafety of gst_value_register_foo_func()
16700 when used at the same time as gst_value_foo() (#322628).
16702 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16704 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16705 (gst_push_src_check_get_range):
16706 Push sources don't support pull mode by default.
16708 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16710 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16711 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16712 (gst_base_src_default_check_get_range):
16713 * libs/gst/base/gstbasesrc.h:
16714 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16715 provide default implementation, and rename
16716 gst_base_src_check_get_range() to
16717 gst_base_src_pad_check_get_range() for clarity.
16719 2006-03-06 Wim Taymans <wim@fluendo.com>
16721 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16722 Make property overridable.
16724 2006-03-06 Wim Taymans <wim@fluendo.com>
16726 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16727 (gst_base_sink_init), (gst_base_sink_set_property),
16728 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16729 * libs/gst/base/gstbasesink.h:
16730 API addition: Make max-lateness a property.
16732 2006-03-06 Wim Taymans <wim@fluendo.com>
16734 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16735 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16736 Don't ever draw a frame that is >10ms late.
16738 2006-03-06 Michael Smith <msmith@fluendo.com>
16740 * gst/gstmessage.c: (_gst_message_copy):
16741 When copying a message, set the parent_refcount of the enclosed
16742 structure to point at the copy, not the original message.
16744 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16746 Patch by: Christophe Fergeau
16749 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16750 usable in c++ code (#333417)
16752 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16755 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16757 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16759 * libs/gst/base/gstbasetransform.c:
16760 (gst_base_transform_transform_caps):
16761 Make sure caps are writable before passing them to
16764 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16767 Fix some minor docs errors.
16769 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16771 Patch by: Ross Burton <ross at burtonini dot com>
16773 * gst/gsterror.c: (_gst_resource_errors_init):
16775 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16777 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16780 Add a check and output a g_warning when GStreamer is built
16781 against GLib 2.6 but running against 2.8 or higher, and vice
16782 versa. (Closes: #323542)
16784 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16786 * gst/parse/parse.l:
16787 Commit patch for parse_launch syntax from #331255. Removes
16788 support for quoted strings and mimetypes when writing filtered
16789 caps. See the bug report for more details - I'm pretty sure this
16790 obscure feature is not in use by _anyone_ anywhere.
16792 With this simple change, the size of the gstreamer.so here
16793 drops from 2193KB to 1565KB.
16795 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16797 * plugins/elements/gsttypefindelement.h:
16798 * plugins/elements/gsttypefindelement.c:
16799 (gst_type_find_element_src_event), (start_typefinding),
16800 (stop_typefinding), (gst_type_find_element_handle_event),
16801 (gst_type_find_element_chain),
16802 (gst_type_find_element_chain_do_typefinding):
16803 Use gst_type_find_helper_for_buffer() for chain-based
16806 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16808 * plugins/elements/gsttypefindelement.c:
16809 (gst_type_find_element_class_init),
16810 (gst_type_find_element_set_property),
16811 (gst_type_find_element_get_property):
16812 Deprecate "maximum" property (not only was it only taken into
16813 account for typefinding in push-mode anyway, it also was never
16814 actually possible to set it in the first place because the
16815 property was registered with the numeric property ID for the
16816 "minimum" property). Register "maximum" property correctly,
16817 for the sake of future copy'n'pasters. Remove some cruft
16818 from property get/set functions.
16820 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16822 * plugins/elements/gsttypefindelement.c:
16823 (gst_type_find_element_activate):
16824 Use gst_type_find_helper_get_range() here, so we
16825 can honour the "minimum" property and also emit
16826 the signal with the correct probability of the found caps.
16828 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16830 * docs/libs/gstreamer-libs-sections.txt:
16831 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16832 (helper_find_suggest), (gst_type_find_helper_get_range),
16833 (gst_type_find_helper):
16834 * libs/gst/base/gsttypefindhelper.h:
16835 New API: gst_type_find_helper_get_range() (#333042).
16837 2006-03-02 Michael Smith <msmith@fluendo.com>
16839 * gst/gstregistryxml.c: (load_feature):
16840 Asserting on a failure to read part of the registry is Not Cool.
16841 Just log a warning and return NULL (which is already handled)
16843 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16845 * win32/common/libgstbase.def:
16846 added export of gst_type_find_helper_for_buffer
16847 * win32/common/libgstbase.def:
16848 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16849 gst_ghost_pad_get_target
16851 2006-02-28 Wim Taymans <wim@fluendo.com>
16853 * docs/design/draft-klass.txt:
16855 Added Connector to mark elements that are only used to
16856 allow pipeline connections.
16857 Moved Debug to extra feature since most of them are
16858 functionally something else.
16860 2006-02-28 Wim Taymans <wim@fluendo.com>
16862 * docs/design/draft-klass.txt:
16863 Some updates and clarifications.
16865 2006-02-28 Wim Taymans <wim@fluendo.com>
16867 * docs/design/draft-klass.txt:
16868 Proposal for klass field values.
16870 * docs/design/part-streams.txt:
16871 Start of a doc describing stream anatomy.
16873 2006-02-28 Wim Taymans <wim@fluendo.com>
16875 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16876 Help the compiler a bit with type registration.
16877 Use existing forward cod path instead of duplicating it when
16878 handling a message.
16880 * gst/gstbus.c: (gst_bus_get_type):
16881 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16882 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16883 * gst/gstclock.c: (gst_clock_get_type):
16884 * gst/gstelement.c: (gst_element_get_type),
16885 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16886 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16887 * gst/gstminiobject.c: (gst_mini_object_get_type):
16888 * gst/gstpad.c: (gst_pad_get_type):
16889 * gst/gstsegment.c: (gst_segment_get_type):
16890 * gst/gststructure.c: (gst_structure_get_type):
16891 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16892 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16894 Help compiler with type registration.
16896 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16899 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16901 * plugins/elements/gsttypefindelement.c:
16902 (gst_type_find_element_handle_event):
16903 When we get an EOS event and have not found a type yet
16904 (most likely because we had not yet accumulated
16905 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16906 type given the data we have so far. Fixes typefinding
16907 for very short streams again, most notably quicktime
16908 redirections as used on Apple's trailer site (#331701).
16910 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16912 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16913 (gst_type_find_helper):
16914 Try typefinding factories with the highest rank first.
16916 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16918 * docs/libs/gstreamer-libs-docs.sgml:
16919 * docs/libs/gstreamer-libs-sections.txt:
16920 * libs/gst/base/gsttypefindhelper.c:
16921 Add section for typefind helper and add documentation
16922 for the old and the new function.
16924 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16926 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16927 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16928 (gst_type_find_helper_for_buffer):
16929 * libs/gst/base/gsttypefindhelper.h:
16930 New API: gst_type_find_helper_for_buffer() (#332723).
16932 2006-02-27 Michael Smith <msmith@fluendo.com>
16934 Patch by: Loïc Minier
16937 * docs/Makefile.am:
16938 * docs/slides/Makefile.am:
16939 prevent CVS directories getting disted.
16941 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16943 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16944 Use the REFCOUNTING category for caps refcounting.
16946 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16948 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16949 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16951 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16953 * plugins/elements/gsttypefindelement.c:
16954 (gst_type_find_element_activate):
16955 Use gst_pad_check_pull_range() before _activate_pull()
16956 to avoid unnecessary open/close (see #331690).
16958 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16961 Docs enhancement: make it crystal clear what the
16962 gst_pad_add_*_probe() callbacks should look like.
16964 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16966 * libs/gst/base/gstbasesrc.c:
16967 Document how applications can stop recording from
16968 live sources (see #330996).
16970 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16972 * tests/check/Makefile.am:
16973 * tests/check/libs/basesrc.c: (eos_event_counter),
16974 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16975 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16976 (gst_basesrc_suite), (main):
16977 ... and add some tests for the base source EOS stuff.
16979 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16981 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16982 Test case originally showed the problem fixed below,
16983 but was then amended. Add checks back at the place
16984 where they used to be.
16986 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16988 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16989 (gst_base_src_init), (gst_base_src_loop),
16990 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16991 (gst_base_src_change_state):
16992 * libs/gst/base/gstbasesrc.h:
16993 Don't unconditionally send EOS when going from PAUSED to
16994 READY state, esp. make sure we don't send two EOS events
16995 in some cases (e.g. one when reaching EOS and one when
16996 going from PAUSED to READY). Also, we don't want to send
16997 EOS events when operating in pull mode. However, we do
16998 want to send an EOS event when shutting down a live
16999 source explicitly, for example (fixes #330996).
17001 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17003 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17004 Update src->read_position after a seek when not using mmap.
17005 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17007 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17013 Make things work with --disable-parse as they do with
17014 --disable-load-save - the symbols involved disappear, but the
17015 header is still installed and GST_DISABLE_PARSE is included via
17018 2006-02-20 Julien MOUTTE <julien@moutte.net>
17020 * libs/gst/base/gstbasetransform.c:
17021 (gst_base_transform_change_state): Fix a stupid bug. I was
17022 sure I compiled that.
17024 2006-02-20 Julien MOUTTE <julien@moutte.net>
17026 * gst/gstpad.c: (gst_pad_set_blocked_async):
17027 * gst/gstutils.c: (gst_pad_add_data_probe),
17028 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17029 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17030 (gst_pad_remove_buffer_probe): Make those function act on the
17031 ghostpad target when it's a ghostpad. (Closes #331727)
17033 2006-02-20 Julien MOUTTE <julien@moutte.net>
17035 * libs/gst/base/gstbasetransform.c:
17036 (gst_base_transform_change_state): Make basetransform reusable.
17039 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17041 * docs/random/release:
17042 Move the current documentation of how to do a release to the top
17045 * gst/gstbin.c: (gst_bin_class_init),
17046 (gst_bin_handle_message_func):
17047 Allow multiple state-recalculation threads. (Closes #328873)
17049 2006-02-19 Julien MOUTTE <julien@moutte.net>
17051 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17052 * gst/gstpad.c: (gst_pad_set_event_function),
17053 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17054 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17055 2 strings. You can't use the STR_NULL macro on that.
17057 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17059 * gst/gstpad.c: (gst_pad_set_event_function),
17060 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17061 (gst_pad_set_getcaps_function)
17062 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17063 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17064 So now, we can use --gst-debug-level=5 on Windows
17065 * win32/common/libgstcontroller.def:
17066 Added export of gst_controller_init
17067 * win32/vs6/libgstcontroller.dsp:
17068 Fixed Release post build configuration
17070 2006-02-17 Wim Taymans <wim@fluendo.com>
17072 * tests/check/gst/gstquery.c: (GST_START_TEST):
17073 Added another check.
17075 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17077 * plugins/elements/gsttypefindelement.c: (find_peek):
17078 We can do peeks at non-zero offsets, as long as they
17079 fall within the buffer we have.
17081 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17083 * tests/check/Makefile.am:
17084 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17085 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17086 (parse_suite), (main):
17087 Add testsuite for parse launch syntax
17089 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17091 * plugins/elements/gsttypefindelement.c:
17092 (gst_type_find_element_chain):
17093 When typefinding is unsuccessful in the chain function, don't
17094 error out immediately. Only error out with NO_CAPS_FOUND if
17095 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17096 otherwise simply wait for more data so we can try typefinding
17097 again with more data later. Also, don't attempt to typefind
17098 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17099 this should improve typefinding from network sources where the
17100 size of the first buffer can be somewhat random.
17102 2006-02-14 Wim Taymans <wim@fluendo.com>
17104 * docs/gst/gstreamer-sections.txt:
17105 * gst/gstpadtemplate.c:
17106 * gst/gstpadtemplate.h:
17107 Fix padtemplate docs, fixes #328805.
17109 2006-02-14 Wim Taymans <wim@fluendo.com>
17111 * tools/gst-launch.c: (main):
17112 NO_PREROLL is not an ERROR so don't send confusing messages
17115 2006-02-14 Wim Taymans <wim@fluendo.com>
17117 Patch by: Torsten Schoenfeld
17119 * gst/gstregistry.c: (gst_registry_get_default),
17120 (_gst_registry_cleanup):
17121 Protect default registry with lock and ref/sink it.
17124 2006-02-14 Wim Taymans <wim@fluendo.com>
17127 * gst/gstquery.c: (gst_query_list_add_format),
17128 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17129 (gst_query_parse_formats_nth):
17130 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17133 2006-02-14 Wim Taymans <wim@fluendo.com>
17135 * docs/gst/gstreamer-sections.txt:
17136 Reworked query docs.
17138 * gst/gstquery.c: (gst_query_new_formats),
17139 (gst_query_list_add_format), (gst_query_set_formats),
17140 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17141 (gst_query_parse_formats_nth):
17143 Flesh out formats query, added some new methods.
17144 Fix part of #324398.
17146 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17147 Added query creation tests.
17149 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17151 * gst/gstpad.c: (fixate_value):
17152 Add a default fixation for fraction lists.
17154 2006-02-13 Wim Taymans <wim@fluendo.com>
17156 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17157 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17160 Detect and warn for obvious deadlocks. fixes #320340
17161 Fix error case where lock was not released.
17163 * tests/check/Makefile.am:
17164 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17165 (task_func), (gst_element_suite), (main):
17168 2006-02-13 Wim Taymans <wim@fluendo.com>
17170 * docs/gst/gstreamer-sections.txt:
17172 Add new functions to docs.
17174 2006-02-13 Wim Taymans <wim@fluendo.com>
17176 * docs/design/part-TODO.txt:
17177 Updated TODO list, basesrc supports seeking to non-bytes
17180 * docs/design/part-element-sink.txt:
17183 * gst/gstbin.c: (bin_replace_message),
17184 (gst_bin_handle_message_func):
17185 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17186 * gst/gstevent.c: (gst_event_finalize):
17187 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17188 (gst_pad_send_event):
17189 Use shiny new _TYPE_NAME macros.
17191 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17192 Move debug statement up.
17194 * gst/gstelement.c: (gst_element_set_locked_state):
17195 Add some debugging.
17197 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17199 * docs/gst/gstreamer-sections.txt:
17200 * gst/gstmessage.h:
17202 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17203 macros (#330906). Also, document the already existing
17204 GST_QUERY_TYPE macro.
17206 2006-02-13 Wim Taymans <wim@fluendo.com>
17208 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17209 (event_probe), (GST_START_TEST):
17210 Only events up to the pipeline EOS are counted, there are
17211 some more when going to NULL currently which we don't care
17214 2006-02-13 Wim Taymans <wim@fluendo.com>
17216 * gst/gstpad.c: (gst_pad_send_event):
17217 Correctly check flushing and emit probes. fixes #330125
17219 2006-02-10 Andy Wingo <wingo@pobox.com>
17221 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17223 (gst_bus_init): Cache the location of the private data in the
17224 instance structure.
17225 (gst_bus_enable_sync_message_emission)
17226 (gst_bus_disable_sync_message_emission): Implement new public
17228 (gst_bus_post): Emit the sync-message signal if the user asked for
17231 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17232 location of the bus-private structure.
17233 (gst_bus_enable_sync_message_emission)
17234 (gst_bus_disable_sync_message_emission): API addition
17236 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17238 Patch by: Vincent Torri
17240 * docs/pwg/building-boiler.xml:
17241 PWG patch from #326800
17243 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17246 * docs/Makefile.am:
17247 * docs/design/Makefile.am:
17250 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17255 === release 0.10.3 ===
17257 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17260 releasing 0.10.3, "Like a virgin"
17262 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17265 2nd prerelease of 0.10.3
17266 Bump libtool versioning.
17268 2006-02-07 Andy Wingo <wingo@pobox.com>
17270 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17271 update last_stop if we're in TIME format and the timestamp is
17274 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17275 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17276 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17277 If we get a new newsegment with a different format, adapt
17280 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17281 of 0. Not a problem, really.
17283 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17286 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17291 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17294 project files updated to the default vs7 configuration
17295 * win32/common/libgstbase.def:
17296 * win32/common/libgstreamer.def:
17298 removed empty lines,
17299 sorted all exported symbols alphabetically
17300 * win32/common/dirent.c:
17301 * win32/common/dirent.h:
17302 * win32/common/gchar.h:
17303 use windows line end.
17305 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17307 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17308 Send EOS event when stopping.
17310 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17313 Tell folks what to do if the plugin-foobar.xml file
17314 hasn't been generated for a newly-added plugin.
17316 2006-02-05 Julien MOUTTE <julien@moutte.net>
17318 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17319 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17320 (gst_collect_pads_start), (gst_collect_pads_stop),
17321 (gst_collect_pads_event): Collectpads now holds a reference
17322 to the GstPad that was added. Indeed we don't want to look
17323 at pads that might just go away with no warning...
17325 2006-02-05 Julien MOUTTE <julien@moutte.net>
17327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17328 (gst_collect_pads_start), (gst_collect_pads_stop),
17329 (gst_collect_pads_event), (gst_collect_pads_chain):
17330 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17331 Mark Nauwelaerts's patch on bug #328491.
17333 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17335 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17337 Add some simple tests for gst_parse_bin_from_description() and
17338 gst_bin_find_unconnected_pad() (#329069).
17340 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17342 * tools/gst-launch.c: (event_loop), (main):
17343 Catch errors during preroll (#320084).
17345 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17347 * plugins/elements/gsttypefindelement.c:
17348 (gst_type_find_element_activate):
17349 Post TYPE_NOT_FOUND error message when typefinding
17350 is unsuccessful in the activate function as well.
17352 2006-02-02 Wim Taymans <wim@fluendo.com>
17354 * docs/design/part-element-sink.txt:
17357 2006-02-02 Wim Taymans <wim@fluendo.com>
17359 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17360 (gst_base_sink_render_object),
17361 (gst_base_sink_queue_object_unlocked):
17362 Only keep track of prerollable items when we are
17364 Before rendering after preroll, always check if we
17366 Added some more debugging.
17368 2006-02-02 Wim Taymans <wim@fluendo.com>
17370 * gst/gstelement.c: (gst_element_continue_state),
17371 (gst_element_set_state_func), (gst_element_change_state):
17372 Fixed #326576, been running this for quite some time with
17373 no regressions at all.
17375 2006-02-02 Wim Taymans <wim@fluendo.com>
17378 Added more suppressions
17380 2006-02-02 Wim Taymans <wim@fluendo.com>
17382 * docs/design/part-element-sink.txt:
17385 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17386 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17387 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17388 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17389 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17390 (gst_base_sink_preroll_object),
17391 (gst_base_sink_queue_object_unlocked),
17392 (gst_base_sink_queue_object), (gst_base_sink_event),
17393 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17394 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17395 (gst_base_sink_get_position), (gst_base_sink_change_state):
17396 * libs/gst/base/gstbasesink.h:
17397 Totally refactored matching the design doc.
17398 Use two segments, one to clip incomming buffers and another to
17400 Handle queueing correctly, bypass the queue when playing.
17401 Make EOS cancelable.
17402 Handle errors correctly when operating in pull based mode.
17404 * tests/check/elements/fakesink.c: (GST_START_TEST),
17406 Added new check for sinks.
17408 2006-02-02 Wim Taymans <wim@fluendo.com>
17410 * gst/gstsegment.c: (gst_segment_clip):
17411 No reason to refuse to clip when start == -1
17413 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17416 * docs/manual/intro-basics.xml:
17417 * docs/manual/intro-preface.xml:
17418 * docs/manual/manual.xml:
17419 * docs/pwg/advanced-dparams.xml:
17420 * docs/pwg/intro-basics.xml:
17421 * docs/pwg/intro-preface.xml:
17422 * docs/pwg/pwg.xml:
17423 describe dparams (controller) for plugins
17424 unify docs a little more
17426 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17428 * docs/gst/gstreamer-sections.txt:
17429 * gst/gstutils.c: (element_find_unconnected_pad),
17430 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17432 Add new API: gst_parse_bin_from_description() and
17433 gst_bin_find_unconnected_pad() (#329069).
17435 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17437 * docs/manual/README:
17438 uncover a nasty detail of the docs build
17440 2006-01-31 Wim Taymans <wim@fluendo.com>
17442 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17443 Don't cache duration messages if we're not going to use or
17446 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17448 * docs/manual/advanced-dparams.xml:
17449 * docs/pwg/advanced-dparams.xml:
17453 * libs/gst/controller/lib.c: (gst_controller_init):
17456 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17458 * gst/gstelement.c: (gst_element_message_full):
17459 also show file/line/func if no additional debug was given
17461 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17463 * win32/vs7/grammar.vcproj:
17464 activate copy of autogenerated files for Release mode
17466 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17468 * win32/common/libgstreamer.def:
17469 export gst_value_compare
17471 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17473 * plugins/elements/Makefile.am:
17474 * plugins/elements/gstelements.c:
17475 * plugins/elements/gstfdsink.c: (_do_init),
17476 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17477 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17478 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17479 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17480 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17481 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17482 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17483 * plugins/elements/gstfdsink.h:
17484 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17486 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17488 * docs/manual/advanced-dparams.xml:
17489 describe controller
17490 * docs/manual/advanced-position.xml:
17491 * docs/manual/basics-init.xml:
17492 * docs/manual/manual.xml:
17493 * docs/manual/titlepage.xml:
17494 * docs/pwg/pwg.xml:
17495 * docs/pwg/titlepage.xml:
17496 cleanup xml (more to come)
17497 * libs/gst/controller/gstcontroller.c:
17500 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17502 * win32/vs6/grammar.dsp:
17503 add autogen of gstmarshal.c,h for Release mode
17505 2006-01-30 Wim Taymans <wim@fluendo.com>
17507 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17508 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17509 (gst_base_sink_handle_object), (gst_base_sink_event),
17510 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17511 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17512 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17513 (gst_base_sink_deactivate), (gst_base_sink_activate),
17514 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17515 (gst_base_sink_query), (gst_base_sink_change_state):
17516 Basesink cleanups, remove some old code.
17517 Handle the case where a subclass can preroll in the render
17518 method (mostly audiosinks).
17519 Handle more events.
17520 Remove some locks around variables that are now protected
17521 with the PREROLL_LOCK (clock_id, flushing, ..).
17522 Optimize position query some more, do correct locking.
17523 Remove old code to push queue in state change, this is not
17524 needed anymore since preroll blocks on all prerollable items
17526 Almost implemented as described in design doc.
17528 2006-01-30 Wim Taymans <wim@fluendo.com>
17530 * tests/check/gst/gstbin.c: (GST_START_TEST):
17531 Wait for refcount to settle down before checking.
17533 2006-01-30 Wim Taymans <wim@fluendo.com>
17535 * docs/design/part-element-sink.txt:
17536 Pseudo code overview of desired sink behaviour regarding
17539 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17540 * win32/vs6/grammar.dsp:
17541 fix some bugs in Release mode for autogenerated files
17543 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17544 * win32/common/libgstbase.def:
17545 * win32/common/libgstreamer.def:
17546 export some new symbols: gst_base_src_set_format,
17547 gst_iterator_next, gst_structure_set_valist
17549 2006-01-29 Julien MOUTTE <julien@moutte.net>
17551 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17552 Set pad functions unconditionally. Fixes #329105.
17554 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17556 add vs8 project files created by Sergey Scobich
17558 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17560 * gst/gstutils.c: (gst_element_unlink_pads):
17561 Don't leak pad references.
17563 * tests/check/elements/fakesink.c: (GST_START_TEST):
17564 * tests/check/generic/sinks.c: (GST_START_TEST):
17565 * tests/check/generic/states.c: (GST_START_TEST):
17566 * tests/check/gst/gstbin.c: (GST_START_TEST):
17567 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17568 * tests/check/gst/gstelement.c: (GST_START_TEST):
17569 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17570 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17571 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17572 Fix a bunch of leaks. Make generic/sinks.c
17573 use a bit less cpu by slowing the buffer rate
17574 between fakesrc and fakesink.
17576 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17578 * gst/gstelement.c: (gst_element_send_event):
17581 * gst/gstiterator.c:
17582 * gst/gstiterator.h:
17583 * gst/gstpad.c: (gst_pad_send_event):
17584 * gst/gststructure.c:
17588 * libs/gst/base/gstadapter.c:
17589 doc fixes, to link to function, just write gst_cool_function(), don't
17592 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17594 * plugins/elements/gsttee.c: (gst_tee_do_push),
17595 (gst_tee_handle_buffer):
17596 Always prefer an actual return value from a src
17597 pad in place of NOT_LINKED. This means we return
17598 WRONG_STATE when all src pads are WRONG_STATE
17599 instead of NOT_LINKED.
17601 Lock when replacing the last message to prevent
17602 racing with the get_property method.
17606 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17608 * tests/check/Makefile.am:
17609 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17611 Add a very simple check that should have caught the memleak I fixed
17612 last night (if not for the slice allocator hiding it)
17614 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17616 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17617 (gst_bin_remove_func), (gst_bin_handle_message_func),
17618 (bin_query_duration_fold), (bin_query_generic_fold):
17619 Clean up references to the clock provider when disposed or when
17620 handling a clock-lost message from it.
17622 Unref sinks when performing a query via gst_iterator_fold, as the
17623 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17625 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17626 (gst_clock_set_master):
17627 Drop our reference to the master clock, if any, when we are disposed.
17629 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17630 Chain up in dispose.
17632 2006-01-26 Wim Taymans <wim@fluendo.com>
17634 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17635 Add some debugging.
17637 2006-01-26 Julien MOUTTE <julien@moutte.net>
17639 * plugins/elements/gsttee.c: (gst_tee_do_push),
17640 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17641 handles pad being NOT_LINKED or in WRONG_STATE.
17643 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17648 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17651 remove obsolete entry
17653 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17655 * docs/gst/gstreamer-sections.txt:
17656 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17657 (gst_bin_iterate_sources), (gst_bin_send_event):
17659 * gst/gstelement.c: (gst_element_send_event):
17661 * gst/gstpad.c: (gst_pad_send_event):
17662 added code for downstream events, reviewed docs in gstevent.c
17664 2006-01-25 Julien MOUTTE <julien@moutte.net>
17666 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17667 We only query position using the clock in the playing state.
17668 Query peer in the other cases.
17669 * win32/common/config.h: Updates.
17671 2006-01-24 Wim Taymans <wim@fluendo.com>
17673 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17674 A clock entry that is scheduled for the exact time of the
17675 clock is still in time.
17677 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17678 (gst_base_sink_do_sync):
17679 Add some more debug info.
17681 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17684 Add new vs7 project files and solution.
17686 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17689 all files removed as they were out-dated.
17691 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17693 * docs/random/release:
17695 * gst/gstbin.c: (gst_bin_init):
17696 * gst/gstbus.c: (gst_bus_new):
17698 * gst/gstpipeline.c: (gst_pipeline_init):
17699 use gst_bus_new(), improve logging, fix docs
17700 * win32/common/config.h:
17701 update for cvs build
17703 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17706 up required version of automake to 1.7
17708 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17710 * win32/common/libgstreamer.def:
17711 export gst_buffer_is_metadata_writable
17713 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17715 * docs/gst/gstreamer-sections.txt:
17717 Add gst_event_replace() (#327001)
17719 2006-01-20 Wim Taymans <wim@fluendo.com>
17721 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17722 Make it actually compile too..
17724 2006-01-20 Wim Taymans <wim@fluendo.com>
17727 Clarify behaviour of _is_equal() when passing NULL parameters.
17729 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17730 (gst_pad_set_caps):
17731 Cleanups. Don't unref NULL caps.
17732 When setting the same caps, protect caps of the pad with
17734 Use full functionality of _is_equal() when comparing caps.
17736 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17738 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17739 Don't loop infinitely if there are no buffers to present. Partially
17740 fixes #327197, but collectpads is just broken for reusing elements
17741 to do multiple encodes atm.
17743 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17745 * tools/gst-inspect.c: (print_element_features):
17746 * tools/gst-xmlinspect.c: (main):
17747 URL_HANDLER is not a plugin feature we can search for in
17750 2006-01-19 Edward Hervey <edward@fluendo.com>
17752 * gst/gstelement.c: (gst_element_pads_activate):
17753 When activating, do src pads first, then sink pads.
17754 When de-activating, do sink pads first, then src pads.
17756 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17758 * docs/gst/gstreamer-sections.txt:
17759 Add gst_index_add_associationv to the docs
17761 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17766 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17767 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17768 Do some refactoring. Doesn't actually change functionality,
17769 but makes landing the DRAIN event easier later.
17771 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17773 * docs/pwg/advanced-scheduling.xml:
17774 Update from 0.9.x to 0.10 API and make example a bit
17777 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17779 * docs/gst/gstreamer-sections.txt:
17780 Add gst_buffer_(is|make)_metadata_writable methods.
17782 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17784 * docs/design/part-sparsestreams.txt:
17785 Update sparse streams doc, hopefully for greater clarity
17787 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17789 * docs/design/part-events.txt:
17790 Remove mention of FILLER events.
17793 * docs/design/part-sparsestreams.txt:
17794 Write some things about using NEWSEGMENT to keep sparse streams
17797 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17799 * gst/gstbin.c: (gst_bin_dispose):
17800 Guard gst_object_unref call against a NULL object (dispose
17801 can theoretically be called multiple times).
17803 2006-01-18 Wim Taymans <wim@fluendo.com>
17805 * gst/gstbin.c: (gst_bin_element_set_state):
17806 * gst/gstclock.c: (gst_clock_id_wait):
17807 Added some more debug info.
17809 * libs/gst/base/gstadapter.c:
17812 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17813 (gst_base_sink_do_sync), (gst_base_sink_chain):
17814 Added some comments.
17816 2006-01-18 Wim Taymans <wim@fluendo.com>
17818 * tests/check/Makefile.am:
17819 * tests/check/elements/fakesink.c: (chain_async_buffer),
17820 (chain_async), (chain_async_return), (GST_START_TEST),
17821 (fakesink_suite), (main):
17822 Added fakesink test that checks prerolling and clipping
17825 * tests/check/gst/gstutils.c: (GST_START_TEST):
17826 Make check run faster so that buildbots don't timeout.
17828 2006-01-18 Wim Taymans <wim@fluendo.com>
17830 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17831 (gst_base_sink_do_sync):
17833 When the sink finishes blocking on the preroll buffer, it can
17834 immediatly render it instead of rendering when the next buffer
17837 2006-01-18 Wim Taymans <wim@fluendo.com>
17839 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17840 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17841 (gst_base_sink_chain):
17843 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17844 Don't store _last_stop if the buffer is dropped.
17846 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17848 * plugins/elements/gsttypefindelement.c:
17849 (gst_type_find_element_class_init):
17850 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17851 object method handler that sets the caps on the pad and we want
17852 that to happen before we emit the signal (fixes e.g. feeding a
17853 plain text file to decodebin).
17855 2006-01-18 Christian Schaller <Christian@fluendo.com>
17857 * gst/gstplugin.c: Add MPL and Proprietary as license options
17859 2006-01-18 Andy Wingo <wingo@pobox.com>
17861 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17862 symbol was exported before, it appears this was just an oversight.
17864 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17866 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17867 prototype to gint. OK since this prototype was not in the header.
17869 2006-01-17 Andy Wingo <wingo@pobox.com>
17871 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17872 registry while we remove plugins.
17874 * tools/gst-inspect.c (print_element_info): Don't unref the
17875 factory arg, that should be the responsibility of whatever code
17876 received the ref. Fixes a double-free when called from
17877 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17878 (main): Unref the factory if we have one.
17879 (print_element_list): No change -- relies on the
17880 plugin_feature_list_free to free the list of features.
17882 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17884 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17885 (gst_buffer_make_metadata_writable):
17887 * libs/gst/base/gstbasetransform.c:
17888 (gst_base_transform_prepare_output_buf):
17889 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17890 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17891 Replace gst_buffer_(make|is)_metadata_writable patch now
17892 that the release is out.
17894 2006-01-17 Andy Wingo <wingo@pobox.com>
17896 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17897 in the present tense without reference to versions.
17899 * gst/gstregistry.c (gst_registry_add_plugin)
17900 (gst_registry_remove_plugin, gst_registry_remove_feature)
17901 (gst_registry_find_feature, gst_registry_get_feature_list)
17902 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17903 (gst_registry_lookup, gst_registry_scan_path)
17904 (_gst_registry_remove_cache_plugins)
17905 (gst_registry_get_feature_list_by_plugin): Add argument
17908 === release 0.10.2 ===
17910 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17913 releasing 0.10.2, "If man is five"
17915 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17919 * libs/gst/base/gstbasetransform.c:
17920 (gst_base_transform_prepare_output_buf):
17921 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17922 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17923 Back out patch until after the release.
17925 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17927 * gst/gstminiobject.c:
17928 Spelling fix in docs.
17929 * ChangeLog - remove conflict indicator
17931 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17933 Reviewed By: Andy Wingo
17935 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17936 (gst_buffer_make_metadata_writable):
17938 Add gst_buffer_(is|make)_metadata_writable as analogues of
17939 gst_buffer_(is|make)_writable.
17941 * libs/gst/base/gstbasetransform.c:
17942 (gst_base_transform_prepare_output_buf):
17943 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17944 Use name gst_buffer_(is|make)_metadata_writable functions.
17946 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17947 Test gst_buffer_(is|make)_metadata_writable
17951 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17953 * docs/manual/Makefile.am:
17954 don't do parallel make
17957 * win32/common/config.h.in:
17958 add generations for HOST_CPU and GST_MAJORMINOR
17959 * win32/common/config.h:
17960 commit generated result
17962 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17964 * docs/manual/appendix-integration.xml:
17965 Update GNOME integration section to use gst_init_get_option_group()
17966 instead of the old popt stuff (#322911). Also, GNOME applications
17967 should now use gconf*sink and gconf*src instead of the old gconf
17970 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17973 * docs/gst/gstreamer-docs.sgml:
17974 * docs/gst/gstreamer-sections.txt:
17975 * docs/libs/gstreamer-libs-sections.txt:
17976 add new API entries to the docs
17977 * libs/gst/controller/Makefile.am:
17978 * libs/gst/controller/gstcontroller.c:
17979 * libs/gst/controller/gstcontroller.h:
17980 * libs/gst/controller/gstcontrollerprivate.h:
17981 * libs/gst/controller/gsthelper.c:
17982 * libs/gst/controller/gstinterpolation.c:
17983 move private structs to private header
17985 gstreamer-0.7 -> gstreamer-0.10
17986 * tests/check/libs/struct_i386.h:
17987 remove private structs
17989 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17991 * plugins/indexers/Makefile.am:
17992 Fixes as part of #317048
17994 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17996 * plugins/indexers/Makefile.am:
17997 fix #316086 - compilation when mmap is missing
17999 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18001 * libs/gst/base/gstbasesink.c:
18002 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18003 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18004 * win32/common/config.h:
18005 added some defines GST_MAJORMINOR and HOST_CPU
18006 * win32/common/libgstbase.def:
18007 * win32/common/libgstreamer.def:
18008 added some exported functions.
18010 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18012 * libs/gst/controller/gstcontroller.c:
18013 (gst_controlled_property_set_interpolation_mode),
18014 (gst_controlled_property_new):
18015 * libs/gst/controller/gstcontroller.h:
18016 * libs/gst/controller/gstinterpolation.c:
18017 (interpolate_none_get_string_value_array):
18018 make G_TYPE_STRING controlable
18020 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18023 * tools/gst-feedback.1.in:
18024 * tools/gst-inspect.1.in:
18025 * tools/gst-launch.1.in:
18026 * tools/gst-md5sum.1.in:
18027 * tools/gst-typefind.1.in:
18028 * tools/gst-xmlinspect.1.in:
18029 * tools/gst-xmllaunch.1.in:
18030 cleanup man-pages, remove reference to gst-register, document env-vars
18032 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18034 * gst/gstbuffer.c: (gst_buffer_span):
18035 gst_buffer_span should copy the timestamp of the first buffer
18036 if they were both originally overlapping subbuffers of the
18037 same parent, using the same logic as the 'slow copy' case.
18039 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18041 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18042 Need to awaken ALL the pads when we pop a buffer, otherwise
18043 collectpads only works when there is 2 input streams.
18045 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18047 * docs/random/ensonic/media-device-daemon.txt:
18050 fix doc example, add clarification
18051 * tools/gst-launch.1.in:
18052 add initial info about GST_PLUGIN_PATH, needs more work
18054 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18056 * docs/manual/basics-bins.xml:
18057 * docs/manual/basics-elements.xml:
18058 * docs/manual/intro-basics.xml:
18059 Some more minor docs additions and updates.
18061 2006-01-11 Wim Taymans <wim@fluendo.com>
18063 * docs/manual/basics-bins.xml:
18064 * docs/manual/basics-elements.xml:
18065 Some small fixes as pointed out by Ser-ver on IRC.
18067 2006-01-10 Edward Hervey <edward@fluendo.com>
18069 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18070 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18071 the single-segment mode.
18073 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18075 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18077 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18078 (gst_base_src_perform_seek), (gst_base_src_send_event),
18079 (gst_base_src_set_property), (gst_base_src_get_property),
18080 (gst_base_src_loop), (gst_base_src_start),
18081 (gst_base_src_activate_push):
18082 * libs/gst/base/gstbasesrc.h:
18083 Name (private) union; makes Sun's Forte compiler happy (#324900).
18085 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18088 gst-register is gone.
18090 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18092 * gst/gstvalue.c: (_gst_value_initialize):
18093 make the G_TYPE_DATE instantiation work if debug is disabled
18095 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18097 * gst/gstmessage.c: (gst_message_parse_tag),
18098 (gst_message_parse_error), (gst_message_parse_warning):
18099 Don't crash when return location for error/warning debug
18100 string is NULL; add fact that return locations can be
18101 NULL to docs where appropriate.
18103 2006-01-05 Wim Taymans <wim@fluendo.com>
18105 * gst/gstplugin.c: (gst_plugin_load_file):
18106 Replace strdup by g_strdup.
18108 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18110 * docs/pwg/advanced-types.xml:
18113 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18115 submitted by: Abel Cheung
18119 Added Chinese (traditional) translation
18121 2006-01-04 Wim Taymans <wim@fluendo.com>
18123 * docs/manual/basics-pads.xml:
18124 * docs/plugins/Makefile.am:
18125 * docs/plugins/gstreamer-plugins-docs.sgml:
18126 * docs/plugins/gstreamer-plugins-sections.txt:
18127 * docs/pwg/advanced-clock.xml:
18128 * docs/pwg/advanced-scheduling.xml:
18129 * docs/pwg/advanced-types.xml:
18130 * plugins/elements/gstfdsink.c:
18131 * plugins/elements/gstfdsrc.c:
18132 * plugins/elements/gstfdsrc.h:
18133 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18134 * plugins/elements/gstidentity.h:
18135 * plugins/elements/gstqueue.h:
18136 * plugins/elements/gsttee.c:
18137 * plugins/elements/gsttee.h:
18138 * plugins/elements/gsttypefindelement.c:
18139 (gst_type_find_element_class_init):
18140 * plugins/elements/gsttypefindelement.h:
18141 Small updates to various docs.
18142 Added core plugins to docs.
18144 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18147 add a suppression for liboil's uninitialized variable
18149 2006-01-02 James Livingston <jrl at ids dot org dot au>
18151 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18154 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18155 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18156 compiler switch is being used (#325429).
18158 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18160 * gst/gstbin.c: (gst_bin_query):
18161 Disable duration query caching in bins until it gets
18162 fixed (see #324807).
18164 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18166 * tools/gst-inspect.c: (print_element_properties_info):
18167 Handle properties of POINTER and BOXED type.
18169 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18171 * gst/gst.c: (init_post):
18172 Init tags stuff and some other things before loading
18173 any static plugins (there may be other static plugins
18174 than just the GStreamer ones, and they may want to
18175 register their own tags or formats or whatever, and
18176 preferably without segfaulting).
18178 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18179 Print at least a warning in the debug logs if we drop a
18180 query just because we don't know how to adjust the value
18181 in the particular format.
18183 2005-12-24 David Schleef <ds@schleef.org>
18185 * tools/gstreamer-completion:
18186 Replacement for gst-complete written in sh and sed. Only
18187 completes names of features, but that's 90% of what I want
18188 it for. Properties are not available in registry.xml. (Maybe
18191 === release 0.10.1 ===
18193 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18196 releasing 0.10.1, "Nollaig chridheil"
18198 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18200 * docs/faq/cvs.xml:
18201 Add missing quote, should be make ERROR_CFLAGS="".
18203 2005-12-20 Wim Taymans <wim@fluendo.com>
18205 * docs/design/part-trickmodes.txt:
18206 More documentation on trickmodes.
18208 2005-12-20 Edward Hervey <edward@fluendo.com>
18210 * gst/gstcaps.c: (gst_static_caps_get_type):
18212 API addition: GST_TYPE_STATIC_CAPS
18213 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18214 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18215 * gst/gstpadtemplate.h:
18216 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18217 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18220 2005-12-18 Wim Taymans <wim@fluendo.com>
18222 * libs/gst/base/gstadapter.c:
18223 * libs/gst/base/gstadapter.h:
18224 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18225 (gst_base_sink_get_position):
18226 * libs/gst/base/gstbasesink.h:
18227 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18228 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18229 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18230 (gst_base_src_send_event), (gst_base_src_update_length),
18231 (gst_base_src_get_range), (gst_base_src_loop),
18232 (gst_base_src_start):
18233 * libs/gst/base/gstbasesrc.h:
18234 * libs/gst/base/gstbasetransform.h:
18235 * libs/gst/base/gstcollectpads.h:
18236 * libs/gst/base/gstpushsrc.c:
18237 * libs/gst/base/gstpushsrc.h:
18238 * libs/gst/dataprotocol/dataprotocol.c:
18239 * libs/gst/dataprotocol/dataprotocol.h:
18240 * libs/gst/net/gstnetclientclock.h:
18241 * libs/gst/net/gstnettimeprovider.h:
18242 Documentation updates.
18244 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18246 * docs/manual/basics-helloworld.xml:
18247 Remove superfluous closing bracket in helloworld example.
18249 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18251 * tools/gst-launch.1.in:
18252 Update gst-launch man page; add a section with useful
18253 environment variables. Fixes #323882.
18255 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18258 * gst/gst_private.h:
18259 change some char* into char[]
18261 2005-12-16 Wim Taymans <wim@fluendo.com>
18263 * gst/gstregistryxml.c: (load_feature):
18265 Don't use g_object_unref on GstObjects so that we avoid
18266 leaks on unsafe glibs.
18268 2005-12-16 Wim Taymans <wim@fluendo.com>
18270 * gst/gstbin.c: (gst_bin_recalc_state):
18273 2005-12-16 Wim Taymans <wim@fluendo.com>
18275 * common/check.mak:
18276 Added make forever target for check.
18278 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18280 * gst/gst.c: (init_post):
18281 make the registry cache file HOST_CPU-dependent
18283 2005-12-16 Andy Wingo <wingo@pobox.com>
18285 * plugins/elements/gstbufferstore.c
18286 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18289 * tests/check/gst/gstobject.c
18290 (test_fake_object_name_threaded_unique): Pay attention to
18291 g_list_sort return value.
18293 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18295 * tools/gst-feedback-m.m:
18296 Update for 0.9/0.10 (fixes #323870).
18298 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18300 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18301 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18303 * tests/check/gst/gstminiobject.c: (my_foo_init),
18304 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18305 (test_value_collection), (gst_mini_object_suite):
18306 Add test to ensure refcounts end up as expected when passing
18307 GstMiniObjects through g_object_get() and g_object_set().
18309 2005-12-14 Julien MOUTTE <julien@moutte.net>
18311 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18312 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18313 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18314 of collectpads. This version removes a lot of races without
18315 touching API/ABI. Yay !
18317 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18319 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18320 Don't allow activation of a srcpad in pull_range if it has no
18322 Change some debug statements to be a little clearer
18324 * plugins/elements/gsttypefindelement.c:
18325 (gst_type_find_handle_src_query):
18326 Check that we have a peer before executing queries thereupon.
18328 * tests/examples/metadata/read-metadata.c: (message_loop):
18329 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18330 immediately return us any available message with 0 timeout.
18332 2005-12-12 Michael Smith <msmith@fluendo.com>
18334 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18335 Don't unref factories after calling them.
18336 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18337 * plugins/elements/gsttypefindelement.c:
18338 (gst_type_find_element_chain):
18339 Free lists of factories after using them. Fixing typefinding memory
18342 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18344 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18345 (gst_plugin_feature_load):
18346 more meaningful debug output
18348 * tests/Makefile.am:
18349 * tests/old/examples/Makefile.am:
18350 make make distcheck happy again
18352 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18354 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18355 Catch the special case where we are operating chain-based,
18356 but the downstream peer pad has no chain function. Emit a
18357 custom error message in this case instead of letting the
18358 core generate one implying that this is some sort of core
18359 bug. It's not, it just means that whatever got plugged
18360 into the pipeline downstream when we announced the type
18361 can only operate pull-based, while our source can only
18362 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18363 Error string has not been marked for translation yet, as
18364 it probably needs some more work first.
18366 (gst_type_find_element_get_best_possibility):
18367 Add helper function to find the best of all available
18368 found possibilities that qualify given the min. threshold.
18370 (gst_type_find_element_handle_event):
18371 Fix the case where we get an EOS while still in TYPEFIND
18372 mode (we want to chose the best of all possible types,
18373 not just the first type that happens to be in our unsorted
18374 list of possible types).
18376 (gst_type_find_element_chain):
18377 Make sure we return GST_FLOW_ERROR when we errored out
18378 in stop_typefinding(); also, don't just find the best of
18379 all found type entries and then use the last examined
18380 type entry, but actually use the best entry.
18382 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18384 * tests/examples/typefind/typefind.c: (type_found):
18385 * tests/examples/xml/runxml.c: (xml_loaded):
18386 More gcc4 fixes and a mem leak fix.
18388 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18390 * tests/examples/xml/createxml.c: (object_saved):
18393 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18395 * tests/Makefile.am:
18396 enable the examples even more
18398 2005-12-12 Andy Wingo <wingo@pobox.com>
18400 * libs/gst/net/gstnettimeprovider.c
18401 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18402 (gst_net_time_provider_set_property)
18403 (gst_net_time_provider_get_property):
18404 API addition: Export "active" as a GObject property.
18405 (gst_net_time_provider_thread): Only respond to time queries if
18406 the time provider is active.
18408 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18409 NetTimeProvider, preserving binary compat.
18411 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18413 * tests/examples/controller/audio-example.c: (main):
18414 * tests/examples/launch/Makefile.am:
18415 convert comments again
18417 2005-12-12 Wim Taymans <wim@fluendo.com>
18419 * libs/gst/base/gstpushsrc.c:
18422 2005-12-12 Wim Taymans <wim@fluendo.com>
18424 * docs/libs/gstreamer-libs-sections.txt:
18425 Added new symbol to docs.
18427 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18428 (gst_base_src_init), (gst_base_src_set_format),
18429 (gst_base_src_default_query), (gst_base_src_query),
18430 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18431 (gst_base_src_perform_seek), (gst_base_src_send_event),
18432 (gst_base_src_default_event), (gst_base_src_event_handler),
18433 (gst_base_src_set_property), (gst_base_src_get_property),
18434 (gst_base_src_wait), (gst_base_src_do_sync),
18435 (gst_base_src_update_length), (gst_base_src_get_range),
18436 (gst_base_src_check_get_range), (gst_base_src_loop),
18437 (gst_base_src_default_negotiate), (gst_base_src_start),
18438 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18439 (gst_base_src_change_state):
18440 * libs/gst/base/gstbasesrc.h:
18441 Implement seeking to other formats than _BYTES.
18442 Implement more seeking methods correctly.
18444 Added query vmethod.
18445 Added do_seek vmethod to make life easier for subclasses
18447 API addition: gst_base_src_set_format()
18449 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18451 * tests/examples/Makefile.am:
18454 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18457 * docs/random/ensonic/media-device-daemon.txt:
18458 * tests/examples/controller/.cvsignore:
18459 * tests/examples/controller/Makefile.am:
18460 * tests/examples/controller/audio-example.c: (main):
18461 * tests/examples/helloworld/.cvsignore:
18462 * tests/examples/helloworld/Makefile.am:
18463 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18464 * tests/examples/launch/.cvsignore:
18465 * tests/examples/launch/Makefile.am:
18466 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18467 * tests/examples/metadata/.cvsignore:
18468 * tests/examples/metadata/Makefile.am:
18469 * tests/examples/metadata/read-metadata.c: (message_loop),
18470 (make_pipeline), (print_tag), (main):
18471 * tests/examples/queue/.cvsignore:
18472 * tests/examples/queue/Makefile.am:
18473 * tests/examples/queue/queue.c: (event_loop), (main):
18474 * tests/examples/typefind/.cvsignore:
18475 * tests/examples/typefind/Makefile.am:
18476 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18478 * tests/examples/xml/.cvsignore:
18479 * tests/examples/xml/Makefile.am:
18480 * tests/examples/xml/createxml.c: (object_saved), (main):
18481 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18482 * tests/old/examples/Makefile.am:
18483 * tests/old/examples/TODO:
18484 * tests/old/examples/controller/.cvsignore:
18485 * tests/old/examples/controller/Makefile.am:
18486 * tests/old/examples/controller/audio-example.c:
18487 * tests/old/examples/helloworld/.cvsignore:
18488 * tests/old/examples/helloworld/Makefile.am:
18489 * tests/old/examples/helloworld/helloworld.c:
18490 * tests/old/examples/launch/.cvsignore:
18491 * tests/old/examples/launch/Makefile.am:
18492 * tests/old/examples/launch/mp3parselaunch.c:
18493 * tests/old/examples/launch/mp3play:
18494 * tests/old/examples/manual/Makefile.am:
18495 * tests/old/examples/metadata/Makefile.am:
18496 * tests/old/examples/metadata/read-metadata.c:
18497 * tests/old/examples/queue/.cvsignore:
18498 * tests/old/examples/queue/Makefile.am:
18499 * tests/old/examples/queue/queue.c:
18500 * tests/old/examples/typefind/.cvsignore:
18501 * tests/old/examples/typefind/Makefile.am:
18502 * tests/old/examples/typefind/typefind.c:
18503 * tests/old/examples/xml/.cvsignore:
18504 * tests/old/examples/xml/Makefile.am:
18505 * tests/old/examples/xml/createxml.c:
18506 * tests/old/examples/xml/runxml.c:
18507 applied some simple fixing to some examples
18508 re-enabled the working examples
18510 2005-12-12 Wim Taymans <wim@fluendo.com>
18512 * gst/gstsegment.c: (gst_segment_init),
18513 (gst_segment_set_last_stop), (gst_segment_set_seek),
18514 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18515 (gst_segment_to_running_time):
18516 Added more documentation.
18517 Make sure the last_pos value is updated properly.
18518 Make sure to_stream_time and to_running_time don't
18519 operate on wrong values.
18521 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18524 2005-12-12 Michael Smith <msmith@fluendo.com>
18526 * plugins/elements/gsttypefindelement.c: (free_entry),
18527 (gst_type_find_element_chain):
18528 Now that we're not leaking factories, make sure we keep references
18529 to them while we need them.
18531 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18533 * tests/check/gst/struct_i386.h:
18534 ifdef out the XML structs
18536 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18538 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18539 floor is not needed, F is always positive; this obviates the
18540 need for adding -lm when building without libxml
18542 2005-12-12 Wim Taymans <wim@fluendo.com>
18544 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18545 Take current playback rate into account when reporting
18548 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18550 * docs/manual/mime-world.fig:
18551 Let's try this again, this time with a file that is
18552 actually in XFig format.
18554 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18556 * docs/manual/mime-world.fig:
18557 Add audioconvert element to diagram so that it
18558 matches the text and the code (fixes #319526).
18560 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18562 * docs/pwg/building-chainfn.xml:
18563 * docs/pwg/building-pads.xml:
18564 * docs/pwg/building-state.xml:
18565 * docs/pwg/other-source.xml:
18566 Update state change stuff for 0.10 (fixes #322969).
18568 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18570 * docs/manual/advanced-dataaccess.xml:
18571 * docs/manual/appendix-checklist.xml:
18572 * docs/manual/appendix-programs.xml:
18573 * docs/manual/basics-pads.xml:
18574 * docs/manual/highlevel-components.xml:
18575 * docs/manual/manual.xml:
18576 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18577 add converters in front of pipelines; remove curly
18578 brackets for threads stuff, they no longer exist; use
18579 GST_TYPE_FRACTION for framerates; update some pieces of
18580 code to 0.10, but there's plenty more to do.
18582 * docs/manual/appendix-porting.xml:
18583 Expand on asynchroneous state changes; s/0.9/0.10/;
18584 mention disappearance of gst_init_get_popt_table()
18587 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18589 * docs/faq/using.xml:
18590 Spider no longer exists, and neither does gst-launch-ext.
18591 Update examples to use decodebin and playbin and put
18592 converters in front of sinks (fixes #323726).
18594 2005-12-09 Michael Smith <msmith@fluendo.com>
18596 * plugins/elements/gsttypefindelement.c: (find_peek),
18597 (gst_type_find_element_chain):
18598 Fix leaking element factories in typefinding.
18599 Fix problem where we forgot about a probable type on non-seekable
18600 files, and thus later mis-typefound it.
18602 2005-12-09 Michael Smith <msmith@fluendo.com>
18604 * common/m4/gst-makecontext.m4:
18605 * common/m4/gst-mcsc.m4:
18607 * win32/common/config.h:
18608 * win32/common/config.h.in:
18609 Remove makecontext stuff; not used in 0.10 and causes problems on
18610 HPUX according to bug #322441
18612 2005-12-07 Wim Taymans <wim@fluendo.com>
18614 * tests/check/Makefile.am:
18615 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18617 * tests/check/libs/struct_i386.h:
18618 Added ABI check for libs
18620 2005-12-07 Wim Taymans <wim@fluendo.com>
18622 * tests/check/Makefile.am:
18623 And add the struct_i386.h to dist.
18625 2005-12-07 Wim Taymans <wim@fluendo.com>
18627 * tests/check/Makefile.am:
18628 * tests/check/gst/.cvsignore:
18629 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18631 * tests/check/gst/struct_i386.h:
18632 Added check for ABI compatibility.
18634 2005-12-07 Wim Taymans <wim@fluendo.com>
18636 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18637 (gst_fake_src_get_times), (gst_fake_src_create):
18638 Fix broken sync option, fixes #323259
18640 2005-12-07 Wim Taymans <wim@fluendo.com>
18645 * gst/gstcaps.c: (gst_caps_is_equal):
18646 Don't assert on NULL <--> X. Fixes #323260
18648 * gst/gstminiobject.c: (gst_mini_object_replace):
18649 If we're doing atomic operations, we might just as well use
18650 the proper way to get an atomic pointer.
18652 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18653 Clean up debugging.
18655 2005-12-07 Michael Smith <msmith@fluendo.com>
18657 * gst/parse/grammar.y:
18658 Remove handling of { } for threads.
18660 2005-12-06 David Schleef <ds@schleef.org>
18662 * libs/gst/base/gstbasetransform.c: speling fix.
18664 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18666 * docs/libs/tmpl/gstdataprotocol.sgml:
18667 * docs/random/omega/testing/gstobject.c:
18670 * gst/gstelement.c:
18671 * gst/gstelementfactory.c:
18674 * gst/gstghostpad.c:
18676 * gst/gstpadtemplate.c:
18677 * gst/gstregistryxml.c:
18678 * gst/gsttaglist.c:
18679 * gst/gsttagsetter.c:
18680 * gst/gsttypefind.c:
18682 * libs/gst/base/gstbasesrc.c:
18683 * libs/gst/net/gstnetclientclock.c:
18684 * libs/gst/net/gstnettimeprovider.c:
18685 * plugins/elements/gstfakesrc.c:
18686 * plugins/elements/gstfdsrc.c:
18687 * plugins/elements/gstfilesrc.c:
18688 * plugins/elements/gstidentity.c:
18689 * plugins/elements/gstqueue.c:
18690 * plugins/elements/gsttypefindelement.c:
18691 * plugins/indexers/gstfileindex.c:
18692 * plugins/indexers/gstmemindex.c:
18693 * tests/check/gst/gsttag.c:
18694 * tests/old/examples/cutter/cutter.c:
18695 * tests/old/examples/mixer/mixer.c:
18696 * tests/old/examples/xml/runxml.c: (main):
18697 * tests/old/testsuite/caps/normalisation.c:
18698 * tests/old/testsuite/debug/global.c:
18699 * tests/old/testsuite/parse/parse1.c:
18700 * tools/gst-xmlinspect.c:
18701 * win32/common/dirent.c:
18704 === release 0.10.0 ===
18706 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18709 releasing 0.10.0, "Maroilles"
18711 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18713 submitted by: Funda Wang <fundawang@linux.net.cn>
18717 added Chinese (Traditional) translation
18719 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18721 * docs/gst/gstreamer-sections.txt:
18722 * docs/libs/tmpl/gstdataprotocol.sgml:
18723 * docs/random/thomasvs/TODO:
18728 2005-12-05 Andy Wingo <wingo@pobox.com>
18730 patch by: Wim Taymans <wim@fluendo.com>
18732 * libs/gst/base/gstbasetransform.c
18733 (gst_base_transform_prepare_output_buf)
18734 (gst_base_transform_buffer_alloc):
18735 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18736 alloc_buffer_and_set_caps.
18738 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18739 set_caps on the source pad.
18740 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18741 alloc_buffer used to do. Fixes #322874.
18743 * docs/gst/gstreamer-sections.txt:
18744 * docs/design/part-negotiation.txt:
18745 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18748 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18750 patch by: Sebastien Moutte
18753 * win32/common/config.h.in:
18754 * win32/vs6/libgstcontroller.dsp:
18757 2005-12-05 Wim Taymans <wim@fluendo.com>
18759 * gst/gstcaps.c: (gst_caps_is_equal):
18760 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18761 (gst_fake_src_create):
18762 Back out previous code changes, leave doc updates, file bugs
18765 2005-12-05 Wim Taymans <wim@fluendo.com>
18767 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18768 (gst_fake_src_get_times), (gst_fake_src_create):
18769 * plugins/elements/gstfakesrc.h:
18770 Fix broken sync code.
18772 2005-12-05 Wim Taymans <wim@fluendo.com>
18774 * gst/gstcaps.c: (gst_caps_is_equal):
18775 Comparing NULL against !NULL yields different caps, not a
18778 2005-12-05 Wim Taymans <wim@fluendo.com>
18780 * gst/gstpipeline.c:
18781 Fix small typo in docs.
18783 2005-12-05 Andy Wingo <wingo@pobox.com>
18785 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18787 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18788 registries/plugins with a MAJORMINOR one.
18789 (plugin_desc): Rename library from gstcoreleements to
18790 staticelements. Fixes #323222.
18792 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18794 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18795 Change debug category to 'collectpads' from 'collect_pads'
18798 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18800 patch by: Sebastien Moutte
18802 * libs/gst/controller/gstinterpolation.c:
18803 use convert function for uint64/double
18804 * win32/vs6/libgstcontroller.dsp:
18807 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18809 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18810 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18812 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18813 add tests that seem to show that the guint64/gdouble conversions
18816 2005-12-02 Wim Taymans <wim@fluendo.com>
18818 * gst/gstregistry.c: (gst_registry_add_path):
18819 * gst/gstregistry.h:
18820 * gst/gstregistryxml.c:
18823 2005-12-02 Wim Taymans <wim@fluendo.com>
18825 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18826 (gst_util_uint64_scale_int):
18829 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18830 Add debug log line.
18832 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18835 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18838 * win32/common/config.h:
18839 * win32/vs6/gstreamer.dsw:
18840 * win32/vs6/libgstcoreelements.dsp:
18841 * win32/vs6/libgstelements.dsp:
18842 renamed core elements plugin
18844 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18846 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18848 do piece-wise major/minor comparison so 0.9 < 0.10
18849 also allow .exe extensions for tools
18851 2005-12-02 Michael Smith <msmith@fluendo.com>
18854 Escape a % to make gtkdoc happier; bug 322958.
18856 === release 0.9.7 ===
18858 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18861 releasing 0.9.7, "My Dog Has No Nose"
18863 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18865 * common/gst-xmlinspect.py:
18867 * docs/libs/tmpl/gstdataprotocol.sgml:
18868 * docs/random/release:
18887 * win32/common/config.h:
18888 * win32/common/config.h.in:
18889 * win32/vs6/gst_inspect.dsp:
18890 * win32/vs6/gst_launch.dsp:
18891 * win32/vs6/libgstbase.dsp:
18892 * win32/vs6/libgstelements.dsp:
18893 * win32/vs6/libgstreamer.dsp:
18894 * win32/vs7/GStreamer.vcproj:
18895 * win32/vs7/gst-inspect.vcproj:
18896 * win32/vs7/gst-launch.vcproj:
18897 * win32/vs7/libgstbase.vcproj:
18898 bump GST_MAJORMINOR to 0.10
18899 reset libtool version
18901 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18905 Added Bulgarian translation by (Alexander Shopov)
18907 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18909 * tests/check/gst/gstplugin.c:
18912 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18914 * common/gst-xmlinspect.py:
18915 * common/gtk-doc-plugins.mak:
18917 * docs/Makefile.am:
18918 * docs/gst/Makefile.am:
18919 * docs/gst/gstreamer-docs.sgml:
18920 * docs/gst/gstreamer-sections.txt:
18921 * docs/gst/gstreamer.types:
18922 * docs/gst/gstreamer.types.in:
18923 * docs/plugins/Makefile.am:
18924 * docs/plugins/gstreamer-plugins-docs.sgml:
18925 * docs/plugins/gstreamer-plugins-sections.txt:
18926 * docs/plugins/gstreamer-plugins.types:
18927 * docs/plugins/inspect.stamp:
18928 * docs/plugins/inspect/plugin-coreelements.xml:
18929 * docs/plugins/inspect/plugin-coreindexers.xml:
18930 * docs/plugins/scanobj-build.stamp:
18931 * gstreamer.spec.in:
18932 * plugins/elements/Makefile.am:
18933 * plugins/elements/gstelements.c:
18934 * plugins/elements/gstfakesink.c:
18935 * plugins/elements/gstfakesrc.c:
18936 * plugins/elements/gstfilesink.c:
18937 * plugins/elements/gstfilesrc.c:
18938 * plugins/elements/gstqueue.c:
18939 * plugins/indexers/Makefile.am:
18940 * plugins/indexers/gstindexers.c:
18941 document core plugins in a separate document just like all the
18943 rename these plugins to something starting with core
18945 2005-12-01 Andy Wingo <wingo@pobox.com>
18947 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18948 padding here before, but it missed the commit.
18950 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18952 * libs/gst/controller/gstinterpolation.c:
18953 whitespace prices have crashed, we should feel free to use some now
18954 use gst_guint64_to_gdouble
18956 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18958 * libs/gst/controller/gstcontroller.c:
18959 * libs/gst/controller/gsthelper.c:
18960 * libs/gst/controller/gstinterpolation.c:
18961 * libs/gst/controller/lib.c:
18962 wrap config.h include
18964 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18966 * docs/gst/gstreamer-sections.txt:
18969 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18971 * plugins/elements/gstelements.c:
18972 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18973 (gst_fd_sink__class_init), (gst_fd_sink__init),
18974 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18975 (gst_fd_sink__get_property):
18976 * plugins/elements/gstfdsink.h:
18977 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18978 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18979 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18980 (gst_fd_src_unlock), (gst_fd_src_set_property),
18981 (gst_fd_src_get_property), (gst_fd_src_create),
18982 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18983 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18984 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18985 (gst_fd_src_uri_handler_init):
18986 * plugins/elements/gstfdsrc.h:
18987 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18990 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18992 * docs/gst/Makefile.am:
18993 * docs/gst/gstreamer.types.in:
18997 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19003 * gst/gstregistry.h:
19004 * tests/benchmarks/complexity.c:
19005 * tests/benchmarks/mass-elements.c:
19006 * tests/check/Makefile.am:
19007 * tools/Makefile.am:
19008 * tools/gst-inspect.c:
19009 * tools/gst-xmlinspect.c:
19010 various fixes to make
19011 --disable-nls --disable-registry --disable-loadsave
19012 --disable-parse --disable-gst-debug
19013 work and get the core .so down to 360444 bytes after stripping
19015 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19020 * docs/random/thomasvs/TODO:
19021 * tests/Makefile.am:
19025 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19027 * win32/GStreamer.vcproj:
19030 * win32/Makefile.inspect:
19031 * win32/Makefile.launch:
19032 * win32/Makefile.register:
19033 * win32/README.txt:
19034 * win32/gst-inspect.vcproj:
19035 * win32/gst-launch.vcproj:
19036 * win32/gst-register.vcproj:
19037 * win32/gstelements.vcproj:
19038 * win32/gstgetbits.def:
19039 * win32/gstgetbits.vcproj:
19040 * win32/gstreamer-dbg.def:
19041 * win32/gstreamer.def:
19042 * win32/libgstbase.def:
19043 * win32/libgstbase.vcproj:
19044 * win32/link_oldruntime.c:
19048 * win32/msvc71.sln:
19049 move even more stuff, win32/ is nice and clean now
19051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19053 * libs/gst/control/.cvsignore:
19058 * win32/gstbytestream.def:
19059 * win32/gstbytestream.vcproj:
19060 * win32/gstconfig.h:
19061 * win32/gstenumtypes.c:
19062 * win32/gstenumtypes.h:
19063 * win32/gstoptimalscheduler.vcproj:
19064 * win32/gstversion.h:
19066 * win32/testsuite/bins.vcproj:
19067 * win32/testsuite/bytestream.vcproj:
19068 * win32/testsuite/caps.vcproj:
19069 * win32/testsuite/cleanup.vcproj:
19070 * win32/testsuite/clock.vcproj:
19071 * win32/testsuite/debug.vcproj:
19072 * win32/testsuite/dlopen.vcproj:
19073 * win32/testsuite/dynparams.vcproj:
19074 * win32/testsuite/elements.vcproj:
19075 * win32/testsuite/ghostpads.vcproj:
19076 * win32/testsuite/indexers.vcproj:
19077 * win32/testsuite/negotiation.vcproj:
19078 * win32/testsuite/parse.vcproj:
19079 * win32/testsuite/plugin.vcproj:
19080 * win32/testsuite/refcounting.vcproj:
19081 * win32/testsuite/schedulers.vcproj:
19082 * win32/testsuite/states.vcproj:
19083 * win32/testsuite/tags.vcproj:
19084 * win32/testsuite/threads.vcproj:
19085 remove old win32 stuff that isn't maintained and should be
19088 2005-11-30 Andy Wingo <wingo@pobox.com>
19090 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19091 loading the gst.interfaces python module bork.
19093 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19094 available since GLib 2.2. Fixes #318031.
19096 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19099 * check/.cvsignore:
19100 * check/Makefile.am:
19101 * check/elements/.cvsignore:
19102 * check/elements/fakesrc.c:
19103 * check/elements/fdsrc.c:
19104 * check/elements/identity.c:
19105 * check/generic/.cvsignore:
19106 * check/generic/states.c:
19107 * check/gst-libs/.cvsignore:
19108 * check/gst-libs/controller.c:
19109 * check/gst-libs/gdp.c:
19110 * check/gst/.cvsignore:
19111 * check/gst/capslist.h:
19113 * check/gst/gstbin.c:
19114 * check/gst/gstbuffer.c:
19115 * check/gst/gstbus.c:
19116 * check/gst/gstcaps.c:
19117 * check/gst/gstelement.c:
19118 * check/gst/gstevent.c:
19119 * check/gst/gstghostpad.c:
19120 * check/gst/gstiterator.c:
19121 * check/gst/gstmessage.c:
19122 * check/gst/gstminiobject.c:
19123 * check/gst/gstobject.c:
19124 * check/gst/gstpad.c:
19125 * check/gst/gstpipeline.c:
19126 * check/gst/gstplugin.c:
19127 * check/gst/gstsegment.c:
19128 * check/gst/gststructure.c:
19129 * check/gst/gstsystemclock.c:
19130 * check/gst/gsttag.c:
19131 * check/gst/gstutils.c:
19132 * check/gst/gstvalue.c:
19133 * check/net/.cvsignore:
19134 * check/net/gstnetclientclock.c:
19135 * check/net/gstnettimeprovider.c:
19136 * check/pipelines/.cvsignore:
19137 * check/pipelines/cleanup.c:
19138 * check/pipelines/simple_launch_lines.c:
19139 * check/pipelines/stress.c:
19140 * check/states/.cvsignore:
19141 * check/states/sinks.c:
19143 * examples/Makefile.am:
19144 * examples/appreader/.cvsignore:
19145 * examples/appreader/Makefile.am:
19146 * examples/appreader/appreader.c:
19147 * examples/controller/.cvsignore:
19148 * examples/controller/Makefile.am:
19149 * examples/controller/audio-example.c:
19150 * examples/cutter/.cvsignore:
19151 * examples/cutter/Makefile.am:
19152 * examples/cutter/cutter.c:
19153 * examples/cutter/cutter.h:
19154 * examples/events/Makefile.am:
19155 * examples/events/seek.c:
19156 * examples/helloworld/.cvsignore:
19157 * examples/helloworld/Makefile.am:
19158 * examples/helloworld/helloworld.c:
19159 * examples/helloworld2/.cvsignore:
19160 * examples/helloworld2/Makefile.am:
19161 * examples/helloworld2/helloworld2.c:
19162 * examples/launch/.cvsignore:
19163 * examples/launch/Makefile.am:
19164 * examples/launch/mp3parselaunch.c:
19165 * examples/launch/mp3play:
19166 * examples/manual/.cvsignore:
19167 * examples/manual/Makefile.am:
19168 * examples/manual/extract.pl:
19169 * examples/metadata/Makefile.am:
19170 * examples/metadata/read-metadata.c:
19171 * examples/mixer/.cvsignore:
19172 * examples/mixer/Makefile.am:
19173 * examples/mixer/mixer.c:
19174 * examples/mixer/mixer.h:
19175 * examples/pingpong/.cvsignore:
19176 * examples/pingpong/Makefile.am:
19177 * examples/pingpong/pingpong.c:
19178 * examples/plugins/.cvsignore:
19179 * examples/plugins/Makefile.am:
19180 * examples/plugins/example.c:
19181 * examples/plugins/example.h:
19182 * examples/pwg/.cvsignore:
19183 * examples/pwg/Makefile.am:
19184 * examples/pwg/extract.pl:
19185 * examples/queue/.cvsignore:
19186 * examples/queue/Makefile.am:
19187 * examples/queue/queue.c:
19188 * examples/queue2/.cvsignore:
19189 * examples/queue2/Makefile.am:
19190 * examples/queue2/queue2.c:
19191 * examples/queue3/.cvsignore:
19192 * examples/queue3/Makefile.am:
19193 * examples/queue3/queue3.c:
19194 * examples/queue4/.cvsignore:
19195 * examples/queue4/Makefile.am:
19196 * examples/queue4/queue4.c:
19197 * examples/retag/.cvsignore:
19198 * examples/retag/Makefile.am:
19199 * examples/retag/retag.c:
19200 * examples/retag/transcode.c:
19201 * examples/thread/.cvsignore:
19202 * examples/thread/Makefile.am:
19203 * examples/thread/thread.c:
19204 * examples/typefind/.cvsignore:
19205 * examples/typefind/Makefile.am:
19206 * examples/typefind/typefind.c:
19207 * examples/xml/.cvsignore:
19208 * examples/xml/Makefile.am:
19209 * examples/xml/createxml.c:
19210 * examples/xml/runxml.c:
19211 * tests/Makefile.am:
19212 * tests/check/Makefile.am:
19213 * testsuite/.cvsignore:
19214 * testsuite/Makefile.am:
19216 * testsuite/caps/.cvsignore:
19217 * testsuite/caps/Makefile.am:
19218 * testsuite/caps/app_fixate.c:
19219 * testsuite/caps/audioscale.c:
19220 * testsuite/caps/caps.c:
19221 * testsuite/caps/caps.h:
19222 * testsuite/caps/caps_strings:
19223 * testsuite/caps/compatibility.c:
19224 * testsuite/caps/deserialize.c:
19225 * testsuite/caps/enumcaps.c:
19226 * testsuite/caps/eratosthenes.c:
19227 * testsuite/caps/filtercaps.c:
19228 * testsuite/caps/fixed.c:
19229 * testsuite/caps/fraction-convert.c:
19230 * testsuite/caps/fraction-multiply-and-zero.c:
19231 * testsuite/caps/intersect2.c:
19232 * testsuite/caps/intersection.c:
19233 * testsuite/caps/normalisation.c:
19234 * testsuite/caps/random.c:
19235 * testsuite/caps/renegotiate.c:
19236 * testsuite/caps/sets.c:
19237 * testsuite/caps/simplify.c:
19238 * testsuite/caps/string-conversions.c:
19239 * testsuite/caps/structure.c:
19240 * testsuite/caps/subtract.c:
19241 * testsuite/caps/union.c:
19242 * testsuite/debug/.cvsignore:
19243 * testsuite/debug/Makefile.am:
19244 * testsuite/debug/category.c:
19245 * testsuite/debug/commandline.c:
19246 * testsuite/debug/global.c:
19247 * testsuite/debug/output.c:
19248 * testsuite/debug/printf_extension.c:
19249 * testsuite/dlopen/.cvsignore:
19250 * testsuite/dlopen/Makefile.am:
19251 * testsuite/dlopen/dlopen_gst.c:
19252 * testsuite/dlopen/loadgst.c:
19253 * testsuite/elements/.cvsignore:
19254 * testsuite/elements/Makefile.am:
19255 * testsuite/elements/gst-inspect-check.in:
19256 * testsuite/elements/struct_i386.h:
19257 * testsuite/elements/struct_size.c:
19258 * testsuite/indexers/.cvsignore:
19259 * testsuite/indexers/Makefile.am:
19260 * testsuite/indexers/cache1.c:
19261 * testsuite/indexers/indexdump.c:
19262 * testsuite/parse/.cvsignore:
19263 * testsuite/parse/Makefile.am:
19264 * testsuite/parse/parse1.c:
19265 * testsuite/parse/parse2.c:
19266 * testsuite/plugin/.cvsignore:
19267 * testsuite/plugin/Makefile.am:
19268 * testsuite/plugin/README:
19269 * testsuite/plugin/dynamic.c:
19270 * testsuite/plugin/linked.c:
19271 * testsuite/plugin/loading.c:
19272 * testsuite/plugin/registry.c:
19273 * testsuite/plugin/static.c:
19274 * testsuite/plugin/static2.c:
19275 * testsuite/plugin/testplugin.c:
19276 * testsuite/plugin/testplugin2.c:
19277 * testsuite/plugin/testplugin2_s.c:
19278 * testsuite/plugin/testplugin_s.c:
19279 * testsuite/refcounting/.cvsignore:
19280 * testsuite/refcounting/Makefile.am:
19281 * testsuite/refcounting/bin.c:
19282 * testsuite/refcounting/element.c:
19283 * testsuite/refcounting/element_pad.c:
19284 * testsuite/refcounting/mainloop.c:
19285 * testsuite/refcounting/mem.c:
19286 * testsuite/refcounting/mem.h:
19287 * testsuite/refcounting/object.c:
19288 * testsuite/refcounting/pad.c:
19289 * testsuite/refcounting/sched.c:
19290 * testsuite/refcounting/thread.c:
19291 * testsuite/states/.cvsignore:
19292 * testsuite/states/Makefile.am:
19293 * testsuite/states/bin.c:
19294 * testsuite/states/locked.c:
19295 * testsuite/states/parent.c:
19296 * testsuite/threads/.cvsignore:
19297 * testsuite/threads/159566.c:
19298 * testsuite/threads/159852.c:
19299 * testsuite/threads/Makefile.am:
19300 * testsuite/threads/queue.c:
19301 * testsuite/threads/signals.c:
19302 * testsuite/threads/staticrec.c:
19303 * testsuite/threads/thread.c:
19304 * testsuite/threads/threadb.c:
19305 * testsuite/threads/threadc.c:
19306 * testsuite/threads/threadd.c:
19307 * testsuite/threads/threade.c:
19308 * testsuite/threads/threadf.c:
19309 * testsuite/threads/threadg.c:
19310 * testsuite/threads/threadh.c:
19311 * testsuite/threads/threadi.c:
19312 move all of these under tests
19314 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19317 * tests/Makefile.am:
19320 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19322 * docs/gst/gstreamer-sections.txt:
19323 * tests/sched/.cvsignore:
19324 * tests/sched/Makefile.am:
19325 * tests/sched/cases/(fs-fs).xml:
19326 * tests/sched/cases/(fs-i-fs).xml:
19327 * tests/sched/cases/(fs-i-i-fs).xml:
19328 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19329 * tests/sched/dynamic-pipeline.c:
19330 * tests/sched/interrupt1.c:
19331 * tests/sched/interrupt2.c:
19332 * tests/sched/interrupt3.c:
19333 * tests/sched/runtestcases:
19334 * tests/sched/runxml.c:
19335 * tests/sched/sched-stress.c:
19336 * tests/sched/sort.c:
19337 * tests/sched/testcases:
19338 * tests/sched/testcases1.tc:
19339 * tests/seeking/.cvsignore:
19340 * tests/seeking/Makefile.am:
19341 * tests/seeking/seeking1.c:
19342 * tests/threadstate/.cvsignore:
19343 * tests/threadstate/Makefile.am:
19344 * tests/threadstate/test1.c:
19345 * tests/threadstate/test2.c:
19346 * tests/threadstate/threadstate1.c:
19347 * tests/threadstate/threadstate2.c:
19348 * tests/threadstate/threadstate3.c:
19349 * tests/threadstate/threadstate4.c:
19350 * tests/threadstate/threadstate5.c:
19351 remove obsolete tests
19353 * tests/bench-complexity.scm:
19354 * tests/bench-mass_elements.scm:
19355 * tests/complexity.c:
19356 * tests/complexity.gnuplot:
19357 * tests/instantiate/.cvsignore:
19358 * tests/instantiate/Makefile.am:
19359 * tests/instantiate/caps.c:
19360 * tests/mass_elements.c:
19361 * tests/network-clock-utils.scm:
19362 * tests/network-clock.scm:
19364 First pass at cleaning up tests/ dir before moving the rest
19365 Combined with CVS surgery
19367 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19370 queue has moved, update
19372 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19374 * docs/gst/gstreamer-sections.txt:
19375 remove double entries from the docs
19376 * gst/gst_private.h:
19377 * gst/gstinfo.c: (_gst_debug_init):
19378 remove the THREAD debug category
19382 * docs/gst/gstreamer.types:
19383 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19384 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19385 completely move queue and fix up debugging categories
19387 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19389 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19390 make initialization portable, using LL is not
19392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19394 * win32/common/gstconfig.h:
19397 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19399 * win32/common/libgstreamer.def:
19400 rename symbols; sort base section
19402 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19404 * gst/gstclock.c: (do_linear_regression):
19405 remove crack non-portable handrolled DEBUG macro
19407 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19409 * docs/random/release:
19411 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19412 (gst_object_flags_get_type), (register_gst_bin_flags),
19413 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19414 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19415 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19416 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19417 (gst_caps_flags_get_type), (register_gst_clock_return),
19418 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19419 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19420 (gst_clock_flags_get_type), (register_gst_state),
19421 (gst_state_get_type), (register_gst_state_change_return),
19422 (gst_state_change_return_get_type), (register_gst_state_change),
19423 (gst_state_change_get_type), (register_gst_element_flags),
19424 (gst_element_flags_get_type), (register_gst_core_error),
19425 (gst_core_error_get_type), (register_gst_library_error),
19426 (gst_library_error_get_type), (register_gst_resource_error),
19427 (gst_resource_error_get_type), (register_gst_stream_error),
19428 (gst_stream_error_get_type), (register_gst_event_type_flags),
19429 (gst_event_type_flags_get_type), (register_gst_event_type),
19430 (gst_event_type_get_type), (register_gst_seek_type),
19431 (gst_seek_type_get_type), (register_gst_seek_flags),
19432 (gst_seek_flags_get_type), (register_gst_format),
19433 (gst_format_get_type), (register_gst_index_certainty),
19434 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19435 (gst_index_entry_type_get_type),
19436 (register_gst_index_lookup_method),
19437 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19438 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19439 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19440 (gst_index_flags_get_type), (register_gst_debug_level),
19441 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19442 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19443 (gst_iterator_result_get_type), (register_gst_iterator_item),
19444 (gst_iterator_item_get_type), (register_gst_message_type),
19445 (gst_message_type_get_type), (register_gst_mini_object_flags),
19446 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19447 (gst_pad_link_return_get_type), (register_gst_flow_return),
19448 (gst_flow_return_get_type), (register_gst_activate_mode),
19449 (gst_activate_mode_get_type), (register_gst_pad_direction),
19450 (gst_pad_direction_get_type), (register_gst_pad_flags),
19451 (gst_pad_flags_get_type), (register_gst_pad_presence),
19452 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19453 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19454 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19455 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19456 (gst_plugin_flags_get_type), (register_gst_rank),
19457 (gst_rank_get_type), (register_gst_query_type),
19458 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19459 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19460 (gst_tag_flag_get_type), (register_gst_task_state),
19461 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19462 (gst_alloc_trace_flags_get_type),
19463 (register_gst_type_find_probability),
19464 (gst_type_find_probability_get_type), (register_gst_uri_type),
19465 (gst_uri_type_get_type), (register_gst_parse_error),
19466 (gst_parse_error_get_type):
19467 * win32/common/gstenumtypes.h:
19468 * win32/common/gstversion.h:
19469 update visual studio generated files
19471 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19473 * win32/vs6/libgstbase.dsp:
19474 * win32/vs6/libgstelements.dsp:
19475 update project files for new locations
19477 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19482 reinstate and update
19487 * docs/random/LICENSE:
19490 2005-11-30 Edward Hervey <edward@fluendo.com>
19492 * gst/gsttypefind.c: (gst_type_find_register):
19493 * gst/gsttypefind.h:
19494 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19495 (gst_type_find_factory_dispose):
19496 * gst/gsttypefindfactory.h:
19497 Fix memory leak in GstTypeFindFactory.
19499 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19502 * plugins/elements/Makefile.am:
19503 * plugins/elements/gstelements.c:
19504 * plugins/elements/gstqueue.c:
19505 move queue from core to the elements plugin
19507 2005-11-29 Andy Wingo <wingo@pobox.com>
19509 * libs/gst/base/gstbasetransform.h:
19510 * libs/gst/base/gstbasesrc.h:
19511 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19513 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19514 of pointers by which to pad very extensible base classes (like the
19515 ones in libs/gst/base).
19517 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19519 * docs/gst/gstreamer-docs.sgml:
19520 * docs/gst/gstreamer-sections.txt:
19521 * docs/libs/gstreamer-libs-docs.sgml:
19522 * docs/libs/gstreamer-libs-sections.txt:
19523 moving documentation from core to lib
19525 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19527 * check/Makefile.am:
19529 * docs/gst/Makefile.am:
19531 * gst/base/.cvsignore:
19532 * gst/base/Makefile.am:
19534 * gst/base/gstadapter.c:
19535 * gst/base/gstadapter.h:
19536 * gst/base/gstbasesink.c:
19537 * gst/base/gstbasesink.h:
19538 * gst/base/gstbasesrc.c:
19539 * gst/base/gstbasesrc.h:
19540 * gst/base/gstbasetransform.c:
19541 * gst/base/gstbasetransform.h:
19542 * gst/base/gstcollectpads.c:
19543 * gst/base/gstcollectpads.h:
19544 * gst/base/gstpushsrc.c:
19545 * gst/base/gstpushsrc.h:
19546 * gst/base/gsttypefindhelper.c:
19547 * gst/base/gsttypefindhelper.h:
19548 * gst/check/Makefile.am:
19549 * gst/check/gstcheck.c:
19550 * gst/check/gstcheck.h:
19551 * gst/net/Makefile.am:
19552 * gst/net/gstnet.h:
19553 * gst/net/gstnetclientclock.c:
19554 * gst/net/gstnetclientclock.h:
19555 * gst/net/gstnettimepacket.c:
19556 * gst/net/gstnettimepacket.h:
19557 * gst/net/gstnettimeprovider.c:
19558 * gst/net/gstnettimeprovider.h:
19559 * libs/gst/Makefile.am:
19560 * libs/gst/base/Makefile.am:
19561 * libs/gst/base/gstbasetransform.c:
19562 * libs/gst/check/Makefile.am:
19563 * plugins/elements/Makefile.am:
19565 CVS surgery + support to move base, check, and net out of gst
19568 2005-11-29 Andy Wingo <wingo@pobox.com>
19570 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19572 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19575 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19577 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19579 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19581 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19582 padding; reduces object size by about 30%. We don't expect
19583 anything else to go into gstobject.
19585 * gst/gstminiobject.h (struct _GstMiniObject)
19586 (struct _GstMiniObjectClass): Only one pointer of padding; the
19587 payload is only a pointer and two ints anyway. For the class there
19588 are only two methods as well.
19590 * gst/gstelement.h (struct _GstElementClass): Removed
19591 the state_changed signal callback, it is not used.
19593 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19595 * docs/gst/gstreamer.types:
19596 fix includes, though they are a little dinky
19598 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19600 * check/Makefile.am:
19601 look in the right place for elements, a lot more chance of
19604 remove indexers and elements subdirs
19605 * plugins/Makefile.am:
19606 make indexers conditional
19608 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19612 * plugins/elements/Makefile.am:
19613 * plugins/elements/gstcapsfilter.c:
19614 * plugins/elements/gstfilesink.c:
19615 * plugins/elements/gstfilesrc.c:
19616 * plugins/elements/gstidentity.c:
19617 * plugins/indexers/Makefile.am:
19618 do CVS surgery and related build fixery to move elements
19619 and indexers in a new gstreamer/plugins directory, out of the
19622 2005-11-29 Andy Wingo <wingo@pobox.com>
19624 * check/Makefile.am:
19625 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19626 * pkgconfig/gstreamer-net.pc.in:
19627 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19630 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19632 * tools/Makefile.am:
19633 * tools/gst-complete.1.in:
19634 * tools/gst-complete.c:
19635 * tools/gst-compprep.1.in:
19636 * tools/gst-compprep.c:
19637 removing -compprep and -complete
19639 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19641 * gst/gstevent.c: (gst_event_new_new_segment),
19642 (gst_event_parse_new_segment):
19644 fix #320529 - clean up new_segment API and structure.
19645 Let's hope everyone was using the methods, and not the structure.
19647 2005-11-29 Edward Hervey <edward@fluendo.com>
19649 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19650 (gst_base_sink_event), (gst_base_sink_do_sync),
19651 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19652 Properly handle non GST_FORMAT_TIME segment
19653 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19654 Properly handle non GST_FORMAT_TIME segment
19655 * gst/gstsegment.c:
19656 This function is valid if the accumulator is 0 and the format
19657 is different from the requested format.
19659 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19661 * docs/gst/gstreamer-sections.txt:
19662 Add gst_query_new_seeking and gst_query_parse_seeking to the
19665 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19667 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19668 Treat a pad alloc with new caps the same as if we were not
19669 negotiated, in order to allow a changing upstream output
19670 to produce a new format of data.
19672 2005-11-29 Edward Hervey <edward@fluendo.com>
19674 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19675 (gst_base_transform_event), (gst_base_transform_eventfunc):
19676 The event virtual method is now properly implemented, with a default
19678 Sub classes should call the parent_class event method. They should
19679 return FALSE if they had a problem handling the given event, or don't
19680 want GstBaseTransform to send that even downstream
19681 * gst/elements/gstidentity.c: (gst_identity_class_init),
19682 (gst_identity_init), (gst_identity_event),
19683 (gst_identity_transform_ip), (gst_identity_set_property),
19684 (gst_identity_get_property):
19685 * gst/elements/gstidentity.h:
19686 Added the single-segment boolean property.
19687 If set to TRUE, it will output a single segment of data, starting from
19688 0, will eat up all incoming newsegment, and modify the timestamp of the
19689 buffers accordingly
19691 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19693 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19694 Don't ref NULL target pad (#322751). Improve docs.
19696 2005-11-29 Michael Smith <msmith@fluendo.com>
19698 * gst/gstregistryxml.c: (load_plugin):
19699 Don't crash if we failed to load a feature from a plugin.
19701 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19703 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19705 use more check API and less GLib API
19707 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19710 don't run checks if we don't have check
19711 * common/check.mak:
19712 remove the registry when running make torture
19713 * docs/gst/gstreamer-sections.txt:
19714 remove second multiply
19715 * gst/gstqueue.c: (gst_queue_loop):
19716 fix a compile warning when disabling debug
19718 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19721 Hey! Let's print the pad name if the pointer != NULL instead
19722 of when it == NULL :-)
19724 2005-11-28 Wim Taymans <wim@fluendo.com>
19726 * check/gst/gstutils.c: (GST_START_TEST):
19727 Updated check, add some scaling accuracy checking code.
19729 * gst/gstutils.c: (gst_util_div128_64),
19730 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19731 (gst_util_uint64_scale_int):
19732 Fix 6 times faster division code. Optimize for common
19733 1/1 and less common X/1 cases.
19735 2005-11-28 Wim Taymans <wim@fluendo.com>
19737 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19740 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19741 (do_linear_regression), (gst_clock_add_observation):
19743 Release lock when the clock cannot be slaved.
19744 Catch the case where the regression returned an invalid denominator.
19746 * gst/gstutils.c: (gst_util_div128_64_iterate),
19747 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19748 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19749 Add protentially more performant non-iterative 128/64 divide function
19750 that unfortunatly does not work yet.
19751 Shortcut the trivial 0/X = 0 case.
19752 Remove the warnings on overflow.
19754 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19756 * gst/gstplugin.c: (gst_plugin_register_func):
19757 everything causing a plugin not to load should be at least a WARNING
19759 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19761 * docs/random/ensonic/dparams.txt:
19762 some TODOs for the next dev cycle
19763 * libs/gst/controller/gstcontroller.c:
19764 (gst_controlled_property_set_interpolation_mode),
19765 (gst_controlled_property_new):
19766 * libs/gst/controller/gstcontroller.h:
19767 use base type to assign acccessor functions
19769 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19771 * check/Makefile.am:
19772 Oops, that should have been top_srcdir
19774 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19776 * check/Makefile.am:
19777 * check/elements/fdsrc.c: (GST_START_TEST):
19778 Use a cmdline define to specify the location of a file to use for
19779 testing, to avoid breaking distcheck.
19781 2005-11-28 Andy Wingo <wingo@pobox.com>
19783 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19785 2005-11-28 Edward Hervey <edward@fluendo.com>
19787 * tools/gst-launch.c: (main):
19788 Clarify the output strings, makes it easier to translate.
19791 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19794 don't try and build net if we don't even have <sys/socket.h>
19796 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19798 * check/Makefile.am:
19799 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19800 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19801 Add tests for fdsrc seekability
19803 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19804 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19805 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19806 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19807 * gst/elements/gstfdsrc.h:
19808 fdsrc should not be a 'live' source.
19809 Implement seeking on seekable fd's.
19811 * gst/gstquery.c: (gst_query_new_seeking),
19812 (gst_query_parse_seeking):
19814 Implement SEEKING query functions:
19815 *_new_seeking and *_parse_seeking
19817 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19819 * gst/gstelement.c: (gst_element_dispose):
19822 * gst/gstiterator.c:
19823 * gst/gststructure.c:
19826 * libs/gst/controller/gstcontroller.c:
19827 (gst_controlled_property_set_interpolation_mode):
19828 * libs/gst/controller/gstcontroller.h:
19829 * libs/gst/controller/gstinterpolation.c:
19830 (interpolate_none_get_enum_value_array):
19831 support controlling enums
19833 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19836 Improve documentation for gst_value_union().
19839 Change return value for union, intersect and subtract functions
19840 from gint to gboolean.
19842 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19844 * gst/gstvalue.c: (gst_value_serialize_any_list),
19845 (gst_value_transform_any_list_string),
19846 (gst_value_deserialize_list), (gst_value_deserialize_array),
19847 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19848 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19849 (gst_value_set_fraction_range_full),
19850 (gst_value_deserialize_fraction_range),
19851 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19852 (gst_value_deserialize_boolean),
19853 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19854 (gst_value_serialize_float), (gst_value_deserialize_float),
19855 (gst_string_wrap), (gst_value_deserialize_string),
19856 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19857 (gst_value_union_int_range_int_range),
19858 (gst_value_intersect_int_range_int_range),
19859 (gst_value_intersect_double_range_double_range),
19860 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19861 (gst_value_subtract_int_range_int_range),
19862 (gst_value_subtract_double_double_range),
19863 (gst_value_subtract_double_range_double_range),
19864 (gst_value_deserialize_fraction):
19866 Use gint, gdouble and gchar in our API instead of int, double and
19867 char (and make usage in gstvalue.c more consistent).
19869 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19871 * check/Makefile.am:
19872 * libs/gst/controller/Makefile.am:
19873 * libs/gst/dataprotocol/Makefile.am:
19874 fix up Makefile.am and remove GST_ENABLE_NEW
19876 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19880 * gst/base/Makefile.am:
19881 * gst/check/Makefile.am:
19882 * gst/elements/Makefile.am:
19883 * gst/net/Makefile.am:
19884 update LDFLAGS use some more
19886 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19888 * common/m4/gst-doc.m4:
19891 2005-11-26 Edward Hervey <edward@fluendo.com>
19893 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19894 This shouldn't issue a g_warning since it returns NULL if it
19895 couldn't find the plugin, and all functions using this behave
19896 properly on a NULL return. Switching to a GST_WARNING.
19898 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19900 * gst/gstbin.c: (gst_bin_handle_message_func):
19901 Don't leak clock messages.
19903 2005-11-25 Wim Taymans <wim@fluendo.com>
19905 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19906 (gst_util_uint64_scale_int):
19907 Optimisations, remove unneeded vars.
19909 2005-11-25 Wim Taymans <wim@fluendo.com>
19911 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19912 Added more checks for the high precision uint64 cases.
19914 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19915 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19916 Implement high precision (guint64 * guint64) / guint64.
19918 2005-11-24 Wim Taymans <wim@fluendo.com>
19920 * gst/base/gstbasesrc.c: (gst_base_src_query):
19921 Fix wrong percentage query.
19923 * gst/gstutils.c: (gst_util_uint64_scale),
19924 (gst_util_uint64_scale_int):
19925 Add some more common cases that can be handled
19926 efficiently to _scale.
19928 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19930 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19931 (gst_mini_object_suite):
19932 don't use check calls from threads; check probably isn't
19933 threadsafe and using a lock to make it threadsafe would
19934 defeat the purpose of this check
19935 * gst/check/gstcheck.c:
19936 * gst/check/gstcheck.h:
19937 use GST_DEBUG some more
19939 2005-11-24 Wim Taymans <wim@fluendo.com>
19941 * gst/gstutils.c: (gst_util_uint64_scale),
19942 (gst_util_uint64_scale_int):
19943 Chain trivial case to _scale_int.
19945 2005-11-24 Wim Taymans <wim@fluendo.com>
19947 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19948 Added test for scaling.
19953 * gst/gstutils.c: (gst_util_uint64_scale_int):
19954 Implemented high precision scaling code.
19956 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19959 do not crash on pad==NULL
19961 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19963 Patch by: Stefan Kost
19965 * common/gtk-doc.mak:
19966 * docs/gst/Makefile.am:
19967 * docs/libs/Makefile.am:
19968 Fix distcheck issues for the libraries docs build
19971 2005-11-24 Michael Smith <msmith@fluendo.com>
19973 * docs/manual/basics-helloworld.xml:
19974 Fix bug #315027: memory leak in example code in docs.
19976 2005-11-24 Michael Smith <msmith@fluendo.com>
19978 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19979 Unlock the PREROLL_LOCK in a failure case.
19981 2005-11-24 Wim Taymans <wim@fluendo.com>
19983 * docs/gst/gstreamer-sections.txt:
19984 * gst/base/gstadapter.h:
19985 * gst/base/gstbasesink.h:
19986 * gst/base/gstbasesrc.h:
19987 * gst/base/gstbasetransform.h:
19988 * gst/base/gstpushsrc.h:
19989 * gst/elements/gstfakesink.h:
19990 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19991 * gst/elements/gstfakesrc.h:
19992 * gst/elements/gstfilesink.h:
19993 * gst/elements/gstfilesrc.h:
19996 * gst/gstbuffer.c: (_gst_buffer_copy):
19999 * gst/gstchildproxy.c:
20001 * gst/gstelement.c:
20002 * gst/gstelementfactory.c:
20003 * gst/gstelementfactory.h:
20005 * gst/gstghostpad.h:
20007 * gst/gstinterface.h:
20008 * gst/gstminiobject.c:
20009 * gst/gstminiobject.h:
20012 * gst/gstpadtemplate.h:
20013 * gst/gstpipeline.h:
20014 * gst/gstpluginfeature.h:
20017 * gst/gsttaglist.c:
20018 * gst/gsttaglist.h:
20019 * gst/gsttagsetter.c:
20020 * gst/gsttagsetter.h:
20023 * gst/gsttypefind.h:
20026 * gst/net/gstnetclientclock.c:
20027 * gst/net/gstnetclientclock.h:
20028 * gst/net/gstnettimepacket.c:
20029 * gst/net/gstnettimeprovider.c:
20030 * gst/net/gstnettimeprovider.h:
20033 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20035 * configure.ac: back to HEAD
20037 === release 0.9.6 ===
20039 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20042 releasing 0.9.6, "Always On Time"
20044 2005-11-23 Wim Taymans <wim@fluendo.com>
20046 * docs/gst/gstreamer-sections.txt:
20047 * gst/glib-compat.c:
20048 * gst/gsttagsetter.c:
20050 * gst/net/gstnetclientclock.c:
20051 * gst/net/gstnettimepacket.h:
20054 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20056 * docs/faq/using.xml:
20057 * docs/libs/tmpl/gstcontrol.sgml:
20058 * docs/manual/advanced-dparams.xml:
20059 * docs/manual/appendix-checklist.xml:
20060 * docs/manual/basics-elements.xml:
20061 * docs/pwg/other-source.xml:
20062 * docs/random/moving-plugins:
20064 * tools/gst-launch.1.in:
20065 remove mentions of sinesrc
20067 2005-11-23 Michael Smith <msmith@fluendo.com>
20069 * docs/gst/gstreamer-sections.txt:
20070 Update for new API and API changes.
20072 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20074 Documentation typo fix.
20075 * gst/net/gstnettimepacket.c:
20076 Documentation fixes for arguments.
20078 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20080 * gst/gststructure.c: (gst_structure_get_fraction),
20081 (gst_structure_parse_value),
20082 (gst_structure_fixate_field_nearest_fraction):
20083 * gst/gststructure.h:
20084 * gst/gstutils.c: (gst_util_uint64_scale_int):
20086 * scripts/update-funcnames:
20088 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20089 Make gst_structure_fixate_field_nearest_fraction take a numerator
20090 and denominator argument instead of a GValue
20091 add gst_structure_get_fraction helper function.
20093 2005-11-23 Wim Taymans <wim@fluendo.com>
20095 * docs/design/part-TODO.txt:
20098 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20099 * gst/net/gstnetclientclock.h:
20100 Use parent fields for timeout and window_size.
20102 2005-11-23 Andy Wingo <wingo@pobox.com>
20104 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20105 rate_num/rate_denom change.
20107 * gst/net/gstnetclientclock.c
20108 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20109 OBJECT_LOCK. Don't call add_observation with the lock.
20111 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20113 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20115 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20116 deal with rate as a fraction whose numerator and denominator are
20117 GstClockTime values.
20118 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20119 master; the other fields are protected by the SLAVE_LOCK.
20120 (do_linear_regression): Note that this must be called with the
20122 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20123 OBJECT_LOCK. Call set_calibration instead of touching the
20124 variables directly.
20125 (gst_clock_set_property, gst_clock_get_property): Protect
20126 master/slave parameters with the SLAVE_LOCK.
20128 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20129 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20130 note that all of the instance variables that add_observation and
20131 the set_master functions use are protected by that lock and not
20133 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20135 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20136 the caller to take the object lock.
20138 2005-11-23 Wim Taymans <wim@fluendo.com>
20140 * gst/gsterror.c: (_gst_core_errors_init):
20142 Add error for clock stuff.
20144 * gst/gstpipeline.c: (gst_pipeline_change_state),
20145 (gst_pipeline_set_clock):
20146 Post clock error when clock cannot be used in a pipeline.
20148 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20150 * docs/gst/gstreamer-sections.txt:
20151 make two symbols from gstinfo private for the docs
20152 * gst/base/gstcollectpads.h:
20154 fix doc typos, update docs
20156 2005-11-22 Wim Taymans <wim@fluendo.com>
20158 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20159 (gst_base_sink_wait), (gst_base_sink_do_sync),
20160 (gst_base_sink_handle_event):
20161 * gst/base/gstbasesink.h:
20162 No need to store the clock, the parent element class already
20165 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20166 Updates for clock_set returning a gboolean
20168 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20169 (gst_clock_id_wait_async), (gst_clock_class_init),
20170 (gst_clock_init), (gst_clock_finalize),
20171 (gst_clock_get_internal_time), (gst_clock_get_time),
20172 (gst_clock_slave_callback), (gst_clock_set_master),
20173 (gst_clock_get_master), (do_linear_regression),
20174 (gst_clock_add_observation), (gst_clock_set_property),
20175 (gst_clock_get_property):
20177 Implement master/slave. When setting a clock as a slave, a
20178 periodic timeout is scheduled to sample master and slave times.
20179 Then the slave clock is recalibrated to match offset and rate
20180 of the master clock.
20181 Update logging a bit.
20182 Add flag so that a clock can state that is cannot be slaved to
20185 * gst/gstelement.c: (gst_element_set_clock):
20186 * gst/gstelement.h:
20187 The set clock returns a gboolean for when an element cannot
20188 deal with the selected clock in the pipeline.
20190 * gst/gstpipeline.c: (gst_pipeline_change_state),
20191 (gst_pipeline_set_clock):
20192 * gst/gstpipeline.h:
20193 Handle the case where the selected clock cannot be set on
20196 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20197 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20198 (gst_net_client_clock_set_property),
20199 (gst_net_client_clock_get_property),
20200 (gst_net_client_clock_observe_times):
20201 * gst/net/gstnetclientclock.h:
20202 Use regression code in GstClock parent, remove duplicated
20205 2005-11-22 Michael Smith <msmith@fluendo.com>
20207 * gst/gstutils.c: (gst_util_clock_time_scale):
20209 * docs/gst/gstreamer-sections.txt:
20210 Rename method to have extra underscore.
20212 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20214 * gst/elements/Makefile.am:
20215 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20216 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20217 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20218 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20219 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20220 * gst/elements/gstfakesrc.h:
20221 * gst/gstqueue.c: (queue_leaky_get_type):
20222 correctly fix GEnumValues so that nick is the short lowercase
20224 * tools/gst-inspect.c: (print_element_properties_info):
20225 also show the nick, since it's useful to use from parse_launch
20229 2005-11-22 Michael Smith <msmith@fluendo.com>
20231 * gst/gstutils.c: (gst_util_clocktime_scale):
20233 * docs/gst/gstreamer-sections.txt:
20234 Add util method for scaling a clocktime by a fraction. Useful
20235 implementation is left as an exercise for the reader.
20237 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20239 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20240 If needed, allocate storage in the destination value during
20243 2005-11-22 Edward Hervey <edward@fluendo.com>
20245 * docs/gst/gstreamer-sections.txt:
20248 * gst/gsturitype.c:
20249 * gst/gsturitype.h:
20250 * gst/gstutils.c: (gst_util_set_object_arg):
20251 * tools/gst-compprep.c: (main):
20252 * tools/gst-inspect.c: (print_element_properties_info):
20253 Removed GstURI, closes bug #321061
20255 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20257 * check/gst/gststructure.c: (GST_START_TEST):
20258 * gst/gststructure.c: (gst_structure_parse_value):
20259 Oops, broke automatic string type parsing.
20260 Add a test to catch it in future.
20262 2005-11-22 Andy Wingo <wingo@pobox.com>
20264 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20265 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20266 Actually rename the function implementations. Grr.
20268 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20270 * check/gst/capslist.h:
20272 * check/gst/gststructure.c: (GST_START_TEST),
20273 (gst_structure_suite):
20274 Test automatic value type detection in gst_structure_from_string.
20275 * gst/gststructure.c: (gst_structure_parse_value):
20276 Add fraction as a type we try and guess automatically in
20277 caps/structure strings.
20279 2005-11-22 Andy Wingo <wingo@pobox.com>
20281 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20283 * gst/gsttagsetter.h:
20284 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20285 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20286 (gst_tag_setter_add_tag_valist)
20287 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20288 _add_values, _add_valist, and _add_valist_values. Since this is an
20289 interface the function suffixes should be more explicit so
20290 language binding don't end up with element.add_valist ->
20291 gst_tag_setter_add_valist, for example. Fixes #322069.
20293 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20295 * check/gst/gstcaps.c: (GST_START_TEST):
20296 Extend caps string tests to check that a caps to string
20297 conversion is reversible and produces the same caps.
20299 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20300 Output "fraction" as the generic type fraction range, so caps
20301 serialisation and deserialisation works.
20302 * check/gst/capslist.h:
20303 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20304 Support 'MIN' and 'MAX' for deserialising fractions.
20306 2005-11-22 Andy Wingo <wingo@pobox.com>
20308 * gst/gstevent.h (gst_event_new_new_segment)
20309 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20310 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20311 Renamed from *_newsegment, *_buffersize, *_notarget.
20313 * scripts/update-funcnames: New script, performs the changes
20316 2005-11-22 Wim Taymans <wim@fluendo.com>
20318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20319 Make sure the GstFlowReturn is returned.
20321 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20322 (gst_bus_add_signal_watch):
20324 add gst_bus_add_signal_watch_full.
20326 * gst/gstplugin.c: (gst_plugin_load_file):
20327 Small style cleanup.
20329 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20331 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20332 Block the fakesrc srcpad when we send an event, to avoid
20333 contention on the stream_lock causing random test failures.
20335 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20337 * check/gst/gstvalue.c: (GST_START_TEST):
20338 * gst/gstvalue.c: (gst_value_fraction_subtract):
20341 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20344 include "gstchildproxy.h"
20345 * gst/gstchildproxy.h:
20346 * libs/gst/controller/gstcontroller.h:
20347 use G_GNUC_NULL_TERMINATED
20349 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20351 * check/gst/capslist.h:
20352 * check/gst/gstcaps.c: (GST_START_TEST):
20353 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20354 * gst/gststructure.c: (gst_structure_parse_range),
20355 (gst_structure_fixate_field_nearest_fraction):
20356 * gst/gststructure.h:
20357 * gst/gstvalue.c: (gst_value_init_fraction_range),
20358 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20359 (gst_value_collect_fraction_range),
20360 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20361 (gst_value_set_fraction_range_full),
20362 (gst_value_get_fraction_range_min),
20363 (gst_value_get_fraction_range_max),
20364 (gst_value_serialize_fraction_range),
20365 (gst_value_transform_fraction_range_string),
20366 (gst_value_compare_fraction_range),
20367 (gst_value_deserialize_fraction_range),
20368 (gst_value_intersect_fraction_fraction_range),
20369 (gst_value_intersect_fraction_range_fraction_range),
20370 (gst_value_subtract_fraction_fraction_range),
20371 (gst_value_subtract_fraction_range_fraction),
20372 (gst_value_subtract_fraction_range_fraction_range),
20373 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20374 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20375 (gst_value_transform_string_fraction), (_gst_value_initialize):
20377 Implement fraction ranges and extend GstFraction to support
20378 arithmetic subtraction, as well as deserialization from integer
20379 strings such as "100"
20380 Add a testsuite as for int and double range set operations
20382 2005-11-21 Andy Wingo <wingo@pobox.com>
20384 * gst/gsttaglist.h:
20386 * gst/gststructure.h: Add glib-compat.h.
20388 2005-11-21 Wim Taymans <wim@fluendo.com>
20390 * gst/gstbin.c: (gst_bin_change_state_func):
20393 2005-11-21 Wim Taymans <wim@fluendo.com>
20395 * gst/gstsegment.h:
20396 And add a nice define too.
20398 2005-11-21 Wim Taymans <wim@fluendo.com>
20400 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20401 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20402 (gst_segment_set_duration), (gst_segment_set_last_stop),
20403 (gst_segment_set_seek), (gst_segment_set_newsegment),
20404 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20405 (gst_segment_clip):
20406 * gst/gstsegment.h:
20407 Make binding friendly.
20409 2005-11-21 Andy Wingo <wingo@pobox.com>
20411 * gst/gsttagsetter.h:
20412 * gst/gsttaglist.h:
20413 * gst/gststructure.h:
20415 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20418 * gst/gsterror.c (_gst_core_errors_init):
20419 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20422 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20423 (noinst_HEADERS): noinst the -private.
20425 2005-11-21 Michael Smith <msmith@fluendo.com>
20428 * gst/gstregistry.h:
20429 Remove unimplemented declarations for which we can see no sensible
20432 2005-11-21 Andy Wingo <wingo@pobox.com>
20434 * gst/gst.h: Include glib-compat.h.
20436 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20438 * gst/glib-compat.c: Include the public and the private header.
20440 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20444 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20446 * check/gst/gstevent.c (create_custom_events): Check that
20447 FLUSH_STOP is serialized.
20449 * check/elements/identity.c (event_func):
20450 * check/elements/fakesrc.c (event_func): No stream lock, the core
20453 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20454 stream lock taking, yay.
20456 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20457 ensure that core takes the stream lock.
20459 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20462 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20463 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20464 it already. For the flush start we do take it though so we get the
20465 right preroll state change messages.
20467 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20468 the stream lock here, the core does it for us.
20470 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20471 GST_STREAM_GET_LOCK.
20472 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20473 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20474 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20475 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20476 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20477 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20479 * gst/gstpad.c: Update for stream lock name change.
20481 * gst/base/gstbasesink.c: Update for preroll lock name change.
20483 2005-11-21 Wim Taymans <wim@fluendo.com>
20485 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20486 (gst_clock_get_master):
20488 * gst/gstsystemclock.c: (gst_system_clock_init):
20489 Convert Clock flags to object flags.
20490 Added methods to manage master/slave clocks.
20492 2005-11-21 Wim Taymans <wim@fluendo.com>
20494 * check/gst/gstsegment.c: (GST_START_TEST):
20495 * docs/design/part-TODO.txt:
20496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20497 (gst_base_sink_event), (gst_base_sink_do_sync),
20498 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20499 (gst_base_sink_query), (gst_base_sink_change_state):
20500 * gst/base/gstbasesink.h:
20501 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20502 (gst_base_src_default_newsegment),
20503 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20504 (gst_base_src_get_range), (gst_base_src_loop),
20505 (gst_base_src_change_state):
20506 * gst/base/gstbasesrc.h:
20507 * gst/base/gstbasetransform.c:
20508 (gst_base_transform_prepare_output_buf),
20509 (gst_base_transform_event), (gst_base_transform_change_state):
20510 * gst/base/gstbasetransform.h:
20511 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20512 (gst_collect_pads_event):
20513 * gst/base/gstcollectpads.h:
20514 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20515 (gst_fake_src_create):
20516 * gst/elements/gstfakesrc.h:
20517 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20518 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20519 (gst_segment_set_last_stop), (gst_segment_set_seek),
20520 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20521 (gst_segment_to_running_time), (gst_segment_clip):
20522 * gst/gstsegment.h:
20523 More segment updates, replace code in plugins with segment
20526 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20528 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20529 Don't ignore sscanf results
20531 2005-11-21 Andy Wingo <wingo@pobox.com>
20533 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20536 * *.c: Ran scripts/update-macros. Oh yes.
20538 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20539 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20542 * scripts/update-macros: New script. Run it on your files to
20543 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20546 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20548 * docs/gst/Makefile.am:
20549 * docs/gst/gstreamer-docs.sgml:
20550 * docs/gst/gstreamer-sections.txt:
20551 * docs/gst/gstreamer.types:
20553 more docs fixes, add new api to the docs
20555 2005-11-21 Andy Wingo <wingo@pobox.com>
20557 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20558 state_broadcast call.
20560 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20562 2005-11-21 Julien MOUTTE <julien@moutte.net>
20564 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20565 function calls for arrays.
20567 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20569 * docs/random/ensonic/media-device-daemon.txt:
20570 wild idea, can this be done?
20571 * docs/gst/gstreamer-sections.txt:
20576 * gst/gstpluginfeature.c:
20580 doc fixes and additions
20582 2005-11-21 Andy Wingo <wingo@pobox.com>
20584 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20585 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20586 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20587 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20588 private to the basesrc implementation.
20590 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20591 behalf of event function if necessary. It should no longer be
20592 necessary to take the stream lock in pad's event functions. Fixes
20595 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20596 * docs/gst/gstreamer-sections.txt:
20597 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20598 (gst_structure_fixate_field_nearest_double),
20599 (gst_structure_fixate_field_boolean):
20600 * gst/gststructure.h:
20601 * win32/common/libgstreamer.def:
20602 * win32/gstreamer.def:
20604 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20607 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20609 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20610 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20611 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20612 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20613 (gst_fdsrc_uri_handler_init):
20614 * gst/elements/gstfdsrc.h:
20615 Port fd:// URI handler from 0.8 to fdsrc
20617 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20619 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20620 (gst_value_serialize_fourcc):
20622 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20623 consistent with our other format defines (#320324).
20625 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20627 * gst/gstvalue.c: (gst_value_is_fixed):
20628 Revert previous commit. Value lists are by definition
20629 not fixed, as they are a list of possible values.
20631 2005-11-21 Andy Wingo <wingo@pobox.com>
20633 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20634 during the stable series if we need it. Fixes #319178.
20636 * gst/gstevent.c (gst_event_new_filler): Removed.
20638 * check/gst/gstevent.c: Update comment about filler events.
20640 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20642 * gst/gstvalue.c: (gst_value_is_fixed):
20643 Should handle both value arrays and value lists.
20645 2005-11-21 Andy Wingo <wingo@pobox.com>
20647 patch by: Alessandro Dessina <alessandro nnva org>
20649 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20650 functions to access arrays. Fixes #321962.
20652 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20654 * docs/gst/gstreamer.types:
20655 gst_collectpads_get_type => gst_collect_pads_get_type.
20657 * gst/base/gstbasetransform.c:
20658 Remove unused SIGNAL_HANDOFF enum.
20660 2005-11-21 Andy Wingo <wingo@pobox.com>
20662 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20663 the event type (upstream, downstream, serialized). Renamed
20664 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20665 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20666 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20668 * gst/gstevent.c: Update for new CUSTOM event names.
20670 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20673 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20676 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20678 * docs/gst/gstreamer-sections.txt:
20679 * win32/common/libgstbase.def:
20680 * win32/libgstbase.def:
20681 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20682 (gst_collect_pads_class_init), (gst_collect_pads_init),
20683 (gst_collect_pads_finalize), (gst_collect_pads_new),
20684 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20685 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20686 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20687 (gst_collect_pads_start), (gst_collect_pads_stop),
20688 (gst_collect_pads_peek), (gst_collect_pads_pop),
20689 (gst_collect_pads_available), (gst_collect_pads_read),
20690 (gst_collect_pads_flush), (gst_collect_pads_event),
20691 (gst_collect_pads_chain):
20692 * gst/base/gstcollectpads.h:
20693 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20694 unimplemented functions as unimplemented. Add padding to
20695 GstCollectData. (#320766, #320423)
20697 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20699 * gst/gstmessage.c:
20700 Improve docs for DURATION message (usage of duration parameter)
20703 2005-11-20 Wim Taymans <wim@fluendo.com>
20705 * check/Makefile.am:
20706 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20710 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20711 (gst_segment_set_seek), (gst_segment_set_newsegment),
20712 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20713 (gst_segment_clip):
20714 * gst/gstsegment.h:
20715 Added segment helper structure and methods. Not fully implemented
20717 Added segment check.
20719 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20721 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20722 Add a deserialisation test for fractions
20723 * examples/metadata/read-metadata.c: (message_loop),
20724 (make_pipeline), (main):
20725 Fix up metadata reading sample.
20726 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20728 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20729 Don't try and fixate empty caps
20730 * gst/gst_private.h:
20731 Wrap in G_BEGIN_DECLS/G_END_DECLS
20732 * gst/gstvalue.c: (gst_value_collect_fraction),
20733 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20734 (gst_value_transform_string_fraction),
20735 (gst_value_compare_fraction):
20736 Add some extra guards to ensure that we don't end up
20737 with an invalid denominator of 0 in a gstfraction and
20738 that fractions always get reduced.
20740 2005-11-20 Wim Taymans <wim@fluendo.com>
20742 * docs/gst/gstreamer-sections.txt:
20744 * gst/gstelement.c:
20753 2005-11-20 Wim Taymans <wim@fluendo.com>
20755 * docs/design/part-TODO.txt:
20757 Make a proper enum of the flag.
20759 2005-11-19 Wim Taymans <wim@fluendo.com>
20761 * docs/design/part-TODO.txt:
20762 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20763 (gst_format_to_quark), (gst_format_register):
20765 * gst/gstquery.c: (_gst_query_initialize),
20766 (gst_query_type_get_name), (gst_query_type_to_quark),
20767 (gst_query_type_register):
20769 Add type to quark and type to string conversions.
20771 2005-11-19 Andy Wingo <wingo@pobox.com>
20773 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20776 2005-11-19 Wim Taymans <wim@fluendo.com>
20778 * docs/design/part-TODO.txt:
20779 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20780 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20781 (gst_bin_handle_message_func):
20783 Make message handling overridable.
20785 2005-11-19 Andy Wingo <wingo@pobox.com>
20787 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20790 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20792 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20793 is a GstClockTime. Fixes #321710.
20795 * gst/gstclock.h (GstClock): Remove offset property. Add
20796 internal_calibration and external_calibration. Fix padding. Pad
20797 also by GstClockTime so we don't run into problems.
20799 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20800 (gst_clock_get_rate_offset): Remove.
20801 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20804 * gst/gstutils.c (g_static_rec_cond_wait)
20805 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20807 * gst/gstbin.c: Remove terrible continue_state prototype.
20809 * gst/gstelement.h (gst_element_continue_state): Make public.
20811 * gst/gstelement.h:
20812 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20813 by continue_state. Fixes #319389.
20815 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20816 Really fixes #168438. However I don't see anywhere where the
20817 filter function is called... stupid GStreamer...
20819 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20820 don't have a dispose function, so it won't get called when the
20821 object is unreffed, but oh well!
20823 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20824 allows a destroy function to be set so user_data can be freed.
20826 (gst_index_set_filter): Call gst_index_set_filter_full.
20828 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20830 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20831 string should produce an error, given the lack of a way to
20832 represent NULL strings. Fixes #165650.
20835 * gst/gstvalue.c (gst_value_array_append_value)
20836 (gst_value_array_prepend_value, gst_value_array_get_size)
20837 (gst_value_array_get_value): New API, copied from
20838 gst_value_list_*, only operates on arrays.
20839 (gst_value_list_append_value, gst_value_list_prepend_value)
20840 (gst_value_list_concat, gst_value_list_get_size)
20841 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20843 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20844 init_list, because it works on both.
20845 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20846 (gst_value_copy_list_or_array): Renamed from copy_list.
20847 (gst_value_free_list_or_array): Renamed from free_list.
20848 (gst_value_collect_list_or_array): Renamed from collect_list.
20849 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20850 (gst_value_list_or_array_peek_pointer): Renamed from
20852 (_gst_value_array_value_table, _gst_value_list_value_table):
20853 Update value table functions.
20854 (gst_value_compare_list_or_array): Renamed from compare_list.
20856 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20859 * gst/gsttaglist.c:
20860 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20861 GstTagList*. Fixes #143472.
20863 * gst/gststructure.h: Clarify what the foreach/map functions can
20864 or can't do to their arguments.
20866 2005-11-18 Wim Taymans <wim@fluendo.com>
20868 * gst/gstclock.c: (gst_clock_set_calibration),
20869 (gst_clock_get_calibration):
20871 Calibration can be set with internal time equal to current
20874 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20880 2005-11-18 Andy Wingo <wingo@pobox.com>
20883 * pkgconfig/gstreamer-net.pc.in:
20884 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20885 * pkgconfig/Makefile.am: Add net pkgconfig files.
20887 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20890 * gst/gstghostpad.c:
20896 2005-11-18 Andy Wingo <wingo@pobox.com>
20898 * gst/net/gstnetclientclock.c: Turn off debugging.
20900 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20901 times connverge somewhat. Can't make a real test.
20903 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20904 integer arithmetic. Return the minimum of the domain, which can be
20905 set as "internal" for gst_clock_set_calibration.
20906 (gst_net_client_clock_observe_times): Call _set_calibration.
20907 (gst_net_client_clock_new): Call _set_calibration instead of
20910 * check/net/gstnetclientclock.c (test_functioning): Use the right
20914 * gst/gstclock.c (gst_clock_get_calibration)
20915 (gst_clock_set_calibration): New functions, obsolete the ones I
20916 added yesterday. Doh. Precision issues mean we have to extrapolate
20917 from a point in the more recent past than 1970.
20918 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20920 (gst_clock_adjust_unlocked): Use the right calibration data.
20922 2005-11-18 Edward Hervey <edward@fluendo.com>
20924 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20925 Also reset the ->current_* values in READY->PAUSED
20927 2005-11-18 Andy Wingo <wingo@pobox.com>
20929 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20930 Whoops, check the right fd. Also add some debugging.
20931 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20932 (do_linear_regression): Add a crapload of debugging. Subtract off
20933 the minimum values from the input series to discard unneeded bits.
20934 Use only int arithmetic. There is still double arithmetic when
20935 calculating the intercept that needs fixing. Return boolean to
20936 indicate success; FALSE would mean the domain or range is too
20937 great. Still needs fixes.
20939 2005-11-18 Wim Taymans <wim@fluendo.com>
20941 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20942 For the current position in stream time, we need to subtract
20945 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20946 Release lock before calling the callback function of async
20949 2005-11-18 Andy Wingo <wingo@pobox.com>
20951 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20952 Port goes all the way to MAXUINT16.
20954 * gst/net/gstnettimeprovider.c: Make the port range the same as
20955 for the kernel: 0 assigns, otherwise ports are less than
20958 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20961 * check/net/gstnetclientclock.c (test_functioning): Add the start
20964 2005-11-18 Wim Taymans <wim@fluendo.com>
20966 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20967 (gst_bin_remove_func), (bin_bus_handler):
20969 Removing a clock provider from a bin, triggers a clock lost message
20970 so that a new clock will be selected.
20971 Adding a clock to a bin triggers a clock provider message.
20972 Make sure we reselect a clock when we received a clock lost message.
20973 Keep a reference to the element that provided the clock.
20975 2005-11-18 Andy Wingo <wingo@pobox.com>
20977 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20978 the clock initially so it produces values around the base time.
20979 (gst_net_client_clock_class_init): Typo fix.
20980 (gst_net_client_clock_thread): Add note on when the socket gets
20983 2005-11-17 Wim Taymans <wim@fluendo.com>
20985 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20986 Free remote and local time arrays.
20988 2005-11-17 Wim Taymans <wim@fluendo.com>
20990 * gst/net/gstnetclientclock.c: (do_linear_regression),
20991 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20992 Fix compilation, uninitialized vars and a forgotten continue.
20994 2005-11-17 Andy Wingo <wingo@pobox.com>
20996 * check/Makefile.am (check_PROGRAMS):
20997 * check/net/gstnetclientclock.c: Add a most minimal test for the
20998 net client clock. More to come later.
21000 * gst/net/gstnet.h:
21001 * gst/net/Makefile.am: Add netclientclock.
21003 * gst/net/gstnetclientclock.h:
21004 * gst/net/gstnetclientclock.c: New files, implement an untested
21005 GstClock that takes its time from a network time provider.
21006 Implements the algorithm in network-clock.scm.
21008 * tests/network-clock.scm (*window-size*): Rename from
21010 * tests/network-clock.scm (network-time):
21011 * tests/network-clock-utils.scm (q-push): Update callers.
21013 2005-11-17 Wim Taymans <wim@fluendo.com>
21015 * gst/gstbin.c: (gst_bin_provide_clock_func),
21016 (gst_bin_sort_iterator_new):
21017 And unref the child too..
21019 2005-11-17 Wim Taymans <wim@fluendo.com>
21021 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21022 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21023 Refactor the sort iterator so it can be used while holding the
21025 Make clock selection select a clock closest to the source.
21027 2005-11-17 Michael Smith <msmith@fluendo.com>
21029 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21030 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21032 Anonymous structs are a gcc (and some other compilers) extension, so
21033 don't use them. Since this is only for ABI-compatibility, and our
21034 API/ABI freeze is over in a few days, this whole thing will only
21035 last a few days, so don't bother trying to think up a meaningful
21036 name for the struct.
21038 2005-11-17 Andy Wingo <wingo@pobox.com>
21040 * gst/gstclock.h (GstClock): Add rate and offset properties,
21041 preserving ABI stability. Add rate/offset accessors. Will file bug
21042 for the freeze break.
21044 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21045 and offset, trying to keep precision and avoiding
21046 underflow/overflow.
21047 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21048 functions. Make gst_clock_set_time_adjust obsolete.
21049 (gst_clock_set_time_adjust): Note that this function is obsolete.
21050 Will file bug soon.
21052 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21053 greppable by using GST_PADDING-1+1.
21055 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21057 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21059 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21060 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21062 * gst/gstpadtemplate.h:
21063 * gst/gstpluginfeature.h:
21064 Don't use c++ style comments in headers (#321638).
21066 2005-11-16 Andy Wingo <wingo@pobox.com>
21068 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21071 * check/net/gstnettimeprovider.c: Check to see that the time
21072 provider actually provides times. Works, yo!
21074 2005-11-16 Wim Taymans <wim@fluendo.com>
21076 * check/Makefile.am:
21079 * check/elements/fakesrc.c: (GST_START_TEST):
21080 Set element to NULL before disposing it.
21082 2005-11-16 Andy Wingo <wingo@pobox.com>
21084 * gst/net/Makefile.am:
21085 * gst/net/gstnet.h:
21086 * gst/net/gstnettimeprovider.c:
21087 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21088 provider, include it from gstnet.h, and add it to the build.
21090 * gst/net/gstnettimepacket.h:
21091 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21092 sending and receiving.
21094 2005-11-16 Wim Taymans <wim@fluendo.com>
21096 * check/Makefile.am:
21097 Enable valgrind check.
21099 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21100 (gst_fake_src_alloc_buffer):
21103 2005-11-16 Wim Taymans <wim@fluendo.com>
21105 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21106 Call parent finalize too.
21108 2005-11-16 Wim Taymans <wim@fluendo.com>
21110 * check/Makefile.am:
21111 Enable valgrind check that should work fine now.
21113 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21114 * gst/gstqueue.c: (gst_queue_init):
21115 Fix memleaks in pad allocation.
21117 2005-11-16 Andy Wingo <wingo@pobox.com>
21119 * gst/net/Makefile.am:
21120 * gst/net/gstnet.h: New part of core to hold network elements and
21121 objects. Put in core because it exposes API that applications want
21122 to use. The library is named libgstnet-tempname right now because
21123 of the existing libgstnet in gst-plugins-base. Solution is
21124 probably to rename the one in plugins-base; will file a bug for
21127 * gst/net/gstnettimeprovider.c:
21128 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21129 get_time call over the network.
21132 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21134 * check/Makefile.am:
21135 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21136 get additions shortly.
21138 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21140 * gst/gstpad.c: (gst_pad_new_from_static_template):
21142 add gst_pad_new_from_static_template functions
21143 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21144 (gst_check_setup_sink_pad):
21145 * gst/elements/gsttee.c: (gst_tee_init):
21148 2005-11-16 Wim Taymans <wim@fluendo.com>
21150 * gst/gstpad.c: (gst_pad_pause_task):
21151 Removed warning, it's not really an error either.
21153 2005-11-16 Wim Taymans <wim@fluendo.com>
21155 * gst/base/gstbasetransform.c:
21156 (gst_base_transform_prepare_output_buf),
21157 (gst_base_transform_event):
21158 Check if the caps are NULL, this can happen if the element
21159 is shutting down and the pad caps are set to NULL.
21161 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21163 * gst/elements/gsttee.c: (gst_tee_init):
21164 fix pad template leak in tee
21166 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21168 * gst/glib-compat.c: (g_value_dup_gst_object):
21169 * gst/glib-compat.h:
21170 * gst/gstpad.c: (gst_pad_set_property):
21171 use gst_object_ref when setting the pad template; this will
21172 trigger the pad template leaks on GLib 2.6 and the slaves
21174 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21176 * gst/glib-compat.c: (gst_flags_get_first_value):
21177 * gst/glib-compat.h:
21178 * gst/gstregistryxml.c:
21179 remove functions copied from GLib 2.6
21181 2005-11-16 Michael Smith <msmith@fluendo.com>
21184 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21185 do, but only breaks with newer valgrind versions. We're not a
21186 valgrind tool, we have no link-time dependencies on libcoregrind.
21188 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21190 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21192 * gst/gstmessage.h:
21195 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21197 * gst/base/gstbasesrc.c: (gst_base_src_init):
21198 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21199 * gst/gstqueue.c: (gst_queue_init):
21200 * gst/gstregistryxml.c: (load_feature):
21201 Revert all these unrefs, they don't even pass make check !
21203 2005-11-15 Johan Dahlin <johan@gnome.org>
21205 * gst/base/gstbasesrc.c: (gst_base_src_init):
21206 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21207 * gst/gstqueue.c: (gst_queue_init):
21208 Free pad templates, fixes a couple of leaks.
21210 2005-11-15 Daniel Fischer <dan at f3c dot com>
21212 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21214 * gst/gstpad.c: (gst_pad_get_property):
21215 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21216 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21219 2005-11-15 Wim Taymans <wim@fluendo.com>
21224 2005-11-15 Andy Wingo <wingo@pobox.com>
21226 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21228 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21229 using GST_CLOCK_TIME_NONE to disable base time management.
21230 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21231 time if it was NONE before.
21232 (gst_pipeline_change_state): Only munge the base time if
21233 stream_time != GST_CLOCK_TIME_NONE.
21235 * check/gst/gstpipeline.c (test_base_time): Punt around the
21236 problem of the probe not being called, because that's not the
21237 issue I'm looking at. Add a check that setting stream_time to NONE
21238 disables base time management.
21240 2005-11-15 Wim Taymans <wim@fluendo.com>
21242 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21243 segment_stop == -1 at startup.
21245 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21246 (gst_base_transform_change_state):
21247 Init segment values at start.
21249 2005-11-15 Wim Taymans <wim@fluendo.com>
21251 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21252 0 segment values are 0 in any format.
21254 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21255 * gst/base/gstbasetransform.h:
21256 Parse newsegment correctly in basetransform
21258 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21259 Sync to clock using updated segment values.
21261 2005-11-15 Andy Wingo <wingo@pobox.com>
21263 * check/gst/gstpipeline.c (test_base_time): Add check that the
21264 base time and stream time are reset correctly.
21266 2005-11-15 Wim Taymans <wim@fluendo.com>
21268 * docs/design/part-TODO.txt:
21269 Some more TODO items.
21271 2005-11-15 Andy Wingo <wingo@pobox.com>
21273 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21274 error if the user selected "no clock" as the clocking method.
21276 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21277 timestamps with live capture.
21279 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21280 is 0 but we are a live source, timestamp the buffers using the
21283 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21285 * docs/gst/gstreamer-sections.txt:
21287 * gst/gstghostpad.c:
21292 2005-11-14 Wim Taymans <wim@fluendo.com>
21295 add suppressions from Wim's Debian machine
21297 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21300 add suppressions from Andy's AMD64 Ubuntu machine
21302 2005-11-14 Andy Wingo <wingo@pobox.com>
21304 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21305 STATE_LOCK not necessary. Fixes #311489.
21307 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21310 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21311 this function is not implemented.
21313 2005-11-14 Julien MOUTTE <julien@moutte.net>
21315 * gst/base/gstbasetransform.c:
21316 (gst_base_transform_prepare_output_buf):
21317 Ref the source pad caps while we need them.
21320 2005-11-11 Wim Taymans <wim@fluendo.com>
21322 * docs/gst/gstreamer-sections.txt:
21323 Added some docs for GstCollectData.
21325 * gst/base/gstadapter.c:
21326 Some small code example fix.
21328 * gst/base/gstcollectpads.c:
21329 * gst/base/gstcollectpads.h:
21330 Document some more.
21332 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21334 * configure.ac: back to HEAD
21336 === release 0.9.5 ===
21338 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21341 releasing 0.9.5, "Bike Lunch Day"
21343 2005-11-11 Wim Taymans <wim@fluendo.com>
21345 * gst/gstbuffer.c: (_gst_buffer_copy):
21348 * gst/gstcaps.c: (gst_caps_is_equal):
21350 Make _is_equal fast in the trivial cases.
21352 * gst/gstminiobject.c:
21353 * gst/gstminiobject.h:
21354 More docs. Spifify .h file.
21359 2005-11-11 Wim Taymans <wim@fluendo.com>
21361 * gst/base/gstbasetransform.c:
21362 (gst_base_transform_prepare_output_buf),
21363 (gst_base_transform_handle_buffer):
21365 If we're processing a buffer and need to allocate an output
21366 buffer, we cannot accept a format change. If we did get a
21367 format change, we have to alloc a buffer ourselves of the
21370 2005-11-11 Wim Taymans <wim@fluendo.com>
21372 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21373 While checking the flag for reentrancy in the gstcaps function
21374 is nice to detect recursive invocations, it also makes it
21375 impossible to call getcaps from multiple threads, which must be
21376 possible. So, checking for recursive calls has to go.
21378 2005-11-11 Michael Smith <msmith@fluendo.com>
21380 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21381 Don't sync on buffers that fall partially outside our current
21382 segment. Prevents an assertion failure/abort playing some files.
21384 2005-11-10 Andy Wingo <wingo@pobox.com>
21386 * check/gst/gstbin.c (test_message_state_changed_children): Style
21389 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21390 gst_bus_poll with the signal watch. Ensures that poll and a signal
21391 watch see the same messages.
21393 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21394 a poll and a watch at the same time get the same messages.
21396 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21398 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21399 * gst/gstcaps.c: (gst_caps_intersect):
21400 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21401 and it's not needed.
21403 2005-11-10 Wim Taymans <wim@fluendo.com>
21405 * docs/design/part-TODO.txt:
21408 2005-11-10 Wim Taymans <wim@fluendo.com>
21410 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21411 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21412 (gst_base_src_do_sync), (gst_base_src_get_range):
21413 Implement clock sync in base class.
21415 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21417 patch by: Tim-Philipp Müller <tim at centricular dot net>
21419 * gst/gststructure.c: (gst_structure_parse_field),
21420 (gst_structure_from_string):
21421 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21422 so that gst_parse_launch() can deal with spaces in filtered link
21423 caps (fixes #164479)
21424 * check/gst/capslist.h:
21425 * check/gst/gststructure.c: (GST_START_TEST):
21426 add unit tests for this change
21428 2005-11-10 Wim Taymans <wim@fluendo.com>
21430 * docs/gst/gstreamer-sections.txt:
21431 * gst/gstelement.c:
21432 * gst/gstelement.h:
21433 Fix docs, move some STATE macros to private.
21435 2005-11-10 Wim Taymans <wim@fluendo.com>
21437 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21438 Added check for bug #317341
21442 Some more spiffifying.
21444 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21445 Call peer linkfunction if we are a source pad. Totally fixes
21449 Update docs, source pads should call the peer linkfunction
21450 so they can atomically perform the pad link.
21452 2005-11-09 Wim Taymans <wim@fluendo.com>
21456 Uber-spiffy-spiffify some more.
21458 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21460 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21461 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21462 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21463 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21464 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21465 * gst/gstpad.c: (gst_pad_init):
21466 Use GST_DEBUG_FUNCPTR() more extensively.
21468 2005-11-09 Wim Taymans <wim@fluendo.com>
21470 * gst/gstobject.c: (gst_object_class_init):
21472 Documentation fixes.
21474 2005-11-09 Edward Hervey <edward@fluendo.com>
21476 * gst/gsttypefindfactory.c:
21479 2005-11-09 Edward Hervey <edward@fluendo.com>
21481 * gst/base/gsttypefindhelper.c:
21482 * gst/gsttypefind.c:
21483 * gst/gsttypefind.h:
21486 2005-11-09 Wim Taymans <wim@fluendo.com>
21488 * gst/gstiterator.c:
21495 2005-11-09 Wim Taymans <wim@fluendo.com>
21501 2005-11-09 Wim Taymans <wim@fluendo.com>
21503 * docs/gst/gstreamer-sections.txt:
21504 Moved the message async delivery private lock and cond
21505 to the private section.
21507 * gst/gstmessage.c:
21508 * gst/gstmessage.h:
21511 2005-11-09 Edward Hervey <edward@fluendo.com>
21513 * docs/gst/gstreamer-sections.txt:
21516 Document GstURIHandler
21518 2005-11-09 Wim Taymans <wim@fluendo.com>
21520 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21521 (gst_iterator_find_custom):
21522 * gst/gstiterator.h:
21525 2005-11-09 Wim Taymans <wim@fluendo.com>
21528 Document another field.
21530 * gst/gststructure.c:
21531 * gst/gststructure.h:
21534 2005-11-09 Wim Taymans <wim@fluendo.com>
21537 Documented structs.
21539 2005-11-09 Wim Taymans <wim@fluendo.com>
21541 * docs/gst/gstreamer-sections.txt:
21542 Added some new macros.
21549 2005-11-09 Wim Taymans <wim@fluendo.com>
21551 * docs/design/part-TODO.txt:
21552 Some more items for the TODO
21558 2005-11-09 Andy Wingo <wingo@pobox.com>
21560 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21561 to work on something else now tho...
21563 * gst/base/gstadapter.c: More adapter docs.
21565 * gst/elements/gstfilesink.c (gst_file_sink_start)
21566 (gst_file_sink_stop): New functions, replace the state change
21568 (gst_file_sink_class_init): Hook up the start and stop functions.
21569 (gst_file_sink_base_init): Don't set the state change handler any
21570 more. It was a bit ugly too, being set from here...
21571 (gst_file_sink_get_property, gst_file_sink_set_property):
21573 (gst_file_sink_set_location): More robust check that doesn't call
21574 GST_STATE. Ugggggg.
21576 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21578 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21579 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21581 2005-11-08 Wim Taymans <wim@fluendo.com>
21583 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21584 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21585 (gst_base_sink_chain), (gst_base_sink_change_state):
21586 * gst/base/gstbasesink.h:
21587 * gst/base/gstbasesrc.h:
21588 * gst/gstelement.h:
21590 Avoid excessive typechecking in macros.
21592 * gst/gstminiobject.c: (gst_mini_object_get_type),
21593 (gst_mini_object_init), (gst_mini_object_new),
21594 (gst_mini_object_free):
21595 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21596 (gst_object_finalize):
21597 Remove cruft code, optimize alloc_trace.
21599 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21601 * docs/faq/gst-uninstalled:
21602 fix up PS1 for systems that try to reset it
21604 2005-11-07 Wim Taymans <wim@fluendo.com>
21606 * gst/base/gstbasesrc.c: (gst_base_src_init),
21607 (gst_base_src_get_range):
21608 Set the segment_end to -1 initially. Fixed typefind.
21610 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21612 * gst/base/gstadapter.c:
21613 Debug category should be 'adapter', not 'GstAdapter'.
21615 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21616 (gst_collectpads_class_init), (gst_collectpads_init),
21617 (gst_collectpads_peek), (gst_collectpads_pop),
21618 (gst_collectpads_event), (gst_collectpads_chain):
21619 Add debug category and some debugging output. Use boilerplate
21620 macros. Remove some extraneous words from docs.
21622 2005-11-05 Andy Wingo <wingo@pobox.com>
21624 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21627 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21629 * docs/gst/gstreamer-sections.txt:
21632 * gst/gstminiobject.h:
21637 2005-11-04 Wim Taymans <wim@fluendo.com>
21639 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21640 Small update to stop at the configured segment_end
21643 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21645 * gst/gstregistry.c:
21646 * gst/gstregistry.h:
21649 2005-11-04 Edward Hervey <edward@fluendo.com>
21651 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21652 Check if we are doing a segment seek and have arrived at the
21653 end of that segment.
21655 2005-11-04 Wim Taymans <wim@fluendo.com>
21657 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21658 Don't leak a mutex unlock in case of an error.
21663 2005-11-04 Wim Taymans <wim@fluendo.com>
21665 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21667 Get the context to wake up only once.
21669 2005-11-03 Wim Taymans <wim@fluendo.com>
21671 * check/states/sinks.c: (GST_START_TEST):
21672 Uncomment fixed check.
21674 * docs/design/part-TODO.txt:
21677 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21678 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21679 (gst_base_sink_get_position):
21680 If we are going to PLAYING, post the right pending state
21681 when we post the intermediate paused message.
21683 * gst/gstelement.c: (gst_element_continue_state),
21684 (gst_element_set_state_func), (gst_element_change_state):
21685 Don't post state changes that were between the same state
21686 and were not ASYNC.
21688 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21690 * docs/gst/gstreamer-sections.txt:
21693 * gst/gstminiobject.h:
21696 more docs and doc style fixes
21698 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21700 * docs/gst/gstreamer-sections.txt:
21701 * gst/gstelement.c:
21702 * gst/gstminiobject.c:
21705 2005-11-03 Andy Wingo <wingo@pobox.com>
21707 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21708 state-changed messages actually have the right order and the right
21711 2005-11-03 Wim Taymans <wim@fluendo.com>
21713 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21714 Added some more checks. Specifically the case where NO_PREROLL
21715 elements are in the pipeline.
21717 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21718 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21719 (gst_base_sink_get_position):
21720 Post READY->PAUSED state change messages too.
21721 Fix bug where VOID was posted as pending state...
21723 * gst/gstbin.c: (gst_bin_recalc_state):
21724 use _element_continue_state() to continue the state change.
21726 * gst/gstelement.c: (gst_element_continue_state),
21727 (gst_element_commit_state), (gst_element_set_state_func),
21728 (gst_element_change_state), (gst_element_change_state_func):
21729 Lots of state change cleanups, assign the STATE_RETURN in
21730 a new continue_state() function that also propagates the
21731 last return value from a state change to the app.
21732 Update some debug statements with proper category.
21734 2005-11-03 Wim Taymans <wim@fluendo.com>
21736 * docs/design/part-events.txt:
21737 * docs/design/part-gstpipeline.txt:
21738 * docs/design/part-messages.txt:
21739 * docs/design/part-overview.txt:
21740 * docs/design/part-seeking.txt:
21741 * docs/design/part-states.txt:
21742 * docs/design/part-trickmodes.txt:
21743 * docs/manual/advanced-position.xml:
21744 Small docs updates.
21747 People think !! is ugly, this looks better.
21749 * gst/gstpad.c: (gst_pad_set_blocked_async):
21750 Remove !! since it's fixed elsewhere now.
21752 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21754 * gst/gstminiobject.h:
21756 Add !! to _FLAG_IS_SET macros to make the result boolean.
21758 2005-11-03 Edward Hervey <edward@fluendo.com>
21760 * gst/gstpad.c: (gst_pad_set_blocked_async):
21761 comparing a flag and a gboolean rarely returns coherent results...
21762 Added two characters (!!) to make that work correctly.
21764 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21766 * gst/gstbus.c: (gst_bus_class_init):
21769 * gst/gstqueue.c: (gst_queue_loop):
21770 Don't assume a miniobject that isn't a buffer is an
21771 event (it could be that there is a refcounting
21772 problem somewhere and the pointer is stale and
21773 refers to an already destroyed miniobject).
21775 2005-11-03 Julien MOUTTE <julien@moutte.net>
21777 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21779 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21781 * docs/manual/advanced-position.xml:
21782 Update seek example and explanations to current 0.9 API.
21784 * gst/elements/gsttypefindelement.c:
21785 (gst_type_find_element_activate):
21786 Remove FIXME comment now that the found caps
21789 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21791 * gst/gstregistryxml.c: (load_feature):
21792 Add another GST_STR_NULL instance
21794 2005-11-02 Edward Hervey <edward@fluendo.com>
21796 * gst/gstpad.c: (handle_pad_block):
21797 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21799 2005-11-02 Wim Taymans <wim@fluendo.com>
21804 * gst/gstelement.c: (gst_element_commit_state):
21805 Remove unused value.
21807 * gst/gstiterator.c:
21808 Mention that the returned element is reffed in the docs.
21810 2005-11-02 Wim Taymans <wim@fluendo.com>
21812 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21813 (gst_pad_push), (gst_pad_push_event):
21814 Unlock blocked pads when they are flushed.
21816 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21819 * docs/gst/gstreamer-sections.txt:
21822 * gst/gstregistry.c: (gst_registry_scan_path_level):
21823 fix for a nasty little missed situation where an installed plug-in
21824 which was in the cache did not get overridden by an uninstalled one
21825 which was earlier in the plugin path because the newly created plugin
21826 for the uninstalled one (not in the registry) didn't get its
21827 ->registered set to TRUE
21829 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21831 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21832 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21833 (gst_collectpads_is_active), (gst_collectpads_collect),
21834 (gst_collectpads_collect_range), (gst_collectpads_start),
21835 (gst_collectpads_stop), (gst_collectpads_peek),
21836 (gst_collectpads_pop), (gst_collectpads_available),
21837 (gst_collectpads_read), (gst_collectpads_flush):
21838 Guard public API with assertions.
21841 Fix docs for gst_pad_set_link_function().
21843 2005-11-02 Johan Dahlin <johan@gnome.org>
21845 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21846 Unref found_caps after we used it.
21848 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21850 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21851 Don't try to ref NULL.
21853 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21855 * win32/common/config.h.in:
21856 provide a GST_FUNCTION that just gives a string for now
21858 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21860 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21861 (gst_object_flags_get_type), (register_gst_bin_flags),
21862 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21863 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21864 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21865 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21866 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21867 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21868 (gst_clock_flags_get_type), (register_gst_state),
21869 (gst_state_get_type), (register_gst_state_change_return),
21870 (gst_state_change_return_get_type), (register_gst_state_change),
21871 (gst_state_change_get_type), (register_gst_element_flags),
21872 (gst_element_flags_get_type), (register_gst_core_error),
21873 (gst_core_error_get_type), (register_gst_library_error),
21874 (gst_library_error_get_type), (register_gst_resource_error),
21875 (gst_resource_error_get_type), (register_gst_stream_error),
21876 (gst_stream_error_get_type), (register_gst_event_type),
21877 (gst_event_type_get_type), (register_gst_seek_type),
21878 (gst_seek_type_get_type), (register_gst_seek_flags),
21879 (gst_seek_flags_get_type), (register_gst_format),
21880 (gst_format_get_type), (register_gst_index_certainty),
21881 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21882 (gst_index_entry_type_get_type),
21883 (register_gst_index_lookup_method),
21884 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21885 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21886 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21887 (gst_index_flags_get_type), (register_gst_debug_level),
21888 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21889 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21890 (gst_iterator_result_get_type), (register_gst_iterator_item),
21891 (gst_iterator_item_get_type), (register_gst_message_type),
21892 (gst_message_type_get_type), (register_gst_mini_object_flags),
21893 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21894 (gst_pad_link_return_get_type), (register_gst_flow_return),
21895 (gst_flow_return_get_type), (register_gst_activate_mode),
21896 (gst_activate_mode_get_type), (register_gst_pad_direction),
21897 (gst_pad_direction_get_type), (register_gst_pad_flags),
21898 (gst_pad_flags_get_type), (register_gst_pad_presence),
21899 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21900 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21901 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21902 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21903 (gst_plugin_flags_get_type), (register_gst_rank),
21904 (gst_rank_get_type), (register_gst_query_type),
21905 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21906 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21907 (gst_tag_flag_get_type), (register_gst_task_state),
21908 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21909 (gst_alloc_trace_flags_get_type),
21910 (register_gst_type_find_probability),
21911 (gst_type_find_probability_get_type), (register_gst_uri_type),
21912 (gst_uri_type_get_type), (register_gst_parse_error),
21913 (gst_parse_error_get_type):
21914 * win32/common/gstversion.h:
21915 update win32 copies
21917 2005-11-01 Luca Ognibene <luogni@tin.it>
21920 fix docs. popt is dead, long live GOption.
21922 2005-10-31 Wim Taymans <wim@fluendo.com>
21927 2005-10-31 Andy Wingo <wingo@pobox.com>
21931 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21933 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21934 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21935 the possibility of deadlocks here if code calling notify() or
21936 set() has a lock that can be taken in another notify handler (ABBA
21937 with class lock and e.g. python GIL state lock).
21939 2005-10-28 Julien MOUTTE <julien@moutte.net>
21941 * gst/gstbus.c: Doc updates.
21943 2005-10-28 Wim Taymans <wim@fluendo.com>
21945 * docs/design/part-TODO.txt:
21946 * gst/gstiterator.c:
21947 * gst/gstsystemclock.c:
21948 * gst/gstsystemclock.h:
21951 2005-10-28 Edward Hervey <edward@fluendo.com>
21953 * docs/gst/gstreamer-docs.sgml:
21954 * docs/gst/gstreamer-sections.txt:
21955 the GstURIType documentation page is private, it only defines GstURIType
21956 which should be defined in the GstURIHandler page
21958 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21960 * gst/gstbin.c: (gst_bin_class_init):
21963 Documentation updates.
21965 2005-10-28 Wim Taymans <wim@fluendo.com>
21967 * docs/gst/gstreamer-sections.txt:
21970 Documented the clocks.
21972 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21974 * docs/gst/gstreamer-sections.txt:
21975 move some macros to private sections
21976 * gst/gstminiobject.c:
21977 * gst/gstminiobject.h:
21978 add descriptions provided by ds and some more
21980 mark macro as to be removed
21982 2005-10-28 Wim Taymans <wim@fluendo.com>
21984 * docs/design/part-TODO.txt:
21985 Add an item to TODO.
21987 * gst/gstiterator.c: (gst_iterator_fold),
21988 (gst_iterator_find_custom):
21989 * gst/gstiterator.h:
21992 2005-10-28 Wim Taymans <wim@fluendo.com>
21994 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21995 (gst_base_transform_init):
21998 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21999 An EOS event marks the queue as completely filled.
22001 2005-10-27 Wim Taymans <wim@fluendo.com>
22003 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22004 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22005 Some more debugging.
22007 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22008 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22009 (gst_base_transform_event), (gst_base_transform_getrange),
22010 (gst_base_transform_chain):
22011 * gst/base/gstbasetransform.h:
22013 Protect transform and concurrent buffer alloc with a new lock.
22014 Try not to break ABI/API.
22016 2005-10-27 Wim Taymans <wim@fluendo.com>
22018 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22019 (gst_base_src_init), (gst_base_src_query),
22020 (gst_base_src_default_newsegment),
22021 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22022 (gst_base_src_send_event), (gst_base_src_event_handler),
22023 (gst_base_src_pad_get_range), (gst_base_src_loop),
22024 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22025 (gst_base_src_start), (gst_base_src_deactivate),
22026 (gst_base_src_activate_push), (gst_base_src_change_state):
22027 Move some stuff around and cleanup things.
22029 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22031 * gst/base/gstbasesrc.c: (gst_base_src_query):
22032 Add missing break statements.
22034 2005-10-27 Wim Taymans <wim@fluendo.com>
22036 * check/gst/gstbin.c: (GST_START_TEST):
22037 An extra refcount is taken in basesrc.
22039 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22040 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22041 (gst_base_src_loop):
22042 Small cleanups, check for flushing after being unlocked from the
22043 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22044 Don't send out EOS when going to READY.
22046 2005-10-27 Wim Taymans <wim@fluendo.com>
22048 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22049 (gst_base_sink_get_position):
22052 * gst/gstbin.c: (message_check), (bin_replace_message),
22053 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22054 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22055 (bin_query_duration_init), (bin_query_duration_fold),
22056 (bin_query_duration_done), (bin_query_generic_fold),
22058 * tools/gst-launch.c: (main):
22061 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22063 * examples/controller/audio-example.c: (main):
22064 * examples/queue/queue.c: (event_loop):
22065 * gst/base/gstbasetransform.h:
22066 * gst/gstelement.c: (gst_element_send_event):
22068 * gst/gstpad.c: (gst_pad_send_event):
22071 changing log priority in error situations
22073 2005-10-25 Wim Taymans <wim@fluendo.com>
22075 * gst/gstbin.c: (message_check), (bin_replace_message),
22076 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22077 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22078 (bin_query_duration_init), (bin_query_duration_fold),
22079 (bin_query_duration_done), (bin_query_generic_fold),
22081 Some doc and debug updates.
22082 Cache previously requested query DURATION for speed. invalidate
22083 cached duration if element posts a DURATION message.
22085 2005-10-25 Wim Taymans <wim@fluendo.com>
22087 * docs/design/part-TODO.txt:
22090 * gst/gstbin.c: (message_check), (bin_replace_message),
22091 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22092 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22093 (bin_query_duration_init), (bin_query_duration_fold),
22094 (bin_query_duration_done), (bin_query_generic_fold),
22096 Handle SEGMENT_START/DONE messages correctly.
22097 More evolved query algorithm that handles duration queries
22100 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22101 (gst_element_get_state_func), (gst_element_abort_state),
22102 (gst_element_commit_state), (gst_element_lost_state):
22103 Some more debugging.
22105 * gst/gstmessage.h:
22108 2005-10-25 Wim Taymans <wim@fluendo.com>
22110 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22111 Don't use invalid stream_time.
22113 * gst/gstevent.c: (gst_event_new_newsegment):
22114 stream_time in newsegment cannot be undefined.
22116 2005-10-24 Wim Taymans <wim@fluendo.com>
22121 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22123 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22125 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22127 * docs/libs/tmpl/gstdparam.sgml:
22128 * docs/libs/tmpl/gstdplinint.sgml:
22129 * docs/libs/tmpl/gstdpman.sgml:
22130 * docs/libs/tmpl/gstdpsmooth.sgml:
22131 * docs/libs/tmpl/gstunitconvert.sgml:
22134 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22139 === release 0.9.4 ===
22141 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22144 releasing 0.9.4, "Tyrannosaurus Rex"
22146 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22148 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22149 (gst_file_sink_get_current_offset):
22150 Use fseeko() and ftello() if available. When falling back on
22151 lseek() to get the current offset, fflush() first to make sure
22152 everything is up-to-date and we get the right offset.
22154 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22156 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22157 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22158 * gst/gsterror.c: (_gst_stream_errors_init):
22160 * gst/gstqueue.c: (gst_queue_loop):
22162 remove prematurely added error category and clean up the instances
22164 2005-10-21 Wim Taymans <wim@fluendo.com>
22166 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22167 (gst_base_sink_get_position), (gst_base_sink_query),
22168 (gst_base_sink_change_state):
22169 Simply set the right flag when going to playing, that's all
22170 we need to do instead of calling a function inside the object
22171 lock (that could take the lock as well and deadlock)
22173 2005-10-21 Wim Taymans <wim@fluendo.com>
22175 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22176 (gst_base_src_loop):
22177 Don't warn, the peer element knows what to do best when
22178 the seek failed, it might try something else.
22180 2005-10-21 Wim Taymans <wim@fluendo.com>
22182 * gst/base/gstbasesrc.c: (gst_base_src_init),
22183 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22186 2005-10-21 Wim Taymans <wim@fluendo.com>
22188 * docs/design/part-segments.txt:
22191 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22192 Correctly set caps, even on the subbufer.
22194 2005-10-21 Wim Taymans <wim@fluendo.com>
22196 * docs/gst/gstreamer-docs.sgml:
22197 * docs/gst/gstreamer-sections.txt:
22198 * gst/gstelement.h:
22201 * gst/gstmessage.h:
22204 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22208 And 2% more doc coverage.
22210 2005-10-21 Andy Wingo <wingo@pobox.com>
22212 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22213 position reporting.
22215 2005-10-20 Wim Taymans <wim@fluendo.com>
22217 * gst/gsterror.c: (gst_error_get_message):
22220 * gst/gststructure.c:
22225 2005-10-20 Wim Taymans <wim@fluendo.com>
22230 Another 1% more coverage.
22232 2005-10-20 Wim Taymans <wim@fluendo.com>
22234 * docs/gst/gstreamer-sections.txt:
22235 * gst/gstelement.c: (gst_element_get_state_func),
22236 (gst_element_abort_state), (gst_element_commit_state),
22237 (gst_element_lost_state):
22239 * gst/gstquery.c: (gst_query_set_position),
22240 (gst_query_parse_position), (gst_query_set_duration),
22241 (gst_query_parse_duration), (gst_query_new_convert):
22243 Yay! 1% more docs coverage.
22245 2005-10-20 Wim Taymans <wim@fluendo.com>
22248 * gst/gstquery.c: (gst_query_set_position),
22249 (gst_query_parse_position), (gst_query_set_duration),
22250 (gst_query_parse_duration), (gst_query_new_convert):
22252 * gst/gstutils.c: (gst_element_query_convert):
22254 Docs and consistency fixes.
22256 2005-10-20 Wim Taymans <wim@fluendo.com>
22262 2005-10-20 Wim Taymans <wim@fluendo.com>
22264 * gst/gstbin.c: (message_check), (bin_replace_message),
22265 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22266 (update_degree), (gst_bin_sort_iterator_next),
22267 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22268 Reworked the message handling a bit, cache the messages instead of
22269 only the senders. alows us to do more in the future.
22271 2005-10-20 Wim Taymans <wim@fluendo.com>
22273 * docs/design/part-TODO.txt:
22276 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22277 (gst_base_sink_query):
22278 Don't use clock time to report position when in EOS.
22280 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22282 * tools/gst-inspect.c: (print_interfaces),
22283 (print_element_properties_info), (print_element_info):
22284 Fix interface output with gst-inspect -a; don't print
22285 newlines after double/float properties.
22287 2005-10-20 Wim Taymans <wim@fluendo.com>
22289 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22290 (gst_base_sink_query):
22291 Speed up current position calculation.
22293 * gst/base/gstbasesrc.c: (gst_base_src_query),
22294 (gst_base_src_default_newsegment):
22295 Correctly set stream position in newsegment.
22297 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22298 (update_degree), (gst_bin_sort_iterator_next),
22299 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22300 * gst/gstmessage.c: (gst_message_new_custom):
22301 Clean up debugging info
22303 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22304 (gst_queue_loop), (gst_queue_handle_src_query):
22307 2005-10-19 Wim Taymans <wim@fluendo.com>
22309 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22310 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22311 Fix query handling again.
22313 2005-10-19 Wim Taymans <wim@fluendo.com>
22315 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22316 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22317 * gst/base/gstbasesrc.c: (gst_base_src_query):
22318 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22319 * gst/elements/gsttypefindelement.c:
22320 (gst_type_find_handle_src_query), (find_element_get_length),
22321 (gst_type_find_element_activate):
22324 * gst/gstquery.c: (gst_query_new_position),
22325 (gst_query_set_position), (gst_query_parse_position),
22326 (gst_query_new_duration), (gst_query_set_duration),
22327 (gst_query_parse_duration), (gst_query_set_segment),
22328 (gst_query_parse_segment):
22330 Bundling query position/duration is not a good idea since duration
22331 does not change much and we don't want to recalculate it for every
22332 position query, so they are separated again..
22333 Base value in segment query is not needed.
22335 * gst/gstqueue.c: (gst_queue_handle_src_query):
22336 * gst/gstutils.c: (gst_element_query_position),
22337 (gst_element_query_duration), (gst_pad_query_position),
22338 (gst_pad_query_duration):
22340 Updates for query API change.
22341 Added some docs here and there.
22343 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22345 * check/gst/gstbin.c: (GST_START_TEST):
22346 * check/gst/gstghostpad.c: (GST_START_TEST):
22347 * check/pipelines/cleanup.c: (GST_START_TEST):
22348 wait on thread to die so we can check refcount correctly
22350 2005-10-18 Wim Taymans <wim@fluendo.com>
22352 * check/pipelines/stress.c: (GST_START_TEST):
22353 Make check a little more time consuming.
22355 2005-10-18 Wim Taymans <wim@fluendo.com>
22357 * check/Makefile.am:
22358 * check/pipelines/stress.c: (GST_START_TEST),
22359 (simple_launch_lines_suite), (main):
22360 Small state change torture test.
22362 * docs/design/part-states.txt:
22363 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22364 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22365 (gst_base_sink_change_state):
22366 Never take state lock from streaming thread, clean up ugly
22367 hacks. Unfortunatly core does not yet support nice ways to
22368 async commit state.
22370 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22372 Start state recalc if a STATE_DIRTY message is posted, but only
22373 on the toplevel bin.
22375 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22376 (gst_element_get_state_func), (gst_element_abort_state),
22377 (gst_element_commit_state), (gst_element_lost_state),
22378 (gst_element_set_state_func), (gst_element_change_state):
22379 * gst/gstelement.h:
22380 State variables are now protected with the LOCK, the state
22381 lock is only used to serialize _set_state().
22383 2005-10-18 Wim Taymans <wim@fluendo.com>
22385 * check/gst/gstbin.c: (GST_START_TEST):
22386 * check/gst/gstmessage.c: (GST_START_TEST):
22387 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22390 * gst/gstelement.c: (gst_element_abort_state),
22391 (gst_element_commit_state), (gst_element_lost_state):
22392 * gst/gstmessage.c: (gst_message_new_state_changed),
22393 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22394 (gst_message_new_segment_done), (gst_message_new_duration),
22395 (gst_message_parse_state_changed),
22396 (gst_message_parse_segment_start),
22397 (gst_message_parse_segment_done), (gst_message_parse_duration):
22398 * gst/gstmessage.h:
22399 * tools/gst-launch.c: (event_loop):
22400 Seriously, this is better than a previous commit as we only need
22401 to notify the fact that an element changed state in a streaming
22402 thread, marking the state of the parents dirty, hence the
22403 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22406 2005-10-18 Wim Taymans <wim@fluendo.com>
22408 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22409 (gst_bin_recalc_func):
22410 * gst/gstelement.c: (gst_element_set_clock),
22411 (gst_element_abort_state), (gst_element_lost_state):
22412 Cleanups, prepare for state change fixes.
22414 2005-10-18 Wim Taymans <wim@fluendo.com>
22417 * gst/gstelement.c: (gst_element_class_init),
22418 (gst_element_set_state), (gst_element_set_state_func):
22419 * gst/gstelement.h:
22420 Pending ABI changes.
22421 GThreadPool in GstBinClass to monitor async state changes.
22422 state_cookie in GstElement to detect concurrent gst/set state.
22423 set_state is now virtual too in case a very complicated element
22424 has to be constructed.
22426 2005-10-18 Wim Taymans <wim@fluendo.com>
22428 * check/gst/gstbin.c: (GST_START_TEST):
22429 * check/gst/gstmessage.c: (GST_START_TEST):
22430 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22431 * gst/gstbin.c: (bin_bus_handler):
22432 * gst/gstelement.c: (gst_element_commit_state),
22433 (gst_element_lost_state):
22434 * gst/gstmessage.c: (gst_message_new_state_changed),
22435 (gst_message_new_segment_start), (gst_message_new_segment_done),
22436 (gst_message_new_duration), (gst_message_parse_state_changed),
22437 (gst_message_parse_segment_start),
22438 (gst_message_parse_segment_done), (gst_message_parse_duration):
22439 * gst/gstmessage.h:
22440 * tools/gst-launch.c: (event_loop):
22441 Make messages future proof.
22442 state-change gets a flag if it was a message comming from the
22444 segment-start/stop can also be specified in other formats.
22445 A message to notify an app that a pipeline changed playback
22447 Also fix a GstMessage leak in -launch
22449 2005-10-18 Andy Wingo <wingo@pobox.com>
22451 * gst/gstelement.c (gst_element_dispose): More helpful message.
22453 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22455 reviewed by: <delete if not using a buddy>
22457 * common/gtk-doc.mak:
22459 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22461 * gst/gstregistry.c: (gst_registry_scan_path_level):
22462 unref a plug-in we get that was already initialized
22464 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22466 * docs/gst/gstreamer-sections.txt:
22467 * docs/libs/gstreamer-libs-sections.txt:
22468 * gst/gstelement.h:
22469 add new api entries
22470 hide internal macro
22472 2005-10-17 Andy Wingo <wingo@pobox.com>
22474 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22477 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22479 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22481 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22482 (gst_element_get_state_func): Better debug message.
22483 (gst_element_commit_state): s/INFO/DEBUG/.
22484 (gst_element_lost_state, gst_element_change_state):
22486 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22487 (gst_message_new_custom): s/INFO/LOG/.
22489 2005-10-17 Michael Smith <msmith@fluendo.com>
22491 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22492 Check if end time is valid using end time, not start time.
22494 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22496 * check/gst-libs/controller.c: (GST_START_TEST),
22497 (gst_controller_suite):
22498 * libs/gst/controller/gstcontroller.c:
22499 (gst_controlled_property_set_interpolation_mode):
22500 * libs/gst/controller/gstcontroller.h:
22501 * libs/gst/controller/gstinterpolation.c:
22502 * testsuite/controller/.cvsignore:
22503 * testsuite/controller/Makefile.am:
22504 * testsuite/controller/interpolator.c:
22505 merge controller testsuites
22507 remove mem-chunk from docs
22509 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22511 * gst/gstmemchunk.c:
22512 * gst/gstmemchunk.h:
22513 * gst/gsttrashstack.c:
22514 * gst/gsttrashstack.h:
22515 out. get out. you're fired. to the Attic !
22517 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22519 * gst/gstcaps.c: (gst_caps_intersect):
22520 fix signedness issues in a (hopefully) correct way
22521 * gst/gstelement.c: (gst_element_pads_activate):
22523 * gst/gstobject.c: (gst_object_set_parent):
22526 2005-10-17 Julien MOUTTE <julien@moutte.net>
22528 * gst/gstvalue.h: Fix prototypes.
22530 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22532 * docs/gst/gstreamer-sections.txt:
22533 * gst/gst.c: (gst_version_string):
22535 * gst/gstversion.h.in:
22536 * win32/common/libgstreamer.def:
22537 add gst_version_string ()
22539 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22543 * gst/gst.c: (init_post):
22544 * win32/common/config.h.in:
22546 * gst/gstcaps.c: (gst_caps_intersect):
22547 use gint64, the range could be bigger than a guint
22549 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22552 document potential problem in 2038
22554 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22556 * gst/gstcaps.c: (gst_caps_intersect):
22557 Fix guint j diving under 0
22559 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22562 * win32/common/config.h:
22563 * win32/common/config.h.in:
22564 check for process.h, declares getpid() on Windows
22566 include process.h if we have it
22567 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22568 * gst/gstmemchunk.h:
22569 fix signedness issues
22570 * win32/common/libgstreamer.def:
22573 2005-10-16 Julien MOUTTE <julien@moutte.net>
22575 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22576 fix. Because of unsigned ints, caps intersection was going nuts and
22577 trying to access structures with G_MAXUINT index. That fixes
22578 videotestsrc ! ffmpegcolorspace ! fakesink
22579 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22582 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22585 use the gettext macro
22586 * gst/elements/gstelements.c:
22588 * gst/indexers/gstindexers.c:
22589 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22590 * win32/common/config.h:
22592 * win32/common/config.h.in:
22593 add the template to generate config.h
22594 * win32/common/gstenumtypes.c:
22595 * win32/common/gstversion.h:
22598 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22600 * gst/gst.c: (gst_version):
22601 * gst/gstversion.h.in:
22604 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22607 Oops, add missing closing bracket.
22609 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22612 use common m4's for argument checking
22614 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22616 * docs/gst/gstreamer-sections.txt:
22618 Add GST_EVENT_TYPE_NAME() macro.
22620 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22623 * gst/gstpluginfeature.c:
22625 privatize more symbols
22627 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22630 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22631 everything that uses GStreamer API should have the includes
22633 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22635 * docs/gst/gstreamer-sections.txt:
22636 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22638 give each value a _get_type, removes the DATA exports
22640 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22644 remove _gst_registry_auto_load, not used anymore
22645 * gst/gstbin.c: (gst_bin_get_type):
22647 * gst/gstelement.c: (gst_element_get_type):
22648 * gst/gstelement.h:
22649 * gst/gstobject.c: (gst_object_get_type):
22651 * gst/gstpad.c: (gst_pad_get_type):
22653 make _get_type functions similar, fixes data export from library
22655 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22658 correctly make conditionals
22659 * gst/elements/Makefile.am:
22660 * gst/elements/gstelements.c:
22661 fix typo causing fdsrc not to build
22663 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22665 * testsuite/Makefile.am:
22666 * testsuite/bytestream/.cvsignore:
22667 * testsuite/bytestream/Makefile.am:
22668 * testsuite/bytestream/filepadsink.c:
22669 * testsuite/bytestream/gstbstest.c:
22670 * testsuite/bytestream/test1.c:
22671 * testsuite/bytestream/testfile1:
22672 * testsuite/caps/normalisation.c:
22673 * testsuite/caps/random.c: (main):
22674 * testsuite/cleanup/.cvsignore:
22675 * testsuite/cleanup/Makefile.am:
22676 * testsuite/cleanup/cleanup1.c:
22677 * testsuite/cleanup/cleanup2.c:
22678 * testsuite/cleanup/cleanup3.c:
22679 * testsuite/cleanup/cleanup4.c:
22680 * testsuite/cleanup/cleanup5.c:
22681 * testsuite/controller/interpolator.c:
22682 * testsuite/debug/printf_extension.c: (main):
22683 * testsuite/elements/tee.c:
22684 * testsuite/negotiation/.cvsignore:
22685 * testsuite/negotiation/Makefile.am:
22686 * testsuite/negotiation/pad_link.c:
22687 * testsuite/pad/Makefile.am:
22688 * testsuite/pad/chainnopull.c:
22689 * testsuite/pad/getnopush.c:
22690 * testsuite/pad/link.c:
22691 * testsuite/refcounting/sched.c: (create_pipeline):
22692 * testsuite/registry/Makefile.am:
22693 * testsuite/registry/gst-print-formats.c:
22694 * testsuite/schedulers/.cvsignore:
22695 * testsuite/schedulers/142183-2.c:
22696 * testsuite/schedulers/142183.c:
22697 * testsuite/schedulers/143777-2.c:
22698 * testsuite/schedulers/143777.c:
22699 * testsuite/schedulers/147713.c:
22700 * testsuite/schedulers/147819.c:
22701 * testsuite/schedulers/147894-2.c:
22702 * testsuite/schedulers/147894.c:
22703 * testsuite/schedulers/Makefile.am:
22704 * testsuite/schedulers/group_link.c:
22705 * testsuite/schedulers/queue_link.c:
22706 * testsuite/schedulers/relink.c:
22707 * testsuite/schedulers/unlink.c:
22708 * testsuite/schedulers/unref.c:
22709 * testsuite/schedulers/useless_iteration.c:
22710 * testsuite/states/bin.c:
22711 clean out/remove some stuff from the testsuite directories
22713 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22716 check for some headers
22717 * gst/elements/Makefile.am:
22718 * gst/elements/gstelements.c:
22719 don't compile fdsrc without sys/socket.h
22720 * gst/indexers/Makefile.am:
22721 * gst/indexers/gstindexers.c: (plugin_init):
22722 don't compile fileindex without mmap
22724 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22731 * check/Makefile.am:
22732 * docs/gst/Makefile.am:
22733 * examples/helloworld/Makefile.am:
22735 * gst/base/Makefile.am:
22736 * gst/check/Makefile.am:
22737 * gst/elements/Makefile.am:
22738 * gst/indexers/Makefile.am:
22739 * gst/parse/Makefile.am:
22740 * libs/gst/controller/Makefile.am:
22741 * libs/gst/dataprotocol/Makefile.am:
22742 * examples/helloworld/helloworld.c: (event_loop):
22743 compile fixes, though it's not being compiled currently
22745 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22747 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22748 Add some simple tests for the new taglist date API.
22750 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22752 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22753 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22754 Beautify 'last-message' output: print 'none' for buffer timestamps
22755 and durations if none is set; improve alignment with next messages.
22757 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22759 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22760 * gst/gstpluginfeature.h:
22761 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22762 * gst/gstregistry.h:
22763 * docs/gst/gstreamer-sections.txt:
22764 Add new API to check plugin feature version requirements.
22766 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22767 Some basic tests for the above.
22769 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22771 * gst/gststructure.c: (gst_structure_to_string):
22772 guard against NULL printf - happens when for example
22773 a message structure with GstClock gets serialized
22775 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22777 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22778 Fix presumable copy'n'pasto.
22780 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22782 * gst/elements/gstfakesrc.h:
22783 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22784 * gst/elements/gsttypefindelement.c:
22785 fix some signedness
22786 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22787 I wonder if this could actually write +2GB files before
22789 2005-10-13 Andy Wingo <wingo@pobox.com>
22791 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22792 Fix Timmeke Waymans bug.
22793 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22794 string of the proper length to gst_caps_from_string. There's a
22795 potential for, before this fix, that this could cause someone
22796 connecting over the network to cause a segfault if the payload is
22797 not NUL-terminated.
22799 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22801 * docs/design/draft-push-pull.txt:
22802 * docs/design/part-overview.txt:
22803 * docs/random/TODO-pre-0.9:
22804 * docs/random/old/ChangeLog.gstreamer:
22805 * gst/base/gstpushsrc.c:
22809 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22811 * gst/glib-compat.c: (gst_flags_get_first_value):
22812 * gst/glib-compat.h:
22813 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22814 (gst_value_compare_double), (gst_value_serialize_flags):
22815 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22818 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22820 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22821 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22823 * tools/gst-launch.c: (event_loop):
22824 print out clock nicely
22826 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22828 * docs/gst/gstreamer-sections.txt:
22829 * gst/gsttaglist.h:
22830 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22831 (gst_tag_list_get_date_index):
22832 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22833 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22835 2005-10-13 Julien MOUTTE <julien@moutte.net>
22837 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22838 (gst_collectpads_chain):
22839 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22842 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22844 * docs/gst/gstreamer-sections.txt:
22847 * tools/gst-inspect.c: (main):
22848 * tools/gst-launch.c: (main):
22849 * tools/gst-run.c: (main):
22850 * tools/gst-xmlinspect.c: (main):
22851 fix GOption context leaks
22854 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22858 * win32/common/config.h:
22860 * win32/vs6/grammar.dsp:
22861 * win32/vs6/libgstelements.dsp:
22862 * win32/vs6/libgstreamer.dsp:
22865 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22868 * gst/base/gstbasesrc.c: (gst_base_src_query):
22869 fix more guint64<->gdouble conversions
22871 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22874 add win32-update target
22875 * win32/common/gstconfig.h:
22876 * win32/common/gstenumtypes.c:
22877 * win32/common/gstenumtypes.h:
22878 * win32/common/gstversion.h:
22879 add files that visual studio can't generate
22881 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22884 add a win32-update target
22887 2005-10-12 Wim Taymans <wim@fluendo.com>
22889 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22890 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22891 * gst/gstelement.c: (gst_element_commit_state),
22892 (gst_element_set_state):
22893 Protect flags with proper lock.
22894 unref provided cached clock in dispose.
22896 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22899 * gst/gstminiobject.h:
22901 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22902 removed unused flags from miniobject
22905 2005-10-12 Wim Taymans <wim@fluendo.com>
22907 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22908 (gst_file_sink_event), (gst_file_sink_render):
22909 Flush before seeking.
22911 2005-10-12 Andy Wingo <wingo@pobox.com>
22913 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22914 always been the case.
22916 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22918 * check/gst/gstbin.c: (GST_START_TEST):
22919 * docs/gst/gstreamer-sections.txt:
22920 * gst/base/gstbasesink.c: (gst_base_sink_init):
22921 * gst/base/gstbasesrc.c: (gst_base_src_init),
22922 (gst_base_src_get_range), (gst_base_src_check_get_range),
22923 (gst_base_src_start), (gst_base_src_stop):
22924 * gst/base/gstbasesrc.h:
22925 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22926 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22927 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22931 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22933 * gst/gstelement.c: (gst_element_is_locked_state),
22934 (gst_element_set_locked_state), (gst_element_commit_state),
22935 (gst_element_set_state):
22936 * gst/gstelement.h:
22937 * gst/gstindex.c: (gst_index_init):
22939 * gst/gstminiobject.h:
22940 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22941 (gst_object_set_parent):
22943 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22944 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22946 * gst/gstpadtemplate.h:
22947 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22948 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22949 * gst/gstpipeline.h:
22950 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22951 (gst_file_index_commit):
22952 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22953 * testsuite/pad/link.c: (gst_test_src_init),
22954 (gst_test_filter_init), (gst_test_sink_init):
22955 * testsuite/states/locked.c: (main):
22956 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22957 moved bitshift from macro to enum definition
22959 2005-10-12 Wim Taymans <wim@fluendo.com>
22961 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22962 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22963 (gst_file_sink_render):
22964 Some more debugging info.
22966 2005-10-12 Wim Taymans <wim@fluendo.com>
22968 * docs/design/part-states.txt:
22969 * tools/gst-launch.c: (main):
22971 Revert non-intentional change.
22973 2005-10-12 Wim Taymans <wim@fluendo.com>
22975 * check/gst/gstbin.c: (GST_START_TEST):
22976 * check/gst/gstelement.c: (GST_START_TEST):
22977 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22978 * check/gst/gstghostpad.c: (GST_START_TEST):
22979 * check/gst/gstpipeline.c: (GST_START_TEST):
22980 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22981 * check/states/sinks.c: (GST_START_TEST):
22982 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22983 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22984 (gst_bin_remove_func), (gst_bin_get_state_func),
22985 (gst_bin_recalc_state), (gst_bin_change_state_func),
22987 * gst/gstelement.c: (gst_element_get_state_func),
22988 (gst_element_get_state), (gst_element_abort_state),
22989 (gst_element_commit_state), (gst_element_set_state),
22990 (gst_element_change_state), (gst_element_change_state_func):
22991 * gst/gstelement.h:
22992 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22993 (gst_pipeline_provide_clock_func):
22994 * gst/gstutils.c: (gst_element_link_pads_filtered):
22995 * tools/gst-launch.c: (main):
22996 * tools/gst-typefind.c: (main):
22997 Use GstClockTime in _get_state() instead of GTimeVal.
22998 Remove old code in gstutils.c
23000 2005-10-12 Andy Wingo <wingo@pobox.com>
23002 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23005 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23006 there is no task. Shouldn't affect any code, as nothing in our
23007 plugins checks this return value.
23008 (gst_pad_stop_task): Also take the stream lock if the pad has no
23009 task. Docs updated.
23011 2005-10-12 Wim Taymans <wim@fluendo.com>
23013 * gst/gstpad.c: (pre_activate), (post_activate),
23014 (gst_pad_activate_pull), (gst_pad_activate_push):
23015 Cleanup activation code. Reset old state if
23018 2005-10-12 Wim Taymans <wim@fluendo.com>
23020 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23021 (gst_base_sink_change_state):
23022 No need to prerol after receiving EOS.
23024 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23025 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23026 * gst/elements/gstidentity.c: (gst_identity_event):
23027 Print events more verbosely.
23029 2005-10-12 Wim Taymans <wim@fluendo.com>
23031 * check/Makefile.am:
23032 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23033 * check/states/sinks2.c:
23034 Moved sinks2 testcode in sinks check.
23036 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23037 (gst_bin_remove_func), (gst_bin_recalc_state),
23038 (gst_bin_change_state_func), (bin_bus_handler):
23039 Fix potential race condition when _get_state() iterated over an
23040 ASYNC element right before it posted a state completion.
23043 Do proper cast here.
23045 * gst/gstevent.c: (gst_event_new_newsegment),
23046 (gst_event_parse_newsegment):
23047 A playback rate of 0.0 is not allowed.
23049 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23051 * win32/common/config.h:
23052 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23053 (_trewinddir), (_ttelldir), (_tseekdir):
23054 * win32/common/dirent.h:
23055 * win32/common/gtchar.h:
23056 * win32/common/libgstbase.def:
23057 * win32/common/libgstreamer.def:
23058 * win32/vs6/grammar.dsp:
23059 * win32/vs6/gst_inspect.dsp:
23060 * win32/vs6/gst_launch.dsp:
23061 * win32/vs6/gstreamer.dsw:
23062 * win32/vs6/libgstbase.dsp:
23063 * win32/vs6/libgstelements.dsp:
23064 * win32/vs6/libgstreamer.dsp:
23065 Visual Studio 6 project files, and a new common directory.
23068 2005-10-11 Wim Taymans <wim@fluendo.com>
23070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23071 (gst_base_sink_do_sync), (gst_base_sink_query),
23072 (gst_base_sink_change_state):
23073 * gst/base/gstbasesink.h:
23074 Correctly parse newsegment info.
23076 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23078 * gst/gst.c: (init_post):
23079 split plugin paths correctly
23081 2005-10-11 Wim Taymans <wim@fluendo.com>
23083 * check/gst/gstevent.c: (GST_START_TEST):
23084 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23085 (gst_base_sink_change_state):
23086 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23087 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23088 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23089 * gst/gstevent.c: (gst_event_new_newsegment),
23090 (gst_event_parse_newsegment):
23092 Added extra flag to newsegment for future API freeze.
23093 Updated check and base elements.
23095 2005-10-11 Julien MOUTTE <julien@moutte.net>
23097 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23098 (gst_collectpads_add_pad), (gst_collectpads_pop),
23099 (gst_collectpads_event), (gst_collectpads_chain):
23100 * gst/base/gstcollectpads.h: Handle EOS correctly.
23102 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23104 * tools/gst-launch.c: (main):
23105 more null protecting
23107 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23109 * gst/gst-i18n-lib.h:
23110 check for ENABLE_NLS, not GETTEXT_PACKAGE
23111 * gst/gstregistry.c: (gst_registry_add_plugin),
23112 (gst_registry_scan_path_level),
23113 (_gst_registry_remove_cache_plugins):
23114 protect possibly NULL strings
23115 * gst/parse/types.h:
23116 config.h already included before
23117 * tools/gst-inspect.c: (main):
23118 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23119 check for ENABLE_NLS, not GETTEXT_PACKAGE
23120 * tools/gst-launch.c: (main):
23121 check for ENABLE_NLS, not GETTEXT_PACKAGE
23123 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23126 if we don't have glib, fail before testing 2.8
23127 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23128 fix a leak, should fix plugins-base testsuite
23130 2005-10-11 Andy Wingo <wingo@pobox.com>
23132 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23133 take the mode we're going to as an arg. Go head and set the mode
23134 and flushing flags now, so that if the activate function starts a
23135 thread all the flags will be in the right state.
23136 (post_activate): Renamed also. Just handle making sure streaming
23137 finishes for the deactivation case, and setting the deactivated
23139 (gst_pad_set_active): Complain loudly if deactivation fails.
23140 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23141 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23142 remove the terrible hack.
23144 2005-10-11 Wim Taymans <wim@fluendo.com>
23146 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23147 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23148 (gst_bin_recalc_state), (gst_bin_change_state_func),
23149 (gst_bin_dispose), (bin_bus_handler):
23151 Prepare to make current EOS message queue more generic.
23154 * gst/gstevent.c: (gst_event_new_newsegment),
23155 (gst_event_parse_newsegment):
23157 Rename base to stream_time.
23159 * gst/gstmessage.h:
23162 2005-10-11 Wim Taymans <wim@fluendo.com>
23164 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23165 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23166 (gst_bin_change_state_func), (bin_bus_handler):
23168 Work on proper clock selection.
23170 2005-10-11 Edward Hervey <edward@fluendo.com>
23172 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23173 * libs/gst/controller/gstcontroller.h:
23174 Added GList* version of _remove_properties() in order to be able to wrap
23177 2005-10-11 Wim Taymans <wim@fluendo.com>
23179 * docs/design/part-states.txt:
23182 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23183 (gst_bin_change_state_func), (bin_bus_handler):
23184 Doc updates. Don't distribute the same clock over and over again.
23190 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23191 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23192 (gst_pad_send_event):
23194 Make probe emission threadsafe again.
23195 Register quarks and move _get_name() from utils.
23198 * gst/gstpipeline.c: (gst_pipeline_class_init),
23199 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23200 Only redistribute the clock of it changed.
23202 * gst/gstsystemclock.h:
23207 Moved the _flow_get_name() to GstPad.
23209 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23211 * check/gst-libs/gdp.c: (GST_START_TEST):
23212 * check/gst/gstcaps.c: (GST_START_TEST):
23213 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23214 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23215 (gst_dp_packet_from_caps):
23216 fix more valgrind warnings before turning up the heat
23218 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23220 * gst/parse/grammar.y:
23221 some cleanup before the hacking
23223 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23225 * gst/base/gstbasesrc.c: (gst_base_src_query):
23227 * gst/gstutils.c: (gst_guint64_to_gdouble),
23228 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23230 externalize, basesrc uses it
23231 obviously the implementation needs testing
23233 2005-10-10 Wim Taymans <wim@fluendo.com>
23235 * tests/sched/Makefile.am:
23236 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23237 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23239 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23241 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23242 apparently converting from guint64 to double is not implemented
23245 2005-10-10 Wim Taymans <wim@fluendo.com>
23247 * check/Makefile.am:
23248 * check/generic/states.c: (GST_START_TEST):
23249 * check/gst/gstbin.c: (GST_START_TEST):
23250 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23251 * check/states/sinks.c: (GST_START_TEST):
23252 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23254 Check fixes, use API as stated in design docs, remove hacks.
23256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23257 (gst_base_sink_change_state):
23258 Catch stopping our task while we're shutting down.
23260 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23261 (gst_bin_remove_func), (gst_bin_get_state_func),
23262 (gst_bin_recalc_state), (gst_bin_change_state_func),
23265 * gst/gstelement.c: (gst_element_init),
23266 (gst_element_get_state_func), (gst_element_abort_state),
23267 (gst_element_commit_state), (gst_element_lost_state),
23268 (gst_element_set_state), (gst_element_change_state),
23269 (gst_element_change_state_func):
23270 * gst/gstelement.h:
23271 New state change algorithm (see #318116)
23273 * gst/gstpipeline.c: (gst_pipeline_class_init),
23274 (gst_pipeline_init), (gst_pipeline_set_property),
23275 (gst_pipeline_get_property), (do_pipeline_seek),
23276 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23277 * gst/gstpipeline.h:
23278 Remove crude state change hacks.
23281 Remove crude hacks.
23283 * tools/gst-launch.c: (main):
23284 Fixes for state change. Needs some more work to fully use the
23287 2005-10-10 Andy Wingo <wingo@pobox.com>
23289 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23291 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23292 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23295 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23297 * gst/gstiterator.c: (gst_iterator_new):
23298 Fix my previous commit: GTypes passed to gst_iterator_new()
23299 can be fundamental types.
23301 2005-10-10 Wim Taymans <wim@fluendo.com>
23303 * gst/gstelement.c: (gst_element_iterate_pad_list),
23304 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23305 (gst_element_iterate_sink_pads):
23306 Use src/sink pads lists for the respective iterators instead
23309 2005-10-10 Andy Wingo <wingo@pobox.com>
23311 Merged in popt removal + GOption addition patch from Ronald, bug
23314 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23315 GstElement macros around, remove popt-related symbols, add goption
23318 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23320 * docs/gst/Makefile.am:
23321 * docs/libs/Makefile.am: No POPT_CFLAGS.
23323 * examples/manual/Makefile.am:
23324 * docs/manual/basics-init.xml: Doc updates with an example.
23326 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23327 (gst_init), (parse_one_option), (parse_goption_arg):
23328 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23329 bit of hand merging and debugging to get the GOption stuff working
23332 * tests/Makefile.am:
23333 * tools/Makefile.am:
23334 * tools/gst-inspect.c: (main):
23335 * tools/gst-launch.c: (main):
23336 * tools/gst-run.c: (main):
23337 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23339 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23341 * gst/gstiterator.c: (gst_iterator_new):
23342 Add assertions to make sure passed GType is likely to really
23343 be a GType (as the compiler won't catch it if the size and
23344 GType arguments get mixed up, see #318447).
23346 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23348 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23350 * gst/gstbin.c: (gst_bin_iterate_sorted):
23351 Pass GType and size arguments to gst_iterator_new() in the right
23352 order (maybe we should make _new() take the GType as first argument
23353 just like _new_list()?) (#318447).
23356 2005-10-10 Wim Taymans <wim@fluendo.com>
23358 * gst/gstelement.c: (gst_element_finalize):
23359 And free the GStaticRecMutex too
23361 2005-10-10 Andy Wingo <wingo@pobox.com>
23363 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23364 Allocate and free the mutex properly.
23366 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23368 (GstElement): The state_lock is now recursive. Rebuild your
23369 plugins, suckers. Old macros adapted.
23371 * docs/gst/gstreamer-sections.txt: Doc updates.
23374 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23375 (g_static_rec_cond_wait): Ported from state changes patch, while
23376 we wait on bug #317802 to be solved in a well-distributed GLib.
23378 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23379 gst_element_change_state, variable name changes.
23380 (gst_element_change_state): Split out of gst_element_set_state in
23381 preparation for the state change merge. Doesn't pay attention to
23382 the 'transition' argument.
23383 (gst_element_set_state): Updates, hopefully purely cosmetic.
23384 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23385 state change patch.
23386 (gst_element_get_state_func): Renamed from get_state, cosmetic
23389 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23391 * gst/elements/gstelements.c:
23392 * win32/GStreamer.vcproj:
23394 * win32/dirent.c: (_tseekdir):
23395 * win32/gst-inspect.vcproj:
23396 * win32/gst-launch.vcproj:
23397 * win32/gstconfig.h:
23398 * win32/gstelements.vcproj:
23399 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23400 * win32/gstreamer.def:
23401 * win32/msvc71.sln:
23402 updates for the win32 build (patch from Sebastien Moutte)
23404 2005-10-10 Andy Wingo <wingo@pobox.com>
23406 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23407 gst_bin_get_state, cleaned up (but no logic changes).
23408 (bin_element_is_sink): Comment updates.
23409 (sink_iterator_filter): Remove needless cast.
23410 (gst_bin_iterate_sinks): Doc update.
23411 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23412 cleaned up (but no logic changes).
23414 * check/states/sinks.c (test_src_sink): Cleanups from the state
23416 (test_livesrc_sink): Sync on the state.
23418 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23419 the state change patch.
23421 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23424 * check/gst/gstbin.c: Merge in some style fixes and additional
23425 checks from Wim's state change patch.
23427 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23429 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23430 (gst_type_find_helper):
23431 Check whether we have the requested data already in our list of
23432 cached buffers before pulling a new buffer; also make the buffer
23433 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23435 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23440 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23441 don't use long long, it's not portable. Replacing with
23442 gint64 seems to work; let's hope no skeletons fall out of the closet.
23444 2005-10-10 Andy Wingo <wingo@pobox.com>
23446 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23448 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23450 * docs/gst/gstreamer-sections.txt:
23455 * gst/gstmessage.c: (gst_message_parse_state_changed):
23458 more docs, fix compilation
23460 2005-10-09 Philippe Khalaf <burger@speedy.org>
23461 * gst/gstmessage.c:
23462 Fixed a few forgotten variables on previous commit
23464 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23466 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23467 Fix evil typefind crasher: getrange() might return a short
23468 buffer at the end of a file, but gst_type_find_peek() must
23469 either return the full data as requested or NULL, but
23470 never a short buffer.
23472 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23474 * gst/gstmessage.c: (gst_message_new_state_changed),
23475 (gst_message_parse_state_changed):
23476 * gst/gstmessage.h:
23477 don't use "new", it's a C++ keyword
23479 2005-10-08 Wim Taymans <wim@fluendo.com>
23481 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23482 * gst/gstelement.c: (gst_element_post_message):
23483 * gst/gstpipeline.c: (gst_pipeline_change_state):
23484 Small docs and debug updates.
23486 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23488 * docs/gst/gstreamer-sections.txt:
23489 * gst/gstelementfactory.c:
23491 * gst/gsttaglist.c:
23494 2005-10-08 Wim Taymans <wim@fluendo.com>
23496 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23497 (gst_bin_dispose), (bin_bus_handler):
23498 Fix typos, add comments.
23499 Clear EOS list when going to PAUSED from any direction and do it
23500 in a threadsafe way.
23501 Get base time in a threadsafe way too.
23502 Fix confusing debug in the change_state function.
23503 Various other small cleanups.
23505 * gst/gstelement.c: (gst_element_post_message):
23506 Fix very verbose bus posting code.
23508 * gst/gstpipeline.c: (gst_pipeline_class_init),
23509 (gst_pipeline_set_property), (gst_pipeline_get_property),
23510 (gst_pipeline_change_state):
23511 Small ARG_ -> PROP_ cleanup
23513 2005-10-08 Wim Taymans <wim@fluendo.com>
23515 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23516 Do a less CPU demanding EOS check because we can.
23518 2005-10-08 Wim Taymans <wim@fluendo.com>
23520 * libs/gst/dataprotocol/dataprotocol.c:
23521 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23522 (gst_dp_packet_from_event):
23523 * libs/gst/dataprotocol/dataprotocol.h:
23524 * libs/gst/dataprotocol/dp-private.h:
23525 It's about time we bump the version number.
23526 Since event types don't fit in the guint8 anymore describing
23527 the payload type, make payload type 16 bits wide.
23529 2005-10-08 Wim Taymans <wim@fluendo.com>
23531 * docs/design/part-TODO.txt:
23532 * docs/design/part-clocks.txt:
23533 * docs/design/part-events.txt:
23534 * docs/design/part-gstbin.txt:
23535 * docs/design/part-gstelement.txt:
23536 * docs/design/part-gstpipeline.txt:
23537 * docs/design/part-live-source.txt:
23538 * docs/design/part-messages.txt:
23539 * docs/design/part-overview.txt:
23540 * docs/design/part-states.txt:
23543 2005-10-08 Wim Taymans <wim@fluendo.com>
23547 Fix event quark registration.
23548 Add some space between events so we can insert them in the
23551 2005-10-08 Wim Taymans <wim@fluendo.com>
23553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23554 (gst_base_sink_handle_buffer):
23555 Better log message.
23558 * gst/gstelement.h:
23561 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23562 (gst_queue_set_property), (gst_queue_get_property):
23564 Remove old unused properties.
23566 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23567 * docs/gst/gstreamer-sections.txt:
23568 * gst/gstmessage.c:
23569 * gst/gstmessage.h:
23570 * gst/gstminiobject.c:
23571 * gst/gstminiobject.h:
23575 lots of new docs and doc fixes
23577 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23579 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23581 * gst/gstregistry.c: (gst_registry_lookup_locked),
23582 (gst_registry_scan_path_level):
23583 * gst/gstregistryxml.c: (load_plugin):
23584 Only ever load one plugin for a given plugin basename.
23585 This ensures correct overriding of GST_PLUGIN_PATH over
23586 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23587 system installed plugins.
23589 2005-10-08 Wim Taymans <wim@fluendo.com>
23591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23592 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23593 Prepare for doing QOS.
23595 2005-10-08 Wim Taymans <wim@fluendo.com>
23597 * check/gst/gstbin.c: (GST_START_TEST):
23598 * check/pipelines/cleanup.c: (GST_START_TEST):
23599 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23600 Allow new clock message too.
23602 2005-10-08 Wim Taymans <wim@fluendo.com>
23604 * gst/gstmessage.c: (gst_message_new_error),
23605 (gst_message_new_warning), (gst_message_new_tag),
23606 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23607 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23608 (gst_message_new_segment_start), (gst_message_new_segment_done),
23609 (gst_message_parse_state_changed),
23610 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23611 (gst_message_parse_new_clock):
23612 * gst/gstmessage.h:
23613 Also carry the clock in question.
23615 2005-10-08 Wim Taymans <wim@fluendo.com>
23617 * gst/gstmessage.c: (gst_message_new_custom),
23618 (gst_message_new_eos), (gst_message_new_error),
23619 (gst_message_new_warning), (gst_message_new_tag),
23620 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23621 (gst_message_new_new_clock), (gst_message_new_segment_start),
23622 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23623 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23624 * gst/gstmessage.h:
23626 Added clock related messages.
23628 * gst/gstpipeline.c: (gst_pipeline_change_state):
23629 Post message when the clock changed.
23631 * tools/gst-launch.c: (event_loop):
23634 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23636 * tools/gst-inspect.c: (print_element_properties_info):
23637 Can't pass NULL strings to g_print() on windows.
23639 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23641 * docs/Makefile.am:
23642 * docs/gst/Makefile.am:
23643 * docs/gst/gstreamer-docs.sgml:
23644 * docs/gst/running.xml:
23645 * docs/version.entities.in:
23646 add a chapter on running GStreamer.
23647 document GST_DEBUG and GST_PLUGIN* env vars
23649 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23654 remove PLUGINS_BUILDDIR stuff
23655 * gst/gst.c: (init_post):
23656 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23658 remove, it was condescending and not needed
23660 2005-10-08 Wim Taymans <wim@fluendo.com>
23662 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23663 (gst_base_sink_handle_object), (gst_base_sink_event),
23664 (gst_base_sink_wait), (gst_base_sink_handle_event),
23665 (gst_base_sink_change_state):
23666 * gst/base/gstbasesink.h:
23667 Repost EOS message while going to PLAYING if still EOS.
23668 Make sure that when receiving a FLUSH_START we don't attempt
23669 to sync on the clock anymore.
23671 2005-10-08 Wim Taymans <wim@fluendo.com>
23673 * tools/gst-launch.c: (event_loop):
23674 Better message printout.
23676 2005-10-08 Wim Taymans <wim@fluendo.com>
23678 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23679 (gst_bin_child_proxy_get_children_count):
23680 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23681 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23682 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23683 (gst_child_proxy_set_valist):
23684 * gst/parse/grammar.y:
23685 Make ChildProxy threadsafe and fix mem leaks.
23687 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23689 * gst/gst.c: (init_post):
23690 debug the GST_PLUGIN_ env vars
23692 2005-10-08 Wim Taymans <wim@fluendo.com>
23694 * check/gst/gstbin.c: (GST_START_TEST):
23695 * check/gst/gstmessage.c: (GST_START_TEST):
23696 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23697 * gst/gstelement.c: (gst_element_commit_state),
23698 (gst_element_lost_state):
23699 * gst/gstmessage.c: (gst_message_new_state_changed),
23700 (gst_message_parse_state_changed):
23701 * gst/gstmessage.h:
23702 * tools/gst-launch.c: (event_loop):
23703 Added extra field to STATE_CHANGE message with the pending
23704 state, which will be different from the new state soon.
23706 2005-10-08 Wim Taymans <wim@fluendo.com>
23708 * gst/gstbus.c: (gst_bus_pop):
23710 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23711 Small cleanups and doc updates.
23713 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23715 * gst/gst.c: (init_pre):
23716 * gst/gstbin.c: (gst_bin_add_func):
23717 log distributing clocks and base time
23718 * gst/gstregistry.c: (gst_registry_add_plugin),
23719 (gst_registry_scan_path_level), (gst_registry_scan_path):
23720 clean up the debugging output a little
23721 * gst/gstutils.c: (gst_element_state_get_name):
23722 warn about a memleak (I've actually seen this be used, though
23723 it was probably a bug)
23725 2005-10-07 Wim Taymans <wim@fluendo.com>
23727 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23728 (gst_base_src_init), (gst_base_src_default_newsegment),
23729 (gst_base_src_newsegment), (gst_base_src_do_seek),
23730 (gst_base_src_loop), (gst_base_src_start):
23731 * gst/base/gstbasesrc.h:
23732 Make the newsegment event customizable by subclasses.
23734 2005-10-07 Wim Taymans <wim@fluendo.com>
23736 * gst/gstevent.c: (gst_event_new_buffersize),
23737 (gst_event_parse_buffersize):
23739 New event for future idea.
23741 2005-10-07 Andy Wingo <wingo@pobox.com>
23743 * gst/gstelement.c (gst_element_post_message): Doc update.
23745 * docs/gst/gstreamer-sections.txt: Update.
23747 * gst/gstmessage.c (gst_message_new_application): Made into a
23748 function like honest API calls.
23749 (gst_message_new_element): New message type.
23751 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23753 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23754 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23757 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23758 NO_PREROLL from gst_element_change_state to fall through.
23760 2005-10-07 Wim Taymans <wim@fluendo.com>
23762 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23763 (gst_ghost_pad_do_activate_push):
23764 Activating a ghostpad with no internal pad in push mode
23767 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23770 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23771 Fixes compilation on Windows.
23773 2005-10-07 Michael Smith <msmith@fluendo.com>
23775 * tools/gst-inspect.c:
23776 Print out feature and plugin count at the end when printing out
23779 2005-10-04 Michael Smith <msmith@fluendo.com>
23781 * gst/gsterror.c: (_gst_stream_errors_init):
23782 Add another error string used in a few existing plugins.
23785 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23786 * tools/gst-inspect.c: (print_element_info):
23787 When a feature disappears from a plugin (and the feature exists in
23788 the cached registry file), things went horribly wrong. This isn't a
23789 complete fix, we should actually be removing the 'missing' features
23790 from the features list when we load the actual plugin. That's not
23793 2005-10-04 Johan Dahlin <johan@gnome.org>
23795 * check/gst/gstiterator.c: (GST_START_TEST):
23796 * gst/gstbin.c: (gst_bin_iterate_elements),
23797 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23798 * gst/gstelement.c: (gst_element_iterate_pads):
23799 * gst/gstformat.c: (gst_format_iterate_definitions):
23800 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23801 (gst_iterator_new_list), (gst_iterator_filter):
23802 * gst/gstiterator.h:
23803 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23804 Add a GType to GstIterator, update callsites and tests.
23806 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23808 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23809 give events a chance to be handled by event probes when the pad
23812 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23814 * gst/gstevent.c: (gst_event_type_get_name),
23815 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23817 add string representations for event types
23819 2005-10-06 Wim Taymans <wim@fluendo.com>
23821 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23822 Don't use NULL pointers.
23824 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23826 * gst/gst_private.h:
23828 * gst/gstelement.c:
23830 * gst/gstpluginfeature.c:
23831 widen the debug category in output to fit the biggest one we have
23832 add a bus category and use it
23833 play with the colors
23834 fix up some categories
23836 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23838 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23839 add push activation of sink ghost pads.
23840 Andye, please verify
23842 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23844 * gst/gstutils.c: (gst_element_link_pads):
23845 fix a bug in the case where neither element has a pad
23846 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23847 add a test for that case
23849 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23851 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23852 emit have-data before checking for peers. This allows
23853 for probe handlers to connect elements. This helps autopluggers.
23854 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23856 add six checks, linked/unlinked with no/true/false probe
23858 2005-10-04 Wim Taymans <wim@fluendo.com>
23860 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23861 (gst_fake_sink_event), (gst_fake_sink_preroll),
23862 (gst_fake_sink_render), (gst_fake_sink_change_state):
23863 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23864 (gst_fake_src_get_property), (gst_fake_src_create),
23865 (gst_fake_src_stop):
23866 * gst/elements/gstidentity.c: (gst_identity_stop):
23867 Protect last_message with lock.
23869 2005-10-04 Edward Hervey <edward@fluendo.com>
23872 Added precision in the comments for GST_FORMAT_DEFAULT
23874 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23876 * tools/gst-launch.c: (main):
23877 Don't try to run erroneous pipelines.
23879 2005-10-04 Julien MOUTTE <julien@moutte.net>
23881 * gst/gstbus.c: We don't need this header.
23883 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23886 back to development
23888 === release 0.9.3 ===
23890 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23894 Releasing 0.9.3, "Unregistered"
23896 2005-10-03 Andy Wingo <wingo@pobox.com>
23898 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23899 whereby calling a pad's activatepush() function can start a thread
23900 that starts to push or pull before the pad gets the FLUSHING flag
23901 unset. Hack around it by holding the stream lock until the flag is
23902 set. Need to replace this with a proper solution. Together with
23903 the ghost pad fixes, this fixes mp3 playing/tagreading.
23905 * docs/design/part-gstghostpad.txt: Add a note about activation of
23906 proxy pads outside of ghost pads.
23908 * gst/gstghostpad.c: Implement the ghost pad activation design.
23910 2005-10-02 Andy Wingo <wingo@pobox.com>
23912 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23913 It is volatile, after all.
23915 * docs/design/part-gstghostpad.txt: Flesh out activation with
23918 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23921 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23924 Fix (unused) AM_CONDITIONAL tests.
23926 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23928 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23930 * gst/gstutils.c: (gst_pad_query_convert):
23931 Add assertion that makes sure src_val is >=0, just like
23932 gst_query_new_convert() has. (#315895)
23934 2005-09-30 Edward Hervey <edward@fluendo.com>
23936 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23937 Let's not iterate pads we're not interested in, it avoids getting
23938 sky-high refcounts on sinkpad.
23940 2005-09-30 Wim Taymans <wim@fluendo.com>
23942 * gst/gstelement.c: (gst_element_set_state),
23943 (gst_element_change_state):
23944 Small tweak, element in ASYNC remains ASYNC.
23946 2005-09-30 Wim Taymans <wim@fluendo.com>
23948 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23949 Only error is an error.
23951 * gst/gstbin.c: (gst_bin_change_state):
23954 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23955 Also call pad_block in pad alloc.
23957 * gst/gstutils.c: (gst_flow_get_name):
23960 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23962 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23963 (gst_base_src_get_range):
23964 Fix documentation typos. Add some more debug info.
23966 2005-09-29 David Schleef <ds@schleef.org>
23968 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23969 more end-user friendly.
23970 * tools/gst-inspect.c: (main): Check if command-line argument is
23971 a file and attempt to load that file as a plugin.
23973 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23975 * check/gst/gstbin.c:
23976 * check/states/sinks.c:
23977 fix tests for the new warning
23978 * check/gst/gstpipeline.c:
23979 add a test for pipeline and bus interaction
23980 * gst/gstelement.c:
23981 elements should be NULL if they get disposed; add a warning if not
23983 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23986 for 2.6 refcounting, make debug log more correct by printing
23987 the actual refcounts at the time of swap (Wim)
23989 2005-09-29 Andy Wingo <wingo@pobox.com>
23991 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23992 removes signal watches previously added via
23993 gst_bus_add_signal_watch.
23994 (gst_bus_add_signal_watch): Don't return the source id, just store
23995 it on the bus if there wasn't an id already.
23997 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23998 add_signal_watch and remove_signal_watch.
24000 2005-09-29 Edward Hervey <edward@fluendo.com>
24002 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24003 Better if we actually iterate the list :)
24005 2005-09-29 Wim Taymans <wim@fluendo.com>
24007 * check/gst/gstbin.c: (GST_START_TEST):
24008 Change for new bus API.
24010 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24011 (send_messages), (GST_START_TEST), (gstbus_suite):
24012 Change for new bus signal API.
24014 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24015 (gst_bus_source_prepare), (gst_bus_source_check),
24016 (gst_bus_create_watch), (gst_bus_add_watch_full),
24017 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24018 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24020 Remove support for multiple GSources operating on different
24021 message types as it is too complex and unneeded when using
24023 Added support for receiving signals from the bus.
24025 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24027 * docs/libs/tmpl/gstdataprotocol.sgml:
24028 * docs/manual/advanced-dataaccess.xml:
24029 * gst/elements/gstcapsfilter.c:
24031 rename filter-caps to caps property
24033 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24035 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24036 More robust fraction string parsing.
24038 * docs/pwg/appendix-porting.xml:
24039 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24041 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24043 * gst/gstcaps.c: (gst_caps_do_simplify):
24044 Thou shalt not free a structure and then continue using it
24045 in the next loop iteration.
24047 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24049 Add test case for caps simplification.
24051 2005-09-29 Wim Taymans <wim@fluendo.com>
24053 * check/gst/gstbin.c: (GST_START_TEST):
24056 2005-09-29 Wim Taymans <wim@fluendo.com>
24058 * check/gst/gstbin.c: (GST_START_TEST):
24061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24062 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24063 (find_element), (gst_bin_sort_iterator_next),
24064 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24065 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24066 (gst_bin_change_state), (gst_bin_dispose):
24067 A bin does not have a bus, it gets the bus from the parent.
24069 * gst/gstelement.c: (gst_element_requires_clock),
24070 (gst_element_provides_clock), (gst_element_is_indexable),
24071 (gst_element_is_locked_state), (gst_element_change_state),
24072 (gst_element_set_bus_func):
24075 * gst/gstpipeline.c: (gst_pipeline_class_init),
24076 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24077 The pipeline provides a bus.
24079 2005-09-28 Johan Dahlin <johan@gnome.org>
24081 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24082 gst_structure_get_enum instead of gst_structure_get_int
24084 * gst/gststructure.c (gst_structure_get_enum): Impl.
24086 * gst/gststructure.h (gst_structure_get_enum): Add
24088 * docs/gst/gstreamer-sections.txt: Ditto
24090 * gst/gstmessage.c (gst_message_new_state_changed): Use
24091 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24092 which does introspection.
24093 Reviewed by Christian Schaller
24095 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24097 * gst/gstinfo.c: (gst_debug_log_default):
24098 don't do dummy g_strdup()s
24099 * libs/gst/controller/gstcontroller.c:
24100 (on_object_controlled_property_changed),
24101 (gst_controlled_property_new), (gst_controller_new_valist),
24102 (gst_controller_new_list),
24103 (gst_controller_remove_properties_valist), (gst_controller_set),
24104 (gst_controller_get), (gst_controller_sync_values),
24105 (gst_controller_get_value_array), (_gst_controller_class_init),
24106 (gst_controller_get_type):
24107 * libs/gst/controller/gstcontroller.h:
24108 * libs/gst/controller/gstinterpolation.c:
24109 (gst_controlled_property_find_timed_value_node):
24110 convert // to /**/ comments
24112 2005-09-28 Wim Taymans <wim@fluendo.com>
24114 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24115 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24116 (gst_bus_sync_signal_handler):
24118 Added async-message and sync-message signals to the bus.
24119 Added helper BusFunc to emit signals for all posted messages.
24121 * gst/gstmessage.c: (gst_message_type_get_name),
24122 (gst_message_type_to_quark), (gst_message_get_type):
24123 * gst/gstmessage.h:
24124 Register quarks for message names.
24126 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24128 * docs/libs/gstreamer-libs-sections.txt:
24129 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24130 (gst_controller_new_list):
24131 * libs/gst/controller/gstcontroller.h:
24132 added another constructor for language bindings
24134 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24136 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24140 * gst/gstinfo.c: (_gst_debug_init):
24141 slightly more readable color for refcount debugging
24143 2005-09-28 Wim Taymans <wim@fluendo.com>
24145 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24146 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24147 (find_element), (gst_bin_sort_iterator_next),
24148 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24149 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24150 (gst_bin_change_state), (gst_bin_dispose):
24151 Small doc fixes. get_clock -> provide_clock.
24153 * gst/gstelement.c: (gst_element_class_init),
24154 (gst_element_provides_clock), (gst_element_provide_clock),
24155 (gst_element_get_clock), (gst_element_commit_state),
24156 (gst_element_lost_state):
24157 * gst/gstelement.h:
24158 Make get/set_clock() symetric. Add provide_clock vmethod since
24159 that is actually what this function does.
24161 * gst/gstpipeline.c: (gst_pipeline_class_init),
24162 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24163 (gst_pipeline_get_clock):
24164 get_clock -> provide_clock.
24166 2005-09-28 Andy Wingo <wingo@pobox.com>
24168 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24169 lieu of real docs...
24171 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24173 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24175 * gst/elements/gstcapsfilter.c:
24176 * gst/elements/gstfakesink.c:
24177 * gst/elements/gstfakesrc.c:
24178 * gst/elements/gstfdsink.c:
24179 * gst/elements/gstfdsrc.c:
24180 * gst/elements/gstfilesink.c:
24181 * gst/elements/gstfilesrc.c:
24182 * gst/elements/gstidentity.c:
24183 * gst/elements/gsttee.c:
24184 * gst/elements/gsttypefindelement.c:
24185 Make element details static.
24187 2005-09-28 Wim Taymans <wim@fluendo.com>
24189 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24190 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24191 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24192 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24193 (gst_bin_change_state), (gst_bin_dispose):
24194 Some documentation updates.
24195 Clean up dispose handlers.
24197 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24198 * gst/gstpad.c: (gst_pad_dispose):
24199 Clean up dispose handler.
24201 * gst/gstpipeline.c: (gst_pipeline_change_state):
24202 Removed spurious UNLOCK.
24204 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24206 * docs/gst/gstreamer-sections.txt:
24207 * gst/base/gstbasesrc.h:
24208 * gst/gstelement.h:
24212 * gst/gstpipeline.c:
24213 * gst/gstpipeline.h:
24216 added two new functions to the docs
24217 documents all undocumented GstXXXFlags
24218 completed some incomplete docs
24220 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24222 * gst/gstbin.c: (gst_bin_dispose):
24223 * gst/gstelement.c: (gst_element_dispose):
24224 remove now useless and leaky resurrection code in dispose
24225 * gst/base/gstbasesrc.c: (gst_base_src_init):
24226 * gst/gstelementfactory.c: (gst_element_factory_create):
24227 * gst/gstobject.c: (gst_object_set_parent):
24230 2005-09-27 Wim Taymans <wim@fluendo.com>
24232 * docs/design/part-TODO.txt:
24235 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24236 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24237 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24238 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24239 (gst_bin_change_state):
24240 * gst/gstelement.h:
24241 Remove element variable, we keep element info in the iterator now.
24243 2005-09-27 Andy Wingo <wingo@pobox.com>
24245 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24248 2005-09-27 Wim Taymans <wim@fluendo.com>
24250 * check/gst/gstbin.c: (GST_START_TEST):
24251 Enable check that works now.
24253 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24254 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24255 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24256 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24257 (gst_bin_change_state):
24259 Redid the state change algorithm using a topological sort algo.
24260 Handles all cases correctly.
24261 Exposed iterator for state change order.
24263 * gst/gstelement.h:
24264 Temp storage for state changes. Need to get rid of this soon.
24266 2005-09-27 Wim Taymans <wim@fluendo.com>
24268 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24269 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24270 (link_fold_func), (gst_pad_proxy_setcaps):
24271 Leak fixes, the fold functions need to unref the passed object and
24272 _get_parent_*() returns ref to parent.
24274 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24276 * check/gst/gstbuffer.c: (test_make_writable):
24277 Plug leak in test case and fix 'make check-valgrind'
24279 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24281 * gst/gstbuffer.c: (gst_subbuffer_init):
24282 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24283 works correctly in all circumstances (we could have just copied
24284 the parent buffer's readonly flag, but conceptually it seems
24285 cleaner to mark all subbuffers as read-only). (based on patch
24286 by Alessandro Decina, #314710).
24288 * check/gst/gstbuffer.c: (create_read_only_buffer),
24289 (test_make_writable), (test_subbuffer_make_writable),
24291 Add some tests for gst_buffer_make_writable().
24293 2005-09-27 Wim Taymans <wim@fluendo.com>
24295 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24296 use gst_object_has_ancestor().
24298 * gst/gstobject.c: (gst_object_has_ancestor):
24300 gst_object_has_ancestor() copied from gstbin.c as it is a
24303 * tests/instantiate/create.c: (create_all_elements):
24304 * tests/lat.c: (handoff_src), (handoff_sink):
24305 * tests/sched/runxml.c: (main):
24306 * tests/seeking/seeking1.c: (main):
24307 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24309 Fix compilation of some tests.
24311 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24314 Remove comment. GST_TYPE_G_ERROR is here to stay,
24315 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24316 (#316961, #300610).
24318 2005-09-26 Wim Taymans <wim@fluendo.com>
24320 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24321 Added check that shows error in state change order.
24323 2005-09-26 Wim Taymans <wim@fluendo.com>
24325 * gst/gstbin.c: (gst_bin_change_state):
24326 Make state change function use 3 queues again, we were
24327 adding elements in the wrong order.
24329 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24332 * gst/gstpad.c: (gst_pad_dispose):
24333 Added some debug info first.
24335 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24337 * docs/design/draft-push-pull.txt:
24338 * docs/design/part-events.txt:
24339 * docs/design/part-overview.txt:
24340 * docs/design/part-scheduling.txt:
24341 Replace all _pull_region() with _pull_range()
24343 2005-09-26 Andy Wingo <wingo@pobox.com>
24345 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24347 * check/gst-libs/controller.c: Update for controller api change.
24350 * tests/Makefile.am:
24351 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24352 over by GLib bug 118439.
24354 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24355 routines to a function.
24357 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24359 * libs/gst/controller/gsthelper.c:
24360 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24361 (gst_object_sync_values): Renamed from sink_values. Ugh.
24363 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24365 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24366 Renamed from controller_key, as it is exported.
24368 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24370 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24375 * gst/gstpadtemplate.h:
24378 * gst/gstqueryutils.c:
24379 * gst/gstqueryutils.h:
24380 remove queryutils headers after moving the two used functions
24381 to gstquery. also fixes build problem for gstsiddec
24383 2005-09-26 Michael Smith <msmith@fluendo.com>
24385 * tools/gst-launch.1.in:
24386 Correct documentation in manpage of debug syntax
24388 2005-09-26 Wim Taymans <wim@fluendo.com>
24390 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24391 (gst_base_src_is_seekable), (gst_base_src_change_state):
24392 Some more debugging info.
24394 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24396 * docs/gst/gstreamer-sections.txt:
24397 * gst/base/gstbasetransform.h:
24401 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24403 * docs/gst/.cvsignore:
24404 * docs/gst/tmpl/.cvsignore:
24405 * docs/gst/tmpl/gstpipeline.sgml:
24406 * docs/gst/tmpl/gstplugin.sgml:
24407 * gst/gstpipeline.c:
24410 inlined the last two docs files
24411 removed the tmpl directory from cvs (no more conflicts here!)
24413 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24415 * docs/gst/gstreamer-sections.txt:
24416 * docs/gst/tmpl/.cvsignore:
24417 * docs/gst/tmpl/gstpad.sgml:
24418 * docs/gst/tmpl/gstpadtemplate.sgml:
24420 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24421 (gst_pad_finalize), (gst_pad_set_pad_template):
24423 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24424 (gst_pad_template_class_init), (gst_pad_template_init),
24425 (gst_pad_template_dispose), (name_is_valid),
24426 (gst_static_pad_template_get), (gst_pad_template_new),
24427 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24428 (gst_pad_template_pad_created):
24429 * gst/gstpadtemplate.h:
24430 inlined two more docs
24431 factored gstpadtemplate out of gstpad
24433 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24435 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24436 (test_children_state_change_order_semi_sink):
24437 Fix test case: we can't rely on a fixed state change order when
24438 going from READY => PAUSED because the sink might commit its
24439 new state first when the first buffer created by the source
24440 reaches the sink before the source has finished its change state.
24441 (Test case still fails at times, see #316856, comment 5 onwards)
24443 2005-09-24 Wim Taymans <wim@fluendo.com>
24445 * docs/design/part-events.txt:
24446 * docs/design/part-gstbus.txt:
24447 * docs/design/part-gstpipeline.txt:
24448 * docs/design/part-messages.txt:
24449 * docs/design/part-overview.txt:
24450 * docs/design/part-segments.txt:
24454 * gst/gstelement.c:
24457 * gst/gstiterator.c:
24458 Various documentation updates.
24460 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24463 Well, that's embarassing. Luckily we weren't using
24464 GST_CLOCK_DIFF anywhere.
24466 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24468 * common/gtk-doc.mak:
24469 don't fail on building XML, FC4 slave shows a bunch of doc
24470 missing bits that I don't get
24472 * gst/gstpipeline.c:
24473 * gst/gststructure.c:
24476 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24478 * docs/design/part-gstbin.txt:
24479 * docs/design/part-gstbus.txt:
24481 Add blurb about how the bus goes into flushing mode and
24482 drops all messages when its bin goes from READY into NULL
24485 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24487 * docs/gst/gstreamer-sections.txt:
24488 * gst/gststructure.c: (gst_structure_get_clock_time):
24489 * gst/gststructure.h:
24490 add a method to get a GstClockTime out of a structure
24492 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24494 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24495 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24496 Added test to check state change order in bins (can still be made
24497 to fail here under heavy disk load; bails out with 'Push on pad
24498 fakesink:sink0, but it was not activated in push mode').
24500 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24501 Fix state change order when there is only a semi sink (#316856)
24503 * gst/gstbus.c: (gst_bus_class_init):
24504 Use _class_peek_parent(), not _class_ref(); fix docs to say
24505 'default main context' instead of 'mainloop' where that is
24508 * gst/gstelement.c: (gst_element_commit_state),
24509 (gst_element_set_state):
24510 Fix typos in debug messages
24512 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24515 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24516 * gst/gstpluginfeature.c:
24518 various doc updates
24519 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24520 change an assert into an error until it gets fixed properly
24522 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24524 * docs/gst/gstreamer-sections.txt:
24525 * docs/gst/tmpl/.cvsignore:
24526 * docs/gst/tmpl/gstelement.sgml:
24527 * docs/gst/tmpl/gstinfo.sgml:
24528 * docs/gst/tmpl/gstobject.sgml:
24529 * gst/gstelement.c:
24530 * gst/gstelement.h:
24533 * gst/gstobject.c: (gst_object_class_init):
24535 inlined 3 more biiiig doc files and added some missing docs on the fly
24537 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24539 * check/gst/.cvsignore:
24540 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24541 * gst/gstregistryxml.c: (load_plugin),
24542 (gst_registry_xml_save_plugin):
24543 put back source in registry. add checks for find_plugin.
24544 * testsuite/states/bin.c: (assert_state), (empty_bin),
24545 (test_adding_one_element), (main):
24546 * testsuite/states/locked.c: (main):
24547 some compile/run fixes
24549 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24551 * check/gst/gstvalue.c: (GST_START_TEST):
24552 fix leaks in the test itself
24554 2005-09-22 Wim Taymans <wim@fluendo.com>
24556 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24557 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24558 (gst_base_sink_query):
24559 Prepare for more accurate position reporting and query
24562 * gst/gstelement.c: (gst_element_send_event),
24563 (gst_element_set_state):
24566 2005-09-22 Wim Taymans <wim@fluendo.com>
24568 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24569 (gst_query_parse_segment):
24571 More documentation.
24572 Add segment query for future use.
24574 2005-09-22 Wim Taymans <wim@fluendo.com>
24576 * gst/gstbin.c: (gst_bin_add_func):
24577 Some more debug info.
24579 * gst/gstelement.c: (gst_element_send_event):
24580 Simplify send_event
24582 * gst/gstelement.h:
24583 Don't know how flags got broken.
24588 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24590 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24591 Add simplistic test suite for GST_TYPE_DATE serialisation and
24594 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24596 * docs/gst/gstreamer-sections.txt:
24597 * gst/gststructure.c: (gst_structure_set_valist),
24598 (gst_structure_get_date):
24599 * gst/gststructure.h:
24600 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24601 (gst_date_copy), (gst_value_compare_date),
24602 (gst_value_serialize_date), (gst_value_deserialize_date),
24603 (gst_value_transform_date_string),
24604 (gst_value_transform_string_date), (_gst_value_initialize):
24606 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24607 bunch of utility functions along with a hack that checks that
24608 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24609 is required. Part of the grand scheme in #170777.
24611 2005-09-22 Andy Wingo <wingo@pobox.com>
24613 * gst/gstconfig.h.in: Psych out gtk-doc.
24615 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24617 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24619 * tools/gst-inspect.c (print_element_list): Plug some
24620 inconsequential leaks.
24622 * gst/gstregistry.c (gst_registry_get_default): Doc.
24624 * check/gst/gstplugin.c:
24625 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24626 * gst/gstelementfactory.c (gst_element_factory_create):
24627 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24630 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24631 (gst_plugin_feature_load): Doc, don't eat refs.
24633 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24634 (gst_plugin_list_free): Doc.
24635 (gst_plugin_load_file): Doc updates.
24637 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24638 accessors returning refcounted objects, return a ref.
24640 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24641 accessor for caps. IDEMPOTENCE. Oh yes.
24643 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24645 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24647 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24648 (_gst_debug_register_funcptr):
24649 Add mutex to serialise access to the hash table with
24650 the function pointer => function name string mapping;
24651 make that hash table static scope (#316809).
24653 * gst/registries/.cvsignore:
24654 Remove left-over file.
24656 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24658 * docs/pwg/appendix-porting.xml:
24659 And something about newsegment events and caps-on-buffers to
24660 the porting guide (feel free to improve).
24662 2005-09-21 Andy Wingo <wingo@pobox.com>
24664 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24665 data and event probes on the same pad.
24666 (test_buffer_probe_once): Test that removing probes from within
24667 the probe functions works.
24669 2005-09-21 Andy Wingo <wingo@pobox.com>
24671 * check/gst/gstutils.c: New file.
24672 (test_buffer_probe_n_times): A simple buffer probe test. More to
24675 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24676 have-data::buffer, not have-data.
24677 (gst_pad_add_event_probe): Likewise for have-data::event.
24678 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24679 peer' isn't quite right yet though.
24680 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24681 (gst_pad_remove_data_probe): Change to take the guint handler_id
24682 as their arg, not the function+data, which is more glib-like.
24684 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24685 the signal emission to indicate if the data is a buffer or an
24687 (gst_pad_get_type): Initialize buffer and event quarks.
24688 (gst_pad_class_init): have-data is now a detailed signal, yes it
24691 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24693 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24694 * gst/gstutils.c: (gst_util_set_value_from_string),
24695 (gst_util_set_object_arg):
24696 Don't put functional code in g_return_if_fail() or
24697 g_return_val_if_fail() statements, otherwise things will
24698 break when G_DISABLE_CHECKS is defined during compilation.
24700 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24702 * docs/gst/tmpl/.cvsignore:
24703 * docs/gst/tmpl/gstvalue.sgml:
24706 inlied another one and added some obvious docs
24708 2005-09-21 Wim Taymans <wim@fluendo.com>
24710 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24711 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24712 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24713 (gst_fdsrc_get_property), (gst_fdsrc_create):
24714 * gst/elements/gstfdsrc.h:
24715 Properly implement fdsrc. Removed signal and timeout,
24716 better implemented somewhere else.
24718 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24720 * docs/gst/tmpl/.cvsignore:
24721 * docs/gst/tmpl/gstimplementsinterface.sgml:
24722 * gst/gstinterface.c:
24725 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24727 * docs/gst/gstreamer-sections.txt:
24728 * docs/gst/tmpl/.cvsignore:
24729 * docs/gst/tmpl/gstenumtypes.sgml:
24730 remove obsolete doc file
24732 2005-09-21 David Schleef <ds@schleef.org>
24734 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24735 little beer, fix a little leak.
24737 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24739 * docs/gst/gstreamer-docs.sgml:
24740 * docs/gst/gstreamer-sections.txt:
24741 * docs/gst/tmpl/.cvsignore:
24745 * gst/gstelement.h:
24746 * gst/gstindex.c: (gst_index_class_init):
24748 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24749 (gst_index_factory_class_init), (gst_index_factory_init),
24750 (gst_index_factory_finalize), (gst_index_factory_new),
24751 (gst_index_factory_destroy), (gst_index_factory_find),
24752 (gst_index_factory_create), (gst_index_factory_make):
24753 * gst/gstindexfactory.h:
24754 * gst/gstpluginfeature.c:
24755 * gst/gstpluginfeature.h:
24756 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24757 more docs inlined, splitted gstindex.{c,h}
24759 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24761 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24764 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24766 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24767 Set sync to FALSE by default.
24769 2005-09-20 Wim Taymans <wim@fluendo.com>
24771 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24772 (gst_base_sink_init):
24773 Make sync property settable from subclass.
24775 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24776 (gst_fake_sink_change_state):
24777 Set sync to FALSE by default.
24779 2005-09-20 Wim Taymans <wim@fluendo.com>
24781 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24782 * tools/gst-launch.c: (main):
24783 The timeout handler should have lower priority than the source
24784 so we don't timeout before popping a message with 0 timeout.
24785 Dump error messages after failed state change.
24787 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24789 * tools/gst-inspect.c: (print_element_properties_info):
24792 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24794 * check/gst/gstevent.c:
24795 * gst/elements/gstfakesink.c:
24796 * gst/elements/gstfakesink.h:
24797 remove the sync property from fakesink.
24798 has the side effect of setting sync TRUE
24799 for fakesink, which is a change. Anyone who knows how
24800 to fix this nicely in a GObject-y way, feel free.
24802 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24804 * docs/gst/gstreamer-docs.sgml:
24805 remove probe refsection
24807 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24809 * check/Makefile.am:
24810 disable valgrinding the controller test again
24811 * docs/gst/gstreamer-sections.txt:
24812 update for api-changes
24814 2005-09-20 Wim Taymans <wim@fluendo.com>
24816 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24817 (gst_base_sink_set_property), (gst_base_sink_get_property),
24818 (gst_base_sink_do_sync):
24819 * gst/base/gstbasesink.h:
24820 Added sync property to basesink to disable clock sync.
24822 2005-09-20 Andy Wingo <wingo@pobox.com>
24824 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24825 eating the caller's refcount.
24827 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24828 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24831 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24832 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24833 of GLib 2.8 public, so we can know which refcount to check in
24836 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24837 (gst_object_init): Only set the gst refcount if we're going ahead
24838 with the refcount hack.
24840 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24842 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24843 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24844 more leaks plumbed, added more debug-logging
24848 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24850 * gst/gstmessage.c:
24851 remove include of gstmemchunk.h
24853 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24855 * gst/gstclock.c: (_gst_clock_id_free):
24856 Commit from the Political Party For More Atomic CVS Commits,
24857 so that people don't waste too much of their day fishing
24858 out obvious leaks out of massive commits.
24859 Oh, and fix a pretty damn obvious leak in the memchunk
24862 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24864 * check/Makefile.am:
24865 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24866 plug mem-leak, re-add to valgrindable tests
24868 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24871 unbreak the build for those who have chronic arthritis
24872 and typing "make check" is just too taxing on the hands
24874 2005-09-20 Andy Wingo <wingo@pobox.com>
24876 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24877 really want it out, you should fix plugins at the same time.
24879 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24882 * docs/gst/gstreamer-sections.txt:
24884 added missing symbols to api docs
24885 disable ref-count hack if we have glib >= 2.8
24887 2005-09-19 David Schleef <ds@schleef.org>
24889 * docs/gst/Makefile.am: Ignore a few more internal headers
24890 * docs/gst/gstreamer-docs.sgml: Remove old sections
24891 * docs/gst/gstreamer-sections.txt: Remove old sections
24892 * docs/gst/tmpl/gstobject.sgml: update
24893 * docs/gst/tmpl/gstplugin.sgml: update
24894 * docs/gst/tmpl/gstpluginfeature.sgml: update
24895 * docs/random/ds/0.9-suggested-changes: update.
24896 * gst/Makefile.am: remove memchunk and trashstack, since they're
24898 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24899 * gst/gst.h: don't include some headers
24900 * gst/gstchildproxy.c: add gstmarshal.h
24901 * gst/gstclock.c: Don't use memchunks
24902 * gst/gstminiobject.c: Add some docs
24903 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24904 * gst/gstobject.h: same
24905 * gst/gstplugin.c: include gstmacros.h
24906 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24907 * gst/gstquery.c: don't use memchunks
24908 * gst/gstregistry.c: rename gst_registry_deinit()
24909 * gst/gstregistry.h: same
24911 2005-09-19 David Schleef <ds@schleef.org>
24913 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24914 * docs/libs/gstreamer-libs-sections.txt:
24915 * docs/libs/tmpl/gstgetbits.sgml:
24916 * docs/libs/tmpl/gstputbits.sgml:
24918 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24920 * win32/gstenumtypes.c:
24921 * win32/gstenumtypes.h:
24924 2005-09-19 Wim Taymans <wim@fluendo.com>
24926 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24927 Automatically PAUSE and RESUME a pipeline when a flushing seek
24930 2005-09-19 Andy Wingo <wingo@pobox.com>
24932 * gst/gstregistry.h: Spacing fixen.
24934 2005-09-19 Wim Taymans <wim@fluendo.com>
24936 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24937 Handle state change failure more correctly.
24939 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24941 * check/Makefile.am:
24942 * check/pipelines/cleanup.c: (run_pipeline):
24943 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24945 enable cleanup again after fixing the leak
24947 some more info on docs
24949 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24951 * check/Makefile.am:
24952 re-enable tests now that leaks are plugged
24954 * check/gst/gstbin.c:
24955 * check/gst/gstpipeline.c:
24956 add some more tests while fixing leaks
24957 * common/check.mak:
24958 make sure binaries are uptodate when valgrinding/gdbing
24960 * gst/gstelementfactory.c:
24961 remove a ref too many, and add a FIXME for when we get
24962 round to disposing of classes
24964 fix the refcounting when loading a plugin from a file and
24965 the code pretends that the pointer is the same even though
24966 of course it can change
24967 * gst/gstpluginfeature.c:
24968 unref plugins marked cached (a bit confusing as a name)
24969 as the docs state should be done
24970 various doc additions to explain refcounting
24971 * gst/gstregistry.c:
24972 * gst/gstregistryxml.c:
24975 2005-09-19 Wim Taymans <wim@fluendo.com>
24977 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24978 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24979 (send_messages), (GST_START_TEST), (gstbus_suite):
24980 * check/gst/gstpipeline.c: (GST_START_TEST):
24981 * check/pipelines/cleanup.c: (run_pipeline):
24982 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24984 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24985 (gst_bus_source_check), (gst_bus_source_dispatch),
24986 (gst_bus_create_watch), (gst_bus_add_watch_full),
24987 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24989 * tools/gst-launch.c: (event_loop):
24990 * tools/gst-md5sum.c: (event_loop):
24991 GstBusHandler -> GstBusFunc, return value has the same meaning as
24992 any other GSource (FALSE == remove source).
24993 _add_watch() and _add_watch_full() now take a MessageType mask to
24994 only handle specific types of messages.
24995 _poll() returns the GstMessage instead of the message type to avoid
24997 _have_pending() takes a MessageType mask now too.
24998 Added testsuite for multiple bus watches.
24999 Fix testsuites and applications for new bus API.
25001 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25003 * check/Makefile.am:
25004 mark a bunch of the tests as to fix until we fix them
25006 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25008 * common/check.mak:
25009 use GST_PLUGIN settings for valgrind tests as well, so we're
25010 valgrinding the correct thing
25011 * gst/gst.c: (init_post):
25014 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25016 * gst/gst.c: (init_post), (gst_deinit):
25017 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25018 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25019 * gst/gstindex.c: (gst_index_factory_class_init),
25020 (gst_index_factory_finalize):
25021 * gst/gstobject.c: (gst_object_dispose):
25022 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25023 (gst_plugin_load_file), (gst_plugin_desc_free):
25024 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25025 (gst_plugin_feature_finalize):
25026 * gst/gstregistry.c: (gst_registry_class_init),
25027 (gst_registry_init), (gst_registry_finalize),
25028 (gst_registry_get_default), (gst_registry_deinit):
25029 * gst/gstregistry.h:
25030 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25031 various cleanups and memleak plugging. make valgrind is happy now.
25033 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25035 * common/check.mak:
25036 add a check-valgrind target
25038 2005-09-18 David Schleef <ds@schleef.org>
25040 * tools/gst-inspect.c: Revert the GOption code.
25042 2005-09-17 David Schleef <ds@schleef.org>
25044 * check/Makefile.am: Fix environment variables.
25045 * check/gst/gstplugin.c: Fix for API changes.
25046 * tools/gst-inspect.c: Fix for API changes.
25047 * tools/gst-xmlinspect.c: Fix for API changes.
25048 * gst/gstelementfactory.c:
25051 * gst/gstpluginfeature.c:
25052 * gst/gstpluginfeature.h:
25053 * gst/gstregistry.c:
25054 * gst/gstregistry.h:
25055 * gst/gstregistryxml.c:
25056 * gst/gsttypefind.c:
25057 * gst/gsttypefindfactory.c:
25058 * gst/indexers/gstfileindex.c:
25059 * gst/indexers/gstmemindex.c:
25060 * gst/schedulers/Makefile.am:
25061 Change registry to keep track of both plugins and features,
25062 removing the feature tracking from plugins themselves.
25064 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25066 * check/Makefile.am:
25067 * tools/gst-register.1.in:
25068 remove gst-register
25070 2005-09-15 David Schleef <ds@schleef.org>
25072 * check/gst/gstplugin.c:
25073 * gst/gstelementfactory.c:
25075 * gst/gstpluginfeature.c:
25076 * gst/gstregistry.c:
25077 Getting tired of debugging. Disabled all the unreffing of
25078 plugins and features, which fixes the segfaults, but of
25079 course leaks like crazy. At least playbin works.
25081 2005-09-15 David Schleef <ds@schleef.org>
25083 * check/gst/gstplugin.c: (register_check_elements),
25084 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25086 * gst/elements/gsttypefindelement.c: Fix refcounting.
25087 * gst/gsttypefind.c:
25088 * gst/gsttypefindfactory.c:
25089 * gst/gsttypefindfactory.h:
25091 2005-09-15 David Schleef <ds@schleef.org>
25093 * gst/gstindex.c: get refcounting correct.
25094 * gst/gstregistry.c: Handle the case where a feature/plugin is
25097 2005-09-15 David Schleef <ds@schleef.org>
25099 * check/Makefile.am:
25100 * check/gst/gstplugin.c: Add test
25101 * gst/gstplugin.c: Fix problems noticed by testsuite
25103 * gst/gstregistry.c:
25104 * gst/gstregistry.h:
25106 2005-09-15 David Schleef <ds@schleef.org>
25108 * gst/gstplugin.c: Implement semi-decent recounting and locking
25109 in plugins and plugin features.
25111 * gst/gstpluginfeature.c:
25112 * gst/gstpluginfeature.h:
25113 * gst/gstregistry.c:
25115 2005-09-15 Michael Smith <msmith@fluendo.com>
25117 * gst/gstregistry.c: (gst_registry_get_feature_list):
25118 Implement this. Makes oggdemux work; decodebin still broken.
25120 2005-09-14 David Schleef <ds@schleef.org>
25122 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25124 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25125 * gst/check/Makefile.am:
25126 * libs/gst/controller/Makefile.am:
25127 * libs/gst/dataprotocol/Makefile.am:
25129 2005-09-14 David Schleef <ds@schleef.org>
25131 * configure.ac: Remove getbits library. Nothing uses it, and
25132 it should be in something like liboil if someone did want
25134 * libs/gst/Makefile.am:
25135 * libs/gst/getbits/Makefile.am:
25136 * libs/gst/getbits/gbtest.c:
25137 * libs/gst/getbits/getbits.c:
25138 * libs/gst/getbits/getbits.h:
25139 * libs/gst/getbits/gstgetbits_generic.c:
25140 * libs/gst/getbits/gstgetbits_i386.s:
25141 * libs/gst/getbits/gstgetbits_inl.h:
25143 2005-09-14 David Schleef <ds@schleef.org>
25145 * gst/Makefile.am: Dist glib-compat.h
25147 2005-09-14 David Schleef <ds@schleef.org>
25149 * configure.ac: Remove gst/registries, since it's no longer used.
25150 * gst/registries/Makefile.am:
25151 * gst/registries/gstlibxmlregistry.c:
25152 * gst/registries/gstlibxmlregistry.h:
25153 * gst/registries/gstxmlregistry.c:
25154 * gst/registries/gstxmlregistry.h:
25155 * gst/registries/registrytest.c:
25157 2005-09-14 David Schleef <ds@schleef.org>
25159 * gst/glib-compat.h:
25160 * gst/gstregistryxml.c:
25161 Convergence is near. Seriously.
25163 2005-09-14 David Schleef <ds@schleef.org>
25165 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25166 * gst/glib-compat.h:
25167 Attempt #4 to appease the buildbots.
25169 2005-09-14 David Schleef <ds@schleef.org>
25171 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25174 2005-09-14 David Schleef <ds@schleef.org>
25176 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25179 2005-09-14 David Schleef <ds@schleef.org>
25181 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25184 2005-09-14 David Schleef <ds@schleef.org>
25186 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25187 * gst/glib-compat.h: Add some functions that are in newer versions
25188 of glib than we care to require.
25189 * gst/gstregistryxml.c: Use them.
25191 2005-09-14 David Schleef <ds@schleef.org>
25193 * po/POTFILES.in: remove gst-register.c
25195 2005-09-14 David Schleef <ds@schleef.org>
25197 * docs/gst/gstreamer-docs.sgml:
25198 * docs/gst/gstreamer-sections.txt:
25199 * docs/gst/gstreamer.types:
25200 * docs/gst/tmpl/gstelement.sgml:
25201 * docs/gst/tmpl/gstplugin.sgml:
25202 * docs/gst/tmpl/gstpluginfeature.sgml:
25203 Documentation updates for registry changes.
25205 2005-09-14 David Schleef <ds@schleef.org>
25207 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25208 because we don't require glib-2.8.
25210 2005-09-14 David Schleef <ds@schleef.org>
25212 * gst/gstregistryxml.c: Added. Essentially moved out of the
25213 registries directory.
25215 2005-09-14 David Schleef <ds@schleef.org>
25217 * check/Makefile.am:
25218 * check/generic/states.c:
25222 * gst/gst_private.h:
25223 * gst/gstelementfactory.c:
25228 * gst/gstpluginfeature.c:
25229 * gst/gstpluginfeature.h:
25230 * gst/gstregistry.c:
25231 * gst/gstregistry.h:
25232 * gst/gstregistrypool.c: remove
25233 * gst/gstregistrypool.h: remove
25234 * gst/gsttypefind.c:
25235 * gst/gsttypefindfactory.c:
25237 * tools/Makefile.am:
25238 * tools/gst-compprep.c:
25239 * tools/gst-inspect.c:
25240 * tools/gst-register.c: remove
25241 * tools/gst-xmlinspect.c:
25242 Registry rewrite. Changes registry from being a file created
25243 by a tool into a simple cache file created automatically by
25244 libgstreamer. Removed gst-register (because it's no longer
25245 needed). Remove registry pools, because we only have one
25246 registry implementation (XML). Fix up other subsystems as
25249 2005-09-13 Michael Smith <msmith@fluendo.com>
25251 * gst/gstconfig.h.in:
25252 Don't Use windows linking attributes for MinGW. Fixes #316157
25254 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25256 * gst/gstutils.c: (set_state_async_thread_func),
25257 (gst_element_set_state_async):
25258 Apparently people think it's better if this function doesn't
25259 try to set the state to whatever state was asked for on the first
25260 call to this function for any object. Seriously.
25262 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25264 * check/gst/gstpipeline.c: (GST_START_TEST):
25265 * docs/gst/gstreamer-sections.txt:
25266 * gst/gstutils.c: (set_state_async_thread_func),
25267 (gst_element_set_state_async):
25269 add a "gst_element_set_state_async" method that
25270 sets the state and starts a thread to make sure the state
25271 change completes as best as it can
25273 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25275 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25276 codify design+behaviour in testsuite after discussion
25278 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25280 * docs/gst/tmpl/gstelement.sgml:
25281 * docs/manual/appendix-quotes.xml:
25283 * gst/gstelement.c: (gst_element_set_state):
25286 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25288 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25289 (gst_base_transform_prepare_output_buf),
25290 (gst_base_transform_handle_buffer):
25291 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25292 (gst_capsfilter_prepare_buf):
25293 Remove the requirement for sub-classes to call the parent
25294 implementation of prepare_output_buffer with a wrapper function.
25296 * gst/gsttaglist.h:
25297 * gst/gsttagsetter.h:
25298 Fix #define wrapper
25300 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25302 * docs/gst/gstreamer-sections.txt:
25305 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25307 * docs/gst/gstreamer-sections.txt:
25308 * docs/gst/tmpl/gstelement.sgml:
25309 * docs/gst/tmpl/gstplugin.sgml:
25310 * gst/gstminiobject.c:
25312 docs now stop throwing warnings
25314 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25316 * docs/gst/gstreamer-sections.txt:
25317 * docs/gst/gstreamer.types:
25318 * docs/gst/tmpl/gstpad.sgml:
25319 * docs/gst/tmpl/gsttypes.sgml:
25320 * gst/base/gstadapter.h:
25321 * gst/base/gstbasesink.h:
25322 * gst/base/gstbasesrc.h:
25328 * gst/gstelement.h:
25330 * gst/gstmessage.h:
25332 * gst/gststructure.c:
25333 * gst/registries/gstlibxmlregistry.h:
25334 various documentation fixes
25336 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25338 * docs/gst/gstreamer-sections.txt:
25339 * docs/gst/tmpl/gstvalue.sgml:
25340 rearrange gstvalue section
25341 * gst/gstutils.c: (gst_element_state_get_name):
25343 * gst/gstvalue.c: (_gst_value_initialize):
25347 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25349 * check/gst-libs/controller.c:
25350 Header include fix.
25351 * gst/base/gstbasetransform.c:
25352 (gst_base_transform_default_prepare_buf),
25353 (gst_base_transform_handle_buffer):
25354 * gst/base/gstbasetransform.h:
25355 Some more basetransform changes and fixes to enable sub-classes
25356 that modify buffer metadata only.
25357 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25358 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25359 (gst_capsfilter_prepare_buf):
25360 If the output pad has fixed allowed caps and input buffers
25361 don't have any, set the fixed caps on outgoing buffers.
25363 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25364 * check/elements/identity.c: (GST_START_TEST):
25365 Make the error a little clearer when the test fails because
25366 identity made a copy of the buffer.
25367 * docs/gst/gstreamer-sections.txt:
25368 New symbols in gstbasetransform.h
25369 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25370 (gst_base_transform_init), (gst_base_transform_transform_size),
25371 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25372 (gst_base_transform_default_prepare_buf),
25373 (gst_base_transform_get_unit_size),
25374 (gst_base_transform_buffer_alloc),
25375 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25376 (gst_base_transform_change_state),
25377 (gst_base_transform_set_passthrough),
25378 (gst_base_transform_set_in_place),
25379 (gst_base_transform_is_in_place):
25380 * gst/base/gstbasetransform.h:
25381 Change BaseTransform to separate in_place operate from same_caps
25382 output. in_place implies that the element can perform the transform
25383 on incoming buffers in-place, even if the caps on the output are
25385 Sub-class elements can now implement special buffer allocation
25386 methods for outgoing buffers if they wish to.
25387 Big documentation addition.
25388 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25389 * gst/elements/gstelements.c:
25390 Changes for basetransform modifications.
25391 * gst/elements/Makefile.am:
25392 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25393 Compile fix. Extra debug output.
25395 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25397 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25399 add tests for valid pad naming
25400 * gst/check/gstcheck.c: (gst_check_log_message_func),
25401 (gst_check_log_critical_func):
25403 remove printing of code, it is fragile when the code contains
25404 % and the line number is enough info
25405 * gst/check/gstcheck.h:
25406 * gst/gstpad.c: (gst_pad_template_new):
25409 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25412 say what CHECK flags we use
25413 * docs/libs/gstreamer-libs.types:
25414 * libs/gst/controller/Makefile.am:
25415 * libs/gst/controller/gst-controller.c:
25416 * libs/gst/controller/gst-controller.h:
25417 * libs/gst/controller/gst-helper.c:
25418 * libs/gst/controller/gst-interpolation.c:
25419 * libs/gst/controller/gstcontroller.c:
25420 * libs/gst/controller/gsthelper.c:
25421 * libs/gst/controller/gstinterpolation.c:
25422 * tools/gst-inspect.c: (print_plugin_info):
25423 we don't use dashes in header names
25425 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25427 * check/Makefile.am:
25428 * check/gst/.cvsignore:
25429 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25430 (gst_pipeline_suite), (main):
25431 adding a test for pipelines and state changes
25432 * gst/gstutils.c: (get_state_func):
25434 * gstreamer.spec.in:
25437 2005-09-08 Michael Smith <msmith@fluendo.com>
25439 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25440 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25441 (gst_file_src_is_seekable), (gst_file_src_get_size),
25442 (gst_file_src_start):
25443 * gst/elements/gstfilesrc.h:
25444 Various fixes for unseekable, unmmapable, and non-normal files, so
25445 that fallback to read() rather than mmap() works.
25446 * gst/gstevent.c: (gst_event_new_newsegment):
25447 Allow newsegment events with segment_start == segment_end, as will
25448 correctly happen if you use filesrc on a zero-size file, for
25451 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25453 * gst/gstplugin.c: (gst_plugin_load_file):
25454 Call g_module_close when we don't load the module
25456 * gst/registries/gstlibxmlregistry.c:
25457 (gst_xml_registry_get_property):
25458 Port leak fix from 0.8
25460 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25462 * docs/gst/gstreamer-docs.sgml:
25463 * docs/gst/tmpl/.cvsignore:
25464 * docs/gst/tmpl/gsttrace.sgml:
25465 * docs/gst/tmpl/gsttrashstack.sgml:
25468 * gst/gstelement.h:
25470 * gst/gstmessage.c:
25471 * gst/gstmessage.h:
25474 * gst/gsttaginterface.c:
25475 * gst/gsttaginterface.h:
25476 * gst/gsttaglist.c:
25477 * gst/gsttaglist.h:
25478 * gst/gsttagsetter.c:
25479 * gst/gsttagsetter.h:
25482 * gst/gsttrashstack.c:
25483 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25484 inlined docs for gsttrace, gsttrashstack
25486 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25489 * gst/elements/gstbufferstore.h:
25490 * gst/elements/gsttypefindelement.c:
25491 * gst/elements/gsttypefindelement.h:
25493 * gst/gsttypefind.c:
25494 * gst/gsttypefind.h:
25495 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25496 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25497 (gst_type_find_factory_dispose),
25498 (gst_type_find_factory_unload_thyself),
25499 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25500 (gst_type_find_factory_get_caps),
25501 (gst_type_find_factory_get_extensions),
25502 (gst_type_find_factory_call_function):
25503 * gst/gsttypefindfactory.h:
25504 * gst/registries/gstlibxmlregistry.c:
25505 * gst/registries/gstxmlregistry.c:
25506 splitted gsttypefind into gsttypefind, gsttypefindfactory
25508 2005-09-07 Andy Wingo <wingo@pobox.com>
25510 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25511 condition whereby the pad's task function is entered before the
25512 pad_mode variable was set.
25514 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25516 * gst/gstpad.c: (gst_pad_alloc_buffer):
25517 Catch misbehaving pad_alloc functions that don't
25518 set up caps and do it for them.
25520 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25522 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25523 test for pipe!=NULL
25524 * docs/gst/tmpl/.cvsignore:
25525 * docs/gst/tmpl/gstmemchunk.sgml:
25526 * docs/gst/tmpl/gstparse.sgml:
25527 * docs/gst/tmpl/gsttaglist.sgml:
25528 * docs/gst/tmpl/gsttagsetter.sgml:
25529 * docs/gst/tmpl/gsttypefind.sgml:
25530 * docs/gst/tmpl/gsttypefindfactory.sgml:
25531 * gst/gstmemchunk.c:
25534 * gst/gsttaginterface.c:
25535 * gst/gsttypefind.c:
25536 * gst/gsttypefind.h:
25539 === release 0.9.2 ===
25541 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25546 releasing 0.9.2, "South"
25548 2005-09-05 Andy Wingo <wingo@pobox.com>
25550 * gst/registries/gstxmlregistry.h:
25551 * gst/registries/gstxmlregistry.c: Um... resurrect...
25553 * gst/registries/gstxmlregistry.h:
25554 * gst/registries/gstxmlregistry.c: and update to newer API.
25555 Incidentally they should be a bit faster now that they don't have
25558 2005-09-05 Andy Wingo <wingo@pobox.com>
25560 * gst/registries/gstxmlregistry.h:
25561 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25562 replaced by the libxml registry a while back
25564 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25566 * docs/gst/tmpl/gstplugin.sgml:
25567 * gst/elements/gstelements.c:
25569 * gst/gstplugin.c: (gst_plugin_register_func),
25570 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25571 (gst_plugin_get_source):
25573 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25574 (gst_xml_registry_save_plugin):
25575 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25576 (gst_xml_registry_save_plugin):
25577 * tools/gst-inspect.c: (print_plugin_info):
25578 add a "source" plugin description field, to represent the source
25579 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25580 will set it to PACKAGE, which is automake's idea of the name of
25581 the source project.
25583 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25588 * docs/Makefile.am:
25589 * docs/faq/Makefile.am:
25590 * docs/gst/tmpl/gstelement.sgml:
25591 * docs/gst/tmpl/gsttypes.sgml:
25592 * docs/htmlinstall.mak:
25593 * docs/manual/Makefile.am:
25594 * docs/pwg/Makefile.am:
25595 reorganize doc build a little
25596 split out docbook and gtk-doc stuff
25597 have two separate --enable's and enable them through autogen
25598 but disable by default in configure (to be similar to other
25600 * gstreamer.spec.in:
25601 clean up docs install
25619 translation updates
25621 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25623 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25626 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25627 (gst_fake_sink_change_state):
25628 Make state change function thread-safe.
25630 * gst/gstpad.c: (gst_pad_alloc_buffer):
25631 Set offset on generic buffer allocated by fallback.
25633 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25635 * docs/gst/gstreamer-sections.txt:
25636 * docs/gst/tmpl/gstelement.sgml:
25638 * libs/gst/controller/gst-controller.c:
25639 (gst_controlled_property_set_interpolation_mode),
25640 (gst_controlled_property_new),
25641 (gst_controller_find_controlled_property):
25642 run the wingo-magic script against the docs
25644 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25646 * docs/gst/gstreamer-docs.sgml:
25647 * docs/gst/gstreamer-sections.txt:
25648 * docs/gst/tmpl/.cvsignore:
25649 * docs/gst/tmpl/gstelementdetails.sgml:
25650 * docs/gst/tmpl/gstelementfactory.sgml:
25653 * gst/gstelementfactory.c:
25654 * gst/gstelementfactory.h:
25655 merged elementdetails docs into elementfactory docs
25658 2005-09-02 Andy Wingo <wingo@pobox.com>
25660 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25661 consider this enum an enum and not a flags.
25663 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25665 * docs/gst/gstreamer-docs.sgml:
25666 * docs/gst/tmpl/.cvsignore:
25667 * docs/gst/tmpl/gstghostpad.sgml:
25668 * docs/gst/tmpl/gstiterator.sgml:
25669 * docs/gst/tmpl/gstmacros.sgml:
25670 * docs/gst/tmpl/gstrealpad.sgml:
25671 * docs/gst/tmpl/gstregistry.sgml:
25672 * docs/gst/tmpl/gstregistrypool.sgml:
25673 * docs/gst/tmpl/gststructure.sgml:
25674 * docs/gst/tmpl/gstsystemclock.sgml:
25675 * docs/gst/tmpl/gsttrace.sgml:
25676 * gst/gstghostpad.c:
25678 * gst/gstmemchunk.c:
25679 * gst/gstmemchunk.h:
25681 * gst/gstregistry.c:
25682 * gst/gstregistrypool.c:
25683 * gst/gststructure.c:
25684 * gst/gstsystemclock.c:
25687 2005-09-02 Andy Wingo <wingo@pobox.com>
25689 * gst/gstelement.h (GstState): Renamed from GstElementState,
25690 changed to be a normal enum instead of flags.
25691 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25692 munged to be GST_STATE_CHANGE_*.
25693 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25694 work with the new state representation.
25695 (GstStateChange): New enumeration of possible state transitions.
25696 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25697 (GstElementClass::change_state): Pass the GstStateChange along as
25698 an argument. Helps language bindings, so they don't have to use
25699 tricky lock-needing macros like GST_STATE_CHANGE ().
25701 * scripts/update-states (file): New script. Run it on a file to
25702 update it for state naming and API changes. Updates files in
25705 * All files updated for the new API.
25707 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25709 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25710 * gst/gstutils.c: (gst_util_set_value_from_string),
25711 (gst_util_set_object_arg):
25712 fix a bunch of unchecked return values
25713 * tools/gst-complete.c: (main):
25714 * gstreamer.spec.in:
25717 2005-09-01 Wim Taymans <wim@fluendo.com>
25719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25720 (gst_base_sink_event), (gst_base_sink_do_sync),
25721 (gst_base_sink_handle_event):
25722 * gst/base/gstbasesink.h:
25723 Handle newsegments more correctly.
25728 * gst/gstevent.c: (gst_event_new_newsegment):
25729 A newsegment cannot have a start_time of -1
25731 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25733 * win32/gstenumtypes.c:
25734 * win32/gstenumtypes.h:
25737 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25739 * libs/gst/controller/gst-controller.c:
25740 (gst_controlled_property_set_interpolation_mode),
25741 (gst_controlled_property_new):
25742 fixed boolean again
25744 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25746 * docs/faq/gst-uninstalled:
25751 * gst/gstutils.c: (gst_element_link_filtered):
25753 add gst_element_link_filtered
25755 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25757 * docs/gst/gstreamer-docs.sgml:
25758 * docs/gst/gstreamer-sections.txt:
25759 * docs/gst/tmpl/.cvsignore:
25760 * docs/gst/tmpl/gsterror.sgml:
25761 * docs/gst/tmpl/gstfilter.sgml:
25762 * docs/gst/tmpl/gsturihandler.sgml:
25763 * docs/gst/tmpl/gsturitype.sgml:
25764 * docs/gst/tmpl/gstutils.sgml:
25765 * docs/gst/tmpl/gstxml.sgml:
25770 * gst/gsturitype.c:
25773 inlined more docs, fixed double id-ref
25775 2005-08-31 Wim Taymans <wim@fluendo.com>
25777 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25778 (gst_base_transform_handle_buffer):
25779 Passthrough elements don't need the caps as they don't care.
25781 2005-08-31 Wim Taymans <wim@fluendo.com>
25783 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25784 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25785 Don't leak refcounts on buffers.
25787 2005-08-31 Wim Taymans <wim@fluendo.com>
25789 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25790 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25791 (gst_base_transform_chain), (gst_base_transform_change_state):
25792 * gst/base/gstbasetransform.h:
25793 Handle the case where we are not negotiated more gracefully.
25795 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25797 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25798 (gst_file_src_map_region):
25799 Set READONLY flag on mmap'ed buffers, otherwise
25800 gst_buffer_make_writable() won't work properly (#314708).
25802 2005-08-31 Wim Taymans <wim@fluendo.com>
25804 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25805 passthrough elements can even do inplace on non writable
25806 buffers (as they don't touch them).
25808 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25810 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25811 (gst_test_mono_source_set_property),
25812 (gst_test_mono_source_class_init), (GST_START_TEST),
25813 (gst_controller_suite):
25814 more tests (hehe I have the most)
25816 describe popping messages whenusing mulltiple sources
25817 * libs/gst/controller/gst-controller.c:
25818 (gst_controlled_property_set_interpolation_mode),
25819 (gst_controlled_property_new):
25820 * libs/gst/controller/gst-controller.h:
25821 * libs/gst/controller/gst-interpolation.c:
25822 implement boolean properties
25824 2005-08-31 Wim Taymans <wim@fluendo.com>
25826 * gst/gstminiobject.c: (gst_mini_object_ref):
25827 Cannot assert that the refcount has to be positive
25828 since a disposed object can be resurrected.
25830 2005-08-31 Wim Taymans <wim@fluendo.com>
25832 * gst/gstpad.c: (gst_pad_init):
25833 Revert change, need to first fix badly behaving
25836 2005-08-30 Wim Taymans <wim@fluendo.com>
25838 * check/elements/fakesrc.c: (setup_fakesrc):
25839 * check/elements/identity.c: (setup_identity):
25840 Activate pads before using them.
25842 2005-08-30 Wim Taymans <wim@fluendo.com>
25844 * gst/base/gstadapter.c: (gst_adapter_flush):
25845 Flushing out 0 bytes is ok for this function.
25847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25848 no newsegment gives a warning and sets the start/stop to
25851 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25852 (gst_base_transform_set_passthrough):
25855 * gst/gstminiobject.c: (gst_mini_object_ref):
25856 Check refcount here too.
25858 * gst/gstpad.c: (gst_pad_init):
25859 Pads are initially flushing and refusing data.
25861 * gst/gstutils.c: (gst_element_link_pads_filtered):
25862 When adding a capsfilter element make sure it has the
25863 same state as the parent bin.
25865 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25867 * docs/gst/tmpl/.cvsignore:
25868 * docs/gst/tmpl/gstformat.sgml:
25869 * docs/gst/tmpl/gstversion.sgml:
25873 * gst/gstversion.h.in:
25874 more docs and two more inlined
25876 2005-08-30 Wim Taymans <wim@fluendo.com>
25878 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25879 Don't sync to clock.
25881 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25883 * docs/gst/gstreamer-sections.txt:
25884 ultral33t func10ns deserve to appear in the docs actually
25885 * docs/gst/tmpl/.cvsignore:
25886 * docs/gst/tmpl/gstcompat.sgml:
25887 * docs/gst/tmpl/gstconfig.sgml:
25888 * gst/check/gstcheck.c:
25890 * gst/gstconfig.h.in:
25893 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25895 * docs/gst/tmpl/.cvsignore:
25896 * docs/gst/tmpl/gstquery.sgml:
25897 * docs/gst/tmpl/gstutils.sgml:
25900 inlined and extended docs
25902 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25904 * check/gst-libs/controller.c: (GST_START_TEST),
25905 (gst_controller_suite):
25907 * docs/gst/tmpl/gstutils.sgml:
25908 * docs/libs/gstreamer-libs-sections.txt:
25909 * docs/libs/tmpl/gstdataprotocol.sgml:
25911 * examples/controller/audio-example.c: (main):
25912 controller example works now
25915 * tools/gst-inspect.c: (print_element_properties_info):
25916 show param spec flags
25918 2005-08-29 Andy Wingo <wingo@pobox.com>
25920 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25922 2005-08-28 Andy Wingo <wingo@pobox.com>
25924 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25925 as having two arguments instead of just one. Allows superclasses
25926 to access information on subclasses -- see the terrible for() loop
25927 in gtype.c:g_type_create_instance for the reason why. All callers
25930 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25932 * docs/design/part-messages.txt:
25934 * docs/gst/tmpl/.cvsignore:
25935 * docs/gst/tmpl/gstcaps.sgml:
25936 * docs/gst/tmpl/gstclock.sgml:
25942 * gst/gstmessage.c:
25943 added descriptions for bus and message
25944 inline caps and clock docs
25946 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25948 * gst/gstmessage.c:
25949 * gst/gstmessage.h:
25952 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25954 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25957 2005-08-26 Andy Wingo <wingo@pobox.com>
25959 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25960 element_set_state's return val.
25961 (test_2_elements): Add test that's been disabled for months.
25963 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25964 can-activate-pull properties.
25966 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25967 can-activate-pull properties. Implement is_seekable so fakesrc can
25968 operate in pull mode.
25970 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25972 (gst_base_sink_activate, gst_base_sink_activate_pull)
25973 (gst_base_sink_activate_push): Make activation mode choosing work.
25975 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25976 is right. Make pull mode work. Post an eos before pausing in pull
25978 (gst_base_sink_change_state): Pay attention to the core's
25979 change_state() return val.
25981 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25982 has-getrange properties. Cleanups.
25984 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25985 has_getrange and replace with can_activate_pull and
25988 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25989 locking comments. Remove has_loop, has_chain and replace with
25990 can_activate_pull and can_activate_push.
25992 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25995 * examples/Makefile.am:
25996 * examples/metadata/Makefile.am:
25997 * examples/metadata/read-metadata.c: (message_loop),
25998 (have_pad_handler), (make_pipeline), (print_tag), (main):
25999 Add metadata reading example that loops over a list of filenames,
26000 dumping any tags found.
26002 * gst/gstbus.c: (gst_bus_dispose):
26003 * gst/gstelement.c: (gst_element_dispose):
26004 Release a few potentially-held references in dispose.
26006 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26008 * docs/gst/tmpl/gstminiobject.sgml:
26009 do *not* add tmpl/*.sgml files to CVS!
26011 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26013 * libs/gst/bytestream/.cvsignore:
26014 * libs/gst/bytestream/Makefile.am:
26015 * libs/gst/bytestream/adapter.c:
26016 * libs/gst/bytestream/adapter.h:
26017 * libs/gst/bytestream/bytestream.c:
26018 * libs/gst/bytestream/bytestream.h:
26019 * libs/gst/bytestream/filepad.c:
26020 * libs/gst/bytestream/filepad.h:
26021 removing obsolete files
26023 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26025 * docs/gst/gstreamer-docs.sgml:
26026 * docs/libs/gstreamer-libs-docs.sgml:
26027 disabed additional index entries again, as this makes docs-gen just
26028 slow and they aren't useful yet
26029 * docs/libs/gstreamer-libs-sections.txt:
26030 little -section.txt cleanup for libs
26032 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26035 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26036 fix up some debugging
26037 (gst_base_transform_get_unit_size),
26038 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26039 (gst_base_transform_handle_buffer):
26040 * gst/base/gstbasetransform.h:
26041 handle and store timed NEWSEGMENT events so that subclasses that
26042 calculate time by counting samples have a segment_start time they
26043 need to add to their timestamps - see audioresample
26045 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26048 removed ';' from the end of macro defs
26049 * docs/gst/gstreamer-docs.sgml:
26050 * docs/gst/gstreamer-sections.txt:
26051 * docs/gst/tmpl/.cvsignore:
26053 * gst/gstelement.c: (gst_element_class_init),
26054 (gst_element_set_state), (activate_pads),
26055 (gst_element_save_thyself):
26056 * gst/gstevent.c: (gst_event_new_newsegment):
26058 * gst/gstiterator.c:
26059 * gst/gstiterator.h:
26062 * gst/gstutils.c: (gst_pad_query_convert):
26064 fixed parameter name mismatches between source, header and docs
26065 added some more docs, resolved the last batch of unused elements in
26066 docs (now someone needs to doc them)
26068 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26070 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26071 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26072 don't walk through the plugins backwards. Where is all this
26073 reversed logic coming from ?
26075 2005-08-25 Wim Taymans <wim@fluendo.com>
26077 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26078 (gst_base_transform_transform_size),
26079 (gst_base_transform_configure_caps),
26080 (gst_base_transform_get_unit_size),
26081 (gst_base_transform_buffer_alloc),
26082 (gst_base_transform_change_state):
26083 * gst/base/gstbasetransform.h:
26084 Cache caps unit_size.
26085 Make sure we cannot negotiate up and downstream at the
26088 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26090 * gst/gst.c: (init_pre), (init_post):
26091 register the installed plugin path after the env var
26092 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26093 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26094 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26095 directories, so the tests can prefer uninstalled over installed
26097 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26099 * gst/base/gstbasetransform.h:
26104 2005-08-25 Wim Taymans <wim@fluendo.com>
26106 * gst/gstbin.c: (bin_bus_handler):
26107 Be a bit more conservative about the posted message.
26109 * gst/gstbus.c: (gst_bus_post):
26110 Some cleanups, warn wrong return values.
26112 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26114 * check/gst/gstbin.c: (GST_START_TEST):
26115 * gst/gstbin.c: (bin_bus_handler):
26116 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26117 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26118 (gst_message_new_warning), (gst_message_new_tag),
26119 (gst_message_new_state_changed), (gst_message_new_segment_start),
26120 (gst_message_new_segment_done), (gst_message_new_custom):
26121 * gst/gstmessage.h:
26122 * tools/gst-launch.c: (event_loop):
26123 * tools/gst-md5sum.c: (event_loop):
26124 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26126 2005-08-25 Wim Taymans <wim@fluendo.com>
26128 * check/generic/states.c: (GST_START_TEST):
26129 Cleanup can be done at the end.
26131 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26132 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26133 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26134 Oh boy.. Thanks for finding this, Thomas.
26136 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26138 * docs/gst/gstreamer.types:
26139 added missing types
26141 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26143 * docs/gst/gstreamer-docs.sgml:
26144 * docs/gst/gstreamer-sections.txt:
26145 * docs/gst/tmpl/.cvsignore:
26147 * gst/gstiterator.c:
26149 * gst/registries/gstxmlregistry.h:
26150 added missing classes and symbols (123 more to go)
26151 removed removed symbols from section file
26152 fixed many doc-comments
26154 2005-08-24 Wim Taymans <wim@fluendo.com>
26156 * check/generic/states.c: (GST_START_TEST):
26157 Make sure all tasks are stopped.
26159 * check/gst/gstbin.c: (GST_START_TEST):
26160 Unref after usage for proper valgrinding.
26162 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26163 Really wait for the task to stop before destroying the
26166 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26167 (gst_queue_src_activate_push):
26168 Small cleanups. Don't stop the task when we did not start
26171 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26172 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26173 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26176 Protect the stream lock with the object lock.
26177 Disallow setting the stream lock when running.
26178 Add cleanup_all to wait for the threadpool to finish.
26179 Remove code to autoallocate a mutex if none was provided.
26180 Add _join() to wait for a task to stop.
26181 Protect the thread pool with a global lock.
26183 2005-08-24 Wim Taymans <wim@fluendo.com>
26185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26186 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26187 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26188 * gst/base/gstbasesink.h:
26189 Handle newsegment events correctly.
26190 Drop buffers out of the segment range.
26192 2005-08-22 Andy Wingo <wingo@pobox.com>
26194 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26195 macro, implements an interface and gstimplementsinterface for a
26198 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26200 * check/Makefile.am:
26201 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26202 add a test that does a bunch of state changes on elements
26203 needs some fixing for valgrind
26204 * check/states/sinks.c: (gst_object_suite):
26207 add prototype for gst_caps_is_equal_fixed
26209 * gst/gstregistrypool.c:
26212 2005-08-24 Andy Wingo <wingo@pobox.com>
26214 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26215 convert a negative value. Doesn't make much sense. Mostly this is
26216 here to force callers to ensure -1 maps to -1.
26218 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26220 * docs/pwg/advanced-types.xml:
26221 Well done to Michael for catching my deliberate introduction
26222 of this spelling mistake.
26223 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26224 * gst/gstelement.h:
26225 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26226 unlink pads before removing the element from the bin.
26228 2005-08-24 Andy Wingo <wingo@pobox.com>
26230 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26231 the same thing as GST_DEBUG=*:4.
26232 (parse_debug_level, parse_debug_category): New helper parsers.
26234 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26236 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26237 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26238 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26239 (gst_base_transform_buffer_alloc),
26240 (gst_base_transform_handle_buffer):
26241 use gboolean return values and pointers to size so we can use the
26242 full GST_BUFFER_SIZE range (guint) for buffer sizes
26243 use GstPadDirection for transform_caps
26244 * gst/base/gstbasetransform.h:
26245 rename get_size to get_unit_size since that's what it is
26246 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26247 use GstPadDirection for transform_caps
26248 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26250 cleanup and debugging
26252 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26254 * gst/gstelement.c: (gst_element_class_init),
26255 (gst_element_set_state), (activate_pads),
26256 (gst_element_save_thyself):
26257 * tools/gst-compprep.c: (main):
26258 * tools/gst-inspect.c: (print_element_properties_info):
26259 * tools/gst-xmlinspect.c: (print_element_properties):
26260 Fixed long standing mem-leak
26262 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26264 * check/gst/gstbin.c: (GST_START_TEST):
26265 * gst/gstbin.c: (bin_bus_handler):
26266 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26267 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26268 (gst_message_new_warning), (gst_message_new_tag),
26269 (gst_message_new_state_changed), (gst_message_new_segment_start),
26270 (gst_message_new_segment_done), (gst_message_new_custom):
26271 * gst/gstmessage.h:
26272 * tools/gst-launch.c: (event_loop):
26273 * tools/gst-md5sum.c: (event_loop):
26274 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26275 that applications can sensibly post custom messages with references
26276 to their own objects.
26278 2005-08-24 Andy Wingo <wingo@pobox.com>
26280 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26283 2005-08-24 Wim Taymans <wim@fluendo.com>
26285 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26286 (gst_base_transform_transform_caps),
26287 (gst_base_transform_transform_size),
26288 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26289 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26290 (gst_base_transform_handle_buffer):
26291 * gst/base/gstbasetransform.h:
26292 Many fixes and new features added by Thomas. Can now also do
26293 transforms with variable sizes and a custom fixate_caps function.
26295 2005-08-24 Wim Taymans <wim@fluendo.com>
26297 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26301 Cast to ClockTime before formatting to time.
26306 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26308 * check/gst-libs/controller.c: (GST_START_TEST),
26309 (gst_controller_suite):
26310 * docs/gst/tmpl/gstcaps.sgml:
26311 * docs/gst/tmpl/gstghostpad.sgml:
26312 * docs/gst/tmpl/gstquery.sgml:
26313 * docs/gst/tmpl/gstutils.sgml:
26314 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26315 (gst_object_sink_values), (gst_object_get_value_arrays),
26316 (gst_object_get_value_array):
26317 gracefully handle helper method calls to objects that are not beeing
26318 controlled, added test case for that
26320 2005-08-23 Wim Taymans <wim@fluendo.com>
26322 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26323 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26324 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26325 (gst_event_parse_qos), (gst_event_new_seek),
26326 (gst_event_parse_seek):
26328 Some more debugging output and doc cleanups.
26330 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26331 Fix possible deadlock.
26333 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26335 * docs/gst/gstreamer-docs.sgml:
26336 * docs/gst/gstreamer-sections.txt:
26337 * docs/gst/gstreamer.types:
26338 * docs/gst/tmpl/.cvsignore:
26341 * gst/gstelement.c:
26343 added 100 symbols from gstreamer-unused.txt to the right sections
26344 fixed more broken comments
26345 added GstBus to docs
26347 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26349 * docs/gst/gstreamer-sections.txt:
26350 * docs/gst/tmpl/.cvsignore:
26351 * docs/gst/tmpl/gstbin.sgml:
26352 * docs/gst/tmpl/gstbuffer.sgml:
26353 * gst/base/gstbasesrc.c:
26354 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26357 * tools/gst-launch.1.in:
26358 inlined more doc comments, added missing comments and fixed comments
26361 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26363 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26367 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26369 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26370 * gst/gststructure.h:
26371 add a fixate function for booleans; add a FIXME that these func
26372 names should probably be gst_structure_fixate_*
26374 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26376 * docs/gst/gstreamer-docs.sgml:
26377 * docs/gst/gstreamer-sections.txt:
26379 * gst/gstbin.c: (gst_bin_get_type),
26380 (gst_bin_child_proxy_get_child_by_index),
26381 (gst_bin_child_proxy_get_children_count),
26382 (gst_bin_child_proxy_init):
26383 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26384 (gst_child_proxy_get_child_by_index),
26385 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26386 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26387 (gst_child_proxy_get), (gst_child_proxy_set_property),
26388 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26389 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26390 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26391 * gst/gstchildproxy.h:
26392 * gst/parse/grammar.y:
26393 * tools/gst-inspect.c: (print_interfaces),
26394 (print_element_properties_info), (print_element_info):
26395 ported gstchildproxy over from 0.8
26396 ported gst-inspect fixes and enhancements over from 0.8
26398 2005-08-22 Wim Taymans <wim@fluendo.com>
26400 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26401 (gst_base_transform_handle_buffer):
26402 Also call the transform function if we have ANY caps.
26404 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26407 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26409 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26410 Don't pretend to handle seek events if the source is not seekable
26412 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26414 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26415 Remove extra parameter to debug output
26417 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26418 (gst_base_src_do_seek), (gst_base_src_activate_push):
26419 Fix seek event handling.
26421 * gst/gstpipeline.c: (gst_pipeline_change_state):
26422 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26423 (gst_queue_src_activate_push):
26424 Don't start the src pad task on FLUSH_STOP if the pad
26428 2005-08-22 Wim Taymans <wim@fluendo.com>
26430 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26431 Added check for gst_static_caps_get() refcounting.
26433 2005-08-22 Wim Taymans <wim@fluendo.com>
26435 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26436 Make _static_caps_get() refcounting sane.
26438 * gst/gstelement.c: (gst_element_set_state):
26439 Add g_return_val_if_fail() to protect against segfaults.
26441 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26443 * docs/gst/tmpl/gstevent.sgml:
26446 inlined remaining docs, added missing doc comments
26448 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26450 * check/gst/gstbin.c: (GST_START_TEST):
26451 since we don't know when preroll is done, use refcount range
26453 * gst/check/gstcheck.h:
26454 add macro for checking refcount range
26456 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26458 * check/Makefile.am:
26459 clean up environment for when registry gets built versus
26460 when actual tests are run; valgrind seems to not report
26461 leaks if GST_PLUGIN_PATH is set to some specific values
26462 * check/gst/gstbin.c: (GST_START_TEST):
26463 add more refcounting checks; maybe this exposes a
26465 * common/check.mak:
26466 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26467 * gst/check/gstcheck.h:
26468 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26469 (gst_bin_change_state):
26470 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26471 add/fix debugging/whitespace
26473 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26475 * check/gst/gstevent.c: (event_probe), (test_event),
26477 Er, don't call gst_bin_watch_for_state_change you idiot.
26479 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26481 * check/Makefile.am:
26482 Use CHECK_CFLAGS and CHECK_LIBS
26483 * check/gst/gstevent.c: (event_probe), (test_event),
26486 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26487 (gst_base_src_start), (gst_base_src_stop),
26488 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26489 (gst_base_src_change_state):
26490 Sprinkle gst_base_src_stop liberally around error paths to fix
26491 problems reusing a source after failed state changes.
26492 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26493 (helper_find_suggest), (gst_type_find_helper):
26494 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26496 * docs/gst/tmpl/gstevent.sgml:
26497 Migrate part of the docs from the SGML file. Wait for ensonic to
26498 tell me how I did it wrong ;)
26499 * tools/gst-typefind.c: (main):
26500 Extra robustness to state changes between files.
26502 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26504 * check/Makefile.am:
26505 don't valgrind the controller test - it's leaking - Stefan, HELP
26506 * gst/check/gstcheck.c: (gst_check_message_error),
26507 (gst_check_chain_func), (gst_check_setup_element),
26508 (gst_check_teardown_element), (gst_check_setup_src_pad),
26509 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26510 (gst_check_teardown_sink_pad):
26511 * gst/check/gstcheck.h:
26512 add a bunch of methods to set up elements, and src and sink pads
26513 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26514 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26517 * gst/gstmessage.c:
26519 whitespace/doc fixes
26521 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26523 * gst/gstelement.h:
26524 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26525 be handled by the application and not always printed as well
26527 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26529 * check/Makefile.am:
26531 * gst/check/gstcheck.c: (gst_check_message_error):
26532 * gst/check/gstcheck.h:
26533 add a fail_unless_equals_int
26534 add fail_unless for error messages
26536 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26538 * check/Makefile.am:
26540 * common/Makefile.am:
26541 * common/check.mak:
26543 factor out some of the common stuff so we can use it
26545 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26547 * check/Makefile.am:
26548 * check/gst/gstiterator.c: (GST_START_TEST):
26549 * check/gst/gstsystemclock.c: (GST_START_TEST),
26550 (gst_systemclock_suite):
26551 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26553 valgrind more tests
26555 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26557 * check/elements/.cvsignore:
26558 * check/elements/gstfakesrc.c:
26559 rename to name of element
26560 * check/elements/identity.c: (chain_func), (event_func),
26561 (setup_identity), (cleanup_identity), (GST_START_TEST),
26562 (identity_suite), (main):
26563 add a test for identity
26564 * check/Makefile.am:
26565 * pkgconfig/Makefile.am:
26566 * pkgconfig/gstreamer-check.pc.in:
26567 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26571 move the check stuff to a library that gets installed
26572 * check/gst-libs/controller.c: (GST_START_TEST):
26573 * check/gst-libs/gdp.c:
26574 * check/gst/gst.c: (GST_START_TEST):
26575 * check/gst/gstbin.c:
26576 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26577 * check/gst/gstbus.c:
26578 * check/gst/gstcaps.c: (GST_START_TEST):
26579 * check/gst/gstelement.c:
26580 * check/gst/gstghostpad.c:
26581 * check/gst/gstiterator.c:
26582 * check/gst/gstmessage.c:
26583 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26584 * check/gst/gstobject.c:
26585 * check/gst/gstpad.c: (GST_START_TEST):
26586 * check/gst/gststructure.c: (GST_START_TEST):
26587 * check/gst/gstsystemclock.c: (GST_START_TEST),
26588 (gst_systemclock_suite):
26589 * check/gst/gsttag.c: (gst_tag_suite):
26590 * check/gst/gstvalue.c:
26591 * check/pipelines/cleanup.c:
26592 * check/pipelines/simple_launch_lines.c:
26593 * check/states/sinks.c:
26594 change include statement
26596 * docs/gst/gstreamer-sections.txt:
26597 * docs/gst/tmpl/gstpad.sgml:
26598 document more pad stuff
26599 * gst/gstminiobject.c: (gst_mini_object_ref),
26600 (gst_mini_object_unref):
26603 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26605 * docs/gst/tmpl/gst.sgml:
26607 eliminate another tmpl file, fix spelling in the long-description
26609 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26611 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26612 (test_event), (timediff), (gstevents_suite):
26613 Should fix build on 64-bit arch's
26615 2005-08-18 Andy Wingo <wingo@pobox.com>
26617 Make sure that when a pipeline goes to PLAYING, that data has
26618 actually hit the sink.
26620 * check/states/sinks.c (test_sink): A sink that doesn't get any
26621 data shouldn't return SUCCESS for going to either PLAYING or
26622 PAUSED. Test also the return values on the way back down.
26624 * gst/gstelement.c (gst_element_set_state): When changing the
26625 state of an element currently changing state asynchronously, go to
26626 lost-state after commiting the pending state. Makes future calls
26627 to get_state continue to return ASYNC.
26629 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26630 ASYNC when going to PLAYING if we still don't have preroll, as can
26631 happen with live sources.
26633 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26635 * docs/pwg/advanced-types.xml:
26636 Hack long paragraph into 2 chunks as a workaround for buggy
26637 jadetex version in sid and breezy that loops infinitely and
26640 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26642 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26643 (test_event), (timediff), (gstevents_suite):
26644 Provide more error margin in clock measurements to allow for
26645 g_get_current_time inaccuracies.
26647 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26649 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26650 (test_event), (timediff), (gstevents_suite):
26651 Fix error message output so I might be able to tell why the
26652 test works here but fails on the build farm.
26654 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26656 * check/Makefile.am:
26657 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26658 (test_event), (timediff), (gstevents_suite), (main):
26661 * docs/design/part-seeking.txt:
26662 Spelling correction
26664 * docs/gst/tmpl/gstevent.sgml:
26665 * docs/gst/tmpl/gstfakesrc.sgml:
26668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26669 Treat a buffer-without-newsegment the same as a receiving
26670 a newsegment not in time format, and disable syncing to the clock
26673 * gst/gstbus.c: (gst_bus_set_sync_handler):
26674 Assert if anyone tries to replace the existing sync_handler for bus,
26675 as only the owner should be setting it.
26678 Have a fixed set of custom event enums with events identified by
26679 their structure name (as in 0.8), rather than a free-for-all
26680 allowing collisions between enum values from different plugins.
26682 * gst/gstpad.c: (gst_pad_class_init):
26685 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26686 Handle out-of-band downstream events from the sending thread.
26688 2005-08-17 Andy Wingo <wingo@pobox.com>
26690 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26691 play-timeout==0 to mean no timeout at all. In that case, don't
26692 bother with a get_state or a warning, just return directly, even
26695 * gst/base/gstbasetransform.c: Debug changes.
26698 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26699 ensure bins post state change messages. A bit of a hack but I can't
26700 think of a way to avoid it.
26702 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26704 2005-08-16 Andy Wingo <wingo@pobox.com>
26706 * gst/base/gstadapter.h:
26707 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26708 peek() but you own the data. Not terribly efficient atm.
26710 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26712 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26713 (gst_element_found_tags):
26715 Add two utility functions for tag handling.
26717 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26719 * docs/manual/advanced-dataaccess.xml:
26720 * docs/manual/basics-helloworld.xml:
26721 Fix docs to use _bin_add() before _link(), which fixes the examples
26722 with recent core versions (reported by Madhan Raj M
26723 <raj_madan@rediffmail.com>, #313199).
26725 2005-08-16 Wim Taymans <wim@fluendo.com>
26727 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26728 Added subtract checks.
26730 * docs/design/part-events.txt:
26731 Some more docs about newsegment
26733 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26736 * gst/gstcaps.c: (gst_caps_to_string):
26737 Add comments, cleanups.
26739 * gst/gstelement.c: (gst_element_save_thyself):
26742 * gst/gstvalue.c: (gst_value_collect_int_range),
26743 (gst_string_unwrap), (gst_value_union_int_int_range),
26744 (gst_value_union_int_range_int_range),
26745 (gst_value_intersect_int_int_range),
26746 (gst_value_intersect_int_range_int_range),
26747 (gst_value_intersect_double_double_range),
26748 (gst_value_intersect_double_range_double_range),
26749 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26750 (gst_value_subtract_int_range_int),
26751 (gst_value_subtract_double_range_double),
26752 (gst_value_subtract_double_range_double_range),
26753 (gst_value_subtract_from_list), (gst_value_subtract_list),
26754 (gst_value_can_compare), (gst_value_compare_fraction):
26755 Cleanups, add comments, remove unneeded asserts.
26757 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26759 * tools/gst-launch.c: (event_loop):
26760 don't convert NULL structures to strings
26762 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26764 * docs/gst/gstreamer-sections.txt:
26765 made some defines private
26766 * docs/gst/tmpl/gstconfig.sgml:
26767 * docs/gst/tmpl/gstqueue.sgml:
26768 * docs/gst/tmpl/gsttaglist.sgml:
26769 * docs/gst/tmpl/gsttypes.sgml:
26770 * docs/gst/tmpl/gstutils.sgml:
26771 * docs/pwg/appendix-porting.xml:
26772 * gst/base/gstbasesink.h:
26773 * gst/base/gstbasesrc.c:
26774 * gst/base/gstbasesrc.h:
26775 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26776 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26777 * gst/gstelement.c: (gst_element_class_init):
26778 * gst/gstpad.c: (gst_pad_class_init):
26779 * gst/gstqueue.c: (gst_queue_class_init):
26780 * gst/gstxml.c: (gst_xml_class_init):
26781 documented all undocumented signal inline
26782 * libs/gst/controller/gst-controller.h:
26785 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26787 * docs/pwg/appendix-porting.xml:
26788 Document _set_link_function -> _set_setcaps_function.
26790 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26792 * check/Makefile.am:
26793 add a .check target for running the check
26794 * check/gst-libs/controller.c: (GST_START_TEST):
26796 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26797 complete checks for gstbuffer; would be nice if I could get the
26798 gcov stuff to work so I can see if I actually completed gstbuffer.c
26799 * check/gstcheck.h:
26800 add ASSERT_BUFFER_REFCOUNT
26802 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26804 * docs/gst/gstreamer-sections.txt:
26805 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26807 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26808 spew out a warning if a tag that is already registered
26809 is re-registered, unless it is re-registered with a
26810 different type (#308438).
26812 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26814 * docs/pwg/appendix-porting.xml:
26815 * docs/pwg/building-state.xml:
26816 Add some paragraphs about state changes in 0.9 to the PWG
26817 and the porting guide, in particular about the new meaning
26818 of GST_STATE_PAUSED and how to write state change functions
26819 with concurrent access by multiple threads in mind.
26821 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26823 * docs/gst/gstreamer-docs.sgml:
26824 * docs/libs/gstreamer-libs-docs.sgml:
26825 added deprecation and since indexes
26826 * libs/gst/controller/gst-controller.c:
26827 * libs/gst/controller/gst-helper.c:
26831 2005-08-11 Wim Taymans <wim@fluendo.com>
26833 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26834 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26835 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26836 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26837 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26838 (gst_ghost_pad_set_target):
26839 Actually implement (re)setting the target on a ghostpad
26840 as described in the docs.
26842 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26844 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26845 Check whether GST_DEBUG_NO_COLOR environment variable is
26846 set and disable coloured debug output if that is the case.
26848 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26850 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26851 (gst_type_find_helper):
26852 The memory returned by gst_type_find_peek() needs to
26853 stay valid until the end of a typefind function, and
26854 typefind functions may keep results from different
26855 offsets around, so we can't just unref the buffer from
26856 the previous _peek(), but have to save all buffers
26857 returned by _peek() until typefinding is done and only
26860 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26862 * docs/gst/gstreamer-sections.txt:
26864 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26866 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26868 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26869 Fix a pretty good memleak.
26871 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26873 * gst/gstiterator.h:
26874 Fix wrong include and 'make distcheck'.
26876 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26878 * gst/gstbin.c: (bin_bus_handler):
26879 Use gst_element_post_message() instead.
26881 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26883 * gst/base/gstadapter.h:
26884 * gst/base/gstbasesink.h:
26885 * gst/base/gstbasesrc.h:
26886 * gst/base/gstbasetransform.h:
26887 * gst/base/gstcollectpads.h:
26888 * gst/base/gstpushsrc.h:
26889 * gst/gstiterator.h:
26890 Add padding to our base elements' class and instance structs and
26891 to GstIterator (you will need to rebuild all plugins and apps!)
26893 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26895 * gst/gstbin.c: (bin_bus_handler):
26896 Make default message forwarding from child->bus to bin->bus
26897 threadsafe and make it not emit warnings if the parent has no bus.
26899 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26901 * gst/gstelement.c: (activate_pads):
26902 On paused->ready, set pad->caps to NULL, as is the documented
26903 behaviour in this state change. Fixes playback of series of
26904 media files when visualization is enabled in Totem.
26906 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26908 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26909 Allow NULL as filter-caps (which means "any").
26911 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26913 * docs/libs/gstreamer-libs-sections.txt:
26914 * libs/gst/controller/gst-controller.c:
26915 * libs/gst/controller/gst-controller.h:
26916 * libs/gst/controller/gst-helper.c:
26917 adding more entries to the docs and fix small doc-bugs
26919 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26921 * docs/gst/gstreamer-docs.sgml:
26922 * docs/gst/gstreamer-sections.txt:
26923 * docs/gst/gstreamer.types:
26924 * docs/gst/tmpl/gstbasesink.sgml:
26925 * docs/gst/tmpl/gstbasesrc.sgml:
26926 * docs/gst/tmpl/gstbasetransform.sgml:
26927 * docs/gst/tmpl/gstfakesrc.sgml:
26928 * gst/base/gstcollectpads.c:
26929 * gst/base/gstcollectpads.h:
26930 * libs/gst/controller/gst-controller.c:
26931 * libs/gst/controller/gst-controller.h:
26932 * libs/gst/controller/gst-helper.c:
26933 * libs/gst/controller/gst-interpolation.c:
26934 * libs/gst/controller/lib.c:
26935 added long/short desc for controller docs
26936 added collectpads base class docs
26937 added correct includes to base-class docs
26939 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26941 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26942 (gst_test_mono_source_set_property),
26943 (gst_test_mono_source_class_init), (GST_START_TEST),
26944 (gst_controller_suite):
26945 * docs/gst/gstreamer-docs.sgml:
26946 * docs/gst/gstreamer-sections.txt:
26947 * docs/gst/gstreamer.types:
26948 * docs/libs/gstreamer-libs-docs.sgml:
26949 * docs/libs/gstreamer-libs-sections.txt:
26950 * gst/base/gstadapter.c:
26951 * libs/gst/controller/gst-controller.c:
26952 (gst_controlled_property_new), (gst_controlled_property_free),
26953 (gst_controller_new_valist),
26954 (gst_controller_remove_properties_valist),
26955 (gst_controller_sink_values), (_gst_controller_finalize):
26956 * libs/gst/controller/gst-controller.h:
26957 * libs/gst/controller/gst-helper.c:
26958 (gst_object_control_properties), (gst_object_uncontrol_properties),
26959 (gst_object_get_controller), (gst_object_set_controller),
26960 (gst_object_sink_values), (gst_object_get_value_arrays),
26961 (gst_object_get_value_array):
26962 more tests (and fixes) for the controller
26963 more docs for the controller
26964 integrated companies docs for the adapter
26966 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26968 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26969 (GST_START_TEST), (fakesrc_suite):
26970 add tests for sizetype
26972 2005-08-04 Andy Wingo <wingo@pobox.com>
26974 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26975 fixes buffer_alloc proxying among other things.
26977 * gst/base/gstbasetransform.c:
26978 * gst/base/gstbasetransform.h:
26979 Revert patch to gstbasetransform from 7-28 removing
26982 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26983 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26984 Semantics changed, should return not the size of the output buffer
26985 but the byte size of a buffer with a given caps.
26987 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26989 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26990 out) are not the pad caps until setcaps finishes.
26991 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26992 not-in-place case as well. Deal with changing from in-place to
26993 not-in-place within calling pad_alloc_buffer. Still a bit
26994 concerned about the overhead here...
26996 2005-08-03 Andy Wingo <wingo@pobox.com>
26998 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26999 fixating is an error.
27001 2005-08-04 Edward Hervey <edward@fluendo.com>
27003 * gst/base/gstadapter.h:
27004 Added gst_adapter_get_type() to the header
27006 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27008 * check/Makefile.am:
27009 * check/gst-libs/controller.c:
27010 * libs/gst/controller/gst-controller.c:
27011 (gst_controller_new_valist):
27012 added check test suite for the controller
27013 * gst/base/gstpushsrc.c:
27016 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27018 * docs/gst/Makefile.am:
27019 * docs/gst/gstreamer-docs.sgml:
27020 * docs/gst/gstreamer-sections.txt:
27021 * docs/gst/gstreamer.types:
27022 * docs/gst/tmpl/gstfakesrc.sgml:
27024 * gst/base/gstbasesink.c:
27025 * gst/base/gstbasesink.h:
27026 * gst/base/gstbasesrc.c:
27027 * gst/base/gstbasesrc.h:
27028 * gst/base/gstbasetransform.c:
27029 * gst/base/gstpushsrc.c:
27030 * gst/base/gstpushsrc.h:
27031 add short/long description docs to base classes
27032 add pushsrc to the docs
27033 remove consolidated doc fragments
27035 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27038 * docs/libs/Makefile.am:
27039 * docs/libs/gstreamer-libs-docs.sgml:
27040 * docs/libs/gstreamer-libs-sections.txt:
27041 * docs/libs/gstreamer-libs.types:
27042 * examples/Makefile.am:
27043 * examples/controller/.cvsignore:
27044 * examples/controller/Makefile.am:
27045 * examples/controller/audio-example.c: (main):
27046 * libs/gst/Makefile.am:
27047 * libs/gst/controller/.cvsignore:
27048 * libs/gst/controller/Makefile.am:
27049 * libs/gst/controller/gst-controller.c:
27050 (on_object_controlled_property_changed), (gst_timed_value_compare),
27051 (gst_timed_value_find),
27052 (gst_controlled_property_set_interpolation_mode),
27053 (gst_controlled_property_new), (gst_controlled_property_free),
27054 (gst_controller_find_controlled_property),
27055 (gst_controller_new_valist), (gst_controller_new),
27056 (gst_controller_remove_properties_valist),
27057 (gst_controller_remove_properties), (gst_controller_set),
27058 (gst_controller_set_from_list), (gst_controller_unset),
27059 (gst_controller_get), (gst_controller_get_all),
27060 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27061 (gst_controller_get_value_array),
27062 (gst_controller_set_interpolation_mode),
27063 (_gst_controller_finalize), (_gst_controller_init),
27064 (_gst_controller_class_init), (gst_controller_get_type):
27065 * libs/gst/controller/gst-controller.h:
27066 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27067 (g_object_uncontrol_properties), (g_object_get_controller),
27068 (g_object_set_controller), (g_object_sink_values),
27069 (g_object_get_value_arrays), (g_object_get_value_array):
27070 * libs/gst/controller/gst-interpolation.c:
27071 (gst_controlled_property_find_timed_value_node),
27072 (interpolate_none_get), (interpolate_trigger_get),
27073 (interpolate_trigger_get_value_array):
27074 * libs/gst/controller/lib.c: (gst_controller_init):
27075 * pkgconfig/Makefile.am:
27076 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27077 * pkgconfig/gstreamer-control.pc.in:
27078 * testsuite/Makefile.am:
27079 * testsuite/controller/.cvsignore:
27080 * testsuite/controller/Makefile.am:
27081 * testsuite/controller/interpolator.c: (main):
27082 added controller code
27083 removed dparam pc files
27085 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27086 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27087 (gst_collectpads_stop):
27088 Broadcast the condition when shutting down, to make sure we wake all
27089 threads up. Shut down pads on finalize, for safety.
27091 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27092 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27093 (gst_base_transform_handle_buffer),
27094 (gst_base_transform_change_state):
27095 Handle PAUSED->READY->PAUSED transition after negotiation
27097 * gst/gstmessage.c: (gst_message_init):
27098 Extra piece of debug for new messages.
27100 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27103 * docs/gst/tmpl/gstbasesrc.sgml:
27104 * docs/gst/tmpl/gstelement.sgml:
27105 * docs/gst/tmpl/gstevent.sgml:
27106 * docs/gst/tmpl/gstfakesrc.sgml:
27107 * docs/gst/tmpl/gstformat.sgml:
27108 * docs/gst/tmpl/gstghostpad.sgml:
27109 * docs/gst/tmpl/gstpad.sgml:
27110 * docs/gst/tmpl/gstquery.sgml:
27111 * docs/gst/tmpl/gststructure.sgml:
27112 * docs/gst/tmpl/gsttaglist.sgml:
27113 * docs/gst/tmpl/gstvalue.sgml:
27114 * docs/libs/gstreamer-libs-docs.sgml:
27115 * docs/libs/gstreamer-libs-sections.txt:
27116 * docs/libs/gstreamer-libs.types:
27117 * libs/gst/Makefile.am:
27118 * libs/gst/control/.cvsignore:
27119 * libs/gst/control/Makefile.am:
27120 * libs/gst/control/control.c:
27121 * libs/gst/control/control.h:
27122 * libs/gst/control/dparam.c:
27123 * libs/gst/control/dparam.h:
27124 * libs/gst/control/dparam_smooth.c:
27125 * libs/gst/control/dparam_smooth.h:
27126 * libs/gst/control/dparamcommon.h:
27127 * libs/gst/control/dparammanager.c:
27128 * libs/gst/control/dparammanager.h:
27129 * libs/gst/control/dplinearinterp.c:
27130 * libs/gst/control/dplinearinterp.h:
27131 * libs/gst/control/unitconvert.c:
27132 * libs/gst/control/unitconvert.h:
27133 * testsuite/Makefile.am:
27134 * testsuite/dynparams/.cvsignore:
27135 * testsuite/dynparams/Makefile.am:
27136 * testsuite/dynparams/dparamstest.c:
27137 * tools/Makefile.am:
27138 * tools/gst-inspect.c: (print_element_info), (main):
27139 * tools/gst-xmlinspect.c: (print_element_info), (main):
27140 deactivate and remove dparams (libgstcontrol)
27142 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27144 * gst/elements/gsttypefindelement.c:
27145 (gst_type_find_element_have_type), (gst_type_find_element_init),
27146 (stop_typefinding), (gst_type_find_element_handle_event),
27147 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27148 * gst/elements/gsttypefindelement.h:
27149 Set caps on all outgoing buffers, not just the first one.
27151 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27153 * gst/elements/gsttypefindelement.c:
27154 (gst_type_find_element_have_type),
27155 (gst_type_find_element_check_set_buffer_caps),
27156 (gst_type_find_element_init), (stop_typefinding),
27157 (gst_type_find_element_handle_event),
27158 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27159 * gst/elements/gsttypefindelement.h:
27160 Set caps on first outgoing buffer when we've found the type.
27162 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27164 * docs/gst/gstreamer-docs.sgml:
27165 * docs/gst/gstreamer-sections.txt:
27166 * docs/gst/tmpl/gstscheduler.sgml:
27167 * docs/gst/tmpl/gstschedulerfactory.sgml:
27168 Remove some old cruft from docs.
27170 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27173 Fix inline docs for GstPadLinkReturn.
27175 * gst/gststructure.c: (gst_structure_has_name):
27176 * gst/gststructure.h:
27177 * docs/gst/gstreamer-sections.txt:
27178 New API: gst_structure_has_name().
27180 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27183 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27184 and _LARGEFILE_SOURCE in config.h as required. Do not
27185 export those flags in our .pc files any longer (#142209).
27187 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27189 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27190 (gst_file_sink_do_seek), (gst_file_sink_event),
27191 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27192 Redo seek/tell calls with large file support in mind; add some
27193 debugging messages; add log message that tells us when large
27194 file support is unavailable or not enabled for some reason.
27196 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27197 Add log message that tells us when large file support
27198 is unavailable or not enabled for some reason.
27200 2005-07-29 Wim Taymans <wim@fluendo.com>
27202 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27203 Added test for removing an element with ghostpad from a bin.
27204 Fixed test as current implementation does the right thing.
27206 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27207 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27208 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27209 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27210 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27211 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27212 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27213 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27214 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27215 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27216 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27217 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27218 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27219 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27220 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27221 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27222 * gst/gstghostpad.h:
27223 Clean up ghostpads, remove properties for internal stuff.
27226 Prepare for switching targets, not all use cases work yet.
27228 2005-07-29 Wim Taymans <wim@fluendo.com>
27230 * docs/design/part-gstghostpad.txt:
27233 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27234 (gst_bin_remove_func):
27235 Unlinking pads while holding the bin LOCK is not a good
27238 * gst/gstpad.c: (gst_pad_class_init),
27239 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27240 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27241 No prob setting template after creating the pad.
27243 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27245 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27246 (gst_bus_peek), (gst_bus_source_dispatch),
27247 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27248 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27249 gst_bus_poll may be called from other threads. Handle
27250 this nicely by not making poll_data disappear off the
27251 stack once gst_bus_poll returns.
27252 gst_bus_peek now increments the refcount on the returned
27255 2005-07-29 Wim Taymans <wim@fluendo.com>
27257 * docs/design/part-gstghostpad.txt:
27258 Overview of current GhostPad datastructures and use
27259 cases for changing the target.
27261 2005-07-28 Wim Taymans <wim@fluendo.com>
27263 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27264 Added checks for hierarchy consistency whan adding linked
27267 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27268 Added check to test element scheduling without bin/pipeline.
27270 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27271 First add elements to bin, then link.
27273 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27274 (gst_bin_remove_func):
27275 Unlink pads from elements added/removed from bin to maintain
27276 hierarchy consistency.
27278 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27280 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27281 (gst_base_transform_handle_buffer):
27282 * gst/base/gstbasetransform.h:
27283 Remove broken delay_configure (fixes renegotiation of software
27284 scaling pipelines); remove some leftover printf()s.
27286 2005-07-28 Wim Taymans <wim@fluendo.com>
27288 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27289 Added some more tests for wrong hierarchy
27291 * docs/design/part-overview.txt:
27294 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27297 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27298 (gst_element_dispose):
27299 Some more cleanups.
27301 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27302 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27303 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27304 (gst_pad_set_caps), (gst_pad_send_event):
27305 Check for correct hierarchy when linking pads. Moving to
27306 strict requirement for ghostpads when linking elements in
27310 Clean ups. Added WRONG_HIERARCHY return value.
27312 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27314 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27315 Better debug if no transform is possible.
27317 2005-07-27 Wim Taymans <wim@fluendo.com>
27319 * docs/random/wtay/network-transp:
27320 Some old doc I had.
27322 2005-07-27 Wim Taymans <wim@fluendo.com>
27324 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27325 (gst_dp_event_from_packet):
27326 Fix serialization of seek events.
27328 2005-07-27 Wim Taymans <wim@fluendo.com>
27330 * check/gst-libs/gdp.c: (GST_START_TEST):
27331 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27332 Fix compilation and fix event serialization.
27334 2005-07-27 Wim Taymans <wim@fluendo.com>
27337 * docs/design/part-TODO.txt:
27338 * docs/design/part-events.txt:
27341 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27342 (gst_base_sink_event), (gst_base_sink_do_sync),
27343 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27344 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27345 (gst_base_src_do_seek), (gst_base_src_event_handler),
27346 (gst_base_src_loop):
27347 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27348 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27349 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27350 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27351 (gst_base_transform_set_passthrough),
27352 (gst_base_transform_is_passthrough):
27353 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27354 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27360 * gst/gstelement.c: (gst_element_seek):
27361 * gst/gstelement.h:
27362 Update gst_element_seek.
27364 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27365 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27366 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27367 (gst_event_new_eos), (gst_event_new_newsegment),
27368 (gst_event_parse_newsegment), (gst_event_new_tag),
27369 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27370 (gst_event_parse_qos), (gst_event_new_seek),
27371 (gst_event_parse_seek), (gst_event_new_navigation):
27373 Make GstEvent use GstStructure. Add parsing code, make sure the
27374 API is sufficiently generic.
27375 Mark possible directions of events and serialization.
27377 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27378 (_gst_message_copy), (gst_message_new_segment_start),
27379 (gst_message_new_segment_done), (gst_message_new_custom),
27380 (gst_message_parse_segment_start),
27381 (gst_message_parse_segment_done):
27384 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27385 (gst_pad_set_caps), (gst_pad_send_event):
27386 Update for new events.
27387 Catch events sent in wrong directions.
27389 * gst/gstqueue.c: (gst_queue_link_src),
27390 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27391 (gst_queue_handle_src_query):
27396 Remove event code from this file.
27398 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27399 (gst_dp_event_from_packet):
27402 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27404 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27405 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27406 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27407 Make debugging actually useful.
27409 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27411 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27412 (gst_pad_fixate_caps):
27413 Implement default fixation once again, so that gst_pad_fixate()
27414 actually does anything at all. This probably needs to be some
27415 sort of a last resort, and use profile-based fixation first, but
27416 since that doesn't exist yet, this is the best we have. Fixes
27417 visualization in Totem.
27419 2005-07-22 Wim Taymans <wim@fluendo.com>
27421 * docs/design/part-events.txt:
27424 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27425 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27426 (gst_base_sink_activate_pull):
27427 Some more comments.
27429 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27430 (gst_fake_src_create):
27431 Fix handoff marshall.
27433 * gst/elements/gstidentity.c: (gst_identity_class_init),
27434 (gst_identity_transform_ip):
27435 We're a real inplace element.
27437 * gst/gstbus.c: (gst_bus_post):
27438 Added some comments.
27440 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27441 * tests/muxing/case1.c: (main):
27442 * tests/sched/dynamic-pipeline.c: (main):
27443 * tests/sched/interrupt1.c: (main):
27444 * tests/sched/interrupt2.c: (main):
27445 * tests/sched/interrupt3.c: (main):
27446 * tests/sched/runxml.c: (main):
27447 * tests/sched/sched-stress.c: (main):
27448 * tests/seeking/seeking1.c: (event_received), (main):
27449 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27451 * tests/threadstate/threadstate3.c: (main):
27452 * tests/threadstate/threadstate4.c: (main):
27453 * tests/threadstate/threadstate5.c: (main):
27456 2005-07-21 Wim Taymans <wim@fluendo.com>
27458 * docs/design/part-seeking.txt:
27459 Some small additions.
27461 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27462 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27463 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27464 * gst/base/gstbasesink.h:
27465 discont values are gint64, handle the math correctly.
27467 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27468 Make the basesrc report error if the source pad is not linked.
27470 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27471 (gst_queue_loop), (gst_queue_handle_src_query),
27472 (gst_queue_src_activate_push):
27473 Make queue collect data even if the srcpad is not linked.
27474 Start pushing out data as soon as it is linked.
27476 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27478 Added gst_flow_get_name() to ease error reporting.
27480 2005-07-20 Wim Taymans <wim@fluendo.com>
27482 * gst/gstmessage.c: (gst_message_new_segment_start),
27483 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27484 (gst_message_parse_segment_done):
27485 * gst/gstmessage.h:
27486 Added a bunch of messages for advanced seeking.
27488 * gst/parse/grammar.y:
27489 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27490 (gst_dpman_state_changed):
27491 Fix some new-pad -> pad-added signals
27493 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27495 * docs/manual/appendix-porting.xml:
27496 * docs/pwg/appendix-porting.xml:
27497 Document new-pad/state-change signal renames and the FixedList
27500 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27502 * docs/manual/advanced-autoplugging.xml:
27503 * docs/manual/basics-helloworld.xml:
27504 * docs/manual/basics-pads.xml:
27505 * docs/random/ds/0.9-suggested-changes:
27506 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27507 * gst/gstelement.h:
27511 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27512 (gst_structure_parse_array), (gst_structure_parse_value):
27513 * gst/gstvalue.c: (gst_type_is_fixed),
27514 (gst_value_list_prepend_value), (gst_value_list_append_value),
27515 (gst_value_list_get_size), (gst_value_list_get_value),
27516 (gst_value_transform_array_string), (gst_value_serialize_array),
27517 (gst_value_deserialize_array), (gst_value_intersect_array),
27518 (gst_value_is_fixed), (_gst_value_initialize):
27520 GstElement::new-pad -> pad-added, GstElement::state-change ->
27521 state-changed, GstValueFixedList -> GstValueArray, add format and
27522 flags as their own arguments in gst_element_seek() (should improve
27523 "bindeability"), remove function generators since they don't work
27524 under a whole bunch of compilers (they were deprecated already
27527 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27529 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27530 (_gst_debug_register_funcptr):
27532 Fix illegal cast on some platforms (#309253).
27534 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27536 * gst/gstmessage.c: (gst_message_new_custom):
27537 * gst/gstmessage.h:
27538 Add _new_custom, make _new_application a macro to _new_custom.
27540 2005-07-20 Wim Taymans <wim@fluendo.com>
27542 * gst/base/gstbasesrc.c: (gst_base_src_init),
27543 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27544 * gst/base/gstbasesrc.h:
27545 Add a gboolean to decide when to push out a discont.
27547 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27548 (gst_queue_loop), (gst_queue_handle_src_query),
27549 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27550 (gst_queue_set_property), (gst_queue_get_property):
27553 * tests/threadstate/threadstate1.c: (main):
27554 Make a thread test compile and run... very silly..
27557 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27559 * docs/manual/appendix-porting.xml:
27560 Mention removal of libgstgconf-0.9.la and existence of gconf
27563 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27565 * docs/pwg/advanced-clock.xml:
27566 * docs/pwg/appendix-porting.xml:
27567 * docs/pwg/intro-preface.xml:
27568 * docs/pwg/other-base.xml:
27569 * docs/pwg/other-manager.xml:
27570 * docs/pwg/other-nton.xml:
27571 * docs/pwg/other-ntoone.xml:
27572 * docs/pwg/other-oneton.xml:
27573 * docs/pwg/pwg.xml:
27574 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27575 demuxer), remove n-to-n (was never written), fix some code examples
27576 and links and update the porting section to include all this.
27578 2005-07-19 Wim Taymans <wim@fluendo.com>
27580 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27581 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27582 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27583 (gst_queue_src_activate_push), (gst_queue_change_state),
27584 (gst_queue_get_property):
27586 Propagate GstFlowReturn more intelligently upstream and output
27587 an ERROR/EOS when streaming stopped due to fatal error.
27589 2005-07-19 Wim Taymans <wim@fluendo.com>
27591 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27592 Don't block forever for the state change to complete, the
27593 pipeline already did with a sensible timeout.
27595 2005-07-19 Wim Taymans <wim@fluendo.com>
27597 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27598 Make sure we never call the create function is we
27601 2005-07-19 Andy Wingo <wingo@pobox.com>
27603 * gst/parse/parse.l: Attempt to solve bug #172815.
27605 2005-07-19 Wim Taymans <wim@fluendo.com>
27607 * docs/design/part-clocks.txt:
27608 * docs/design/part-events.txt:
27609 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27610 Small docs updates.
27611 Only update the seeking values when we are not
27614 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27616 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27617 Oops, ignore the result of gst_pad_push_event here.
27619 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27621 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27622 (gst_base_src_activate_push):
27623 Send discont event from the loop function, as pads
27624 aren't activated yet in the activate_push handler.
27626 * gst/gstbin.c: (bin_bus_handler):
27627 Don't leak element name.
27629 2005-07-18 Andy Wingo <wingo@pobox.com>
27631 * configure.ac: Use AS_LIBTOOL_TAGS.
27633 2005-07-18 Wim Taymans <wim@fluendo.com>
27635 * docs/gst/gstreamer.types:
27636 Remove deleted types.
27638 2005-07-18 Wim Taymans <wim@fluendo.com>
27640 * check/elements/gstfakesrc.c: (GST_START_TEST):
27643 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27644 (init_popt_callback):
27646 * gst/gst_private.h:
27647 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27648 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27651 * gst/gstconfig.h.in:
27652 * gst/gstelement.c: (gst_element_class_init),
27653 (gst_element_set_base_time), (gst_element_get_base_time),
27654 (iterator_fold_with_resync), (gst_element_change_state),
27655 (gst_element_dispose), (gst_element_get_bus):
27656 * gst/gstelement.h:
27657 * gst/gstelementfactory.h:
27658 * gst/gsterror.c: (_gst_core_errors_init):
27661 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27663 * gst/gstinfo.c: (_gst_debug_init):
27664 * gst/gstmessage.c: (_gst_message_copy):
27665 * gst/gstmessage.h:
27666 * gst/gstminiobject.h:
27669 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27670 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27673 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27674 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27675 (gst_pipeline_get_last_stream_time):
27676 * gst/gstpipeline.h:
27677 * gst/gstpluginfeature.h:
27679 * gst/gstscheduler.c:
27680 * gst/gstscheduler.h:
27681 * gst/gststructure.h:
27682 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27683 (gst_task_finalize), (gst_task_func), (gst_task_create),
27684 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27685 (gst_task_stop), (gst_task_pause):
27687 * gst/gsttypefind.h:
27689 * gst/registries/gstlibxmlregistry.c: (load_feature),
27690 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27691 * gst/registries/gstxmlregistry.c:
27692 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27693 * gst/schedulers/threadscheduler.c:
27694 * libs/gst/control/dparammanager.h:
27695 * tools/gst-inspect.c: (print_element_list),
27696 (print_plugin_features), (print_element_features):
27697 * tools/gst-xmlinspect.c: (print_element_list),
27698 (print_plugin_info), (main):
27699 Removed plugable schedulers.
27700 Removed Scheduler/Manager from elements.
27701 Removed gsttypes.h, rearranged includes.
27702 Removed dependency pad<->element, element<>pipeline, and
27703 various others, fix includes.
27704 implement gst_pad_get_parent() with gst_object_get_parent()
27705 Make GstTask sefcontained.
27706 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27708 Fix endless loop in iterator_fold_with_resync.
27711 2005-07-18 Wim Taymans <wim@fluendo.com>
27717 2005-07-18 Wim Taymans <wim@fluendo.com>
27720 No more cothreads.h
27722 2005-07-18 Wim Taymans <wim@fluendo.com>
27726 Let's remove these.
27728 2005-07-18 Wim Taymans <wim@fluendo.com>
27730 * docs/design/part-dynamic.txt:
27731 * docs/design/part-events.txt:
27732 * docs/design/part-seeking.txt:
27733 Some more docs in the works.
27735 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27736 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27737 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27738 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27739 (gst_base_transform_handle_buffer),
27740 (gst_base_transform_sink_activate_push),
27741 (gst_base_transform_src_activate_pull),
27742 (gst_base_transform_set_passthrough),
27743 (gst_base_transform_is_passthrough):
27746 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27749 * gst/gstevent.c: (gst_event_finalize):
27752 * gst/gstutils.c: (gst_element_unlink),
27753 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27754 (gst_pad_proxy_setcaps):
27756 Add _get_parent_element() to get a pads parent as an element.
27758 2005-07-18 Wim Taymans <wim@fluendo.com>
27760 * check/gst/gstbin.c: (GST_START_TEST):
27763 2005-07-18 Wim Taymans <wim@fluendo.com>
27765 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27766 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27767 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27768 (gst_base_sink_event), (gst_base_sink_do_sync),
27769 (gst_base_sink_chain), (gst_base_sink_loop),
27770 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27771 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27773 Fix logic for returning ASYNC when not prerolled.
27775 2005-07-18 Wim Taymans <wim@fluendo.com>
27777 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27778 Fix nasty refcount bug.
27780 2005-07-16 Philippe Khalaf <burger@speedy.org>
27782 * gst/elements/gstfdsrc.c:
27783 * gst/elements/gstfdsrc.h:
27784 * gst/elements/gstelements.c:
27785 * gst/elements/Makefile.am:
27786 Ported fdsrc to 0.9.
27788 2005-07-16 Wim Taymans <wim@fluendo.com>
27790 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27791 (gst_base_sink_do_sync):
27794 2005-07-16 Wim Taymans <wim@fluendo.com>
27796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27797 (gst_base_sink_event), (gst_base_sink_get_times),
27798 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27799 * gst/base/gstbasesink.h:
27800 Store and use discont values when syncing buffers as described
27803 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27804 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27805 (gst_base_src_activate_push):
27806 Push discont event when starting.
27808 * gst/elements/gstidentity.c: (gst_identity_transform):
27811 * gst/gstbin.c: (gst_bin_change_state):
27812 Small cleanups in base_time distribution.
27814 * gst/gstelement.c: (gst_element_set_base_time),
27815 (gst_element_get_base_time), (gst_element_change_state):
27816 * gst/gstelement.h:
27817 Added methods for the base_time of the element.
27820 * gst/gstpipeline.c: (gst_pipeline_send_event),
27821 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27822 (gst_pipeline_get_last_stream_time):
27823 * gst/gstpipeline.h:
27825 Handle seeking as described in design doc, remove stream_time
27827 Cleanups clock and stream_time selection code. Added accessors
27828 for the stream_time.
27831 2005-07-16 Andy Wingo <wingo@pobox.com>
27833 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27836 2005-07-16 Wim Taymans <wim@fluendo.com>
27838 * check/gst/gstbin.c: (GST_START_TEST):
27839 Make elements silent as the deep_notify refs the
27840 parent, which might make the test fail.
27842 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27843 Don't hold the lock for too long.
27845 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27847 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27848 Don't unref the caps we passed to gst_caps_make_writable() after
27849 passing them. gst_caps_make_writable() will do that for us.
27851 2005-07-15 Andy Wingo <wingo@pobox.com>
27853 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27856 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27857 own marshalling function for the handoff signal. Properly type the
27858 buffer as a buffer. Fixes some warnings. Should do a more general
27860 (gst_identity_class_init): Plug into the right marshaller.
27862 2005-07-15 Wim Taymans <wim@fluendo.com>
27864 * docs/design/part-TODO.txt:
27865 * docs/design/part-clocks.txt:
27866 * docs/design/part-element-sink.txt:
27867 * docs/design/part-events.txt:
27868 * docs/design/part-gstpipeline.txt:
27869 Updated docs, mostly DISCONT related.
27871 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27873 * docs/pwg/building-pads.xml:
27874 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27876 2005-07-15 Andy Wingo <wingo@pobox.com>
27878 * tools/gst-typefind.c: Update, add copyright block.
27880 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27881 Normalize and truncate caps before fixation.
27884 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27885 discards all but the first structure from its argument.
27887 2005-07-15 Wim Taymans <wim@fluendo.com>
27889 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27890 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27891 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27892 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27893 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27894 (gst_base_transform_chain), (gst_base_transform_change_state),
27895 (gst_base_transform_set_passthrough),
27896 (gst_base_transform_is_passthrough):
27897 * gst/base/gstbasetransform.h:
27898 Make passthrough work using the bufferpools.
27899 Changed API a bit, subclasses have to write into a buffer
27900 provided by the base class.
27901 More debug info in nego functions.
27903 * gst/elements/gstidentity.c: (gst_identity_init),
27904 (gst_identity_transform):
27905 Port to new base class.
27907 2005-07-15 Wim Taymans <wim@fluendo.com>
27909 * gst/gstmessage.c: (gst_message_new_state_changed):
27910 * tools/gst-launch.c: (event_loop), (main):
27911 Totally dump messages in -launch with the -m option.
27912 Fix message name for State messages,
27914 2005-07-14 Wim Taymans <wim@fluendo.com>
27916 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27917 Post error messages on errors.
27919 2005-07-14 Wim Taymans <wim@fluendo.com>
27921 * gst/gstcaps.c: (gst_caps_do_simplify):
27925 Define error for stream stopped.
27927 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27928 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27929 Do proper return values.
27931 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27932 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27933 (gst_pad_get_range):
27934 Better return values.
27937 Reorganise return values, add macro to check for fatal errors.
27939 * gst/gstqueue.c: (gst_queue_chain):
27940 Return proper GstFlowReturn values,
27942 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27944 * docs/gst/gstreamer-sections.txt:
27945 * docs/gst/gstreamer.types:
27946 * docs/gst/tmpl/gst.sgml:
27947 * docs/gst/tmpl/gstbasesink.sgml:
27948 * docs/gst/tmpl/gstbasesrc.sgml:
27949 * docs/gst/tmpl/gstbasetransform.sgml:
27950 * docs/gst/tmpl/gstbin.sgml:
27951 * docs/gst/tmpl/gstbuffer.sgml:
27952 * docs/gst/tmpl/gstcaps.sgml:
27953 * docs/gst/tmpl/gstclock.sgml:
27954 * docs/gst/tmpl/gstcompat.sgml:
27955 * docs/gst/tmpl/gstconfig.sgml:
27956 * docs/gst/tmpl/gstelement.sgml:
27957 * docs/gst/tmpl/gstelementdetails.sgml:
27958 * docs/gst/tmpl/gstelementfactory.sgml:
27959 * docs/gst/tmpl/gstenumtypes.sgml:
27960 * docs/gst/tmpl/gsterror.sgml:
27961 * docs/gst/tmpl/gstevent.sgml:
27962 * docs/gst/tmpl/gstfakesink.sgml:
27963 * docs/gst/tmpl/gstfakesrc.sgml:
27964 * docs/gst/tmpl/gstfilesink.sgml:
27965 * docs/gst/tmpl/gstfilesrc.sgml:
27966 * docs/gst/tmpl/gstfilter.sgml:
27967 * docs/gst/tmpl/gstformat.sgml:
27968 * docs/gst/tmpl/gstghostpad.sgml:
27969 * docs/gst/tmpl/gstimplementsinterface.sgml:
27970 * docs/gst/tmpl/gstindex.sgml:
27971 * docs/gst/tmpl/gstindexfactory.sgml:
27972 * docs/gst/tmpl/gstinfo.sgml:
27973 * docs/gst/tmpl/gstiterator.sgml:
27974 * docs/gst/tmpl/gstmacros.sgml:
27975 * docs/gst/tmpl/gstmemchunk.sgml:
27976 * docs/gst/tmpl/gstminiobject.sgml:
27977 * docs/gst/tmpl/gstobject.sgml:
27978 * docs/gst/tmpl/gstpad.sgml:
27979 * docs/gst/tmpl/gstpadtemplate.sgml:
27980 * docs/gst/tmpl/gstparse.sgml:
27981 * docs/gst/tmpl/gstpipeline.sgml:
27982 * docs/gst/tmpl/gstplugin.sgml:
27983 * docs/gst/tmpl/gstpluginfeature.sgml:
27984 * docs/gst/tmpl/gstquery.sgml:
27985 * docs/gst/tmpl/gstqueue.sgml:
27986 * docs/gst/tmpl/gstregistry.sgml:
27987 * docs/gst/tmpl/gstregistrypool.sgml:
27988 * docs/gst/tmpl/gstscheduler.sgml:
27989 * docs/gst/tmpl/gstschedulerfactory.sgml:
27990 * docs/gst/tmpl/gststructure.sgml:
27991 * docs/gst/tmpl/gstsystemclock.sgml:
27992 * docs/gst/tmpl/gsttaglist.sgml:
27993 * docs/gst/tmpl/gsttagsetter.sgml:
27994 * docs/gst/tmpl/gsttrace.sgml:
27995 * docs/gst/tmpl/gsttrashstack.sgml:
27996 * docs/gst/tmpl/gsttypefind.sgml:
27997 * docs/gst/tmpl/gsttypefindfactory.sgml:
27998 * docs/gst/tmpl/gsttypes.sgml:
27999 * docs/gst/tmpl/gsturihandler.sgml:
28000 * docs/gst/tmpl/gsturitype.sgml:
28001 * docs/gst/tmpl/gstutils.sgml:
28002 * docs/gst/tmpl/gstvalue.sgml:
28003 * docs/gst/tmpl/gstversion.sgml:
28004 * docs/gst/tmpl/gstxml.sgml:
28005 * docs/libs/tmpl/gstcontrol.sgml:
28006 * docs/libs/tmpl/gstdataprotocol.sgml:
28007 * docs/libs/tmpl/gstdparam.sgml:
28008 * docs/libs/tmpl/gstdplinint.sgml:
28009 * docs/libs/tmpl/gstdpman.sgml:
28010 * docs/libs/tmpl/gstdpsmooth.sgml:
28011 * docs/libs/tmpl/gstgetbits.sgml:
28012 * docs/libs/tmpl/gstunitconvert.sgml:
28013 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28014 (gst_push_src_base_init), (gst_push_src_class_init),
28015 (gst_push_src_init), (gst_push_src_create):
28016 * gst/base/gstpushsrc.h:
28017 * gst/elements/gstelements.c:
28018 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28019 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28020 (gst_fake_sink_init), (gst_fake_sink_set_property),
28021 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28022 (gst_fake_sink_event), (gst_fake_sink_preroll),
28023 (gst_fake_sink_render), (gst_fake_sink_change_state):
28024 * gst/elements/gstfakesink.h:
28025 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28026 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28027 (gst_fake_src_base_init), (gst_fake_src_class_init),
28028 (gst_fake_src_init), (gst_fake_src_event_handler),
28029 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28030 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28031 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28032 (gst_fake_src_create_buffer), (gst_fake_src_create),
28033 (gst_fake_src_start), (gst_fake_src_stop):
28034 * gst/elements/gstfakesrc.h:
28035 * gst/elements/gstfilesink.c: (_do_init),
28036 (gst_file_sink_base_init), (gst_file_sink_class_init),
28037 (gst_file_sink_init), (gst_file_sink_dispose),
28038 (gst_file_sink_set_location), (gst_file_sink_set_property),
28039 (gst_file_sink_get_property), (gst_file_sink_open_file),
28040 (gst_file_sink_close_file), (gst_file_sink_query),
28041 (gst_file_sink_event), (gst_file_sink_render),
28042 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28043 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28044 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28045 * gst/elements/gstfilesink.h:
28046 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28047 (gst_file_src_class_init), (gst_file_src_init),
28048 (gst_file_src_finalize), (gst_file_src_set_location),
28049 (gst_file_src_set_property), (gst_file_src_get_property),
28050 (gst_file_src_map_region), (gst_file_src_map_small_region),
28051 (gst_file_src_create_mmap), (gst_file_src_create_read),
28052 (gst_file_src_create), (gst_file_src_is_seekable),
28053 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28054 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28055 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28056 (gst_file_src_uri_handler_init):
28057 * gst/elements/gstfilesrc.h:
28058 more autistic cleanliness in functions/names/defines
28060 2005-07-13 Andy Wingo <wingo@pobox.com>
28062 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28063 source couldn't negotiate.
28065 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28069 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28070 function. I am channeling Hades. Put your boots on suckers!!!
28072 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28074 * testsuite/caps/Makefile.am:
28075 * testsuite/caps/value_compare.c:
28076 * testsuite/caps/value_intersect.c:
28077 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28078 move two testsuite apps over to the check dir
28080 2005-07-12 Wim Taymans <wim@fluendo.com>
28082 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28083 Added more debug info in the negotiate process.
28085 * gst/gstmessage.h:
28086 Prepare for segment playback.
28088 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28094 * tools/gst-launch.c: (main):
28095 NULL pipeline on errors.
28097 2005-07-12 Andy Wingo <wingo@pobox.com>
28099 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28100 not it comes from a malloc region. Make sure our copy gets freed.
28102 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28104 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28105 * check/gst/gstmessage.c: (GST_START_TEST):
28106 * check/gst/gststructure.c: (GST_START_TEST),
28107 (gst_structure_suite), (main):
28109 * gst/gstelement.c: (gst_element_message_full):
28110 clean up GError and debug string now that they get copied
28111 * gst/gstmessage.c: (gst_message_new_error),
28112 (gst_message_new_warning), (gst_message_parse_error),
28113 (gst_message_parse_warning):
28114 use GST_TYPE_G_ERROR for structure_new, and take copies of
28115 arguments, so that we don't mess up refcounting
28117 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28119 * check/Makefile.am:
28120 add per-test valgrind targets
28121 * check/gst-libs/gdp.c: (GST_START_TEST),
28122 (gst_data_protocol_suite), (main):
28125 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28127 * check/Makefile.am:
28128 instate more valgrindable tests
28129 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28130 (GST_START_TEST), (fakesrc_suite):
28131 * check/gst/gstpad.c: (GST_START_TEST):
28132 * check/gst/gststructure.c: (GST_START_TEST):
28134 * docs/gst/tmpl/gstminiobject.sgml:
28135 * gst/gstpad.c: (gst_pad_finalize):
28136 fix the static mutex leak
28138 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28140 * check/Makefile.am:
28141 add two more tests for valgrinding
28142 * check/gst/gstvalue.c: (GST_START_TEST):
28143 test refcount of deserialized buffer, found a leak
28144 * docs/gst/gstreamer-docs.sgml:
28145 * docs/gst/gstreamer-sections.txt:
28146 * docs/gst/gstreamer.types:
28147 * docs/gst/tmpl/gstminiobject.sgml:
28148 add miniobject to docs
28149 * gst/gstminiobject.c:
28151 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28152 (gst_string_unwrap):
28153 fix a hard-to-find invalid write for one of the tests
28154 fix a leak for deserialized buffers
28156 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28158 * docs/pwg/advanced-events.xml:
28159 * docs/pwg/advanced-request.xml:
28160 * docs/pwg/advanced-scheduling.xml:
28161 * docs/pwg/appendix-porting.xml:
28162 * docs/pwg/building-boiler.xml:
28163 * docs/pwg/intro-preface.xml:
28164 * docs/pwg/other-ntoone.xml:
28165 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28166 of example code and explanation for pad activation, loop() and
28167 getrange() functions and a bit more. Remove old comments pointing
28169 * examples/pwg/Makefile.am:
28170 Add loop/getrange examples.
28172 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28175 check for valgrind binary + some fixes
28177 valgrind suppressions for the tests
28178 * check/Makefile.am:
28179 add a valgrind: target that valgrinds the unit tests
28180 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28181 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28182 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28183 * check/gst/gstghostpad.c:
28185 * check/gst/gstdata.c:
28187 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28188 (thread_unref), (gst_mini_object_suite), (main):
28190 * gst/gst.c: (gst_deinit):
28192 add a method to clean up.
28193 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28194 (gst_system_clock_obtain):
28195 allow for disposing the system clock.
28196 * tools/gst-launch.c: (main):
28199 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28201 * docs/gst/tmpl/gstbasesrc.sgml:
28202 * docs/gst/tmpl/gstfakesrc.sgml:
28203 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28204 (gst_base_src_init), (gst_base_src_set_property),
28205 (gst_base_src_get_property), (gst_base_src_get_range),
28206 (gst_base_src_start):
28207 * gst/base/gstbasesrc.h:
28208 add num-buffers property
28209 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28210 (gst_fakesrc_init), (gst_fakesrc_set_property),
28211 (gst_fakesrc_get_property), (gst_fakesrc_create),
28212 (gst_fakesrc_start):
28213 remove num-buffers property
28215 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28217 * docs/gst/gstreamer-sections.txt:
28218 * docs/gst/tmpl/gstbasesink.sgml:
28219 * docs/gst/tmpl/gstbasesrc.sgml:
28220 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28221 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28222 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28223 (gst_base_sink_set_property), (gst_base_sink_get_property),
28224 (gst_base_sink_handle_object), (gst_base_sink_event),
28225 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28226 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28227 (gst_base_sink_loop), (gst_base_sink_deactivate),
28228 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28229 (gst_base_sink_change_state):
28230 * gst/base/gstbasesink.h:
28231 * gst/base/gstbasesrc.h:
28232 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28233 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28234 (gst_filesink_init):
28235 more macro splitting
28237 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28239 * gst/gstelement.c: (gst_element_get_bus):
28241 * tools/gst-launch.c: (check_intr), (event_loop):
28244 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28246 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28249 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28251 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28252 (gst_base_src_finalize):
28253 add finalize method and clean up properly
28254 * gst/gstpipeline.c: (gst_pipeline_dispose):
28257 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28259 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28261 add more things to check
28262 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28263 * gst/gstelement.c:
28266 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28268 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28269 (GST_START_TEST), (fakesrc_suite):
28270 * check/gst-libs/gdp.c: (GST_START_TEST):
28271 * check/gst/gst.c: (GST_START_TEST):
28272 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28273 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28274 * check/gst/gstbus.c: (GST_START_TEST):
28275 * check/gst/gstcaps.c: (GST_START_TEST):
28276 * check/gst/gstdata.c: (GST_START_TEST):
28277 * check/gst/gstelement.c: (GST_START_TEST):
28278 * check/gst/gstghostpad.c: (GST_START_TEST):
28279 * check/gst/gstiterator.c: (GST_START_TEST):
28280 * check/gst/gstmessage.c: (GST_START_TEST):
28281 * check/gst/gstobject.c: (GST_START_TEST):
28282 * check/gst/gstpad.c: (GST_START_TEST):
28283 * check/gst/gststructure.c: (GST_START_TEST):
28284 * check/gst/gstsystemclock.c: (GST_START_TEST),
28285 (gst_systemclock_suite):
28286 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28287 * check/gst/gstvalue.c: (GST_START_TEST):
28288 * check/pipelines/cleanup.c: (GST_START_TEST):
28289 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28290 * check/states/sinks.c: (GST_START_TEST):
28291 * check/gstcheck.c: (gst_check_init):
28292 * check/gstcheck.h:
28293 add debugging category
28294 use GST_START_TEST now, so we add a debug line
28296 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28298 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28299 add test for state change message on a bin
28300 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28302 * gst/gstbin.c: (gst_bin_init):
28303 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28304 * gst/gstelement.c: (gst_element_post_message),
28305 (gst_element_set_state):
28306 * gst/gstelementfactory.c: (gst_element_factory_create):
28307 * gst/gstmessage.c: (gst_message_new):
28308 * gst/gstscheduler.c:
28309 various debugging additions and cleanups
28311 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28313 * check/Makefile.am:
28314 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28316 adding tests for elements
28317 * gst/gstelement.c: (gst_element_dispose):
28319 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28321 * gst/registries/gstlibxmlregistry.c: (load_feature):
28322 plug more leaks. A simple gst_init() now is leakfree, yay.
28324 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28326 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28327 (gst_xml_registry_load):
28328 plug another memleak
28330 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28333 use GST_SET_ERROR_CFLAGS
28334 * docs/faq/cvs.xml:
28335 change to ERROR_CFLAGS
28337 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28340 make GST_ERROR_CFLAGS overridable and re-enable Werror
28341 * docs/faq/cvs.xml:
28342 add a note about error CFLAGS
28343 * docs/gst/tmpl/gstfakesrc.sgml:
28344 * gst/elements/gstfakesrc.c:
28345 comment out some unused code
28346 * gst/gst.c: (split_and_iterate):
28347 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28351 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28353 * common/Makefile.am:
28354 * common/gtk-doc.mak:
28355 * docs/gst/Makefile.am:
28356 factor out gtk-doc.mak
28358 2005-07-07 Wim Taymans <wim@fluendo.com>
28360 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28361 (gst_thread_scheduler_dispose):
28362 Unlock the STREAM_LOCK completely.
28364 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28366 * check/Makefile.am:
28367 * check/elements/.cvsignore:
28368 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28369 (START_TEST), (fakesrc_suite), (main):
28370 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28371 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28372 (gst_fakesrc_create), (gst_fakesrc_start):
28373 * gst/elements/gstfakesrc.h:
28374 adding a first element test
28376 2005-07-07 Andy Wingo <wingo@pobox.com>
28378 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28381 2005-07-07 Wim Taymans <wim@fluendo.com>
28387 2005-07-07 Wim Taymans <wim@fluendo.com>
28389 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28390 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28391 Allow subclasses to implement their own negotiation.
28393 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28395 * docs/design/part-gstbin.txt:
28396 * docs/design/part-gstpipeline.txt:
28397 Update design notes to reflect the movement of
28398 responsibility for bus handling from GstPipeline to
28401 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28404 Remove unnecessary queue2/3/4 examples.
28406 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28408 * examples/Makefile.am:
28409 * examples/helloworld/helloworld.c: (event_loop), (main):
28410 * examples/queue/queue.c: (event_loop), (main):
28411 * examples/queue2/queue2.c: (main):
28412 Update a couple of the examples to work again.
28414 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28415 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28416 Spelling corrections and extra debug.
28418 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28419 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28420 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28422 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28423 (gst_pipeline_change_state):
28424 * gst/gstpipeline.h:
28425 Move the bus handler for children to the GstBin, and create a
28426 separate bus for receiving messages from children to the one the
28427 bus sends 'upwards' on.
28429 2005-07-06 Wim Taymans <wim@fluendo.com>
28432 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28433 (gst_base_sink_handle_object), (gst_base_sink_loop),
28434 (gst_base_sink_change_state):
28435 * gst/base/gstbasesink.h:
28436 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28437 (gst_base_src_init), (gst_base_src_setcaps),
28438 (gst_base_src_getcaps), (gst_base_src_loop),
28439 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28440 (gst_base_src_start), (gst_base_src_change_state):
28441 * gst/base/gstbasesrc.h:
28442 Make basesrc negotiate.
28443 Handle the case where preroll fails in basesink.
28446 2005-07-06 Wim Taymans <wim@fluendo.com>
28448 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28449 Implement the fixate function.
28450 Clean up acceptcaps.
28452 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28454 * docs/pwg/building-filterfactory.xml:
28455 * docs/pwg/pwg.xml:
28456 Remove never-written filter-factory chapter; I'll add the various
28457 base classes to part 4 ("other element types") later on.
28459 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28461 * docs/pwg/advanced-negotiation.xml:
28462 * docs/pwg/building-boiler.xml:
28463 * docs/pwg/building-pads.xml:
28464 * docs/pwg/pwg.xml:
28465 * examples/pwg/Makefile.am:
28466 Add a chapter on caps negotiation, simplify the original code
28467 samples a bit w.r.t. caps negotiation, add link to the advanced
28468 section. Add a bunch of examples showing different use cases of
28469 different types of caps negotiation. Upstream renegotiation isn't
28470 fully documented yet since nobody knows how that works.
28472 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28474 * check/gst/gstpad.c:
28475 * check/gstcheck.c:
28476 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28477 if pad has no parent, return NULL as list of internal links
28479 2005-07-05 Andy Wingo <wingo@pobox.com>
28481 * gst/elements/gstfilesrc.c:
28482 * gst/elements/gstfakesrc.c:
28483 * gst/base/gstpushsrc.c:
28484 * gst/base/gstbasesrc.h:
28485 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28487 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28490 better report generation target (lcov needs a patch)
28492 2005-07-05 Andy Wingo <wingo@pobox.com>
28494 * gst/elements, testsuite: Null if we got it...
28496 2005-07-05 Wim Taymans <wim@fluendo.com>
28499 * libs/gst/dataprotocol/Makefile.am:
28500 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28501 * libs/gst/dataprotocol/dataprotocol.h:
28502 * pkgconfig/Makefile.am:
28503 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28504 * pkgconfig/gstreamer-dataprotocol.pc.in:
28505 Ported dataprotol to 0.9.
28506 Added pkgconfig files.
28508 2005-07-05 Andy Wingo <wingo@pobox.com>
28510 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28511 Default to returning TRUE for the case when tranform_caps returns
28512 a fixed caps, like for identity or volume.
28514 * check/gst/gstbus.c (pound_bus_with_messages):
28515 * check/gst/gstmessage.c (START_TEST):
28516 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28517 message API change.
28519 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28520 logic weaks here: always run transform_caps, trying passthrough
28521 operation only if the original caps intersects with the transform.
28523 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28524 source and sink caps.
28526 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28527 Intersect the peer caps with the pad template before going into
28529 (gst_base_transform_transform_caps): More debugging.
28531 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28534 2005-07-04 Edward Hervey <edward@fluendo.com>
28538 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28541 2005-07-04 Andy Wingo <wingo@pobox.com>
28543 * check/gst/gstpad.c: Only set explicit caps on pads.
28545 2005-07-01 Andy Wingo <wingo@pobox.com>
28547 * tests/network-clock.scm: Commentary update.
28549 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28550 Didn't really make sense, not implementable with basetransform,
28552 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28553 attempt at implementing the sync property, needs an unlock method.
28555 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28556 New func, by default returns the same caps (the identity
28558 (gst_base_transform_getcaps): Uses transform_caps to return
28559 something sensible.
28560 (gst_base_transform_setcaps): Complicated logic to get caps on
28561 both pads, even if they are different, and to call set_caps once
28562 for every time both pads get their caps set.
28563 (gst_base_transform_handle_buffer): Give the ref to the transform
28564 function. Allows in-place modification of the buffer.
28566 * gst/base/gstbasetransform.h (transform_caps): New class method.
28567 Given caps on one side, what can I do on the other.
28568 (set_caps): Take two caps, one for each side of the element.
28571 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28572 caps in place. This is safe because we can check the mutability of
28573 the caps, and a good idea because fixate functions are just called
28574 as a matter of last resort. (Not actually implemented.)
28575 (gst_pad_set_caps): If the caps we're setting is actually the same
28576 as the existing pad caps, just update the pointer without calling
28577 setcaps. Assert that caps is either NULL or fixed, as per the
28580 * gst/gstghostpad.c: Update for fixate changes.
28582 2005-07-02 Andy Wingo <wingo@pobox.com>
28585 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28586 two refcounts makes it immutable, which is enough. Doc more.
28588 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28590 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28591 Put the mini_object into GValue as a mini_object,
28592 not a gpointer, since that's how we declared
28595 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28597 * examples/pwg/Makefile.am:
28598 Fix buildbot again.
28600 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28602 * docs/pwg/building-testapp.xml:
28604 * examples/pwg/Makefile.am:
28607 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28610 * examples/Makefile.am:
28611 * examples/pwg/Makefile.am:
28612 * examples/pwg/extract.pl:
28613 Enable building the PWG examples.
28614 * docs/pwg/advanced-interfaces.xml:
28615 Add URI interface stub.
28616 * docs/pwg/advanced-types.xml:
28617 * docs/pwg/other-autoplugger.xml:
28618 * docs/pwg/appendix-porting.xml:
28619 * docs/pwg/pwg.xml:
28620 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28621 * docs/pwg/building-boiler.xml:
28622 * docs/pwg/building-chainfn.xml:
28623 * docs/pwg/building-pads.xml:
28624 * docs/pwg/building-props.xml:
28625 * docs/pwg/building-state.xml:
28626 * docs/pwg/building-testapp.xml:
28627 Update the building-*.xml parts for 0.9 changes. All examples
28628 code blocks compile in examples/pwg/*.
28630 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28632 * docs/manual/advanced-autoplugging.xml:
28633 * docs/manual/appendix-checklist.xml:
28634 * docs/manual/appendix-integration.xml:
28635 * docs/manual/highlevel-components.xml:
28636 Fix playbin/decodebin examples, update docs a bit, mention bus
28637 instead of signals in various places, mention kmplayer and
28638 kaffeine since they have a working GStreamer backend in the KDE
28641 2005-06-30 Wim Taymans <wim@fluendo.com>
28644 * docs/design/draft-ghostpads.txt:
28645 * docs/design/draft-push-pull.txt:
28646 * docs/design/draft-query.txt:
28647 * docs/design/part-TODO.txt:
28648 * docs/design/part-query.txt:
28649 Added CHANGES-0.9 doc, updated status of other docs.
28654 2005-06-30 Wim Taymans <wim@fluendo.com>
28656 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28657 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28658 (gst_base_sink_change_state):
28659 * gst/base/gstbasesink.h:
28660 Some tweaks, only EOS and a buffer complete a preroll.
28662 2005-06-30 Andy Wingo <wingo@pobox.com>
28664 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28665 activate_push down to the internal pad as well.
28667 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28669 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28671 * gst/gsttaginterface.c:
28672 Some documentation fixes (#307394 and #307397).
28674 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28676 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28678 * gst/gstvalue.c: (gst_value_intersect_list):
28679 Fix memleak (#309125).
28681 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28683 * docs/manual/advanced-dataaccess.xml:
28684 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28685 * docs/manual/basics-pads.xml:
28686 Add reference for filtered caps to above chapter.
28688 2005-06-30 Wim Taymans <wim@fluendo.com>
28690 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28691 (gst_bin_change_state):
28693 Lame attempt at making the state change function a bit
28696 2005-06-30 Wim Taymans <wim@fluendo.com>
28698 * docs/design/part-clocks.txt:
28699 * docs/design/part-element-sink.txt:
28700 * docs/design/part-events.txt:
28701 * docs/design/part-preroll.txt:
28702 * docs/design/part-states.txt:
28703 Some more tweeks and additions to the docs.
28705 2005-06-30 Wim Taymans <wim@fluendo.com>
28707 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28708 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28709 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28710 (gst_pad_check_pull_range), (gst_pad_get_range),
28711 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28713 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28714 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28715 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28716 (gst_pad_remove_buffer_probe):
28717 Removed atomic operations, use existing LOCK.
28718 Move exception handling out of main code path.
28720 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28722 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28723 (silly_return_true_function), (gst_pad_class_init),
28724 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28725 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28726 (gst_pad_send_event):
28727 Fix accumulator, add default value by using _emitv() instead
28728 of _emit() for signal emission.
28730 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28732 * docs/manual/advanced-dataaccess.xml:
28733 * examples/manual/Makefile.am:
28735 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28738 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28740 * gst/elements/gstfilesink.c: (gst_filesink_render):
28741 Simplify code so that we don't have to handle short
28742 writes and return GST_FLOW_ERROR if an error occured.
28744 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28746 * docs/gst/gstreamer-docs.sgml:
28747 Remove probes more.
28749 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28751 * docs/gst/gstreamer-sections.txt:
28752 * docs/gst/tmpl/gstpad.sgml:
28753 * docs/gst/tmpl/gstprobe.sgml:
28755 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28756 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28757 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28758 (gst_pad_push_event), (gst_pad_send_event):
28760 * gst/gstutils.c: (gst_pad_add_data_probe),
28761 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28762 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28763 (gst_pad_remove_buffer_probe):
28765 Remove old probes, add new g-signal-based probes and some utility
28768 2005-06-29 Edward Hervey <edward@fluendo.com>
28770 * gst/gstelementfactory.c:
28773 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28774 the definition to the header file.
28776 2005-06-29 Andy Wingo <wingo@pobox.com>
28778 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28779 plugins from the source directory.
28781 2005-06-29 Wim Taymans <wim@fluendo.com>
28783 * docs/gst/tmpl/gstbuffer.sgml:
28784 * docs/gst/tmpl/gstclock.sgml:
28785 Some fixings for blantently wrong text.
28787 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28789 * check/Makefile.am:
28790 * gst/gst.c: (add_path_func), (init_pre):
28791 * gst/gstregistry.c: (gst_registry_add_path):
28792 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28793 only scan the GST_PLUGIN_PATH locations, and not add
28796 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28798 * docs/gst/gstreamer-sections.txt:
28799 * docs/gst/tmpl/gstbasesrc.sgml:
28800 * gst/gstelement.c:
28801 * gst/gstelement.h:
28806 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28808 * docs/manual/advanced-autoplugging.xml:
28809 Fix autoplugging example.
28811 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28813 * docs/manual/advanced-autoplugging.xml:
28814 * docs/manual/mime-world.fig:
28815 Try to get autoplugging working, fix type detection. Fix text
28816 in hello-world image.
28818 2005-06-29 Wim Taymans <wim@fluendo.com>
28820 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28821 (gst_base_sink_change_state):
28825 map SIGNAL and BROADCAST to the right function.
28828 Remove redundant braces.
28830 * gst/gstpad.c: (gst_pad_set_caps):
28831 Don't call setcaps function when reseting caps to NULL.
28833 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28834 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28835 (gst_system_clock_id_unschedule):
28836 Use BROADCAST as this is what we do.
28838 2005-06-29 Wim Taymans <wim@fluendo.com>
28840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28841 We are actually prerolling before commiting the state
28844 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28846 * docs/manual/advanced-clocks.xml:
28847 * docs/manual/advanced-interfaces.xml:
28848 * docs/manual/advanced-metadata.xml:
28849 * docs/manual/advanced-position.xml:
28850 * docs/manual/advanced-schedulers.xml:
28851 * docs/manual/advanced-threads.xml:
28852 * docs/manual/appendix-porting.xml:
28853 * docs/manual/basics-bins.xml:
28854 * docs/manual/basics-bus.xml:
28855 * docs/manual/basics-elements.xml:
28856 * docs/manual/basics-helloworld.xml:
28857 * docs/manual/basics-pads.xml:
28858 * docs/manual/highlevel-components.xml:
28859 * docs/manual/manual.xml:
28860 * docs/manual/thread.fig:
28861 Update (until threads/scheduling) Application Development Manual;
28862 remove GstThread, add GstBus, add simple porting checklist, add
28863 documentation for tag writing, clocks, make all examples until this
28864 part compile and run.
28865 * examples/manual/Makefile.am:
28866 Update from changes to Application Development Manual; add bus
28867 example, remove thread example.
28869 2005-06-28 Wim Taymans <wim@fluendo.com>
28871 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28872 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28873 (gst_bus_source_dispatch):
28874 Add debugging messages.
28875 Make internal methods static.
28876 Handle the case where the bus is flushed in the handler.
28878 * gst/gstelement.c: (gst_element_get_bus):
28879 Fix refcount in _get_bus();
28881 * gst/gstpipeline.c: (gst_pipeline_change_state),
28882 (gst_pipeline_get_clock_func):
28883 Clock refcounting fixes.
28884 Handle the case where preroll timed out more gracefully.
28886 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28887 Clean up the internal thread in dispose. This is needed
28888 for subclasses that actually get disposed.
28890 * gst/schedulers/threadscheduler.c:
28891 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28892 (gst_thread_scheduler_dispose):
28893 Free thread pool in dispose.
28895 2005-06-28 Andy Wingo <wingo@pobox.com>
28897 * tests/network-clock-utils.scm (debug, print-event): New utils.
28899 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28900 (*packet-loss*): Unified loss probability.
28901 (network-time): Report out-of-band events.
28903 * tests/plot-data: Add support for out-of-band events. Hack it
28904 into this script instead of passing it down the pipe; should fix
28907 2005-06-28 Wim Taymans <wim@fluendo.com>
28909 * docs/gst/gstreamer.types:
28910 * docs/gst/tmpl/gstbasesrc.sgml:
28911 * docs/gst/tmpl/gstpad.sgml:
28914 2005-06-28 Wim Taymans <wim@fluendo.com>
28916 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28917 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28918 (gst_proxy_pad_do_fixatecaps):
28919 Correctly proxy the check_pull_range function.
28921 2005-06-28 Andy Wingo <wingo@pobox.com>
28923 * tests/network-clock.scm: Removed need for slib.
28925 2005-06-28 Wim Taymans <wim@fluendo.com>
28927 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28928 (gst_basesink_preroll_queue_flush):
28929 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28930 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28931 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28932 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28933 (gst_proxy_pad_set_property):
28936 * gst/gstqueue.c: (gst_queue_init):
28937 The deprecated pad loop function is removed now.
28939 2005-06-28 Andy Wingo <wingo@pobox.com>
28941 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28942 New parameters, simulate network packet loss.
28944 * tests/network-clock-utils.scm: Initialize the RNG.
28946 2005-06-28 Wim Taymans <wim@fluendo.com>
28948 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28949 (gst_basesink_event), (gst_basesink_deactivate):
28950 Flushing the preroll queue always needs to unlock the waiters.
28952 2005-06-28 Edward Hervey <edward@fluendo.com>
28954 * gst/gstpipeline.c: (gst_pipeline_send_event):
28955 Wheen a seek was successful on a pipeline, set the stream_time to the
28956 seek offset in order to have a synchronized stream_time.
28958 2005-06-28 Wim Taymans <wim@fluendo.com>
28960 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28961 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28962 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28963 (gst_proxy_pad_do_fixatecaps):
28964 Call wrapper function instead of just calling the function
28965 pointers. This takes care of any locking and whatmore.
28967 2005-06-28 Wim Taymans <wim@fluendo.com>
28969 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28970 (gst_pad_pull_range):
28972 CONNECTED -> LINKED.
28974 2005-06-28 Andy Wingo <wingo@pobox.com>
28976 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28977 source-munging commit!!!
28979 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28980 (gst_object_sink): Take gpointer arguments, not GstObject --
28981 avoids casts. Like GLib.
28983 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28986 2005-06-27 Andy Wingo <wingo@pobox.com>
28988 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28991 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28992 returns a sorted copy of the trace list.
28993 (gst_alloc_trace_print_live): New API, only prints traces with
28994 live objects. Sort the list.
28995 (gst_alloc_trace_print_all): Sort the list.
28996 (gst_alloc_trace_print): Align columns.
28998 * gst/elements/gstttypefindelement.c:
28999 * gst/elements/gsttee.c:
29000 * gst/base/gstbasesrc.c:
29001 * gst/base/gstbasesink.c:
29002 * gst/base/gstbasetransform.c:
29003 * gst/gstqueue.c: Adapt for pad activation changes.
29005 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29007 (gst_pipeline_dispose): Drop ref on sched.
29009 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29010 (gst_pad_activate_default): Push mode by default.
29011 (pre_activate_switch, post_activate_switch): New stubs, things to
29012 do before and after switching activation modes on pads.
29013 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29014 the pad's activate function to choose which mode to activate.
29015 Shortcut on deactivation and call the right function directly.
29016 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29018 (gst_pad_activate_push): New API, same for push mode.
29019 (gst_pad_set_activate_function)
29020 (gst_pad_set_activatepull_function)
29021 (gst_pad_set_activatepush_function): Setters for new API.
29023 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29024 Trace all miniobjects.
29025 (gst_mini_object_make_writable): Unref the arg if we copy, like
29026 gst_caps_make_writable.
29028 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29030 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29031 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29032 Adapt for new pad API.
29034 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29036 * gst/gstelement.h:
29037 * gst/gstelement.c (gst_element_iterate_src_pads)
29038 (gst_element_iterate_sink_pads): New API functions.
29040 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29041 should fold into gstiterator.c in some form.
29042 (gst_element_pads_activate): Simplified via use of fold and
29043 delegation of decisions to gstpad->activate.
29045 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29048 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29049 class once in init, like gstmessage. Didn't run into this issue
29050 but it seems correct. Don't initialize a trace, gstminiobject does
29053 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29054 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29056 (assert_live_count): New util function, uses alloc traces to check
29059 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29060 To be modified when unlink drops the internal pad.
29062 2005-06-27 Wim Taymans <wim@fluendo.com>
29064 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29065 (gst_bin_change_state):
29066 Cleanup the get_state() function a little, make sure it
29067 iterates the same set of elements.
29068 Added stub iterate_state_order().
29070 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29072 * docs/gst/gstreamer-docs.sgml:
29073 * docs/gst/gstreamer-sections.txt:
29074 * docs/gst/gstreamer.types:
29075 * docs/gst/tmpl/gstbasesink.sgml:
29076 * docs/gst/tmpl/gstbasesrc.sgml:
29077 * docs/gst/tmpl/gstbasetransform.sgml:
29078 * docs/gst/tmpl/gstelement.sgml:
29079 * docs/gst/tmpl/gstiterator.sgml:
29080 * gst/base/gstbasesrc.c:
29081 * gst/base/gstbasesrc.h:
29082 * gst/base/gstbasetransform.h:
29083 * gst/gstelement.c:
29084 * gst/gstiterator.h:
29085 adding basetransform and iterator docs
29087 2005-06-27 Andy Wingo <wingo@pobox.com>
29089 * docs/design/part-activation.txt: Notes on how activation should
29090 work -- not quite implemented yet.
29092 2005-06-25 Wim Taymans <wim@fluendo.com>
29094 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29095 At least get the chain function correct, needs more
29098 2005-06-25 Wim Taymans <wim@fluendo.com>
29100 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29101 (gst_basesink_handle_object), (gst_basesink_event),
29102 (gst_basesink_do_sync), (gst_basesink_handle_event),
29103 (gst_basesink_change_state):
29105 Right, two problems here: ghostpads don't take locks and
29106 glib _rec_mutex_lock_full() with depth==0 still locks.
29107 Catch illegal locking and g_warn them.
29109 2005-06-25 Wim Taymans <wim@fluendo.com>
29111 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29112 Have to check for completion now...
29114 2005-06-25 Wim Taymans <wim@fluendo.com>
29116 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29117 (gst_basesink_handle_object), (gst_basesink_event),
29118 (gst_basesink_do_sync), (gst_basesink_handle_event),
29119 (gst_basesink_change_state):
29121 Unlock STREAM_LOCK whatever the recursion was.
29123 2005-06-25 Wim Taymans <wim@fluendo.com>
29125 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29126 (gst_basesink_preroll_queue_empty),
29127 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29128 (gst_basesink_event), (gst_basesink_do_sync),
29129 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29130 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29131 (gst_basesink_change_state):
29132 Reworked the base sink, handle event and buffer serialisation
29133 correctly and removed possible deadlock.
29134 Handle EOS correctly.
29136 2005-06-25 Wim Taymans <wim@fluendo.com>
29138 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29139 (gst_pipeline_change_state):
29140 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29141 Allow elements to post EOS in the state change function.
29142 Fix up -launch, make it exit the poll loop when the
29143 pipeline actually changed state.
29144 Fix up warning parsing in -launch.
29146 2005-06-25 Wim Taymans <wim@fluendo.com>
29148 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29149 (gst_tee_sink_activate):
29150 Core takes STREAM_LOCK for us now.
29152 2005-06-25 Wim Taymans <wim@fluendo.com>
29154 * gst/gstelement.c: (gst_element_get_state_func),
29155 (gst_element_set_state):
29156 * gst/gstelement.h:
29157 * gst/gstmessage.c: (gst_message_parse_error),
29158 (gst_message_parse_warning):
29159 Keep track of current target state while performing a state
29160 change so that subclasses can do something interesting.
29161 Fix parsing of warning/error messages when GError is NULL.
29163 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29165 * docs/gst/Makefile.am:
29166 * docs/gst/gstreamer-docs.sgml:
29167 * docs/gst/gstreamer-sections.txt:
29168 * docs/gst/gstreamer.types:
29169 * docs/gst/tmpl/gstbasesink.sgml:
29170 * docs/gst/tmpl/gstbasesrc.sgml:
29171 * docs/gst/tmpl/gstbin.sgml:
29172 * docs/gst/tmpl/gstcompat.sgml:
29173 * docs/gst/tmpl/gstfakesink.sgml:
29174 * docs/gst/tmpl/gstfakesrc.sgml:
29175 * docs/gst/tmpl/gstfilesink.sgml:
29176 * docs/gst/tmpl/gstfilesrc.sgml:
29177 * docs/gst/tmpl/gstindex.sgml:
29178 * docs/manual/appendix-quotes.xml:
29179 * gst/base/gstbasesrc.h:
29180 * gst/elements/gstfakesrc.h:
29181 * gst/gstmessage.h:
29182 start pulling in base classes and elements in our docs
29184 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29186 * docs/gst/Makefile.am:
29187 * docs/libs/Makefile.am:
29188 fixed make distcheck with gtk-doc 1.3
29190 2005-06-23 Wim Taymans <wim@fluendo.com>
29192 * gst/gstelement.c: (gst_element_get_state_func),
29193 (gst_element_set_state), (gst_element_change_state):
29194 When the state did not change, also report NO_PREROLL
29197 2005-06-23 Wim Taymans <wim@fluendo.com>
29199 * gst/gstpad.c: (gst_pad_event_default):
29200 * gst/gstqueue.c: (gst_queue_loop):
29201 No unsafe task pausing please.
29203 2005-06-23 Wim Taymans <wim@fluendo.com>
29205 * gst/schedulers/threadscheduler.c:
29206 (gst_thread_scheduler_task_start),
29207 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29208 Ref the task before pushing it on the threadpool. This
29209 makes sure that we have a ref when the threadfunction is
29212 2005-06-23 Andy Wingo <wingo@pobox.com>
29214 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29215 offset is greater than the file's size.
29217 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29218 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29219 * gst/gstobject.c (gst_object_class_init): Make the class lock
29220 recursive. Wim won't let me drop deep_notify. Decodebin works
29221 again, whoopdy doo.
29223 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29224 internal pad, and hacks accordingly. Doesn't do it on the target
29225 pad because we change its caps. Probably catches all cases of
29227 (gst_ghost_pad_set_property): Connect to notify::caps as
29230 * tests/network-clock.scm (plot-simulation): Pipe data to the
29231 elite python skript.
29233 * tests/network-clock-utils.scm (define-parameter): New macro,
29234 defines a parameter that can be set via the command line.
29235 (set-parameter!, parse-parameter-arguments): Command line args
29238 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29241 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29243 * gst/elements/gsttypefindelement.c:
29244 (gst_type_find_element_handle_event):
29245 Don't restart typefinding on a discont.
29246 * gst/gstelement.c: (gst_element_set_state):
29247 Debug spelling fix.
29248 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29249 Allow changing mode of an active pad.
29250 Debug output fixes.
29251 * gst/registries/gstlibxmlregistry.c: (load_feature):
29252 Don't cast a static pad template to a normal pad template.
29254 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29256 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29257 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29258 remove gst_strtoll completely, since it didn't actually do
29259 anything more than what g_ascii_strtoull already does.
29260 check for range errors when deserializing
29261 do a cast for the unsigned cases; but further fixing needs
29262 a decision on what the interpretation of "(int)" and
29263 deserialization should be for values that fall outside the
29264 type's boundaries (ie, refuse, or interpret as casting)
29266 2005-06-23 Wim Taymans <wim@fluendo.com>
29268 * check/Makefile.am:
29269 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29270 * docs/design/part-live-source.txt:
29271 * docs/design/part-states.txt:
29272 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29273 (gst_basesrc_set_live), (gst_basesrc_is_live),
29274 (gst_basesrc_get_range), (gst_basesrc_activate),
29275 (gst_basesrc_change_state):
29276 * gst/base/gstbasesrc.h:
29277 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29278 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29279 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29280 * gst/gstelement.c: (gst_element_get_state_func),
29281 (gst_element_set_state):
29282 * gst/gstelement.h:
29284 * tools/gst-launch.c: (event_loop), (main):
29285 Added support for live sources and other elements that
29287 Updated design docs, added live-source design doc.
29288 Implemented live source functionality in basesrc
29289 Fix error condition in _bin_get_state()
29290 Implement live source handling in -launch.
29291 Added check for live sources.
29292 Fixed case in GstBin where elements were changed state
29296 2005-06-23 Andy Wingo <wingo@pobox.com>
29298 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29299 borken refcounting.
29301 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29302 gst_caps_replace takes care of this for us.
29304 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29305 gst_pad_set_caps on the target, not just its setcaps() function.
29307 * tests/network-clock.scm:
29308 * tests/network-clock-utils.scm: A network clock simulator.
29309 Something of an algorithmic testbed before doing something in C.
29311 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29313 * check/Makefile.am:
29314 * check/gst/capslist.h:
29315 copy over from 0.8, and add two with bitmasks specified with
29317 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29318 add test to parse everything from capslist.h
29319 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29321 add test for structure deserialization
29322 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29323 add tests for deserialization of strings to int types
29324 * gst/gststructure.c: (gst_structure_nth_field_name):
29325 * gst/gststructure.h:
29326 add a way to get the name of a field referenced by index
29327 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29328 instead of checking if the resulting long long lies between
29329 min and max, we check if the long long would fit into
29330 a number of bytes for the final type.
29331 This fixes cases where a string represents 2^32 - 1, which
29332 when cast to int would be the (valid) -1, but is bigger than
29335 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29337 * gst/parse/grammar.y:
29338 add a log line for type deserialization
29340 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29342 * check/gst/gstvalue.c: (START_TEST):
29343 * gst/gstvalue.c: (gst_value_deserialize):
29344 return long long, not int, so gint64 deserialization actually
29345 works. Is there any flag that makes the compiler check this ?
29348 2005-06-22 Wim Taymans <wim@fluendo.com>
29351 Added convenience macros for setting buffers in GValue.
29353 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29355 * check/gst/.cvsignore:
29356 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29357 add a test deserializing int64, and comment part out because
29360 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29362 * check/Makefile.am:
29363 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29364 * testsuite/Makefile.am:
29365 * testsuite/caps/Makefile.am:
29366 * testsuite/caps/value_serialize.c:
29367 * testsuite/test_gst_init.c:
29368 move a value_serialize test over
29370 2005-06-20 Wim Taymans <wim@fluendo.com>
29375 * gst/gstvalue.c: (gst_value_compare_buffer),
29376 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29377 (gst_value_compare_flags), (gst_value_serialize_flags),
29378 (gst_value_deserialize_flags), (_gst_value_initialize):
29379 Fix serialisation of buffers, they are not boxed types anymore
29381 2005-06-20 Wim Taymans <wim@fluendo.com>
29383 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29384 Testcase to show error in buffer-on-caps serialisation.
29386 2005-06-20 Andy Wingo <wingo@pobox.com>
29388 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29389 will be adding to later.
29391 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29392 if its socks fill with rocks.
29393 (gst_system_clock_obtain): Set the name on object construction.
29394 Avoid double-checked locking.
29396 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29398 * gst/gsturi.c: (gst_element_make_from_uri):
29399 Fix potential endless loop.
29401 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29403 * check/Makefile.am:
29405 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29407 move over from testsuite dir and clean up
29410 * testsuite/Makefile.am:
29411 * testsuite/tags/.cvsignore:
29412 * testsuite/tags/Makefile.am:
29413 * testsuite/tags/merge.c:
29414 remove testsuite/tags
29416 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29418 * docs/gst/gstreamer-sections.txt:
29419 * docs/gst/tmpl/gstenumtypes.sgml:
29420 * win32/gstenumtypes.c:
29421 clean up documentation build a little
29423 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29425 * check/gstcheck.h:
29426 add macros for checking refcounts on objects and caps
29427 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29428 add some more unit tests
29429 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29430 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29431 fix leaked refcounts (I hope :)) so unittest works
29435 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29437 * configure.ac: back to HEAD
29439 === release 0.9.1 ===
29441 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29447 2005-06-17 Andy Wingo <wingo@pobox.com>
29449 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29450 assert; it's always possible that the pad gets deactivated in
29451 between the checks in gstpad.c and the implementation. Rely on
29452 finish_preroll() to return a FLUSHING or similar instead of on the
29455 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29456 clock and post an EOS message if we come out of finish_preroll in
29459 2005-06-16 David Schleef <ds@schleef.org>
29461 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29462 (gst_capsfilter_set_property): Allow NULL as possible value
29463 for filter_caps property, indicating GST_CAPS_ANY.
29465 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29467 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29469 * gst/schedulers/Makefile.am:
29471 * gstreamer.spec.in:
29474 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29476 * gstreamer.spec.in:
29479 2005-06-08 Andy Wingo <wingo@pobox.com>
29481 * gst/gstutils.c: RPAD fixes all around.
29482 (gst_element_link_pads): Refcounting fixes.
29484 * tools/gst-inspect.c:
29485 * tools/gst-xmlinspect.c:
29487 * gst/base/gsttypefindhelper.c:
29488 * gst/base/gstbasesink.c:
29489 * gst/gstqueue.c: RPAD fixes.
29491 * gst/gstghostpad.h:
29492 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29493 pads. The tricky thing is they provide both source and sink
29494 interfaces, since they proxy the internal pad for the external
29495 pad, and vice versa. Implement with lower-level ProxyPad objects,
29496 with the interior proxy pad as a child of the exterior ghost pad.
29497 Should write a doc on this.
29499 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29500 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29503 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29504 pads are real pads. No ghost pads in this file. Not documenting
29505 the myriad s/RPAD/PAD/ and REALIZE fixes.
29506 (gst_pad_class_init): Add properties for "direction" and
29507 "template". Both are construct-only, so they can't change during
29508 the life of the pad. Fixes properly deriving from GstPad.
29509 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29510 derived objects, just set properties when creating the objects via
29512 (gst_pad_get_parent): Implement as a function, return NULL if the
29513 parent is not an element.
29514 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29515 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29517 * gst/gstobject.c (gst_object_class_init): Make name a construct
29518 property. Don't set it in the object init.
29520 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29521 with UNKNOWN direction.
29522 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29523 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29524 (gst_element_remove_pad): Remove ghost-pad special cases.
29525 (gst_element_pads_activate): Remove rpad cruft.
29527 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29528 catch the pad's-parent-not-an-element case.
29530 * gst/gst.h: Include gstghostpad.h.
29532 * gst/gst.c (init_post): No more real, ghost pads.
29534 * gst/Makefile.am: Add gstghostpad.[ch].
29536 * check/Makefile.am:
29537 * check/gst/gstbin.c:
29538 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29539 into a bin creates ghost pads, and that the refcounts are right.
29540 Partly moved from gstbin.c.
29542 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29544 * check/gst-libs/.cvsignore:
29545 * check/gst/.cvsignore:
29546 * check/pipelines/.cvsignore:
29548 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29549 (START_TEST), (cleanup_suite), (main):
29550 add some tests related to cleanup after running pipelines
29552 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29554 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29555 add a testsuite for GstBuffer
29557 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29559 * gst/gstminiobject.h:
29560 add defines for accessing the refcount
29562 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29564 * Makefile.am: added support for html unit test coverage reports
29566 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29568 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29569 Free existing caps if the capsfilter changes. Add a FIXME about
29570 setting those caps on the pads.
29572 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29573 Before adding a ghost pad to a parent bin, check that there isn't
29574 already one for the element on the bin. Prevents infinite recursion
29575 when using decodebin in parse pipelines. Andy says he'll rewrite the
29576 way this works anyway, so ignore the hack.
29578 2005-06-02 Andy Wingo <wingo@pobox.com>
29580 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29581 file size, pass it on to the type find helper.
29583 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29584 segment_start and segment_end properly according to the seek
29585 method. Segment_end is still a bit flaky because offset can be
29586 negative for CUR and END cases, but it takes -1 as an "unset"
29589 2005-06-02 Wim Taymans <wim@fluendo.com>
29591 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29592 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29593 (gst_basesink_activate):
29594 * gst/base/gstbasesink.h:
29595 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29596 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29597 (gst_pad_query), (gst_pad_start_task):
29599 * gst/gstqueue.c: (gst_queue_bufferalloc),
29600 (gst_queue_handle_sink_event), (gst_queue_chain):
29601 Bufferalloc: return GstFlowReturn to more accuratly report
29602 why allocation failed.
29604 2005-06-02 Wim Taymans <wim@fluendo.com>
29606 * gst/gstpipeline.c: (gst_pipeline_send_event):
29607 Take snapshot of state without blocking.
29609 2005-06-02 Wim Taymans <wim@fluendo.com>
29611 * docs/design/part-TODO.txt:
29612 * docs/design/part-caps.txt:
29613 * docs/design/part-clocks.txt:
29614 * docs/design/part-negotiation.txt:
29615 * docs/design/part-preroll.txt:
29618 2005-05-30 Wim Taymans <wim@fluendo.com>
29620 * gst/elements/gstidentity.c: (gst_identity_event),
29621 (gst_identity_transform), (gst_identity_get_property):
29622 Protect last_message property as it is accessed from
29625 2005-05-30 Wim Taymans <wim@fluendo.com>
29627 * gst/gstelement.c: (gst_element_init),
29628 (gst_element_pads_activate), (gst_element_change_state):
29629 Slicker pad activation code.
29631 2005-05-30 Wim Taymans <wim@fluendo.com>
29634 * gst/gstelement.h:
29635 * gst/gstelementfactory.h:
29637 Move elementfactory methods to separate .h file.
29639 2005-05-30 Wim Taymans <wim@fluendo.com>
29641 * docs/design/part-overview.txt:
29642 * gst/gstsystemclock.h:
29643 Small typo fixes, doc updates.
29645 2005-05-30 Wim Taymans <wim@fluendo.com>
29647 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29648 (init_popt_callback):
29649 Remove cpu-opt flag.
29651 2005-05-30 Wim Taymans <wim@fluendo.com>
29653 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29654 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29656 Avoid typechecking in places where not needed.
29657 Added accessor for malloc_data.
29659 2005-05-30 Wim Taymans <wim@fluendo.com>
29661 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29662 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29663 (gst_pad_configure_sink), (gst_pad_configure_src),
29664 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29665 (gst_pad_start_task):
29666 Propagate errors from _set_caps() in configure_src/sink
29667 functions instead of returning TRUE.
29668 FLUSH events can travel up and downstream
29671 2005-05-30 Wim Taymans <wim@fluendo.com>
29673 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29674 (gst_basesink_activate):
29675 Handle EOS in preroll.
29677 2005-05-30 Wim Taymans <wim@fluendo.com>
29679 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29680 (gst_queue_loop), (gst_queue_handle_src_event):
29681 Remove old pieces of code
29682 Flushing the queue in an upstream event is a very bad idea.
29684 2005-05-26 Andy Wingo <wingo@pobox.com>
29686 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29687 gst_value_set_mini_object so as to add a ref on the object (which
29688 will be removed when the value is unset).
29690 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29691 arg type in ::handoff.
29693 * gst/gstelement.c (gst_element_change_state): Also deactivate
29694 pads in READY->NULL, just in case the element didn't make it to
29695 PAUSED. Wingo tested, Wim approved.
29697 2005-05-26 Wim Taymans <wim@fluendo.com>
29699 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29700 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29701 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29702 A flushing pad cannot be used to alloc_buffer from.
29704 2005-05-26 Wim Taymans <wim@fluendo.com>
29706 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29707 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29708 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29709 (gst_bus_create_watch), (gst_bus_add_watch_full):
29711 Implement a real GSource and use g_main_context_wakeup() to
29712 signal new messages instead of the socketpair.
29714 2005-05-25 Wim Taymans <wim@fluendo.com>
29716 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29717 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29718 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29719 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29720 (gst_pad_send_event), (gst_pad_start_task):
29721 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29722 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29723 (gst_queue_sink_activate), (gst_queue_src_activate),
29724 (gst_queue_change_state):
29726 Fix state changes for non sinks. We now change sinks, then elements
29727 with unconnected srcpads, then the rest.
29728 More efficient queue unlocking in flush and state changes.
29729 Set the pad activate mode even if it does not have an activate
29732 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29734 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29735 Don't go in pull mode for non-seekable sources.
29736 * gst/elements/gsttypefindelement.h:
29737 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29738 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29739 (free_entry), (stop_typefinding),
29740 (gst_type_find_element_handle_event), (find_peek),
29741 (gst_type_find_element_chain), (do_pull_typefind),
29742 (gst_type_find_element_change_state):
29743 Allow typefinding (w/o seeking) in push-mode, simplified version
29744 of what was in 0.8.
29745 * gst/gstutils.c: (gst_buffer_join):
29747 gst_buffer_join() from 0.8.
29749 2005-05-25 Wim Taymans <wim@fluendo.com>
29751 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29752 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29753 (gst_pad_send_event), (gst_pad_start_task):
29754 Disable attempt at mode switching until it is figured out.
29756 2005-05-25 Wim Taymans <wim@fluendo.com>
29758 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29759 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29760 (gst_basesink_finish_preroll), (gst_basesink_chain),
29761 (gst_basesink_loop), (gst_basesink_activate),
29762 (gst_basesink_change_state):
29763 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29764 (gst_basesrc_get_range), (gst_basesrc_loop),
29765 (gst_basesrc_activate):
29766 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29767 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29768 (gst_real_pad_init), (gst_real_pad_set_property),
29769 (gst_real_pad_get_property), (gst_pad_set_active),
29770 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29771 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29772 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29773 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29774 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29775 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29776 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29777 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29778 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29779 (gst_pad_stop_task):
29781 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29782 (gst_queue_loop), (gst_queue_src_activate):
29783 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29784 (gst_task_get_state):
29786 * gst/schedulers/threadscheduler.c:
29787 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29788 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29790 Remove ACTIVE pad flag, use FLUSHING everywhere
29791 Added _pad_chain(), _pad_get_range() to call chain/getrange
29793 Add locks around IS_FLUSHING when reading.
29794 Take STREAM lock in chain(), get_range() functions so plugins
29795 don't need to take it anymore.
29799 2005-05-25 Wim Taymans <wim@fluendo.com>
29801 * tools/gst-launch.c: (event_loop):
29802 Unref message after using its contents instead of
29805 2005-05-24 Wim Taymans <wim@fluendo.com>
29807 * docs/design/draft-ghostpads.txt:
29808 * docs/design/draft-push-pull.txt:
29809 * docs/design/draft-query.txt:
29810 * docs/design/part-overview.txt:
29811 Docs updates, added general overview doc.
29813 2005-05-21 David Schleef <ds@schleef.org>
29815 * docs/gst/tmpl/old/GstBin.sgml:
29816 * docs/gst/tmpl/old/GstBuffer.sgml:
29817 * docs/gst/tmpl/old/GstCaps.sgml:
29818 * docs/gst/tmpl/old/GstClock.sgml:
29819 * docs/gst/tmpl/old/GstCompat.sgml:
29820 * docs/gst/tmpl/old/GstData.sgml:
29821 * docs/gst/tmpl/old/GstElement.sgml:
29822 * docs/gst/tmpl/old/GstEvent.sgml:
29823 * docs/gst/tmpl/old/GstIndex.sgml:
29824 * docs/gst/tmpl/old/GstStructure.sgml:
29825 * docs/gst/tmpl/old/GstTag.sgml:
29826 * docs/gst/tmpl/old/cothreads.sgml:
29827 * docs/gst/tmpl/old/cothreads_compat.sgml:
29828 * docs/gst/tmpl/old/gettext.sgml:
29829 * docs/gst/tmpl/old/gobject2gtk.sgml:
29830 * docs/gst/tmpl/old/grammar.tab.sgml:
29831 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29832 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29833 * docs/gst/tmpl/old/gst_private.sgml:
29834 * docs/gst/tmpl/old/gstaggregator.sgml:
29835 * docs/gst/tmpl/old/gstarch.sgml:
29836 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29837 * docs/gst/tmpl/old/gstbufferstore.sgml:
29838 * docs/gst/tmpl/old/gstdata_private.sgml:
29839 * docs/gst/tmpl/old/gstdisksink.sgml:
29840 * docs/gst/tmpl/old/gstdisksrc.sgml:
29841 * docs/gst/tmpl/old/gstelementfactory.sgml:
29842 * docs/gst/tmpl/old/gstextratypes.sgml:
29843 * docs/gst/tmpl/old/gstfakesink.sgml:
29844 * docs/gst/tmpl/old/gstfakesrc.sgml:
29845 * docs/gst/tmpl/old/gstfdsink.sgml:
29846 * docs/gst/tmpl/old/gstfdsrc.sgml:
29847 * docs/gst/tmpl/old/gstfilesink.sgml:
29848 * docs/gst/tmpl/old/gstfilesrc.sgml:
29849 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29850 * docs/gst/tmpl/old/gstidentity.sgml:
29851 * docs/gst/tmpl/old/gstindexfactory.sgml:
29852 * docs/gst/tmpl/old/gstmarshal.sgml:
29853 * docs/gst/tmpl/old/gstmd5sink.sgml:
29854 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29855 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29856 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29857 * docs/gst/tmpl/old/gstpipefilter.sgml:
29858 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29859 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29860 * docs/gst/tmpl/old/gstshaper.sgml:
29861 * docs/gst/tmpl/old/gstspider.sgml:
29862 * docs/gst/tmpl/old/gstspideridentity.sgml:
29863 * docs/gst/tmpl/old/gststatistics.sgml:
29864 * docs/gst/tmpl/old/gsttee.sgml:
29865 * docs/gst/tmpl/old/gsttimecache.sgml:
29866 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29867 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29868 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29869 * docs/gst/tmpl/old/types.sgml:
29870 I didn't intend to add these or check them in.
29872 2005-05-19 David Schleef <ds@schleef.org>
29874 * configure.ac: Use -no-common everywhere. In a sane world, it
29875 would be the default in libtool, because without it, you can't
29876 build DLLs on Windows.
29877 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29878 * docs/gst/gstreamer-sections.txt:
29879 * docs/gst/tmpl/gstcpu.sgml:
29880 * docs/gst/tmpl/gstdata.sgml:
29881 * docs/gst/tmpl/gstthread.sgml:
29883 2005-05-19 David Schleef <ds@schleef.org>
29885 * gst/gstminiobject.c: (gst_value_set_mini_object),
29886 (gst_value_take_mini_object), (gst_value_get_mini_object):
29887 * gst/gstminiobject.h: Add GValue set/get functions.
29889 2005-05-19 Wim Taymans <wim@fluendo.com>
29891 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29892 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29893 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29895 * gst/gstbus.c: (gst_bus_post):
29896 * gst/gstelement.c: (gst_element_get_random_pad):
29897 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29898 Make subbufer unref the parent in finalize.
29899 some more debugging info.
29902 2005-05-19 Wim Taymans <wim@fluendo.com>
29904 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29905 (gst_basesink_init), (gst_basesink_finalize),
29906 (gst_basesink_activate), (gst_basesink_change_state):
29907 Don't free preroll queue too early.
29909 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29913 Hi, I'm outdated. Please shoot me.
29915 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29917 * gst/gstpipeline.c: (gst_pipeline_send_event):
29918 Do not access variables after they have been deleted.
29920 2005-05-19 Wim Taymans <wim@fluendo.com>
29922 * tools/gst-inspect.c: (print_plugin_features):
29923 A plugin feature does unfortunatly not use the
29926 2005-05-18 Wim Taymans <wim@fluendo.com>
29928 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29929 Port _span() functions to new subbuffers.
29931 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29933 * gst/gstbin.c: (gst_bin_add_func):
29934 Fix clock settery in bins when adding kids after the clock has
29937 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29939 * gst/elements/gstidentity.c: (gst_identity_class_init):
29940 Workaround until signals support GstMiniObject.
29942 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29945 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29947 2005-05-18 Wim Taymans <wim@fluendo.com>
29949 * gst/base/Makefile.am:
29950 * gst/base/gstadapter.c: (gst_adapter_base_init),
29951 (gst_adapter_class_init), (gst_adapter_init),
29952 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29953 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29954 (gst_adapter_flush), (gst_adapter_available),
29955 (gst_adapter_available_fast):
29956 * gst/base/gstadapter.h:
29957 Ported and added adapter to the base classes.
29959 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29962 * gst/gstmessage.c:
29963 Make sure the class is reffed/unreffed once before threads can be
29964 used. Fixes #304551.
29966 2005-05-17 Wim Taymans <wim@fluendo.com>
29968 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29969 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29970 * gst/gstminiobject.c: (gst_mini_object_get_type),
29971 (gst_mini_object_free):
29972 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29973 (gst_pad_push), (gst_pad_push_event):
29974 * gst/gstqueue.c: (gst_queue_change_state):
29975 Don't queue buffers in basesink when we are flushing.
29976 Unref buffer when flushing in basesink.
29977 Flush queue when going to READY
29978 Unref buffer when _push() returns an error.
29979 Don't free MiniObject instance when refcount is incremented
29980 in _finalize() so that we can recover objects.
29982 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29984 * docs/manual/advanced-schedulers.xml:
29985 * docs/manual/appendix-checklist.xml:
29986 * docs/pwg/advanced-clock.xml:
29987 * docs/pwg/advanced-interfaces.xml:
29988 * docs/pwg/advanced-request.xml:
29989 * docs/pwg/advanced-types.xml:
29990 * docs/pwg/intro-preface.xml:
29991 * examples/plugins/example.c: (gst_example_get_type),
29992 (gst_example_class_init), (gst_example_chain),
29993 (gst_example_set_property), (gst_example_get_property),
29994 (gst_example_change_state), (plugin_init):
29995 * examples/plugins/example.h:
29998 2005-05-17 Wim Taymans <wim@fluendo.com>
30000 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30001 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30002 * gst/gstqueue.c: (gst_queue_change_state):
30003 Clear queue when going to READY.
30004 Remove IN_SETCAPS flag too.
30006 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30008 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30009 Remove implicit cast from gboolean to GstElementStateReturn;
30010 make sure we still return failure in paused => ready case if
30011 the parent class fails to change state and our own stop
30014 2005-05-17 Wim Taymans <wim@fluendo.com>
30016 * tools/gst-launch.c: (event_loop):
30017 Message was unreffed too soon.
30019 2005-05-16 Andy Wingo <wingo@pobox.com>
30021 * gst/gstbin.c (sink_iterator_filter): Err... um...
30023 * check/gst/gstbin.c (test_ghost_pads): New test for the
30024 ghosting-if-elements-not-in-same-bin behavior.
30026 2005-05-16 David Schleef <ds@schleef.org>
30028 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30029 accessing refcount directly.
30031 2005-05-15 David Schleef <ds@schleef.org>
30033 * check/Makefile.am: remove GstData checks
30034 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30035 * gst/Makefile.am: add miniobject, remove data
30036 * gst/gst.h: add miniobject, remove data
30037 * gst/gstdata.c: remove
30038 * gst/gstdata.h: remove
30039 * gst/gstdata_private.h: remove
30040 * gst/gsttypes.h: remove GstEvent and GstMessage
30041 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30042 * gst/gstmarshal.list: change BOXED -> OBJECT
30044 Implement GstMiniObject.
30045 * gst/gstminiobject.c:
30046 * gst/gstminiobject.h:
30048 Modify to be subclasses of GstMiniObject.
30049 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30050 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30051 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30052 (gst_subbuffer_get_type), (gst_subbuffer_init),
30053 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30056 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30057 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30058 (_gst_event_copy), (gst_event_new):
30060 * gst/gstmessage.c: (_gst_message_initialize),
30061 (gst_message_get_type), (gst_message_class_init),
30062 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30063 (gst_message_new), (gst_message_new_error),
30064 (gst_message_new_warning), (gst_message_new_tag),
30065 (gst_message_new_state_changed), (gst_message_new_application):
30066 * gst/gstmessage.h:
30067 * gst/gstprobe.c: (gst_probe_perform),
30068 (gst_probe_dispatcher_dispatch):
30070 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30071 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30072 (_gst_query_copy), (gst_query_new):
30074 Update elements for GstData -> GstMiniObject changes
30076 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30077 (gst_queue_chain), (gst_queue_loop):
30078 * gst/elements/gstbufferstore.c:
30079 (gst_buffer_store_add_buffer_func),
30080 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30081 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30082 (gst_fakesink_render):
30083 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30084 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30085 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30086 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30087 (gst_filesrc_create_read):
30088 * gst/elements/gstidentity.c: (gst_identity_class_init):
30089 * gst/elements/gsttypefindelement.c:
30090 (gst_type_find_element_src_event), (free_entry_buffers),
30091 (gst_type_find_element_handle_event):
30092 * libs/gst/dataprotocol/dataprotocol.c:
30093 (gst_dp_header_from_buffer):
30094 * libs/gst/dataprotocol/dataprotocol.h:
30095 * libs/gst/dataprotocol/dp-private.h:
30097 2005-05-15 David Schleef <ds@schleef.org>
30099 * gst/elements/gstelements.c: Don't include headers that were
30102 2005-05-15 David Schleef <ds@schleef.org>
30104 * gst/elements/Makefile.am: Remove some elements that don't
30105 need to be in the core (or even exist at all).
30106 * gst/elements/gstaggregator.c:
30107 * gst/elements/gstaggregator.h:
30108 * gst/elements/gstmd5sink.c:
30109 * gst/elements/gstmd5sink.h:
30110 * gst/elements/gstmultifilesrc.c:
30111 * gst/elements/gstmultifilesrc.h:
30112 * gst/elements/gstpipefilter.c:
30113 * gst/elements/gstpipefilter.h:
30114 * gst/elements/gstshaper.c:
30115 * gst/elements/gstshaper.h:
30116 * gst/elements/gststatistics.c:
30117 * gst/elements/gststatistics.h:
30118 * po/POTFILES.in: Remove above files.
30120 2005-05-14 Andy Wingo <wingo@pobox.com>
30122 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30123 so as to get the refs right.
30124 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30125 unreffing objects that don't pass the filter.
30127 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30128 gst_element_set_bus.
30129 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30130 normal cases, this will destroy the bus.
30132 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30135 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30138 2005-05-13 Andy Wingo <wingo@pobox.com>
30140 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30141 gst_pad_link, call pad_link_maybe_ghosting,
30142 (pad_link_maybe_ghosting): Links pads, making sure that the
30143 elements being linked are in the same bin.
30144 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30145 Helpers for pad_link_maybe_ghosting.
30147 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30150 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30152 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30154 * docs/design/part-element-source.txt:
30157 2005-05-12 Wim Taymans <wim@fluendo.com>
30159 * gst/base/gstbasesink.c: (gst_basesink_init),
30160 (gst_basesink_activate):
30161 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30162 (gst_basesrc_is_seekable):
30163 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30164 (bin_element_is_sink), (gst_bin_change_state):
30165 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30166 * gst/gstelement.h:
30167 Identify sinks by their flag to avoid overly complicated
30169 Do state changes even for elements not reachable from the
30171 BaseSink is a sink now :)
30172 Some more debugging info in the basesrc.
30175 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30177 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30178 Implement _query on a bin, similar to _send_event.
30180 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30182 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30183 Discont event offset format should be GST_FORMAT_BYTES,
30184 not GST_FORMAT_TIME.
30186 2005-05-12 Wim Taymans <wim@fluendo.com>
30188 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30189 Same fix as Ronald's but without the signal.
30191 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30193 * gst/gstutils.c: (gst_element_query_position):
30194 No, an element is not a pad.
30196 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30198 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30199 (gst_bin_get_state):
30200 If a child is removed from a bin while we remove the child from
30201 the bin and while we're retrieving its state, signal this to the
30202 get_state function so we abort the wait (instead of waiting for
30203 a timeout) and can immediately re-iterate over all other elements.
30205 2005-05-12 Wim Taymans <wim@fluendo.com>
30207 * gst/base/Makefile.am:
30208 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30209 (gst_basesrc_start):
30210 * gst/base/gstbasesrc.h:
30211 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30212 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30213 (gst_pushsrc_init), (gst_pushsrc_create):
30214 * gst/base/gstpushsrc.h:
30215 Added is_seekable to BaseSrc
30216 Added simple PushSrc.
30218 2005-05-11 Wim Taymans <wim@fluendo.com>
30220 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30221 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30222 (gst_element_link_pads), (gst_element_query_position),
30223 (gst_element_query_convert), (intersect_caps_func),
30224 (gst_pad_query_position), (gst_pad_query_convert):
30225 Fix refcounting in utils function.
30226 No point in trying to activate a pad when it's added, it could
30227 be added from the state change function and then we deadlock, the
30228 element has to decide what to do.
30230 2005-05-10 Andy Wingo <wingo@pobox.com>
30232 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30233 *all* the arguments.
30235 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30236 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30237 lock (according to the docs -- if this is wrong change the docs).
30239 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30240 flush messages in the NULL state.
30242 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30243 message immediately and return.
30244 (gst_bus_set_flushing): New function. If a bus is flushing, it
30245 flushes out any queued messages and immediately unrefs new
30246 messages. This is so when an element goes to NULL, all of the
30247 unhandled messages coming from it can be freed, and their
30248 references to the element dropped. In other words: message source
30249 ref considered harmful :P
30251 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30252 we're finished with it.
30254 * gst/gstmessage.c (gst_message_new_state_changed):
30256 2005-05-10 Wim Taymans <wim@fluendo.com>
30258 * gst/gstvalue.c: (gst_value_compare_flags),
30259 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30260 (_gst_value_initialize):
30261 Added flags serialize/deserialize/compare code.
30263 2005-05-09 Andy Wingo <wingo@pobox.com>
30265 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30266 Intersect the peer's caps with our caps.
30268 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30270 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30271 * gst/elements/gsttypefindelement.c: (find_peek):
30272 Handle negative offsets better. Fixes decodebin.
30274 2005-05-09 Wim Taymans <wim@fluendo.com>
30276 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30277 (gst_base_transform_event):
30278 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30279 Implement accept_caps.
30280 Fix silly lock/unlock mismatch in base class.
30282 2005-05-09 Wim Taymans <wim@fluendo.com>
30284 * docs/design/draft-push-pull.txt:
30285 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30286 * gst/elements/gstfilesink.c: (gst_filesink_init),
30287 (gst_filesink_query):
30288 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30289 (gst_type_find_handle_src_query), (find_element_get_length):
30290 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30291 * gst/gstelement.h:
30292 * gst/gstmessage.c:
30293 * gst/gstmessage.h:
30294 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30295 (gst_real_pad_get_caps_unlocked),
30296 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30297 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30298 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30299 (gst_real_pad_dispose), (gst_real_pad_finalize),
30300 (gst_pad_load_and_link), (gst_pad_save_thyself),
30301 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30302 (gst_pad_check_pull_range), (gst_pad_pull_range),
30303 (gst_pad_template_get_type), (gst_pad_template_class_init),
30304 (gst_pad_template_init), (gst_pad_template_dispose),
30305 (name_is_valid), (gst_static_pad_template_get),
30306 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30307 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30308 (gst_pad_get_element_private), (gst_pad_start_task),
30309 (gst_pad_pause_task), (gst_pad_stop_task),
30310 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30311 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30312 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30313 (gst_ghost_pad_new):
30315 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30316 (gst_query_new_position), (gst_query_set_position),
30317 (gst_query_parse_position), (gst_query_new_convert),
30318 (gst_query_set_convert), (gst_query_parse_convert):
30320 * gst/gstqueryutils.c:
30321 * gst/gstqueryutils.h:
30322 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30323 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30324 (gst_queue_handle_src_query):
30325 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30326 (gst_element_query_position), (gst_element_query_convert),
30327 (intersect_caps_func), (gst_pad_query_position),
30328 (gst_pad_query_convert):
30330 * tools/gst-inspect.c: (print_pad_info):
30331 * tools/gst-xmlinspect.c: (print_element_info):
30332 Remove old query functions. Ported old code.
30333 Added position/convert helper functions to gstutils.
30334 Reordered gstpad.c code, grouping relevant things.
30335 Remove gst_message_new(), always need to speficy a specific
30339 2005-05-09 Andy Wingo <wingo@pobox.com>
30341 * gst/gstiterator.h: Add some includes.
30343 * gst/gstqueryutils.h: Include more headers.
30346 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30347 some uses of gst_pad_query.
30349 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30350 NULL out parameters.
30351 (gst_query_new_position): New proc, allocates a new position
30354 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30355 gstqueryutils.c to the build.
30357 * gst/gststructure.c (gst_structure_set_valist): Implement with
30358 the generic G_VALUE_COLLECT.
30360 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30362 * gst/Makefile.am: (gst_headers):
30363 Added gstqueryutils.h to the list of headers to install, that was
30364 a 'nachty' move wingo :)
30366 2005-05-06 Andy Wingo <wingo@pobox.com>
30369 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30370 GstData, init a memchunk.
30371 (standard_definitions): Add a few query types, deprecate a few.
30372 (gst_query_get_type): New proc.
30373 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30375 (gst_query_new_application, gst_query_get_structure): New public
30378 * docs/design/draft-query.txt: Removed LINKS from the query types,
30379 because all the rest can be dispatched to other pads -- seemed
30380 ugly to have a query that couldn't be dispatched. internal_links
30381 is fine as a pad method.
30383 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30384 in gstpad.c, but maintain binary compatibility for the moment.
30385 Will fix before 0.9 is out.
30387 * gst/gstqueryutils.c:
30388 * gst/gstqueryutils.h: New files, implement 3 methods for each
30389 query type: parse_query, parse_response, and set. Probably need an
30392 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30394 * gst/elements/gstfilesink.c (gst_filesink_query2):
30395 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30396 query_types, and formats methods.
30398 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30399 (gst_pad_set_query2_function): New functions.
30400 (gst_real_pad_init): Set query2_default as the default query2
30401 function. Basically just dispatches to internally linked pads.
30405 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30406 without using the atomic operations. Only one thread can possibly
30407 be accessing the data at this point. Changed so as to avoid
30408 gst_atomic operations.
30410 2005-05-06 Wim Taymans <wim@fluendo.com>
30412 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30413 Also set caps if we use the fallback buffer alloc.
30415 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30417 * docs/gst/Makefile.am:
30418 * docs/gst/gstreamer-docs.sgml:
30419 * docs/gst/gstreamer-sections.txt:
30420 * docs/gst/tmpl/gstatomic.sgml:
30421 * docs/gst/tmpl/gstmemchunk.sgml:
30422 * testsuite/elements/struct_i386.h:
30423 * win32/GStreamer.vcproj:
30425 Purge GstAtomic stuff from docs and win32 makefiles as well
30427 2005-05-06 Wim Taymans <wim@fluendo.com>
30429 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30430 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30431 * gst/gstpad.c: (gst_pad_peer_get_caps):
30432 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30433 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30434 (gst_queue_src_activate), (gst_queue_change_state):
30436 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30437 (intersect_caps_func):
30438 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30439 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30440 Some fixes for the peer_get_caps() change.
30442 2005-05-06 Wim Taymans <wim@fluendo.com>
30444 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30445 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30446 (gst_basesink_activate):
30447 Actually do something with error codes returned from the push
30450 2005-05-06 Wim Taymans <wim@fluendo.com>
30452 * docs/design/part-element-sink.txt:
30453 * docs/design/part-element-source.txt:
30454 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30455 (gst_basesink_event), (gst_basesink_activate):
30456 * gst/base/gstbasesink.h:
30457 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30458 (gst_basesrc_activate):
30459 * gst/base/gstbasesrc.h:
30460 * gst/gstelement.c: (gst_element_pads_activate):
30461 Some more documentation.
30462 Fixed scheduling decision in _pads_activate().
30464 2005-05-05 Andy Wingo <wingo@pobox.com>
30466 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30469 2005-05-05 Wim Taymans <wim@fluendo.com>
30471 * gst/base/Makefile.am:
30472 * gst/base/gstbasesink.h:
30473 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30474 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30475 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30476 (gst_collectpads_class_init), (gst_collectpads_init),
30477 (gst_collectpads_finalize), (gst_collectpads_new),
30478 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30479 (find_pad), (gst_collectpads_remove_pad),
30480 (gst_collectpads_is_active), (gst_collectpads_collect),
30481 (gst_collectpads_collect_range), (gst_collectpads_start),
30482 (gst_collectpads_stop), (gst_collectpads_peek),
30483 (gst_collectpads_pop), (gst_collectpads_available),
30484 (gst_collectpads_read), (gst_collectpads_flush),
30485 (gst_collectpads_chain):
30486 * gst/base/gstcollectpads.h:
30487 * gst/elements/Makefile.am:
30488 * gst/elements/gstelements.c:
30489 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30490 (gst_fakesink_get_times), (gst_fakesink_event),
30491 (gst_fakesink_preroll), (gst_fakesink_render):
30492 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30493 (gst_filesink_init), (gst_filesink_set_location),
30494 (gst_filesink_open_file), (gst_filesink_close_file),
30495 (gst_filesink_pad_query), (gst_filesink_event),
30496 (gst_filesink_render), (gst_filesink_change_state):
30497 * gst/elements/gstfilesink.h:
30498 Added object to help in making collect pad based elements.
30500 Make event function in sink baseclass return gboolean.
30502 2005-05-05 Wim Taymans <wim@fluendo.com>
30504 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30505 (gst_bin_get_by_name):
30507 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30508 (gst_clock_finalize):
30509 * gst/gstdata.c: (gst_data_replace):
30511 * gst/gstelement.c: (gst_element_request_pad),
30512 (gst_element_pads_activate):
30513 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30514 (gst_object_unref):
30515 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30516 (gst_pad_set_checkgetrange_function),
30517 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30518 (gst_pad_check_pull_range), (gst_pad_pull_range),
30519 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30520 (gst_pad_pause_task), (gst_pad_stop_task):
30521 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30522 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30523 Fix name lookup in GstBin.
30524 Added _data_replace() function and _buffer_replace()
30525 Use finalize method to clean up clock.
30526 Fix refcounting on request pads.
30527 Fix pad schedule mode error.
30528 Some more object refcounting debug info,
30531 2005-05-04 Andy Wingo <wingo@pobox.com>
30533 * check/Makefile.am:
30534 * docs/gst/tmpl/gstatomic.sgml:
30535 * docs/gst/tmpl/gstplugin.sgml:
30536 * gst/base/gstbasesink.c: (gst_basesink_activate):
30537 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30538 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30539 (gst_basesrc_query), (gst_basesrc_set_property),
30540 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30541 (gst_basesrc_activate):
30542 * gst/base/gstbasesrc.h:
30543 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30544 (gst_base_transform_src_activate):
30545 * gst/elements/gstelements.c:
30546 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30547 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30548 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30549 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30550 (gst_type_find_element_checkgetrange),
30551 (gst_type_find_element_activate):
30552 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30553 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30554 (gst_caps_load_thyself):
30555 * gst/gstelement.c: (gst_element_pads_activate),
30556 (gst_element_save_thyself), (gst_element_restore_thyself):
30557 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30558 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30560 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30561 (gst_xml_parse_file), (gst_xml_parse_memory),
30562 (gst_xml_get_element), (gst_xml_make_element):
30563 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30564 (_file_index_id_save_xml), (gst_file_index_commit):
30565 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30566 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30568 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30569 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30570 * tools/gst-complete.c: (main):
30571 * tools/gst-compprep.c: (main):
30572 * tools/gst-inspect.c: (print_element_properties_info):
30573 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30574 * tools/gst-xmlinspect.c: (print_element_properties):
30577 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30579 * gst/gstplugin.c: (gst_plugin_check_module),
30580 (gst_plugin_check_file), (gst_plugin_load_file):
30581 apply patch from #172526 to make register work on MacOSX
30583 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30585 * docs/gst/tmpl/gstconfig.sgml:
30586 * gst/gstconfig.h.in:
30587 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30588 * testsuite/debug/printf_extension.c: (main):
30589 Do not use GST_PTR_FORMAT on pointers to types with
30590 sizeof < sizeof(gpointer). Fixes test on 64-bit
30591 * testsuite/elements/property.h:
30592 use correct printf format
30594 2005-05-02 Wim Taymans <wim@fluendo.com>
30596 * docs/design/draft-push-pull.txt:
30597 * docs/design/draft-query.txt:
30598 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30599 (gst_basesrc_start):
30600 Added draft for new query API.
30601 Added draft for better selecting scheduling methods.
30602 Make basesrc ignore length if the subclass does not support
30605 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30608 possible fixes for automake-1.5 - _LIBADD is reserved
30610 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30612 * docs/faq/Makefile.am:
30613 * docs/manual/Makefile.am:
30614 * docs/manuals.mak:
30615 * docs/pwg/Makefile.am:
30617 possible fixes for automake-1.5
30619 2005-04-28 Wim Taymans <wim@fluendo.com>
30621 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30622 (gst_basesink_pad_getcaps), (gst_basesink_init),
30623 (gst_basesink_do_sync):
30624 * gst/gstclock.c: (gst_clock_entry_new):
30625 * gst/gstevent.c: (gst_event_discont_get_value):
30626 * gst/gstpipeline.c: (pipeline_bus_handler),
30627 (gst_pipeline_change_state):
30628 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30629 Better debugging of clocking info.
30630 Allow NULL values when getting discont values.
30632 2005-04-27 Wim Taymans <wim@fluendo.com>
30634 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30635 * check/gst/gstpad.c: (gst_pad_suite):
30636 Increase timeout for checks.
30638 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30640 * check/Makefile.am:
30641 fix the broken rule for cleanup. Apparently this rule is
30642 only needed on FC2, so maybe this warrants further autotool
30645 2005-04-26 Wim Taymans <wim@fluendo.com>
30647 * gst/gsttrashstack.h:
30648 Ooohh. a nasty one! After having a failed pop() from the stack,
30649 it's possible that the stack is empty. In that case, don't
30650 follow the NULL pointer.
30652 2005-04-25 Wim Taymans <wim@fluendo.com>
30654 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30655 (gst_pad_set_checkgetrange_function),
30656 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30657 (gst_pad_check_pull_range), (gst_pad_pull_range),
30658 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30659 (gst_pad_pause_task), (gst_pad_stop_task):
30660 * gst/gstplugin.c: (gst_plugin_load):
30662 Remove gst_library_load as it does more harm than good with
30663 the new g_module flags.
30664 Revert bogus caps template check in pad linking, pad caps
30665 are important when linking not the template, which is more
30666 general than the current caps.
30668 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30670 * gst/autoplug/.cvsignore:
30671 * gst/autoplug/Makefile.am:
30672 * gst/autoplug/gstsearchfuncs.c:
30673 * gst/autoplug/gstsearchfuncs.h:
30674 * gst/autoplug/gstspider.c:
30675 * gst/autoplug/gstspider.h:
30676 * gst/autoplug/gstspideridentity.c:
30677 * gst/autoplug/gstspideridentity.h:
30678 * gst/autoplug/spidertest.c:
30681 2005-04-25 Wim Taymans <wim@fluendo.com>
30683 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30684 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30685 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30686 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30688 Added stubs for unimplemented functions.
30690 2005-04-24 David Schleef <ds@schleef.org>
30692 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30695 2005-04-24 David Schleef <ds@schleef.org>
30697 Convert everything from GstAtomicInt to g_atomic_int_*, and
30702 * gst/gstatomic_impl.h:
30710 * gst/gstdata_private.h:
30714 * gst/gstmessage.c:
30717 * gst/gststructure.c:
30718 * gst/gststructure.h:
30719 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30722 2005-04-24 David Schleef <ds@schleef.org>
30724 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30725 make the regressions tests work. Remove some code that is no
30727 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30728 Disable warning for pads without templates.
30730 2005-04-24 David Schleef <ds@schleef.org>
30732 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30733 functions that handle filtered links.
30734 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30736 * gst/gstutils.c: Fix/remove utility functions that handle
30739 * gst/gstvalue.c: Add serialization/deserialization of caps
30740 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30741 requires fixing so that the filter caps notation creates
30742 a capsfilter element and sets the filter_caps property. I
30743 think everyone probably wants to keep the shorthand notation.
30744 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30745 * docs/gst/tmpl/gstpad.sgml:
30747 * gst/elements/gstelements.c: Register capsfilter element.
30748 * gst/Makefile.am: fix spacing
30749 * docs/random/ds/0.9-suggested-changes: random
30751 2005-04-23 David Schleef <ds@schleef.org>
30753 * gst/elements/Makefile.am:
30754 * gst/elements/gstcapsfilter.c: New element that acts like an
30755 identity, but filters caps. Will eventually replace filtered
30756 caps in pad linking.
30757 * gst/gstutils.c: (gst_element_create_all_pads): New function
30758 to create all the ALWAYS pads that are registered with an
30759 element class. This functionality should eventually be
30760 merged in with GstElement initialization.
30762 * testsuite/trigger/README: part of trigger test code that should
30763 have been checked in a long time ago.
30765 2005-04-23 David Schleef <ds@schleef.org>
30767 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30768 needed with new versions of libtool (nobody will confirm this),
30769 and hard to carry around.
30770 * gst/autoplug/Makefile.am:
30771 * gst/base/Makefile.am:
30772 * gst/elements/Makefile.am:
30773 * gst/indexers/Makefile.am:
30774 * gst/schedulers/Makefile.am:
30775 * libs/gst/bytestream/Makefile.am:
30776 * libs/gst/control/Makefile.am:
30777 * libs/gst/dataprotocol/Makefile.am:
30778 * libs/gst/getbits/Makefile.am:
30780 2005-04-21 Wim Taymans <wim@fluendo.com>
30782 * docs/design/draft-push-pull.txt:
30783 * docs/design/part-MT-refcounting.txt:
30784 * docs/design/part-TODO.txt:
30785 * docs/design/part-caps.txt:
30786 * docs/design/part-events.txt:
30787 * docs/design/part-gstbus.txt:
30788 * docs/design/part-gstpipeline.txt:
30789 * docs/design/part-messages.txt:
30790 * docs/design/part-push-pull.txt:
30791 * docs/design/part-query.txt:
30794 2005-04-21 Wim Taymans <wim@fluendo.com>
30796 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30797 (gst_message_new), (gst_message_new_error),
30798 (gst_message_new_warning), (gst_message_new_tag),
30799 (gst_message_new_state_changed), (gst_message_new_application),
30800 (gst_message_get_structure):
30801 * gst/gstmessage.h:
30802 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30803 (gst_structure_copy_conditional):
30804 Use parent refcount in GstMessage to ensure GstStructure
30806 Cleaned up headers a bit.
30809 2005-04-20 Wim Taymans <wim@fluendo.com>
30811 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30812 (gst_basesink_pad_getcaps), (gst_basesink_init),
30813 (gst_basesink_chain_unlocked):
30814 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30815 (gst_type_find_helper):
30816 * gst/elements/gsttypefindelement.c:
30817 (gst_type_find_element_have_type), (gst_type_find_element_init),
30818 (stop_typefinding), (gst_type_find_element_handle_event),
30819 (find_suggest), (gst_type_find_element_chain),
30820 (gst_type_find_element_checkgetrange),
30821 (gst_type_find_element_getrange), (do_typefind),
30822 (gst_type_find_element_activate):
30823 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30824 (gst_buffer_default_free), (gst_buffer_default_copy),
30825 (gst_buffer_set_caps):
30826 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30827 (gst_caps_replace):
30828 * gst/gstmessage.c: (gst_message_new),
30829 (gst_message_new_state_changed):
30830 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30831 (gst_pad_set_checkgetrange_function),
30832 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30833 (gst_pad_set_caps), (gst_pad_check_pull_range),
30834 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30836 * gst/gsttypefind.c: (gst_type_find_register):
30837 Make gst_caps_replace() work like other _replace() functions.
30838 Use _caps_replace() where possible.
30839 Make sure _message_new() initialises its field.
30840 Add gst_static_pad_template_get_caps()
30843 2005-04-18 Andy Wingo <wingo@pobox.com>
30845 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30846 on the peer, not the pad. I think that was a typo. Pass an extra
30847 arg to see if random access is possible. Activate the pads as
30848 PULL_RANGE if possible.
30850 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30852 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30853 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30856 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30858 * docs/faq/using.xml:
30859 Add note on gstreamer-properties (#154996).
30861 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30863 * docs/random/bbb/optional-properties:
30864 Some analysis on optional properties.
30866 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30868 * docs/gst/tmpl/gstelementfactory.sgml:
30869 * gst/gstelement.h:
30870 * gst/gstelementfactory.c: (gst_element_factory_init),
30871 (gst_element_factory_cleanup), (gst_element_register),
30872 (__gst_element_factory_add_static_pad_template),
30873 (gst_element_factory_get_static_pad_templates),
30874 (gst_element_factory_can_src_caps),
30875 (gst_element_factory_can_sink_caps):
30876 * gst/registries/Makefile.am:
30877 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30878 (gst_xml_registry_class_init), (gst_xml_registry_init),
30879 (gst_xml_registry_new), (gst_xml_registry_set_property),
30880 (gst_xml_registry_get_property), (get_time), (make_dir),
30881 (gst_xml_registry_get_perms_func),
30882 (plugin_times_older_than_recurse), (plugin_times_older_than),
30883 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30884 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30885 (add_to_char_array), (read_string), (read_uint), (read_enum),
30886 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30887 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30888 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30889 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30890 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30891 (gst_xml_registry_rebuild):
30892 * gst/registries/gstlibxmlregistry.h:
30893 * tools/gst-compprep.c: (main):
30894 * tools/gst-inspect.c: (print_pad_templates_info):
30895 * tools/gst-xmlinspect.c: (print_element_info):
30896 Use libxml2 for registry parsing, use staticpadtemplates in
30897 elementfactories. Makes gst_init() +/- 10x faster.
30899 2005-04-12 Wim Taymans <wim@fluendo.com>
30901 * gst/base/Makefile.am:
30902 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30903 (gst_basesink_pad_getcaps), (gst_basesink_init),
30904 (gst_basesink_event), (gst_basesink_change_state):
30905 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30906 (gst_basesrc_init), (gst_basesrc_query),
30907 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30908 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30909 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30910 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30911 (gst_basesrc_stop), (gst_basesrc_activate),
30912 (gst_basesrc_change_state):
30913 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30914 (helper_find_suggest), (gst_type_find_helper):
30915 * gst/base/gsttypefindhelper.h:
30916 * gst/elements/Makefile.am:
30917 * gst/elements/gstelements.c:
30918 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30919 (gst_fakesink_get_times), (gst_fakesink_event),
30920 (gst_fakesink_preroll), (gst_fakesink_render):
30921 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30922 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30923 (gst_fakesrc_get_property), (gst_fakesrc_create),
30924 (gst_fakesrc_start), (gst_fakesrc_stop):
30925 * gst/elements/gstfakesrc.h:
30926 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30927 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30928 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30929 (gst_filesrc_create_read), (gst_filesrc_create),
30930 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30931 (gst_filesrc_start):
30932 * gst/elements/gsttypefindelement.c:
30933 (gst_type_find_element_have_type), (gst_type_find_element_init),
30934 (start_typefinding), (stop_typefinding), (push_buffer_store),
30935 (gst_type_find_element_handle_event),
30936 (gst_type_find_element_chain),
30937 (gst_type_find_element_checkgetrange),
30938 (gst_type_find_element_getrange), (do_typefind),
30939 (gst_type_find_element_activate),
30940 (gst_type_find_element_change_state):
30941 * gst/elements/gsttypefindelement.h:
30942 * gst/gstpipeline.c: (pipeline_bus_handler):
30943 Added typefind helper.
30944 Small preroll fix in the base sink.
30945 Disable typefind code in basesrc.
30946 Crude port of typefindelement.
30950 2005-04-11 Wim Taymans <wim@fluendo.com>
30952 * check/gst/gstbus.c: (gstbus_suite):
30953 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30954 * check/gstcheck.h:
30955 Fix up the timeout so that the test does not fail.
30957 2005-04-06 Wim Taymans <wim@fluendo.com>
30960 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30961 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30962 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30963 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30964 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30965 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30966 (gst_basesrc_stop), (gst_basesrc_activate),
30967 (gst_basesrc_change_state), (basesrc_find_peek),
30968 (basesrc_find_suggest), (gst_basesrc_type_find):
30969 * gst/base/gstbasesrc.h:
30970 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30971 (gst_filesrc_class_init), (gst_filesrc_init),
30972 (gst_filesrc_finalize), (gst_filesrc_set_location),
30973 (gst_filesrc_set_property), (gst_filesrc_get_property),
30974 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30975 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30976 (gst_filesrc_create_read), (gst_filesrc_create),
30977 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30978 * gst/elements/gstfilesrc.h:
30979 * gst/gstelement.c: (gst_element_get_state_func),
30980 (gst_element_lost_state), (gst_element_pads_activate):
30981 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30982 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30983 (gst_pad_pull_range):
30985 More work on the generic source base class, implement seeking,
30987 Make filesrc extend the base source class.
30988 Added gst_pad_set_checkgetrange_function to GstPad.
30990 2005-04-06 Andy Wingo <wingo@pobox.com>
30992 * pkgconfig/gstreamer-base.pc.in:
30993 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30995 * pkgconfig/Makefile.am:
30996 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30998 2005-04-04 Wim Taymans <wim@fluendo.com>
31000 * gst/base/Makefile.am:
31002 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31003 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31004 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31005 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31006 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31007 (gst_basesrc_base_init), (gst_basesrc_class_init),
31008 (gst_basesrc_init), (gst_basesrc_get_formats),
31009 (gst_basesrc_get_query_types), (gst_basesrc_query),
31010 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31011 (gst_basesrc_set_property), (gst_basesrc_get_property),
31012 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31013 (gst_basesrc_loop), (gst_basesrc_activate),
31014 (gst_basesrc_change_state):
31015 * gst/base/gstbasesrc.h:
31016 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31017 (gst_fakesrc_class_init), (gst_fakesrc_init),
31018 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31019 (gst_fakesrc_get_property), (gst_fakesrc_create):
31020 * gst/elements/gstfakesrc.h:
31021 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31022 (gst_filesrc_open_file), (gst_filesrc_loop),
31023 (gst_filesrc_activate), (filesrc_find_peek),
31024 (gst_filesrc_type_find):
31025 Made base source class, make fakesrc extend it.
31026 Add comments to basesink class.
31027 Some filesrc cleanup.
31029 2005-03-31 David Schleef <ds@schleef.org>
31031 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31032 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31033 expected to link against libgstreamer.
31034 * gst/base/Makefile.am: link against libgstreamer
31035 * gst/elements/Makefile.am: same
31037 2005-03-31 Andy Wingo <wingo@pobox.com>
31039 * tests/instantiate/Makefile.am:
31040 * tests/instantiate/caps.c: Add test to test speed of caps copy
31043 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31044 GMemChunk to be fair.
31046 * gst/gsttrashstack.h: Remove warning about using the fallback
31047 trash stack implementation, it's still faster than malloc.
31049 2005-03-30 Andy Wingo <wingo@pobox.com>
31051 * tests/complexity.c: Add a copyright.
31053 2005-03-31 Wim Taymans <wim@fluendo.com>
31055 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31056 (gst_base_transform_class_init), (gst_base_transform_init),
31057 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31058 (gst_base_transform_get_property),
31059 (gst_base_transform_sink_activate),
31060 (gst_base_transform_src_activate),
31061 (gst_base_transform_change_state):
31062 * gst/base/gstbasetransform.h:
31063 * gst/elements/gstidentity.c: (gst_identity_class_init),
31064 (gst_identity_event), (gst_identity_check_perfect),
31065 (gst_identity_transform), (gst_identity_start),
31066 (gst_identity_stop):
31067 Added start/stop methods to transform base class so subclasses
31068 don't need to deal with state changes even.
31070 2005-03-31 Wim Taymans <wim@fluendo.com>
31072 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31073 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31075 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31076 (gst_pad_pull_range):
31077 Added rate to the discont event to prepare for variable speed
31078 and reverse playback.
31080 2005-03-29 David Schleef <ds@schleef.org>
31083 * testsuite/trigger/Makefile.am:
31084 * testsuite/trigger/trigger.c: A little example program to show
31085 how trigger-based elements can work.
31087 2005-03-29 Wim Taymans <wim@fluendo.com>
31089 * gst/base/Makefile.am:
31091 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31092 (gst_basesink_base_init), (gst_basesink_class_init),
31093 (gst_basesink_pad_getcaps), (gst_basesink_init),
31094 (gst_basesink_activate), (gst_basesink_change_state):
31095 * gst/base/gstbasesink.h:
31096 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31097 (gst_base_transform_base_init), (gst_base_transform_finalize),
31098 (gst_base_transform_class_init), (gst_base_transform_init),
31099 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31100 (gst_base_transform_event), (gst_base_transform_getrange),
31101 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31102 (gst_base_transform_set_property),
31103 (gst_base_transform_get_property),
31104 (gst_base_transform_sink_activate),
31105 (gst_base_transform_src_activate),
31106 (gst_base_transform_change_state):
31107 * gst/base/gstbasetransform.h:
31108 * gst/elements/gstidentity.c: (gst_identity_finalize),
31109 (gst_identity_class_init), (gst_identity_init),
31110 (gst_identity_event), (gst_identity_check_perfect),
31111 (gst_identity_transform), (gst_identity_set_property),
31112 (gst_identity_get_property), (gst_identity_change_state):
31113 * gst/elements/gstidentity.h:
31114 * gst/gstelement.c: (gst_element_get_state_func),
31115 (gst_element_lost_state), (gst_element_pads_activate):
31116 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31117 (gst_pad_check_pull_range), (gst_pad_pull_range):
31119 Simplify pad activation.
31120 Added function to check if pull_range can be performed.
31121 Error out when pulling inactive or flushing pads.
31122 Removed const from refcounted types as it does not make sense.
31123 Simplify pad templates in basesink
31124 Added base class for simple 1-to-1 transforms.
31125 Make identity subclass the base transform.
31127 2005-03-29 Andy Wingo <wingo@pobox.com>
31129 * docs/libs/gstreamer-libs-overrides.txt:
31130 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31131 really don't understand what's going on, but like whatever. I want
31134 * docs/gst/Makefile.am:
31135 * docs/libs/Makefile.am: Dist the overrides files.
31137 * check/Makefile.am (clean-local): Remove .libs directories.
31139 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31140 elements to EXTRA_DIST, so po/ files are happy.
31142 * po/POTFILES.in: Er, remove it here.
31144 * po/POTFILES: Remove gstspider.c.
31146 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31148 * docs/libs/gstreamer-libs-docs.sgml:
31149 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31152 * tests/complexity.c (main): Set the length of the preroll queue
31153 on the sinks to prevent a lockup.
31155 * libs/gst/dataprotocol/Makefile.am:
31156 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31157 the same as the one in check/gst-libs/gdp.c.
31159 * po/, docs/gst/: Commit automatic changes to docs and po files.
31161 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31162 the versioned libgstbase.
31164 * check/Makefile.am: Depend on an unversioned gst-register, seems
31165 to make autoconf happier.
31167 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31169 2005-03-28 Wim Taymans <wim@fluendo.com>
31172 * docs/design/part-gstelement.txt:
31173 * docs/design/part-negotiation.txt:
31174 * docs/design/part-preroll.txt:
31175 * docs/design/part-scheduling.txt:
31176 * docs/design/part-states.txt:
31178 * gst/base/Makefile.am:
31180 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31181 (gst_basesink_base_init), (gst_basesink_class_init),
31182 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31183 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31184 (gst_basesink_set_pad_functions),
31185 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31186 (gst_basesink_set_property), (gst_basesink_get_property),
31187 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31188 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31189 (gst_basesink_preroll_queue_push),
31190 (gst_basesink_preroll_queue_empty),
31191 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31192 (gst_basesink_event), (gst_basesink_get_times),
31193 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31194 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31195 (gst_basesink_loop), (gst_basesink_activate),
31196 (gst_basesink_change_state):
31197 * gst/base/gstbasesink.h:
31198 * gst/elements/Makefile.am:
31199 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31200 (gst_fakesink_class_init), (gst_fakesink_init),
31201 (gst_fakesink_set_property), (gst_fakesink_get_property),
31202 (gst_fakesink_get_times), (gst_fakesink_event),
31203 (gst_fakesink_preroll), (gst_fakesink_render),
31204 (gst_fakesink_change_state):
31205 * gst/elements/gstfakesink.h:
31206 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31207 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31208 * gst/gstelement.c: (gst_element_add_pad),
31209 (gst_element_get_state_func), (gst_element_abort_state),
31210 (gst_element_commit_state), (gst_element_lost_state),
31211 (gst_element_set_state), (gst_element_pads_activate):
31212 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31213 * gst/gstpipeline.c: (gst_pipeline_send_event),
31214 (gst_pipeline_change_state):
31215 Added state change code.
31216 Added/updated docs.
31217 Added sink base class, make fakesink extend the base class.
31218 Small cleanups in GstPipeline.
31220 2005-03-26 David Schleef <ds@schleef.org>
31222 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31223 is broken and should be implemented in a different library.
31224 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31225 * gst/gst.h: remove gstcpu.h
31226 * gst/gstcpu.c: remove
31227 * gst/gstcpu.h: remove
31228 * gst/Makefile.am.future: Remove this file. It's ancient.
31230 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31232 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31233 (gst_bin_send_event):
31234 Add default event/set_manager handlers. The set_manager handler
31235 takes care that the manager is distributed over kids that were
31236 already in the bin before the manager was set. The event handler
31237 is a utility virtual function that sends the event over all sinks,
31238 so that gst_element_send_event (bin, event); has the expected
31240 * gst/gstpad.c: (gst_pad_event_default):
31241 Re-install default event handling for discontinuities, so that
31242 seeking works without requiring hacks in applications or extra
31244 * gst/gstpipeline.c: (gst_pipeline_class_init),
31245 (gst_pipeline_send_event):
31246 Half hack, half utility: set a pipeline to PAUSED for seek events,
31247 since that is the only way we can guarantee a/v sync. Means that
31248 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31249 and it "just works".
31251 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31253 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31254 Lock/unlock mismatch.
31256 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31258 * docs/faq/gst-uninstalled:
31259 add gst-plugins-base
31260 * docs/gst/Makefile.am:
31261 don't error out until docs are fixed
31262 * docs/gst/gstreamer.types:
31265 2005-03-22 Wim Taymans <wim@fluendo.com>
31267 * check/Makefile.am:
31268 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31269 * gst/gststructure.c: (gst_structure_set_valist),
31270 (gst_structure_copy_conditional):
31271 Activated more tests.
31272 Added message test.
31273 Added G_TYPE_POINTER to GstStructure.
31276 2005-03-22 Wim Taymans <wim@fluendo.com>
31278 * docs/design/part-TODO.txt:
31279 * docs/design/part-events.txt:
31280 * docs/design/part-gstbin.txt:
31281 * docs/design/part-gstbus.txt:
31282 * docs/design/part-gstpipeline.txt:
31283 * docs/design/part-messages.txt:
31285 * gst/gstmessage.c:
31288 2005-03-21 Wim Taymans <wim@fluendo.com>
31290 * gst/gstbus.c: (gst_bus_post):
31291 Fix copy-and-paste error.
31293 2005-03-21 Wim Taymans <wim@fluendo.com>
31295 * check/Makefile.am:
31297 * gst/elements/Makefile.am:
31298 * gst/elements/gstelements.c:
31299 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31300 (gst_fakesink_event), (gst_fakesink_chain):
31301 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31302 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31303 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31304 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31305 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31306 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31307 (gst_fakesrc_loop), (gst_fakesrc_activate),
31308 (gst_fakesrc_change_state):
31309 * gst/elements/gstfakesrc.h:
31310 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31311 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31312 (gst_filesrc_open_file), (gst_filesrc_loop),
31313 (gst_filesrc_activate), (gst_filesrc_change_state),
31314 (filesrc_find_peek), (filesrc_find_suggest),
31315 (gst_filesrc_type_find):
31316 * gst/elements/gstidentity.c: (gst_identity_finalize),
31317 (gst_identity_class_init), (gst_identity_init),
31318 (gst_identity_proxy_getcaps), (identity_queue_push),
31319 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31320 (gst_identity_getrange), (gst_identity_chain),
31321 (gst_identity_sink_loop), (gst_identity_src_loop),
31322 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31323 (gst_identity_set_property), (gst_identity_get_property),
31324 (gst_identity_change_state):
31325 * gst/elements/gstidentity.h:
31326 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31327 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31328 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31329 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31330 (gst_tee_sink_activate):
31331 * gst/elements/gsttee.h:
31332 * gst/gst.c: (gst_register_core_elements), (init_post):
31334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31335 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31336 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31337 (gst_bin_change_state):
31339 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31340 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31341 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31342 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31343 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31344 (bus_watch_callback), (bus_watch_destroy),
31345 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31346 (poll_timeout), (gst_bus_poll):
31350 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31351 (gst_element_post_message), (gst_element_message_full),
31352 (gst_element_get_state_func), (gst_element_get_state),
31353 (gst_element_abort_state), (gst_element_commit_state),
31354 (gst_element_lost_state), (gst_element_set_state),
31355 (gst_element_pads_activate), (gst_element_change_state),
31356 (gst_element_dispose), (gst_element_set_manager_func),
31357 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31358 (gst_element_set_manager), (gst_element_get_manager),
31359 (gst_element_set_bus), (gst_element_get_bus),
31360 (gst_element_set_scheduler), (gst_element_get_scheduler):
31361 * gst/gstelement.h:
31362 * gst/gstevent.c: (gst_event_new_segment_seek),
31363 (gst_event_new_flush):
31365 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31366 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31367 (gst_message_new_eos), (gst_message_new_error),
31368 (gst_message_new_warning), (gst_message_new_tag),
31369 (gst_message_new_state_changed), (gst_message_new_application),
31370 (gst_message_get_structure), (gst_message_parse_tag),
31371 (gst_message_parse_state_changed), (gst_message_parse_error),
31372 (gst_message_parse_warning):
31373 * gst/gstmessage.h:
31374 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31375 (gst_real_pad_set_property), (gst_pad_set_active),
31376 (gst_pad_is_active), (gst_pad_set_blocked_async),
31377 (gst_pad_set_blocked), (gst_pad_is_blocked),
31378 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31379 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31380 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31381 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31382 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31383 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31384 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31385 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31386 (gst_pad_set_caps), (gst_pad_configure_sink),
31387 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31388 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31389 (gst_real_pad_dispose), (gst_real_pad_finalize),
31390 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31391 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31392 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31394 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31395 (pipeline_bus_handler), (gst_pipeline_change_state),
31396 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31397 * gst/gstpipeline.h:
31399 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31400 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31401 (gst_queue_link_src), (gst_queue_bufferalloc),
31402 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31403 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31404 (gst_queue_loop), (gst_queue_handle_src_event),
31405 (gst_queue_handle_src_query), (gst_queue_src_activate),
31406 (gst_queue_change_state):
31408 * gst/gstscheduler.c: (gst_scheduler_init),
31409 (gst_scheduler_dispose), (gst_scheduler_create_task),
31410 (gst_scheduler_factory_create):
31411 * gst/gstscheduler.h:
31412 * gst/gststructure.c: (gst_structure_get_type),
31413 (gst_structure_copy_conditional):
31414 * gst/gststructure.h:
31415 * gst/gsttaginterface.h:
31416 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31417 (gst_task_init), (gst_task_dispose), (gst_task_create),
31418 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31424 * gst/schedulers/Makefile.am:
31425 * gst/schedulers/cothreads_compat.h:
31426 * gst/schedulers/entryscheduler.c:
31427 * gst/schedulers/faircothreads.c:
31428 * gst/schedulers/faircothreads.h:
31429 * gst/schedulers/fairscheduler.c:
31430 * gst/schedulers/gstbasicscheduler.c:
31431 * gst/schedulers/gstoptimalscheduler.c:
31432 * gst/schedulers/gthread-cothreads.h:
31433 * gst/schedulers/threadscheduler.c:
31434 (gst_thread_scheduler_task_get_type),
31435 (gst_thread_scheduler_task_class_init),
31436 (gst_thread_scheduler_task_init),
31437 (gst_thread_scheduler_task_start),
31438 (gst_thread_scheduler_task_stop),
31439 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31440 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31441 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31442 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31444 * libs/gst/Makefile.am:
31445 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31446 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31447 (gst_file_pad_parent_set):
31448 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31449 (gst_dp_event_from_packet):
31450 * tests/complexity.c: (main):
31451 * tests/mass_elements.c: (main):
31452 * testsuite/states/locked.c: (message_received), (main):
31453 * testsuite/states/parent.c: (main):
31454 * tools/gst-inspect.c: (print_element_flag_info),
31455 (print_implementation_info), (print_pad_info):
31456 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31458 * tools/gst-md5sum.c: (event_loop), (main):
31459 * tools/gst-typefind.c: (main):
31460 * tools/gst-xmlinspect.c: (print_element_info):
31462 Added GstBus for mainloop integration.
31463 Added GstMessage for sending notifications on the bus.
31464 Added GstTask as an abstraction for pipeline entry points.
31466 Removed Schedulers.
31467 Simplified GstQueue for multithreaded core.
31468 Made _link threadsafe, removed old capsnego.
31469 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31470 Added pad blocking functions.
31471 Reworked scheduling functions in GstPad to prepare for
31472 scheduling updates soon.
31473 Moved events out of data stream.
31474 Simplified GstEvent types.
31475 Added return values to push/pull.
31476 Removed clocking from GstElement.
31477 Added prototypes for state change function for next merge.
31478 Removed iterate from bins and state change management.
31479 Fixed some elements, disabled others for now.
31480 Fixed -inspect and -launch.
31481 Added check for GstBus.
31483 2005-03-10 Wim Taymans <wim@fluendo.com>
31485 * docs/design/part-MT-refcounting.txt:
31486 * docs/design/part-clocks.txt:
31487 * docs/design/part-gstelement.txt:
31488 * docs/design/part-gstobject.txt:
31489 * docs/design/part-standards.txt:
31490 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31491 (gst_bin_remove_func), (gst_bin_remove):
31495 * testsuite/clock/clock1.c: (main):
31496 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31498 * testsuite/dlopen/loadgst.c: (do_test):
31499 * testsuite/refcounting/bin.c: (add_remove_test1),
31500 (add_remove_test2), (main):
31501 * testsuite/refcounting/element.c: (main):
31502 * testsuite/refcounting/element_pad.c: (main):
31503 * testsuite/refcounting/pad.c: (main):
31504 * tools/gst-launch.c: (sigint_handler_sighandler):
31505 * tools/gst-typefind.c: (main):
31507 Added doc about clock.
31508 removed gst_bin_iterate_recurse_up(), marked methods
31510 Fix more testsuites.
31512 2005-03-09 Wim Taymans <wim@fluendo.com>
31514 * gst/gstpad.c: (gst_pad_get_direction),
31515 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31516 (gst_pad_collect_valist):
31517 * testsuite/bins/interface.c: (main):
31518 * testsuite/caps/audioscale.c: (test_caps):
31519 * testsuite/caps/caps.c: (test1), (test2), (test3):
31520 * testsuite/caps/deserialize.c: (main):
31521 * testsuite/caps/enumcaps.c: (main):
31522 * testsuite/caps/filtercaps.c: (main):
31523 * testsuite/caps/intersect2.c: (main):
31524 * testsuite/caps/random.c: (main):
31525 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31526 * testsuite/caps/sets.c: (check_caps):
31527 * testsuite/caps/simplify.c: (check_caps), (main):
31528 * testsuite/caps/subtract.c: (check_caps):
31529 Fix _pad_get_direction wrt ghostpads.
31530 Fix caps testsuite.
31532 2005-03-09 Wim Taymans <wim@fluendo.com>
31534 * check/Makefile.am:
31535 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31536 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31537 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31539 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31540 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31541 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31542 (bin_element_is_sink), (gst_bin_iterate_sinks),
31543 (gst_bin_iterate_all_by_interface):
31545 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31546 (gst_element_change_state), (gst_element_dispose),
31547 (gst_element_finalize), (gst_element_set_loop_function):
31548 * gst/gstelement.h:
31549 * gst/gstiterator.c: (find_custom_fold_func):
31550 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31551 (gst_pad_collectv), (gst_pad_collect_valist),
31552 (gst_pad_template_new):
31553 * gst/gstpipeline.c: (gst_pipeline_class_init),
31554 (gst_pipeline_dispose), (gst_pipeline_set_property),
31555 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31556 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31557 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31559 * gst/schedulers/entryscheduler.c:
31560 * gst/schedulers/gstbasicscheduler.c:
31561 (gst_basic_scheduler_cothreaded_chain),
31562 (gst_basic_scheduler_chain_add_element):
31563 * testsuite/bins/interface.c: (main):
31565 Added GstSystemClock test.
31566 Implemented clock distribution code in GstBin.
31567 Implemented iterate sinks method for future use.
31568 Rearranged gstelement.h
31569 Fix GstIterator comparison bug.
31570 Moved some code to GstPipeline, mostly clocking related.
31572 2005-03-09 Wim Taymans <wim@fluendo.com>
31575 * gst/gst_private.h:
31576 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31577 (gst_bin_remove_func), (gst_bin_remove),
31578 (gst_bin_get_by_name_recurse_up):
31579 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31580 (gst_clock_id_compare_func), (gst_clock_id_wait),
31581 (gst_clock_id_wait_async), (gst_clock_init),
31582 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31583 * gst/gstelement.h:
31584 * gst/gstinfo.c: (_gst_debug_init):
31586 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31587 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31589 Bump version number, we're now 0.9.0
31590 Add future debugging category.
31591 Fix NULL _unref() in _get_by_name_recurse_up
31592 Rearrange gstpad.h.
31595 2005-03-08 Wim Taymans <wim@fluendo.com>
31597 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31598 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31599 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31600 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31601 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31602 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31603 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31604 * gst/elements/gstidentity.c: (gst_identity_class_init):
31605 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31606 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31607 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31608 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31609 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31611 * gst/gstelement.c: (gst_element_class_init),
31612 (gst_element_base_class_init), (gst_element_init),
31613 (gst_element_get_random_pad), (gst_element_wait_state_change),
31614 (gst_element_change_state), (gst_element_dispose),
31615 (gst_element_finalize), (gst_element_set_loop_function):
31616 * gst/gstelement.h:
31617 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31618 * gst/gstthread.c: (gst_thread_class_init),
31619 (gst_thread_release_children_locks), (gst_thread_change_state):
31620 * gst/schedulers/gstbasicscheduler.c:
31621 (gst_basic_scheduler_loopfunc_wrapper),
31622 (gst_basic_scheduler_chain_wrapper),
31623 (gst_basic_scheduler_src_wrapper),
31624 (gst_basic_scheduler_remove_element):
31625 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31626 Remove threadsafe properties. Fix elements because GObject
31627 complains when installing a property before declaring a
31628 set/get_property handler.
31629 Rearrange gstelement.h file, use STATE macros for state locks.
31630 Free mutexes in the finalize method instead of dispose.
31632 2005-03-08 Wim Taymans <wim@fluendo.com>
31634 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31635 * gst/gstthread.c: (gst_thread_release_children_locks):
31636 Added parentage check.
31637 Fix build og GstThread again.
31639 2005-03-08 Wim Taymans <wim@fluendo.com>
31641 * docs/design/part-MT-refcounting.txt:
31642 * docs/design/part-conventions.txt:
31643 * docs/design/part-gstobject.txt:
31644 * docs/design/part-relations.txt:
31645 * docs/design/part-standards.txt:
31646 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31647 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31648 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31649 (gst_bin_iterate_all_by_interface):
31652 * gst/gstelement.c: (gst_element_class_init),
31653 (gst_element_change_state), (gst_element_set_loop_function):
31654 * gst/gstelement.h:
31655 * gst/gstiterator.c:
31656 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31657 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31658 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31659 (gst_object_set_parent), (gst_object_unparent),
31660 (gst_object_check_uniqueness):
31662 Docs updates, clean up some headers.
31664 2005-03-07 Wim Taymans <wim@fluendo.com>
31666 * check/.cvsignore:
31667 * check/Makefile.am:
31668 * check/gst-libs/.cvsignore:
31669 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31670 * check/gst/.cvsignore:
31671 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31672 (START_TEST), (gstbus_suite), (main):
31673 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31674 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31675 (gst_data_suite), (main):
31676 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31677 (add_fold_func), (gstiterator_suite), (main):
31678 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31679 (thread_name_object), (thread_name_object_default),
31680 (gst_object_name_compare), (gst_object_suite), (main):
31681 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31682 (gst_pad_suite), (main):
31683 * check/gstcheck.c: (gst_check_log_message_func),
31684 (gst_check_log_critical_func), (gst_check_init):
31685 * check/gstcheck.h:
31686 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31687 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31690 2005-03-07 Wim Taymans <wim@fluendo.com>
31692 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31693 (gst_list_iterator_next), (gst_list_iterator_resync),
31694 (gst_list_iterator_free), (gst_iterator_new_list),
31695 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31696 (gst_iterator_free), (gst_iterator_push), (filter_next),
31697 (filter_resync), (filter_uninit), (filter_free),
31698 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31699 (gst_iterator_foreach), (find_custom_fold_func),
31700 (gst_iterator_find_custom):
31701 * gst/gstiterator.h:
31702 Added missing files.
31704 2005-03-07 Wim Taymans <wim@fluendo.com>
31708 * docs/design/part-MT-refcounting.txt:
31709 * docs/design/part-conventions.txt:
31710 * docs/design/part-gstobject.txt:
31711 * docs/design/part-relations.txt:
31712 * examples/mixer/mixer.c: (main):
31713 * examples/thread/thread.c: (eos), (main):
31715 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31716 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31717 (gst_spider_plug_from_srcpad):
31718 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31719 (gst_spider_identity_change_state),
31720 (gst_spider_identity_sink_loop_type_finding):
31721 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31722 * gst/elements/gstidentity.c: (gst_identity_init):
31723 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31724 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31725 * gst/elements/gsttypefindelement.c: (free_entry):
31728 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31729 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31730 (gst_bin_set_index), (gst_bin_set_element_sched),
31731 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31732 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31733 (gst_bin_iterate_elements), (iterate_child_recurse),
31734 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31735 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31736 (compare_interface), (gst_bin_get_by_interface),
31737 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31739 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31740 (gst_buffer_default_free), (gst_buffer_default_copy),
31741 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31742 (gst_buffer_create_sub):
31744 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31745 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31746 (gst_caps_unref), (gst_static_caps_get),
31747 (gst_caps_remove_and_get_structure), (gst_caps_append),
31748 (gst_caps_append_structure), (gst_caps_remove_structure),
31749 (gst_caps_copy_nth), (gst_caps_set_simple),
31750 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31751 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31752 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31753 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31754 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31755 (gst_caps_structure_figure_out_union),
31756 (gst_caps_switch_structures), (gst_caps_do_simplify),
31757 (gst_caps_replace), (gst_caps_from_string),
31758 (gst_caps_copy_conditional):
31760 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31761 (_gst_clock_id_free), (gst_clock_id_unref),
31762 (gst_clock_id_compare_func), (gst_clock_id_wait),
31763 (gst_clock_id_wait_async), (gst_clock_class_init),
31764 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31765 (gst_clock_get_time), (gst_clock_set_time_adjust),
31766 (gst_clock_set_property), (gst_clock_get_property):
31769 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31770 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31772 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31773 (gst_element_requires_clock), (gst_element_provides_clock),
31774 (gst_element_set_clock), (gst_element_clock_wait),
31775 (gst_element_wait), (gst_element_set_time_delay),
31776 (gst_element_is_indexable), (gst_element_add_pad),
31777 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31778 (pad_compare_name), (gst_element_get_static_pad),
31779 (gst_element_request_pad), (gst_element_get_request_pad),
31780 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31781 (gst_element_class_get_pad_template_list),
31782 (gst_element_class_get_pad_template), (gst_element_error_func),
31783 (gst_element_get_random_pad), (gst_element_get_event_masks),
31784 (gst_element_send_event), (gst_element_seek),
31785 (gst_element_get_query_types), (gst_element_query),
31786 (gst_element_get_formats), (gst_element_convert),
31787 (gst_element_is_locked_state), (gst_element_set_locked_state),
31788 (gst_element_sync_state_with_parent), (gst_element_change_state),
31789 (gst_element_finalize), (gst_element_yield),
31790 (gst_element_interrupt), (gst_element_set_scheduler),
31791 (gst_element_get_scheduler), (gst_element_set_loop_function):
31792 * gst/gstelement.h:
31794 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31795 (gst_format_get_by_nick), (gst_format_get_details),
31796 (gst_format_iterate_definitions):
31798 * gst/gstindex.c: (gst_index_gtype_resolver):
31801 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31802 (gst_mem_chunk_free):
31803 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31804 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31805 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31806 (gst_object_dispatch_properties_changed),
31807 (gst_object_set_name_default), (gst_object_set_name),
31808 (gst_object_get_name), (gst_object_set_name_prefix),
31809 (gst_object_get_name_prefix), (gst_object_set_parent),
31810 (gst_object_get_parent), (gst_object_unparent),
31811 (gst_object_check_uniqueness), (gst_object_save_thyself),
31812 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31813 (gst_object_set_property), (gst_object_get_property),
31814 (gst_object_get_path_string):
31816 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31817 (gst_real_pad_init), (gst_real_pad_get_property),
31818 (gst_pad_custom_new), (gst_pad_get_direction),
31819 (gst_pad_set_active), (gst_pad_is_active),
31820 (gst_pad_set_event_function), (gst_pad_is_linked),
31821 (gst_pad_link_free), (gst_pad_link_intersect),
31822 (gst_pad_link_fixate), (gst_pad_set_caps),
31823 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31824 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31825 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31826 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31827 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31828 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31829 (gst_pad_realize), (gst_pad_get_allowed_caps),
31830 (gst_real_pad_dispose), (gst_real_pad_finalize),
31831 (gst_pad_collectv), (gst_pad_collect_valist),
31832 (gst_pad_template_dispose), (gst_pad_template_new),
31833 (gst_pad_get_internal_links):
31835 * gst/gstpipeline.c: (gst_pipeline_dispose),
31836 (gst_pipeline_change_state):
31837 * gst/gstpipeline.h:
31839 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31840 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31841 * gst/gstpluginfeature.h:
31842 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31843 * gst/gstquery.c: (_gst_query_type_initialize),
31844 (gst_query_type_register), (gst_query_type_get_by_nick),
31845 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31847 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31848 * gst/gstscheduler.c: (gst_scheduler_add_element),
31849 (gst_scheduler_factory_create):
31850 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31851 (gst_structure_free), (gst_structure_set_name),
31852 (gst_structure_id_set_value), (gst_structure_set_value),
31853 (gst_structure_set_valist), (gst_structure_remove_field),
31854 (gst_structure_remove_fields),
31855 (gst_structure_remove_fields_valist),
31856 (gst_structure_remove_all_fields), (gst_structure_foreach),
31857 (gst_structure_map_in_place),
31858 (gst_caps_structure_fixate_field_nearest_int),
31859 (gst_caps_structure_fixate_field_nearest_double):
31860 * gst/gststructure.h:
31861 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31862 (gst_system_clock_init), (gst_system_clock_dispose),
31863 (gst_system_clock_async_thread),
31864 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31865 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31866 * gst/gstsystemclock.h:
31867 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31868 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31869 * gst/gsttaginterface.c:
31870 * gst/gstthread.c: (gst_thread_dispose),
31871 (gst_thread_release_children_locks), (gst_thread_change_state),
31872 (gst_thread_main_loop):
31873 * gst/gsttrashstack.h:
31874 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31876 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31877 (gst_element_request_pad), (gst_element_get_pad_from_template),
31878 (gst_element_request_compatible_pad),
31879 (gst_element_get_compatible_pad_filtered),
31880 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31881 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31882 (gst_element_link_many), (gst_element_link),
31883 (gst_element_link_pads), (gst_element_unlink_pads),
31884 (gst_element_unlink_many), (gst_element_unlink),
31885 (gst_pad_can_link_filtered), (gst_pad_can_link),
31886 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31887 (gst_object_default_error), (gst_bin_add_many),
31888 (gst_bin_remove_many), (gst_element_populate_std_props),
31889 (gst_element_class_install_std_props), (gst_buffer_merge),
31890 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31891 (link_fold_func), (gst_pad_proxy_setcaps):
31893 * gst/gstvalue.c: (gst_value_deserialize_string):
31894 * gst/parse/grammar.y:
31895 * gst/schedulers/gstbasicscheduler.c:
31896 (gst_basic_scheduler_cothreaded_chain),
31897 (gst_basic_scheduler_chain_recursive_add),
31898 (gst_basic_scheduler_pad_link):
31899 * gst/schedulers/gstoptimalscheduler.c:
31900 (get_group_schedule_function),
31901 (gst_opt_scheduler_state_transition),
31902 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31903 * libs/gst/bytestream/bytestream.c:
31904 * libs/gst/dataprotocol/dataprotocol.c:
31905 (gst_dp_header_from_buffer):
31908 * tests/threadstate/threadstate2.c: (eos):
31909 * tools/gst-compprep.c: (main):
31910 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31911 (print_pad_info), (print_children_info):
31912 * tools/gst-launch.c: (idle_func), (main):
31913 * tools/gst-md5sum.c: (idle_func), (main):
31914 * tools/gst-xmlinspect.c: (print_element_info):
31915 First THREADED backport attempt, focusing on adding locks and
31916 making sure the API is threadsafe. Needs more work. More docs
31919 2005-02-24 Andy Wingo <wingo@pobox.com>
31921 * tests/bench-complexity.scm:
31922 * tests/complexity.gnuplot: New files, good for running complexity
31925 * tests/Makefile.am:
31926 * tests/complexity.c: New test, sets up N elements, at each level
31927 teeing into M streams per element. Eeeenteresting.
31929 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31930 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31931 running bench-mass_elements.scm.
31933 * tests/bench-mass_elements.scm: New script, runs mass_elements
31934 for various numbers of identities, outputting the results to a
31935 file. Requires guile 1.6. Just for testing.
31937 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31939 * gst/schedulers/fairscheduler.c:
31940 compile with debug disabled
31942 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31945 hunting season on 0.9 is now OPEN