1 2008-11-20 Michael Smith <msmith@songbirdnest.com>
3 * plugins/elements/gstfilesrc.c:
4 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
5 out own slightly incorrect version. Fixes use of some paths on
8 2008-11-20 Michael Smith <msmith@songbirdnest.com>
10 * gst/gstregistrybinary.c:
11 In win32 codepath, if we fail to write the registry, create the
12 directory for it and try again, matching the behaviour in non-win32
15 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
17 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
18 Changing the render delay changes the latency and so we must post a
21 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
25 Add GstQueryType for custom queries instead of having to use the
26 not-so-very-convenient registration infrastructure to register new
29 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
31 Patch by: Andrew Feren <acferen at yahoo dot com>
33 * gst/gstobject.c: (gst_object_default_deep_notify):
34 Unref the GEnumClass after usage again. Fixes bug #561501.
36 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
38 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
39 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
40 (gst_bin_change_state_func):
42 Add do-latency signal with the old default fallback implementation. This
43 allows for custom latency calculations for when the default is not
45 API: GstBin::do-latency signal.
47 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
49 * win32/common/libgstreamer.def:
50 Add new symbols to .def file.
52 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
54 * docs/gst/gstreamer-sections.txt:
55 * gst/gstbin.c: (gst_bin_recalculate_latency),
56 (gst_bin_change_state_func):
58 Add method to recalculate and redistribute the latency on a bin.
59 API: gst_bin_recalculate_latency().
61 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
64 Document the free_func.
66 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
68 * libs/gst/controller/gstinterpolation.c:
69 * libs/gst/controller/gstlfocontrolsource.c:
70 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
71 as it is mapped to a cast on non-win32 platforms.
73 2008-11-17 Stefan Kost <ensonic@users.sf.net>
75 * libs/gst/controller/gstcontroller.c:
76 * libs/gst/controller/gstcontrollerprivate.h:
77 Keep last-value and only call set_property if value has changed. This
78 supresses all the g_object_notifies we would trigger otherwise. It
79 also allows the user to chage the value while there is no controller
82 2008-11-17 Stefan Kost <ensonic@users.sf.net>
85 Don't crash if either of the string GValues is empty.
87 2008-11-17 Andy Wingo <wingo@pobox.com>
89 * tools/gst-inspect.c (print_all_uri_handlers): New function,
90 prints a summary of what URI schemes are supported by what
92 (main): Plumb in support for --uri-handlers or -u, and fix the
93 argc check for -a and -u.
95 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
98 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
101 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
103 * gst/gstbuffer.c: (gst_buffer_finalize):
104 Avoid costly typechecking for trivially correct pointers.
106 * gst/gstpoll.c: (gst_poll_wait):
107 Add some G_LIKELY here and there.
109 * libs/gst/base/gstadapter.c: (gst_adapter_push):
112 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
114 * docs/random/wtay/poll-timeout:
117 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
119 * tests/old/testsuite/caps/intersection.c: (main):
120 * tests/old/testsuite/plugin/loading.c: (main):
121 Remove references to deprecated API g_mem_chunk*.
124 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
126 * tools/gst-inspect.c: (main):
127 Add --plugin option. Fixes #560301.
129 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
131 * docs/random/wtay/poll-timeout:
132 Quick braindump for a possible (not totally verified) atomic case.
134 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
136 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
137 (gst_registry_binary_initialize_magic),
138 (gst_registry_binary_write_cache),
139 (gst_registry_binary_check_magic):
140 * gst/gstregistrybinary.h:
141 Don't write and check a CRC for the binary registry file. It's
142 guaranteed that the registry is completely written (it's first written
143 to a temporary file and then moved) and if the registry was corrupted
144 by some hardware failure we would have bigger problems.
146 Bump binary registry version to 0.10.21.1 for this as it's an
147 incompatible change and to ensure that the registry gets rebuild
150 This saves some milliseconds for reading/writing the registry.
153 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
155 * docs/random/wtay/poll-timeout:
156 Some pseudo code for how we could implement clock timeouts with GstPoll.
158 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
160 * plugins/elements/gstfilesink.c:
161 Update Author string to match others.
163 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
165 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
166 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
167 being fixed and inline the trivial check.
169 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
171 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
172 (gst_caps_merge_structure), (gst_caps_get_structure),
173 (gst_caps_copy_nth), (gst_caps_set_simple),
174 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
175 (gst_caps_is_equal_fixed), (gst_caps_intersect),
176 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
177 (gst_caps_to_string):
178 Callgrind micro optimisations.
179 Avoid array bounds checks and force inline of trivial function.
181 * gst/gstobject.c: (gst_object_set_name_default):
182 -1 is equivalent to letting glib to the strlen but then there is more
183 room for optimisations and it's not our fault.
185 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
186 no need to clear the array, we're cool.
188 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
189 The most common _is_fixed() check is done on fundamental glib base
190 types so we check this first instead of doing a huge amount of
191 useless GST_TYPE_ARRAY calls.
193 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
196 Add a SKIP seek flag for use with advanced trickmodes.
197 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
199 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
201 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
202 No need to memset, we can clear the value ourselves.
204 * gst/gstvalue.c: (gst_type_is_fixed),
205 (gst_value_get_compare_func):
206 Some optimisations from a few callgrind sessions:
207 When checking if a type is fixed, check for trivial fundamental types
208 first before checking types for which we need to get the type followed
209 by the heavy duty type checks, this reduces the amount of
210 g_type_fundamental() calls a lot.
211 When getting the compare function, first check for our registered types.
212 If that fails, do the heavy duty g_type_is_a() checks, reduces the
213 amount of g_type_is_a() considerably.
215 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
217 * docs/design/part-TODO.txt:
218 Mumble something about removing GstXML.
220 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
222 * gst/gstbin.c: (gst_bin_handle_message_func):
223 Get the seqnum before we dispose the message.
225 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
227 * docs/design/part-TODO.txt:
228 Refer to the framestepping document.
230 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
232 * gst/gstbin.c: (bin_handle_async_start),
233 (gst_bin_handle_message_func), (gst_bin_query):
234 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
235 (gst_base_sink_event), (gst_base_sink_change_state):
236 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
237 (gst_base_src_loop), (gst_base_src_change_state):
238 Copy seqnums from events to messages so that they can all be related
241 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
243 * tools/gst-launch.c: (event_loop):
244 Print the message seqnums.
246 2008-11-04 Andy Wingo <wingo@pobox.com>
248 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
250 2008-11-04 Andy Wingo <wingo@pobox.com>
252 Add sequence numbers to events and messages. See #559250.
254 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
258 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
259 events with a new sequence number, and copy it when copying.
260 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
261 an event's sequence number.
264 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
265 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
268 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
270 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
272 * docs/manual/advanced-position.xml:
273 * docs/manual/basics-bins.xml:
274 * docs/manual/basics-bus.xml:
275 * docs/manual/basics-pads.xml:
276 * docs/manual/intro-gstreamer.xml:
277 * docs/manual/intro-preface.xml:
278 Some Application Development Manual fixes thanks to
279 Andrew Feren. Fixes #558459.
281 2008-11-03 Stefan Kost <ensonic@users.sf.net>
283 * gst/gstregistrybinary.c:
284 Don't bother with the GTimer if we don't output the results.
286 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
288 Patch by: David Schleef <ds@schleef.org>
290 * libs/gst/net/Makefile.am:
291 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
293 2008-10-31 Stefan Kost <ensonic@users.sf.net>
295 * gst/gstregistrybinary.c:
296 Oh my, studip, stupid me. Remove double stat() call.
298 2008-10-31 Stefan Kost <ensonic@users.sf.net>
301 Use g_unlink instead of unlink.
303 * gst/gststructure.c:
312 Formatting & whitespaces.
314 2008-10-31 Stefan Kost <ensonic@users.sf.net>
316 * plugins/elements/gstidentity.c:
317 Doc typo. Use return value of parent_class->event.
319 * plugins/elements/gsttypefindelement.c:
320 Chain up at the end for consistency.
322 2008-10-30 Stefan Kost <ensonic@users.sf.net>
325 * docs/gst/gstreamer-docs.sgml:
326 * docs/gst/gstreamer-sections.txt:
327 * docs/gst/running.xml:
328 * docs/libs/gstreamer-libs-docs.sgml:
329 Change to xinclude based build - its faster and easier to maintain.
331 2008-10-30 Stefan Kost <ensonic@users.sf.net>
333 * gst/gstregistrybinary.c:
334 * gst/gstregistryxml.c:
335 Use g_unlink() as none of these are directories.
337 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
339 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
342 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
344 * libs/gst/base/gstbasetransform.c:
345 (gst_base_transform_find_transform), (gst_base_transform_getrange):
346 If we have a fixate function, call it even if we already have fixed caps
347 because the subclass might add some caps. Makes audioconvert add a
348 default channel layout.
350 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
352 * libs/gst/base/gstbasetransform.c:
353 (gst_base_transform_prepare_output_buffer),
354 (gst_base_transform_getrange):
355 Clear the output buffer variable.
356 Cleanups to the error path in the getrange function.
359 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
361 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
362 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
363 Use gst_buffer_try_new_and_alloc() and handle errors instead of
364 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
367 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
369 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
370 Set the last_stop to a more meaningful position when configuring the
371 segment. ie. the start/stop of the segment or clipped against the
372 updated segment boundaries.
374 * tests/check/gst/gstsegment.c: (GST_START_TEST):
375 Add some unit tests for the last_stop.
377 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
379 * libs/gst/base/gstbytereader.c:
380 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
383 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
385 * docs/gst/gstreamer-sections.txt:
387 API: Move float endianness conversion macros from libgstfloatcast
388 to core as it's useful in general, even in core. Fixes bug #555196.
389 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
390 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
391 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
393 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
394 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
395 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
396 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
398 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
400 * docs/libs/gstreamer-libs-sections.txt:
401 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
402 (gst_byte_reader_peek_data):
403 * libs/gst/base/gstbytereader.h:
404 * win32/common/libgstbase.def:
405 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
406 to get a pointer to the data at the current position and have
409 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
412 Fix a bug in the output of the configure script summary
413 when --gst-disable-registry is supplied
415 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
417 * libs/gst/base/gstbitreader.c:
418 * libs/gst/base/gstbytereader.c:
419 Fix the names of 2 functions in the docs strings.
421 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
423 * libs/gst/base/gstbasetransform.c:
424 (gst_base_transform_prepare_output_buffer),
425 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
426 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
427 refcount problems as seen in banshee and maybe also in farsight2.
428 Remove atomic int now that we need to take the lock anyways.
430 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
432 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
433 (gst_base_sink_default_prepare_seek_segment),
434 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
435 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
436 (gst_base_sink_query):
437 Implement more seeking in pull mode.
438 Use pad convert functions to convert position to the requested format.
439 Fix position/duration reporting in pull mode.
440 Implement position and duration reporting in other formats than time.
442 * libs/gst/base/gstbasesink.h:
443 Add member to keep track of when the segment is playing.
445 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
447 * gst/gstpad.c: (gst_pad_configure_src):
448 When we use gst_pad_alloc_buffer() without wanting to set the caps we
449 also don't need to check if the caps are compatible because the caller
450 presumably is going to perform its own custom checks. Fixes some cases
451 where basetransform elements would error out when it was not needed.
453 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
455 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
458 * libs/gst/base/gstbasetransform.c:
459 (gst_base_transform_handle_buffer),
460 (gst_base_transform_reconfigure):
463 * win32/common/libgstbase.def:
466 2008-10-19 Stefan Kost <ensonic@users.sf.net>
468 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
469 Remove duplicated assignment and log a message in failure case.
471 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
473 Patch by: Dig Ge <dig.ge.cn at gmail com>
475 * tests/examples/helloworld/helloworld.c: (main):
476 Fix copy'n'paste bug in hello world example (#556900).
478 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
480 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
481 (gst_base_sink_query):
482 Query the total number of bytes when activating the pad in pull mode.
483 Implement duration query in pull mode by using the installed pad convert
484 function to convert from bytes to the requested format.
486 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
488 * docs/libs/gstreamer-libs-sections.txt:
489 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
490 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
491 (gst_base_sink_event), (gst_base_sink_perform_seek),
492 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
493 (gst_base_sink_send_event), (gst_base_sink_change_state):
494 * libs/gst/base/gstbasesink.h:
495 Add method to commit the state in subclasses.
496 Refactor the flush_start and flush_stop code because we need it for
497 flushing while seeking too.
498 Implement the beginnings of seeking in pull mode.
499 Use the segment last_stop field for the pulling offset.
500 Fix the pause method in pull mode.
501 Configure the segment to BYTES for pull mode.
502 API: GstBaseSink::gst_base_sink_do_preroll()
504 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
506 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
509 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
511 * gst/gstquark.c: (_priv_gst_quarks_initialize):
512 Fix printf format warning.
514 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
516 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
517 Fix flow aggregation of tee. Error out immediately for all flow returns
518 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
519 and return OK if at least one pad is linked.
521 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
522 and otherwise returned the flow return of the last pad, which is wrong.
524 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
525 (GST_START_TEST), (tee_suite):
526 Add unit tests for the flow aggregation.
528 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
530 * docs/design/part-TODO.txt:
531 Remove item from the todo list because it was fixed with the latency
532 state change rewrites.
534 * docs/design/part-seeking.txt:
535 * docs/design/part-segments.txt:
538 * gst/gstevent.c: (gst_event_new_new_segment_full),
539 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
540 (gst_event_parse_buffer_size), (gst_event_new_qos),
541 (gst_event_parse_qos), (gst_event_new_seek),
542 (gst_event_parse_seek), (gst_event_new_latency),
543 (gst_event_parse_latency):
544 Use quarks to construct and parse events.
546 * gst/gstquark.c: (_priv_gst_quarks_initialize):
548 Add some more quarks to the table.
549 Emit a warning when the quark tables are not in sync.
551 * tests/check/gst/gstbus.c: (GST_START_TEST):
554 2008-10-13 Stefan Kost <ensonic@users.sf.net>
556 * plugins/elements/Makefile.am:
557 * plugins/indexers/Makefile.am:
558 Don't install static libs for plugins. Fixes #550851 for core.
560 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
562 * gst/gstbus.c: (gst_bus_source_finalize),
563 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
564 (gst_bus_enable_sync_message_emission),
565 (gst_bus_disable_sync_message_emission),
566 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
567 Fix deadlock, g_source_get_id() cannot be called in finalize.
568 Keep track of the watch source by keeping a pointer to the source object
570 Use the bus lock to protect access to the pointer to the current
573 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
575 Base on Patch by: Olivier Crete <tester at tester dot ca>
577 * gst/gstbus.c: (gst_bus_source_finalize),
578 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
579 Only allow one bus watch to be set at a time. This is necessary
580 because the dispatcher pops the message from the bus and the second
581 watcher will then get NULL or the next message (and the first won't
582 get this next message then, etc). If more than one "watcher" is
583 required signal watches should be used. Fixes bug #526044.
585 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
587 * tools/gst-launch.c:
588 Change the printing of the 'buffering...' output to avoid putting
589 a \r in a translateable string (flagged by the TP).
591 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
594 Clarify that the save_thyself() and restore_thyself() virtual
595 functions of GstObject need to be overriden, not
596 gst_object_(save|restore)_thyself() which is impossible.
599 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
601 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
602 Revert a patch from 21 months ago that broke caps negotiation in pull
603 mode. Basically, having a buffer pass over a pad will trigger the
604 setcaps function when caps change, just like in push mode.
606 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
608 * docs/design/part-negotiation.txt:
609 Update the docs some more.
611 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
612 If we pull a buffer with non-trivial caps, suggest those caps with the
615 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
617 * docs/design/part-TODO.txt:
618 Add another limitation of pad-blocking with segment seeks not pushing
621 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
623 * win32/common/libgstbase.def:
624 * win32/common/libgstreamer.def:
625 Add new symbols to the win32 defs files
627 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
629 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
630 (gst_bin_handle_message_func):
631 The message src can be NULL, don't try to print the object names in that
634 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
635 Add some more debug info.
637 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
640 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
643 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
645 * docs/design/part-negotiation.txt:
648 * docs/libs/gstreamer-libs-sections.txt:
649 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
650 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
651 (gst_base_sink_init), (gst_base_sink_set_blocksize),
652 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
653 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
654 (gst_base_sink_loop), (gst_base_sink_pad_activate),
655 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
656 (gst_base_sink_change_state):
657 * libs/gst/base/gstbasesink.h:
658 Add blocksize property and methods to control the amount of data
660 Negotiate first before activating upstream in pull mode so that they can
661 negotiate themselves.
662 When we operate in pull mode, we only accept the caps that we
664 Make the sink go ASYNC to PAUSED, like all other sinks.
665 API: GstBaseSink::gst_base_sink_set_blocksize()
666 API: GstBaseSink::gst_base_sink_get_blocksize()
667 API: GstBaseSink::blocksize
669 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
670 (gst_base_src_set_live), (gst_base_src_is_live),
671 (gst_base_src_set_format), (gst_base_src_query_latency),
672 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
673 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
674 (gst_base_src_set_property), (gst_base_src_get_property):
675 * libs/gst/base/gstbasesrc.h:
676 Add typechecking in public API functions.
677 Add methods to control the blocksize in subclasses.
678 API: GstBaseSrc::gst_base_src_set_blocksize()
679 API: GstBaseSrc::gst_base_src_get_blocksize()
681 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
683 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
684 (buffer_probe), (event_probe), (GST_START_TEST):
685 We now see 3 events go through our pad, since basesink now sends
686 upstream latency events.
688 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
690 * gst/gstpipeline.c: (gst_pipeline_change_state):
691 Release the object lock before trying to flush the bus.
693 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
695 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
696 Forward LATENCY events upstreams so that elements know about the total
697 pipeline latency. Fixes #555307.
699 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
701 * plugins/elements/gstqueue.c:
702 Allow through queries when we don't know how
703 to adjust them (not TIME or BYTES), as otherwise it's
704 not possible to query the current position in order
705 to seek in other formats at all.
707 2008-10-08 Andy Wingo <wingo@pobox.com>
709 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
711 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
715 Unbreak -good build, private is a reserved c++ keyword.
717 2008-10-08 Andy Wingo <wingo@pobox.com>
719 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
720 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
721 removal: re-add GST_GHOST_PAD_CAST to the header.
723 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
724 (GstGhostPadClass): Publically expose these structures so as to
725 allow easy subclassing from C. Hide the member data behind a
726 private opaque data pointer.
728 * gst/gstghostpad.c: Adapt to store instance data in the type
729 instance's private data region, not in the public struct.
731 2008-10-08 Andy Wingo <wingo@pobox.com>
733 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
734 template via g_object_get(), be sure to unref it.
736 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
738 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
740 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
741 If we can't get a cache file don't try to save something to it.
742 Dereferencing NULL pointers usually isn't a good idea.
744 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
746 * tests/check/Makefile.am:
747 * tests/check/gst/gstabi.c:
748 * tests/check/gst/struct_sparc.h:
749 * tests/check/libs/libsabi.c:
750 * tests/check/libs/struct_sparc.h:
753 * tests/check/gst/gstvalue.c: (GST_START_TEST):
754 Cast signed integer to unsigned to avoid a compiler warning.
756 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
758 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
759 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
760 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
761 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
762 (gst_byte_reader_peek_int24_be):
763 Use new GST_READ_UINT24_(LE|BE) macros.
765 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
767 * docs/gst/gstreamer-sections.txt:
769 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
770 as it's too easy to break the ISO C strict aliasing rules with simple
771 casts to the corresponding type and this would introduce hard to debug
772 bugs. Fixes bug #545714.
774 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
776 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
778 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
779 * gst/gstghostpad.c: (gst_ghost_pad_construct):
780 Add 'Since' bits to gtk-doc chunks for new API.
782 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
784 * docs/gst/gstreamer-sections.txt:
787 2008-10-06 Andy Wingo <wingo@pobox.com>
789 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
790 that will be called on the malloc_data to free it. Basically a way
791 to avoid subclassing when all you need is a different free
792 function, i.e. free() instead of g_free().
794 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
795 calling the free function.
796 (gst_buffer_init): Initialize the free function to g_free.
798 2008-10-06 Andy Wingo <wingo@pobox.com>
801 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
802 finishes the initialization of ghost pad. Useful for language
803 bindings and subclassers of GstGhostPad. Fixes #539108.
804 (gst_ghost_pad_new_full): Use the new constructor.
806 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
808 Base on Patch by: Olivier Crete <tester at tester dot ca>
810 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
811 (gst_bin_remove_func), (update_degree),
812 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
813 Keep track of pads that are being linked/unlinked and resync the state
816 * gst/gstpad.c: (gst_pad_get_direction),
817 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
818 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
819 (gst_pad_link_prepare), (gst_pad_link),
820 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
821 (gst_pad_check_pull_range), (gst_pad_get_range),
822 (gst_pad_pull_range):
823 Some code cleanups, use macros to check pad direction.
824 Don't need to take the lock on the pad direction.
825 Post structure change when pads are linked/unlinked.
826 Change some checks into _return_if_fail().
828 * tests/check/gst/gstbin.c:
829 (test_link_structure_change_state_changed_sync_cb),
830 (GST_START_TEST), (gst_bin_suite):
831 Add testcase for pad link/unlinke resync during a state change.
834 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
836 * docs/gst/gstreamer-sections.txt:
837 * gst/gstmessage.c: (gst_message_new_structure_change),
838 (gst_message_parse_structure_change):
840 Implement STRUCTURE_CHANGED messages. These messages will be used to
841 signal the parent bin of link/unlink operations that could require a
842 resync when doing a state change. See ##510354.
843 API: gst_message_new_structure_change()
844 API: gst_message_parse_structure_change()
846 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
850 Add some more quarks for new message. See #510354.
852 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
854 * docs/libs/gstreamer-libs-docs.sgml:
855 * docs/libs/gstreamer-libs-sections.txt:
856 * libs/gst/base/Makefile.am:
857 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
858 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
859 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
860 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
861 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
862 (gst_bit_reader_skip_to_byte):
863 * libs/gst/base/gstbitreader.h:
864 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
865 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
866 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
867 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
868 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
869 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
870 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
871 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
872 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
873 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
874 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
875 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
876 * libs/gst/base/gstbytereader.h:
877 * tests/check/Makefile.am:
878 * tests/check/libs/bitreader.c: (GST_START_TEST),
879 (gst_bit_reader_suite):
880 * tests/check/libs/bytereader.c: (GST_START_TEST),
881 (gst_byte_reader_suite):
882 API: Add bit reader and byte reader classes, including documentation
883 and an extensive unit test suite. Fixes bug #553554.
885 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
887 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
888 (gst_base_sink_query):
889 Improve position reporting while flushing and other intermediate state
890 changes. Fixes #553874.
892 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
894 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
896 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
897 Original patch by : Simon Descaries
898 Fix small refount leak in caps compatibility check.
901 2008-10-06 Stefan Kost <ensonic@users.sf.net>
903 * docs/pwg/advanced-request.xml:
904 Fix 0.8 api usage in example. Fixes #554561
906 * docs/pwg/appendix-porting.xml:
907 Change 0.9 to 0.10 here.
909 2008-10-06 Stefan Kost <ensonic@users.sf.net>
911 * docs/manual/basics-data.xml:
912 Change "event-event interaction" to "element-element interaction".
913 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
916 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
919 Back to development -> 0.10.21.1
921 === release 0.10.21 ===
923 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
926 releasing 0.10.21, "Take These Things From Me"
928 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
931 0.10.20.4 pre-release
933 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
935 * libs/gst/base/gstbasetransform.c:
936 * plugins/elements/gstcapsfilter.c:
937 * tests/check/Makefile.am:
938 * tests/check/elements/.cvsignore:
939 * tests/check/elements/capsfilter.c:
940 Fix assertion in basetransform when the subclass chooses not to
941 allocate a buffer in prepare_buffer(), and make capsfilter error out
942 cleanly if requested to apply caps that don't completely specify the
943 buffer. Fixes #551509
945 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
947 * libs/gst/base/gstbasetransform.c:
948 (gst_base_transform_prepare_output_buffer):
949 Take new caps ref because our old one might have been gone when the
950 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
952 2008-09-15 Stefan Kost <ensonic@users.sf.net>
955 Do not probe availability of check unit test library when cross
956 compiling, as test would not work anyway. Also cleanup verbose output
957 of the check test. Fixes #551952.
959 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
961 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
963 * gst/gstelement.c: (gst_element_sync_state_with_parent):
964 Avoid leaking the parent ref when we fail changing the state of the
965 element using gst_element_sync_state_with_parent(). Fixes #551978.
967 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
969 * docs/manual/intro-motivation.xml::
970 Remove some bits that no longer apply, update others (#551642).
972 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
975 0.10.20.2 pre-release
983 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
985 * win32/common/config.h.in:
986 Add GST_DATADIR, hard-code cpu to x86.
988 * win32/common/libgstreamer.def:
991 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
994 Fix Since: markers for new geo tags.
996 2008-09-02 Stefan Kost <ensonic@users.sf.net>
999 Fix actual tag name define after renaming from altitude to elevation.
1001 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1003 * gst/gstpad.c: (add_unref_pad_to_list),
1004 (gst_pad_get_internal_links_default):
1005 Add fallback when calling the deprecated function on an element that
1006 implements the new internal_link handler.
1008 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1010 * docs/gst/gstreamer-sections.txt:
1013 Add new tags for geo location and clarify purpose of existing location
1016 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1018 Patch by: Olivier Crete <tester at tester dot ca>
1020 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1021 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1022 Use thread-safe internal links iterator. Fixes #549504.
1024 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1026 Based on patch by: Olivier Crete <tester at tester dot ca>
1028 * docs/gst/gstreamer-sections.txt:
1029 * win32/common/libgstreamer.def:
1030 * gst/gstpad.c: (gst_pad_init),
1031 (gst_pad_set_iterate_internal_links_function),
1032 (int_link_iter_data_free), (iterate_pad),
1033 (gst_pad_iterate_internal_links_default),
1034 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1036 Add threadsafe replacement functions for getting internal links of an
1037 element. Deprecate the old internal links functions.
1038 API:GstPad::gst_pad_set_iterate_internal_links_function()
1039 API:GstPad::GstPadIterIntLinkFunction
1040 API:GstPad::gst_pad_iterate_internal_links()
1041 API:GstPad::gst_pad_iterate_internal_links_default()
1043 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1044 (gst_proxy_pad_init):
1045 Implement threadsafe internal links.
1047 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1048 Unit test for internal links on tee. See #549504.
1050 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1052 * tests/check/Makefile.am:
1053 libs/transform1 test requires libs/test_transform.c
1055 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1057 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1058 Die evil deadlock, die !
1060 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1062 * gst/gstutils.c: (gst_element_get_compatible_pad):
1063 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1064 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1065 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1066 not steal the refcount of the given caps as stated.
1068 REVERT THIS COMMIT ONCE FIXED !
1069 REVERT THIS COMMIT ONCE FIXED !
1070 REVERT THIS COMMIT ONCE FIXED !
1071 REVERT THIS COMMIT ONCE FIXED !
1072 REVERT THIS COMMIT ONCE FIXED !
1073 REVERT THIS COMMIT ONCE FIXED !
1075 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1077 * gst/gstiterator.c:
1078 * gst/gstiterator.h:
1079 After 3 years it's about time to revise the documentation of the
1082 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1084 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1085 Make the internal links function less thread-unsafe and add some
1086 comments, dunno why.
1088 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1090 * gst/gst_private.h:
1091 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1092 build with --disable-gst-debug.
1094 2008-08-28 David Schleef <ds@schleef.org>
1096 * gst/gstpadtemplate.c: Revert last change, since it breaks
1097 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1098 but shouldn't be enabled until we've released fixed versions
1099 of -good and -ffmpeg.
1101 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1104 Put the gst_object_get_name() back in.
1106 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1108 * gst/gstpadtemplate.c:
1109 The old behaviour was that gst_pad_template_new() takes ownership of
1110 the caps. As we now call g_object_new() which calls g_object_set() and
1111 which copies the caps, we have to unref them to not leak them. Fixes
1112 make valgrid for me.
1114 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1117 Don't segfault on input like "tel:+1-123-555-1234".
1119 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1122 Due to popular request also include ObjectType in
1123 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1125 2008-08-26 David Schleef <ds@schleef.org>
1127 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1128 src_val must be positive, because that's not a requirement.
1129 This causes problems with converting negative granulepos
1131 * gst/gstquery.c: Same, gst_query_new_convert().
1133 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1135 * gst/gstclock.c: (gst_clock_add_observation):
1136 Add some more debugging to the clock slaving code.
1138 * win32/common/libgstbase.def:
1139 Add new basetransform method.
1141 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1143 * gst/gstbin.c: (gst_bin_element_set_state):
1144 Take the (recursive) state lock between getting the locked state of an
1145 element and changing the element state. This allows the application to
1146 lock an element's state and then change its state without races.
1148 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1150 * gst/gstbin.c: (gst_bin_element_set_state):
1151 When an element is in the locked state we still want to update the
1152 base_time of the element.
1154 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1156 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1157 Use the result from gst_pad_set_caps() instead of assuming the element
1158 always accepted the caps computed by the default negotiate function.
1160 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1162 * docs/libs/gstreamer-libs-sections.txt:
1163 * libs/gst/base/gstbasetransform.c:
1164 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1165 (gst_base_transform_chain), (gst_base_transform_suggest),
1166 (gst_base_transform_reconfigure):
1167 * libs/gst/base/gstbasetransform.h:
1168 Implement method for reconfiguring basetransform.
1169 API: GstBaseTransform::gst_base_transform_reconfigure()
1171 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1173 patch by: Murray Cumming <murrayc@murrayc.com>
1176 Mention that this is just like gst_buffer_merge() but with extra
1177 unreffing for C coders. Advise language bindings not to wrap it.
1180 Also fix file comment.
1182 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1184 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1186 * plugins/elements/gstfakesink.c:
1187 * plugins/elements/gstfakesrc.c:
1188 Call super::event() when not handling it. Fixes #544855.
1190 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1192 Patch by: Alessandro Decina <alessandro@nnva.org>
1193 * plugins/elements/gstfilesrc.c:
1194 Use 64 bit variants of stat functions on win32, to enable support
1195 of large files there.
1198 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1200 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1201 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1202 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1203 (gst_base_sink_get_position), (gst_base_sink_change_state):
1204 Improve position reporting in the flushing state.
1205 Also report the position when we are not yet prerolled but we
1206 have a newsegment event. Fixes #543444.
1207 Improve the pull-based negotiation code.
1209 * tests/check/elements/fakesink.c: (GST_START_TEST),
1211 Add testcase for position reporting while flushing in PAUSED and
1214 * tests/check/generic/sinks.c: (GST_START_TEST):
1215 Update unit-test, we can now query the position as soon as we receive a
1218 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1220 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1222 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1223 When the subclass event handler releases the PREROLL_LOCK, we could be
1224 in the flushing state and we have to ignore the event. Fixes #548394.
1226 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1228 * tools/gst-launch.1.in:
1229 Document GST_REGISTRY_UPDATE environment variable.
1231 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1233 * libs/gst/base/gstbasetransform.c:
1234 (gst_base_transform_prepare_output_buffer):
1235 If the element is configured in passthrough mode but the
1236 prepare_output_buffer gave us a new output buffer, discard that buffer
1237 and reuse the input buffer.
1239 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1241 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1243 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1244 (gst_tee_request_new_pad), (gst_tee_release_pad),
1245 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1246 * plugins/elements/gsttee.h:
1247 Protect pad_alloc with a new lock so that we can be sure that nothing is
1248 performing a pad_alloc when removing the pad. Fixes #547835.
1250 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1251 (buffer_alloc_harness_teardown), (app_thread_func),
1252 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1253 Added testcase for shutdown race.
1255 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1260 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1262 * libs/gst/base/gstbasetransform.c:
1263 (gst_base_transform_prepare_output_buffer),
1264 (gst_base_transform_buffer_alloc):
1265 Go over the buffer_alloc function again and make sure we always end up
1266 allocating a buffer.
1268 Avoid doing pad alloc when we have a pending suggestion because we
1269 cannot yet deal with changing caps in that case. Fixes #547728
1271 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1273 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1275 * docs/manual/advanced-clocks.xml:
1276 * docs/manual/clocks.png:
1277 * docs/manual/diagrams-clocks.svg:
1278 Add one more image showing different times together with a describing
1279 paragraph. Fixes #547729.
1281 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1283 * win32/common/libgstbase.def:
1286 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * libs/gst/base/gstbasetransform.c:
1289 (gst_base_transform_transform_caps),
1290 (gst_base_transform_prepare_output_buffer),
1291 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1292 Don't overwrite the outsize when calculating the expected size of a new
1293 buffer because we still need it in case we cannot process the new
1295 When converting the size of the new buffer to an upstream size, actually
1296 use the expected size of the buffer, not some other random value.
1297 Use an atomic int to signal that a new upstream caps suggestion is
1299 When we can convert the current buffer to a new format, check if the
1300 buffer size is of the expected size and allocate a new buffer of the
1301 expected size when this is not the case. Fixes #546883.
1303 * tests/check/libs/transform1.c: (GST_START_TEST):
1304 remove ifdeffed code from the unit test.
1306 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1308 * pkgconfig/gstreamer-uninstalled.pc.in:
1309 * pkgconfig/gstreamer.pc.in:
1310 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1311 called gstcontroller-0.10.
1313 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1315 * gst/gstchildproxy.h:
1317 Remove double interface from doc-string.
1319 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1321 * libs/gst/base/gstbasesrc.c:
1322 * libs/gst/base/gstbasetransform.c:
1323 Fix headings in docs and gtk-doc warnings.
1325 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1327 * gst/gstregistrybinary.c:
1328 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1332 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1334 * libs/gst/base/gstbasetransform.c:
1335 (gst_base_transform_buffer_alloc):
1336 Fix a "may be used unitialized" warning.
1338 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1340 * docs/gst/gstreamer-sections.txt:
1342 Document preset-iface vmethods.
1344 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1346 * docs/manual/advanced-interfaces.xml:
1347 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1348 only used to discover devices.
1350 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1352 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1354 * gst/gst.c: (init_pre):
1355 Make sure gettext returns translations in UTF-8 encoding rather
1356 than in the current locale encoding (#546822).
1358 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1360 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1363 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1364 Improve unit test subset tests and add a testcase for the subset failure
1367 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1368 Improve subtraction unit test.
1370 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1372 * plugins/elements/gsttee.c:
1373 Unlock, instead of locking again.
1375 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1378 Clarify the docs a bit more.
1380 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1382 * tests/examples/metadata/read-metadata.c:
1383 Don't leak old taglist.
1385 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1387 Patch by: Olivier Crete <tester at tester dot ca>
1389 * gst/gststructure.c:
1390 (gst_structure_fixate_field_nearest_fraction):
1391 Avoid overflows in fixation code when dealing with MAXINT values, which
1392 v4l2src seems to do.
1395 * tests/check/gst/gststructure.c: (GST_START_TEST):
1396 Make a unit test to check the fix.
1398 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1400 * plugins/elements/gstcapsfilter.c: (copy_func),
1401 (gst_capsfilter_set_property):
1402 Use new caps suggestion feature of basetransform to request a caps
1403 negotiation upstream.
1405 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1407 * docs/libs/gstreamer-libs-sections.txt:
1409 API: GstBaseTransform::gst_base_transform_suggest()
1411 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1412 (gst_base_transform_init), (gst_base_transform_transform_caps),
1413 (gst_base_transform_transform_size),
1414 (gst_base_transform_configure_caps),
1415 (gst_base_transform_can_transform),
1416 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1417 (gst_base_transform_prepare_output_buffer),
1418 (gst_base_transform_buffer_alloc),
1419 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1420 (gst_base_transform_chain), (gst_base_transform_activate),
1421 (gst_base_transform_set_passthrough),
1422 (gst_base_transform_is_passthrough),
1423 (gst_base_transform_set_in_place),
1424 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1425 (gst_base_transform_set_qos_enabled),
1426 (gst_base_transform_is_qos_enabled),
1427 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1428 (gst_base_transform_reconfigure):
1429 * libs/gst/base/gstbasetransform.h:
1430 Rewrite of basetransform to perform negotiation outside of the
1431 buffer_alloc functions. Fixes #545853.
1433 * tests/check/libs/transform1.c: (GST_START_TEST),
1437 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1439 * tests/check/gst/gstpreset.c:
1440 Only run preset tests when $HOME is writable. Preliminary fix for
1443 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1445 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1446 (gst_bin_change_state_func), (bin_handle_async_done),
1447 (gst_bin_handle_message_func):
1448 Fix race for bins that simulate ASYNC state changes by inserting
1449 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1450 pending ASYNC messages even when the bin does not have ASYNC children.
1451 We note detect this behaviour because we will receive an ASYNC message
1452 that is originating from the bin itself.
1453 Fixes races with decodebin2 state changes.
1455 * tests/check/gst/gstbin.c: (GST_START_TEST):
1456 Add some more debug.
1458 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1460 * gst/gsttaglist.c: (_gst_tag_initialize):
1463 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1466 Argh. actually save the text before committing. Now adds
1467 gst_tag_merge_strings_with_comma() to gst_tag_register().
1469 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1473 Do as tim pointed out and actually register the new tag. Also improve
1474 te docs and use gst_tag_merge_strings_with_comma() method to allow
1475 retriving all keywords merged in one list.
1477 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1480 * docs/gst/gstreamer.types:
1481 Revert 'accidential' change of the configure option removal. We still
1482 need to generate the types file in configure --disable-load-save.
1484 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1486 * docs/gst/gstreamer-sections.txt:
1488 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1490 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1492 * gst/gstpadtemplate.c:
1493 (gst_pad_template_class_init), (gst_static_pad_template_get),
1494 (gst_pad_template_new), (gst_pad_template_pad_created),
1495 (gst_pad_template_set_property), (gst_pad_template_get_property):
1496 Add "name-template", "direction", "presence" and "caps" properties,
1497 so that gst_pad_template_new() is just a thin wrapper around
1498 g_object_new(), which is better for bindings. (Fixes: #539772)
1500 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1503 Be more liberal in what URIs we accept.
1504 Do not unescape bits of the URI for no apparent reason before passing to
1505 the element. Fixes #545352.
1507 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1509 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1512 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1514 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1517 * docs/gst/gstreamer-sections.txt:
1518 * docs/gst/gstreamer.types:
1519 * docs/gst/gstreamer.types.in:
1522 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1523 * gst/gstconfig.h.in:
1524 * gst/gstelement.c: (gst_element_get_index):
1525 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1526 (gst_registry_binary_load_feature),
1527 (gst_registry_binary_read_cache):
1528 * gst/gstregistryxml.c: (load_feature),
1529 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1530 * plugins/Makefile.am:
1532 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1533 (print_plugin_features), (print_element_features):
1534 * tools/gst-xmlinspect.c: (print_event_masks),
1535 (print_element_info):
1536 * win32/common/gstconfig.h:
1537 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1539 Disabling the indexers and URI handler code will only reduce the
1540 required amount of memory by a very small amount but on the other hand
1541 requires much more maintaince work. Apart from that many places of
1542 code are broken when disabling them.
1544 Disabling the enum types doesn't reduce the required amount of memory
1545 by more than a few bytes and makes it hard to fix bugs like #539772,
1546 i.e. use the enums as GObject properties.
1548 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1550 * docs/design/part-TODO.txt:
1551 Add some thoughts and problems with upstream renegotiation.
1553 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1555 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1556 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1557 Remove silly redundant debug.
1558 Add some more debug info.
1559 Clarify the docs regarding new caps received from pad_alloc.
1561 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1563 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1564 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1565 Make setting the caps more threadsafe.
1567 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1569 * docs/design/part-element-transform.txt:
1572 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1574 * plugins/elements/gstqueue.c: (gst_queue_init),
1575 (gst_queue_acceptcaps):
1576 Add and use a custom acceptcaps function instead of falling back to the
1577 potentially less optimized default implementation.
1579 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1581 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1582 Only sanity-check the buffer size if requested_caps == buffer_caps
1583 (ie. don't take pad caps into account, they're not relevant here)
1585 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1587 * plugins/elements/gsttee.c:
1588 * plugins/elements/gsttee.h:
1589 Reverting as not everything is clear yet. Needs some general design
1592 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1595 ChangeLog surgery for tee commit.
1597 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1599 * docs/gst/gstreamer-sections.txt:
1600 Cleanup section-file.
1602 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1604 * plugins/elements/gsttee.c:
1605 * plugins/elements/gsttee.h:
1606 Relay tag events in tee. Fixes parts of #474016.
1607 Downgrades 3 reoccurring debugs to log.
1609 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1612 * libs/gst/Makefile.am:
1613 Build the net library if we have winsock2.
1615 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1617 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1619 * docs/manual/advanced-threads.xml:
1620 * docs/manual/diagrams-pipelines.svg:
1621 * docs/manual/hello-world.png:
1622 * docs/manual/linked-elements.png:
1623 * docs/manual/mime-world.png:
1624 * docs/manual/queue.png:
1625 * docs/manual/thread-buffering.png:
1626 * docs/manual/thread-synchronizing.png:
1627 Replace one diagram with two separate ones and updates others.
1630 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1633 Fix link in documentation.
1635 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1638 Fix confusing documentation.
1640 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1642 * libs/gst/base/gstbasesrc.h:
1643 revert the changes to the header file for the ABI.
1645 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1647 * libs/gst/base/gstbasesrc.c:
1648 * libs/gst/base/gstbasesrc.h:
1649 Don't cache the seekable status.
1652 2008-07-24 Rene Stadler <mail@renestadler.de>
1654 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1655 code to close the pipeline graph. This prevents the program from
1656 printing internal data flow errors.
1658 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1660 * docs/manual/basics-bus.xml:
1661 Correct typo. Fixes bug #544320.
1663 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1666 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1667 Add check (taken from -base) for winsock, adds WIN32_LIBS
1669 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1671 Define GST_EXPORTS when building libgstreamer (only used on win32)
1672 * gst/gst_private.h:
1674 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1675 for symbols that we need to export in both these files.
1677 Include gst_private.h higher up to avoid some compile problems on win32.
1679 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1684 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1687 Previous commit was wrong NULL caps does not exist
1688 and indicate an error, so also add a FIXME to
1689 gst_caps_is_equal where NULL caps are accepted.
1691 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1694 Allow passing of NULL to gst_caps_union
1696 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1698 * gst/gstghostpad.c:
1699 Add in doc that gst_ghost_pad_set_target can accept
1700 NULL to clear target
1702 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1705 * gst/gstregistry.c:
1706 GstRegistryPool doesn't exist; don't refer to it in docs.
1707 Don't refer to functions that don't exist in docs, it's
1710 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1713 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1715 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1717 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1719 * docs/pwg/building-testapp.xml:
1720 Don't use an undeclared variable in the example program.
1723 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1725 * gst/gstdebugutils.c:
1726 Squeeze ghost-pad links and remove <> from classname labels to save
1727 more horizontal space.
1729 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1731 * gst/gstdebugutils.c:
1732 Give request and sometimes pads a different shpe style. Condense the
1733 graphs a little more.
1735 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1738 Don't require flex and bison if the parser is disabled.
1740 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1742 * libs/gst/controller/gstinterpolationcontrolsource.c:
1743 (_list_find_sorted_custom):
1744 Don't use declarations after statements.
1746 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1748 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1749 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1750 of the the child-added / -removed signals as GstChildProxy
1751 only supports GstObjects.
1753 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1755 * gst/gstdebugutils.c:
1758 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1760 Patch by: Alessandro Decina <alessandro at nnva dot org>
1763 Fix "ignored return value" compiler warning with newer glibc.
1765 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1767 * gst/gstchildproxy.c:
1768 Fix copy&paste error in gst_child_proxy_removed() documentation.
1770 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1772 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1773 Print error debug message if plugin description fields that should
1776 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1777 Don't crash if the string to serialise is NULL (it really should
1778 not be, but apparently this used to work with the xml registry ...).
1780 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1782 * tools/gst-plot-timeline.py:
1783 Fix parsing of log messages
1785 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1787 * win32/common/libgstbase.def::
1788 Sort alphabetically so make check-exports doesn't barf.
1790 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1793 Use gst_format_get_name() to improve debug output.
1796 Remove #ifdef'ed code. Add TODO comment.
1799 Add debug output to ease spotting format != segment.format assertions.
1801 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1803 * tests/check/libs/gdp.c: (gst_dp_suite):
1804 Also enable the GDP unit test again on PPC now that the bug
1807 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1809 * libs/gst/dataprotocol/dataprotocol.c:
1810 Don't write to the same region of memory as a uint64 and uint16
1811 as this breaks strict aliasing rules and apparantly breaks on PPC
1812 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1814 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1816 * libs/gst/controller/gstinterpolationcontrolsource.c:
1817 Optimize list handling. Use own find function. Exploit that fact that
1818 the list is sorted. Also pass back the node before, so that we can
1819 insert quickly. Have a fast path for append.
1821 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1823 * docs/design/draft-framestep.txt:
1824 * docs/design/part-negotiation.txt:
1827 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1830 Show configuration sumary after configure run. Based on patch by
1831 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1833 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1835 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1837 * docs/manual/advanced-autoplugging.xml:
1838 * docs/manual/advanced-threads.xml:
1839 * docs/manual/basics-bins.xml:
1840 * docs/manual/basics-elements.xml:
1841 * docs/manual/basics-helloworld.xml:
1842 * docs/manual/basics-pads.xml:
1843 Add scale factor for pdf output.
1845 * docs/manual/intro-basics.xml:
1846 Switched sections "pads" and "bins" and added a pipeline diagram.
1848 * docs/manual/intro-gstreamer.xml:
1849 Added more info on gstreamer.
1851 * docs/manual/intro-motivation.xml:
1852 Commented out the whole section "current problem", which sounds
1853 historical and somehow osolete; it could be turned in a positive
1854 way and reused to improve the design principles.
1856 * docs/manual/intro-preface.xml:
1857 - Update URLs to library.gnome.org.
1858 - Do not mention GTK+ in preliminary reading (irrelevant).
1859 - Mention Plugin Writer's Manual and further reading only in the
1861 - Added a list of most relevant GObject/glib topics.
1863 * docs/manual/Makefile.am:
1864 * docs/manual/bin-element-ghost.fig:
1865 * docs/manual/bin-element-ghost.png:
1866 * docs/manual/bin-element-noghost.fig:
1867 * docs/manual/bin-element-noghost.png:
1868 * docs/manual/bin-element.fig:
1869 * docs/manual/bin-element.png:
1870 * docs/manual/filter-element-multi.fig:
1871 * docs/manual/filter-element-multi.png:
1872 * docs/manual/filter-element.fig:
1873 * docs/manual/filter-element.png:
1874 * docs/manual/gstreamer-overview.png:
1875 * docs/manual/hello-world.fig:
1876 * docs/manual/hello-world.png:
1877 * docs/manual/linked-elements.fig:
1878 * docs/manual/linked-elements.png:
1879 * docs/manual/mime-world.fig:
1880 * docs/manual/mime-world.png:
1881 * docs/manual/queue.fig:
1882 * docs/manual/queue.png:
1883 * docs/manual/simple-player.png:
1884 * docs/manual/sink-element.fig:
1885 * docs/manual/sink-element.png:
1886 * docs/manual/src-element.fig:
1887 * docs/manual/src-element.png:
1888 * docs/manual/diagrams-general.svg:
1889 * docs/manual/diagrams-pipelines.svg:
1890 Removed .fig, added .png counterpart.
1894 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1896 * plugins/elements/gstmultiqueue.c:
1897 * plugins/elements/gstmultiqueue.h:
1898 revert extra-size-buffers stuff, caused some race conditions
1899 and extra-size-buffers is not used anymore. Docs needs some updates
1901 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1903 * win32/common/config.h:
1904 * win32/common/gstenumtypes.c:
1905 * win32/common/gstenumtypes.h:
1906 * win32/common/gstversion.h:
1909 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1911 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1912 (GST_DEBUG_BIN_TO_DOT_FILE):
1913 Add missing Since' markers to gtk-doc blurbs.
1915 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1917 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1918 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1919 (set_caps_1), (set_caps_ct1), (transform_ct1),
1920 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1921 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1922 (transform_size_ct2), (buffer_alloc_ct2):
1923 Add some more tests with switching caps in buffer_alloc.
1925 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1927 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1928 (gst_test_trans_class_init), (result_sink_chain),
1929 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1930 (gst_test_trans_push), (gst_test_trans_pop):
1931 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1932 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1933 (set_caps_1), (set_caps_ct1), (transform_ct1),
1934 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1935 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1936 (transform_size_ct2), (buffer_alloc_ct2),
1937 (gst_basetransform_suite):
1938 More tests, prepare for tests with switching caps in buffer_alloc.
1940 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1942 * plugins/elements/gstmultiqueue.c:
1943 * plugins/elements/gstmultiqueue.h:
1944 Fix dead-lock in underrun_cb
1946 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1948 * docs/design/part-states.txt:
1949 Fix device open/close docs.
1951 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1954 Mention bugnumber for last commit.
1956 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1958 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1960 * docs/manual/manual.xml:
1961 - Reorganised the previous "introduction" bundle into Foreword,
1962 Introduction, and About GStreamer. The two first are <preface>
1963 docbook elements. The later is the first part of the book.
1964 - added intro-gstreamer.xml (content partially from
1966 - moved appendix-win32.xml into appendix-integration.xml
1968 * docs/manual/intro-preface.xml: gstreamer section moved...
1969 * docs/manual/intro-gstreamer.xml: ...here. new file.
1971 * docs/manual/appendix-win32.xml: removed file. Content moved...
1972 * docs/manual/appendix-integration.xml: ...here.
1974 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1975 * docs/manual/appendix-checklist.xml: ...here.
1979 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1981 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1983 * docs/manual/basics-helloworld.xml:
1984 * docs/manual/hello-world.fig:
1985 - Explicitely include glib.h.
1986 - Do not use global variables.
1987 - Use g_printerr() instead of g_print().
1988 - Minor formating/renaming to increase readibility.
1989 - Renamed new_pad() to on_pad_added()
1990 - Improved explenatory comments.
1991 - renamed ogg parser to ogg demuxer
1992 - Use "autoaudiosink" instead of "alsasink".
1995 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1998 Remove cvs conflict marker.
2000 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2003 Document that for plgin-docs we extraxt he short-desc from the element
2006 * docs/design/part-states.txt:
2007 Tell that devices should be closed in PAUSED -> READY.
2009 * docs/manual/README:
2010 Document how tests in the manual are handled.
2015 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2017 * gst/gstbin.c: (bin_query_latency_fold):
2018 Only care about latency min and max when the sink is actually a live
2021 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2023 * docs/design/part-block.txt:
2026 * docs/design/part-element-transform.txt:
2027 Add notes about why transform needs to know input/output sizes.
2028 Add some issues that need to be solved.
2029 Add some more use cases.
2031 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2032 (gst_test_trans_class_init), (result_sink_chain),
2033 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2034 (gst_test_trans_push), (gst_test_trans_pop):
2035 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2036 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2037 (set_caps_1), (set_caps_ct1), (transform_ct1),
2038 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2039 (gst_basetransform_suite):
2040 Add suport for different pad templates and buffer-alloc.
2041 Add more checks for caps and buffer-alloc.
2042 Add checks for proxy buffer alloc.
2043 Add unit test for copy transform.
2045 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2047 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2049 * docs/manual/appendix-integration.xml:
2050 * docs/manual/appendix-licensing.xml:
2051 * docs/manual/basics-elements.xml:
2052 * docs/manual/basics-helloworld.xml:
2053 * docs/manual/basics-pads.xml:
2054 * docs/manual/highlevel-components.xml:
2055 * docs/manual/highlevel-xml.xml:
2056 * docs/manual/intro-basics.xml:
2057 * docs/manual/intro-preface.xml:
2058 Typo and formatting fixes (#538594).
2060 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2062 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2063 Fix some memory leaks and uses of object instances that we don't
2066 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2068 * plugins/elements/gstmultiqueue.c:
2069 Add functionality to extra-size-buffers property.
2071 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2073 * plugins/elements/gstmultiqueue.c:
2074 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2075 activate the pads if they are added in STATE_NULL.
2077 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2079 * docs/libs/gstreamer-libs-sections.txt:
2081 * libs/gst/check/gstcheck.c:
2082 * libs/gst/check/gstcheck.h:
2083 API: gst_check_teardown_pad_by_name
2085 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2087 * libs/gst/check/gstcheck.c:
2088 * libs/gst/check/gstcheck.h:
2089 Also setup request pads and allow setup pads by name (#537812)
2090 API: gst_check_setup_src_pad_by_name
2091 API: gst_check_setup_sink_pad_by_name
2093 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2095 * tests/check/gst/gstbuffer.c:
2096 * tests/check/pipelines/parse-launch.c:
2097 Use HAVE_VALGRIND_H some more.
2099 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2101 * scripts/cvs-update.sh:
2102 Pass arguments to make.
2103 Run autoregen.sh if Makefile is not there.
2105 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2109 Don't assume that <valgrind/valgrind.h> exists just because
2110 the binary is there.
2112 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2114 * tests/check/Makefile.am:
2115 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2116 (gst_test_trans_class_init), (gst_test_trans_init),
2117 (gst_test_trans_set_data), (result_sink_chain),
2118 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2119 (gst_test_trans_pop):
2120 * tests/check/libs/transform1.c: (GST_START_TEST),
2121 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2122 Add some test basetransform element and the beginnings of various
2125 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2127 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2128 Increase code readability.
2129 Don't try to compare buffer offsets when ther are invalid.
2131 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2133 * docs/design/Makefile.am:
2134 Dist some more design docs.
2136 * docs/random/moving-plugins:
2137 Small addition: good plugins mustn't have functional code
2138 within assertion macros.
2140 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2142 * docs/design/draft-framestep.txt:
2143 Some ideas about a framestep API
2145 * docs/design/part-element-transform.txt:
2146 Start design and use cases for basetransform in order to get it
2149 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2152 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2153 be in UTF-8 encoding.
2155 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2158 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2160 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2162 * plugins/elements/gstcapsfilter.c:
2163 * plugins/elements/gstfakesink.c:
2164 * plugins/elements/gstfakesrc.c:
2165 * plugins/elements/gstfdsink.c:
2166 * plugins/elements/gstfdsrc.c:
2167 * plugins/elements/gstfilesink.c:
2168 * plugins/elements/gstfilesrc.c:
2169 * plugins/elements/gstidentity.c:
2170 * plugins/elements/gstmultiqueue.c:
2171 * plugins/elements/gstqueue.c:
2172 * plugins/elements/gsttee.c:
2173 * plugins/elements/gsttypefindelement.c:
2174 Remove short_description. Add basic docs for gsttypefindelement.
2175 Simplify markup for fakesrc/fdsrc.
2177 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2179 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2182 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2184 Patch by: Joel Larsson <tilljoel at gmail dot com>
2186 * docs/plugins/gstreamer-plugins.args:
2187 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2188 (gst_fd_src_init), (gst_fd_src_update_fd),
2189 (gst_fd_src_set_property), (gst_fd_src_get_property),
2190 (gst_fd_src_create):
2191 * plugins/elements/gstfdsrc.h:
2192 Add timeout property like udpsrc. Fixes #538628.
2193 Add some more docs and example pipelines.
2195 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2197 * docs/libs/gstreamer-libs-sections.txt:
2198 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2199 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2200 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2201 (gst_base_sink_do_sync):
2202 * libs/gst/base/gstbasesink.h:
2203 * win32/common/libgstbase.def:
2204 Add method to allow sinks to specify additional delay between the sync
2205 times and the actual rendering of the data.
2206 API: gst_base_sink_set_render_delay()
2207 API: gst_base_sink_get_render_delay()
2209 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2212 Bump version number back to dev -> 0.10.20.1
2214 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2216 * docs/gst/gstreamer-sections.txt:
2217 * gst/gsttaglist.c: (_gst_tag_initialize):
2219 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2222 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2224 * libs/gst/controller/gstcontroller.c:
2225 Revert one change, that make ret value possible uninitialized.
2227 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2229 * libs/gst/controller/gstcontroller.c:
2230 Use freeze/thaw notify to sync notify emission a bit (its also more
2231 efficient). Move debug output to LOG (is called a lot in a loop).
2232 Always unset g_values if the have been initialized.
2234 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2236 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2237 (gst_base_sink_wait_eos), (gst_base_sink_event):
2238 If we have not seen a buffer before EOS, use the segment values to
2239 report the current position instead of invalid positions.
2241 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2243 * docs/plugins/tmpl/.cvsignore:
2244 * tests/check/gst/.cvsignore:
2247 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2249 * libs/gst/controller/gstinterpolation.c:
2250 * libs/gst/controller/gstinterpolationcontrolsource.c:
2251 * tests/check/libs/controller.c:
2252 Rewrite handling of default values. Fix overflow with unsigned types
2253 in linear interpolation. Remove now obsolete _first_value() function.
2254 Add more tests. Fixes #538201.
2256 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2258 * libs/gst/base/gstbasetransform.c:
2259 (gst_base_transform_class_init), (gst_base_transform_init),
2260 (gst_base_transform_transform_caps),
2261 (gst_base_transform_prepare_output_buffer):
2263 When a buffer is writable, its metadata is also writable so we don't
2264 need to subbuffer (which then makes the buffer not-writable anymore).
2266 === release 0.10.20 ===
2268 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2271 releasing 0.10.20, "You Crazy Diamond"
2273 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2276 0.10.19.3 pre-release
2278 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2282 Rename DATADIR to GST_DATADIR to avoid build problems
2283 on win32. Patch By: David Schleef <ds@schleef.org>
2286 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2289 Explicitely link with -ldl if dladdr() is found there. Before it was
2290 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2291 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2293 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2295 * gst/gsterror.c: (_gst_stream_errors_init):
2296 Fix typo (spotted by Fabricio Godoy, #536723).
2298 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2301 0.10.19.2 pre-release
2303 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2305 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2306 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2308 Make sure we don't generate invalid QoS messages.
2310 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2312 * gst/gstevent.c: (gst_event_new_qos):
2313 Add some assert and docs for invalid input to the qos function.
2315 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2317 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2318 (gst_base_sink_get_position):
2319 The reported position must always be smaller than the last seen
2320 timestamps (or timestamp + duration for reverse).
2322 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2324 Patch by: Rob Bradford <rob at robster dot org dot uk>
2326 * gst/gstregistry.c: (gst_registry_scan_path_level):
2327 Don't recurse into .debug directories as some distros install
2328 the debugging symbols next to the plugins in .debug directories
2329 and dlopen() crashes on them sometimes. Fixes bug #508070.
2331 Add FIXME for 0.11 to not recurse into directories at all because
2332 it's very inconsistent to the behaviour of other PATH environment
2335 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2337 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2338 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2339 Fix position query range checks in reverse playback.
2341 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2345 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2346 clear of the reference to the resulting pad must be released later
2347 or not, resulting in possible leaks. Fixes bug #533865.
2349 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2351 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2353 * gst/gstelementfactory.c:
2354 Small doc fix. Fixes #535285.
2356 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2358 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2360 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2361 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2362 (gst_base_src_loop), (gst_base_src_set_flushing),
2363 (gst_base_src_change_state):
2364 Make sending an EOS event to the basesrc non-blocking even if the
2365 implementation does blocking waits in the create function. This is done
2366 by unlocking the create function when EOS is sent.
2369 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2371 * tools/gst-inspect.c: (print_element_properties_info):
2372 If possible print the element type of GValueArray properties.
2374 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2376 * gst/gstiterator.c:
2377 Remove an unused field from the private GstListIterator struct.
2379 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2381 * libs/gst/controller/gstcontroller.c:
2382 Add parameter guards.
2384 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2386 * tests/check/gst/gstpipeline.c:
2387 Revert test change and add comment why it should not work.
2389 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2391 * tests/check/gst/gstpipeline.c:
2392 Extending the test a little to verify that we also get the NULL state-
2395 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2397 * gst/gstpreset.c: (gst_preset_default_get_meta),
2398 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2399 (gst_preset_load_preset), (gst_preset_save_preset),
2400 (gst_preset_rename_preset), (gst_preset_delete_preset),
2401 (gst_preset_set_meta):
2402 Add Since: markers to docs blurbs.
2404 * win32/common/libgstreamer.def:
2405 Add recently-added API.
2407 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2409 Patch by: Stefan Kost <ensonic@users.sf.net>
2412 Add DATADIR for storing presets.
2414 * docs/gst/gstreamer-docs.sgml:
2415 * docs/gst/gstreamer-sections.txt:
2416 * docs/gst/gstreamer.types.in:
2417 Add GstPreset to docs.
2421 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2422 (preset_open_and_parse_header), (preset_parse_version),
2423 (preset_merge), (preset_get_keyfile),
2424 (gst_preset_default_get_preset_names),
2425 (gst_preset_default_get_property_names),
2426 (gst_preset_default_load_preset),
2427 (gst_preset_default_save_presets_file),
2428 (gst_preset_default_save_preset),
2429 (gst_preset_default_rename_preset),
2430 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2431 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2432 (gst_preset_default_reset), (gst_preset_get_preset_names),
2433 (gst_preset_get_property_names), (gst_preset_load_preset),
2434 (gst_preset_save_preset), (gst_preset_rename_preset),
2435 (gst_preset_delete_preset), (gst_preset_set_meta),
2436 (gst_preset_get_meta), (gst_preset_class_init),
2437 (gst_preset_base_init), (gst_preset_get_type):
2439 Add GstPreset to core. Fixes #396779
2441 * tests/check/Makefile.am:
2442 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2443 (gst_preset_test_set_property), (gst_preset_test_class_init),
2444 (gst_preset_test_base_init), (gst_preset_test_get_type),
2445 (gst_preset_test_plugin_init), (GST_START_TEST),
2446 (remove_preset_file), (test_setup), (test_teardown),
2448 Add GstPreset unit tests.
2450 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2452 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2453 The default event function on a sinkpad should return TRUE when
2454 there are no internal links but should collect the return values from
2455 the internal links otherwise.
2457 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2459 * plugins/elements/gsttypefindelement.c:
2460 (gst_type_find_element_src_event),
2461 (gst_type_find_element_handle_event):
2462 Use faster and safer _pad_push_event().
2464 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2466 * docs/gst/gstreamer-sections.txt:
2467 * gst/gstutils.c: (element_find_unlinked_pad),
2468 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2470 API: add gst_bin_find_unlinked_pad()
2471 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2473 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2479 Fixed a bunch of typos.
2481 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2484 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2485 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2486 (gst_parse_bin_from_description_full):
2488 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2490 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2492 * docs/pwg/advanced-tagging.xml:
2493 Small docs update, can't be bothered to rewrite the nonsensical
2496 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2499 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2501 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2503 * gst/parse/grammar.y:
2504 Remove unneeded casts.
2506 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2508 * gst/parse/grammar.y:
2509 * tests/check/pipelines/parse-launch.c:
2510 Get all missing elements from a parse launch string if possible
2511 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2513 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2515 * tests/check/Makefile.am:
2516 * tests/check/pipelines/parse-launch.c:
2517 Add some unit tests for the new gst_parse_launch*_full() API.
2518 (Exposes a previously-existing memory leak in the error code
2519 path, so adding to VALGRIND_TO_FIX for now).
2521 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2523 * docs/gst/gstreamer-sections.txt:
2524 * gst/gst.c: (init_post):
2525 * gst/gst_private.h: (_GstParseContext):
2526 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2527 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2528 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2529 (gst_parse_launch_full):
2530 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2531 (GstParseFlags), (GstParseContext):
2532 * gst/gstutils.c: (gst_parse_bin_from_description),
2533 (gst_parse_bin_from_description_full):
2535 * gst/parse/grammar.y:
2536 * gst/parse/types.h:
2537 * win32/common/libgstreamer.def:
2538 Add new gst_parse_*_full API (#528178):
2539 API: gst_parse_launch_full()
2540 API: gst_parse_launchv_full()
2541 API: gst_parse_bin_from_description_full()
2542 API: gst_parse_context_new()
2543 API: gst_parse_context_free()
2544 API: gst_parse_context_get_missing_elements()
2546 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2548 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2550 * docs/faq/gst-uninstalled:
2551 Also support ffmpeg in gst-uninstalled.
2553 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2556 After discussion on IRC use the binary registry as default
2557 but allow to disable it with --disable-binary-registry.
2559 * win32/common/libgstreamer.def:
2560 Add the two new symbols for the binary registry.
2562 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2564 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2565 * gst/gstutils.c: (gst_parse_bin_from_description):
2566 * gst/parse/grammar.y: (graph):
2567 More guards against bad input; typo fix; some minor clean-ups.
2569 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2571 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2573 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2574 If nothing else can be used, use the last buffer's start time as
2575 the segment's last stop. Fixes bug #534258.
2577 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2579 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2580 Move size sanity check to the right place: downstream may return
2581 a buffer with a smaller size if the buffer caps are different than
2582 the requested ones, as may happen when doing reverse negotiation.
2584 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2586 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2587 (gst_file_sink_render):
2588 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2589 (gst_file_src_start):
2590 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2593 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2595 * gst/gstpad.c: (gst_pad_load_and_link):
2596 * gst/gstutils.c: (gst_element_link_pads),
2597 (gst_element_unlink_pads):
2598 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2599 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2600 (gst_check_teardown_sink_pad),
2601 (gst_check_element_push_buffer_list):
2602 * tests/check/elements/fakesink.c: (GST_START_TEST):
2603 * tests/check/elements/filesink.c:
2604 * tests/check/elements/filesrc.c: (GST_START_TEST):
2605 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2606 (mq_sinkpad_to_srcpad):
2607 * tests/check/elements/tee.c: (GST_START_TEST):
2608 * tests/check/generic/sinks.c: (GST_START_TEST):
2609 * tests/check/gst/gstbin.c: (GST_START_TEST):
2610 * tests/check/gst/gstevent.c: (GST_START_TEST):
2611 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2612 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2613 * tests/check/gst/gstquery.c: (GST_START_TEST):
2614 * tests/check/gst/gstutils.c: (GST_START_TEST):
2615 * tests/check/libs/basesrc.c: (GST_START_TEST):
2616 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2617 (gst_parse_test_element_change_state):
2618 Don't use gst_element_get_pad().
2620 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2623 Fix installing plugin documentation when gtk-doc is disabled.
2625 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2627 * docs/manual/advanced-autoplugging.xml:
2628 * docs/manual/basics-helloworld.xml:
2629 * docs/manual/basics-pads.xml:
2630 * docs/manual/highlevel-components.xml:
2631 Avoid using a bad function in the example code.
2633 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2635 * gst/gstclock.c: (gst_clock_set_calibration):
2636 Fix debug of the new clock rate.
2638 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2640 * win32/common/libgstbase.def:
2641 Add gst_base_sink_wait_clock() to the exported symbols.
2643 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2645 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2647 * libs/gst/base/gstbasetransform.c:
2648 (gst_base_transform_sink_event):
2649 Unref events that the GstBaseTransform::event vfunc didn't want to
2650 have forwarded by the base class. Closes a leak in identity.
2653 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2655 * docs/libs/gstreamer-libs-sections.txt:
2656 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2657 * libs/gst/base/gstbasesink.h:
2658 Expose a method that was previously used internally to synchronize
2659 against the clock because it can be useful for subclasses too.
2660 API: GstBaseSink::gst_base_sink_wait_clock()
2662 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2664 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2665 Add sanity check to make sure we don't get smaller buffers
2666 than requested (and fallback to normal buffer alloc if we do).
2668 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2670 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2671 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2672 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2673 Refactor adjusting the running_time with latency and offset into a
2675 When doing clipping, we still want to use the subclass get_times method,
2676 just in case the DURATION or TIMESTAMP are not set.
2678 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2680 * docs/gst/gstreamer-sections.txt:
2681 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2682 * gst/gsttypefind.h:
2683 * win32/common/libgstreamer.def:
2684 API: add gst_type_find_suggest_simple(), #533740.
2686 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2688 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2689 Use right error code when typefinding fails, so we can use
2690 the default (translated) error messages.
2692 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2694 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2695 (gst_base_src_start):
2696 When the subclass did not set caps on outgoing buffers, configure the
2697 caps we negotiated on the source pad.
2698 When the typefind helper does not find caps, error out properly instead
2699 of doing things with NULL caps.
2701 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2703 * gst/gsttypefind.h:
2704 Tabs to spaces, oh yes!
2706 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2708 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2709 Add David's and Benjamin's tests for array intersection to the
2710 unit test suite (#147931).
2712 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2715 Document that gst_event_new_tag() and gst_event_new_navigation()
2716 take ownership of the taglist/structure passed to them. (#533635).
2718 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2721 Don't descend into the plugins dir if plugin docs building
2725 Add a note about the new type:GTypeName syntax for the plugin
2726 documentation .types file.
2728 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2730 * gst/gstmessage.c: (gst_message_new_error),
2731 (gst_message_new_warning), (gst_message_new_info):
2733 Mark the debug string parameters as const. Fixes bug #533490.
2735 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2737 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2738 Sort buffer cache list by end offsets. This makes sure that we don't
2739 stop to search for a cached buffer that contains the requested data
2741 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2742 more efficient. Fixes bug #459862.
2744 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2747 Explain why we copy the list.
2749 * gst/gstpipeline.c:
2753 Add one debug-log statement to help tracing probelms with linking pads.
2755 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2757 * tests/check/gst/gstinfo.c:
2758 Add a test for removing the default log handler. Seems to fail under
2761 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2763 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2764 Release pad lock before calling out to avoid a possible deadlock.
2766 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2768 * gst/parse/grammar.y:
2769 Remove unneeded value unset.
2771 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2772 Add unit test for de/serialization of caps.
2774 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2776 * plugins/elements/gstfakesink.c:
2777 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2778 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2779 (gst_fake_src_class_init):
2780 Use custom marshalers that take GstMiniObject as first parameter.
2781 Using OBJECT as parameter while a GstMiniObject is given will lead
2782 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2784 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2786 * plugins/elements/gsttypefindelement.c:
2787 (gst_type_find_element_handle_event),
2788 (gst_type_find_element_send_cached_events),
2789 (gst_type_find_element_change_state):
2790 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2793 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2795 * plugins/elements/gsttypefindelement.c:
2796 (gst_type_find_handle_src_query), (stop_typefinding),
2797 (gst_type_find_element_handle_event),
2798 (gst_type_find_element_send_cached_events),
2799 (gst_type_find_element_change_state):
2800 Forward FLUSH_START events immediately and clean up instead of
2803 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2805 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2807 * libs/gst/base/gstbasetransform.c:
2808 (gst_base_transform_buffer_alloc):
2809 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2810 fall back to default negotiation in the chain function if the caps
2811 are different from what was requested. Fixes bug #526768.
2813 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2816 * tests/check/gst/gstsegment.c:
2817 No, let's not use g_slice_{dup|copy} here, since they only exist
2818 since GLib 2.14 and we still depend only on >= 2.12. Also add
2819 unit test for gst_segment_copy().
2821 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2823 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2824 Try to fix 'dereferencing type-punned pointer will break strict
2825 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2826 changed the default GType typedef from gulong to gsize at some point,
2827 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2828 g_once_* functions all take a gsize * though, so work around the type
2829 mismatch for C++ by doing everything in gsize and casting to GType
2832 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2834 * plugins/elements/gstmultiqueue.c:
2835 Add documentation for the signals to push our core plugin docs
2836 coverage back up to 100%.
2838 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2840 * gst/gstinfo.h (GST_FUNCTION):
2841 Reverted GST_FUNCTION to the old version as we don't want the
2842 full signature in C++ code. Also added support for MSVC.
2844 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2847 Intern the type name string, similar to what G_DEFINE_TYPE does.
2849 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2852 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2854 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2856 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2858 * libs/gst/base/gstbasetransform.c:
2859 (gst_base_transform_buffer_alloc):
2860 Don't passthrough buffer allocation too easily if the caps change.
2861 This breaks when working in passthrough mode and upstream changes
2862 it's caps. Fixes bug #526768.
2864 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2866 * gst/gstinfo.c (gst_debug_log_valist):
2867 Improved the __FILE__ part of debug output for MSVC.
2869 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2871 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2872 Declaration after statement fix for compilers like MSVC.
2874 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2876 * win32/common/config.h.in:
2877 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2878 use the real thing than having "???" unconditionally.
2880 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2882 * gst/gstinfo.h (GST_FUNCTION):
2883 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2885 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2887 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2890 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2891 (gst_base_sink_set_flushing):
2892 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2895 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2897 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2898 (gst_fake_src_init), (gst_fake_src_set_property),
2899 (gst_fake_src_get_property), (gst_fake_src_start):
2900 * plugins/elements/gstfakesrc.h:
2901 Added format property to control the format of the newsegment events.
2902 API: GstFakeSrc:format
2904 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2906 * win32/common/libgstreamer.def:
2907 Add gst_pad_has_name() to the exported symbols.
2909 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2911 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2912 * libs/gst/base/gstbasetransform.c:
2913 (gst_base_transform_prepare_output_buffer):
2914 Don't allow negative sizes when allocating new buffers.
2917 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2919 Patch by: Sjoerd Simons <sjoerd at luon net>
2921 * gst/gstbus.c: (gst_bus_source_dispatch):
2922 Don't print a warning if the queue is empty when we try to pop
2923 here. That could happen if another thread or callback set the
2924 bus to flushing between the source's check/prepare and the
2925 dispatch being called (#531538).
2927 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2929 * plugins/elements/gstmultiqueue.c:
2932 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2934 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2935 Add unit test for deserializing uint64s and check some really large
2936 numbers in the int64 test.
2938 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2940 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2941 (print_interfaces), (print_element_properties_info),
2942 (print_signal_info):
2943 Use "%s" as format string instead of printing strings directly.
2945 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2947 * gst/gstclock.c: (gst_clock_set_calibration):
2948 Make some checks actually useful.
2950 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2951 Remove some unused code. Unsigned integers tend to be >= 0.
2953 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2955 * gst/gstminiobject.c: (gst_value_get_mini_object):
2956 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2957 function was not in the unscheduled 0.10.19 release.
2959 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2961 * gst/gstregistry.c: (gst_registry_scan_path_level):
2962 Only print one log message per non-plugin file.
2964 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2966 * gst/gstinfo.c: (gst_debug_log_default):
2967 Fix alignment of debug log columns on 64-bit.
2969 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2971 * docs/libs/Makefile.am:
2972 * docs/libs/gstreamer-libs-sections.txt:
2973 Ignore private controller headers for docs.
2975 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2977 * libs/gst/controller/gstcontrollerprivate.h:
2978 * libs/gst/controller/gsthelper.c:
2979 * libs/gst/controller/gstinterpolation.c:
2980 * libs/gst/controller/gstinterpolationcontrolsource.c:
2981 (gst_interpolation_control_source_set_interpolation_mode):
2982 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2983 * libs/gst/controller/lib.c:
2984 Move some private declarations into private headers.
2986 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2988 * gst/gstdebugutils.c: (debug_dump_element_pad):
2989 Remove some code that is unused after Stefan's refactoring and uses
2990 uninitialized variables now, resulting in a compiler warning.
2992 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2994 * gst/gstregistry.c: (gst_registry_scan_path_level):
2995 Run g_str_has_suffix() only on the file name, not the
2998 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3000 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3001 Since we're not called only from the chain function any longer,
3002 we can't assume that there's always data in the queue, so move
3003 the is_full check to the beginning of the loop (otherwise we'd
3004 hit the assert when changing the limit properties while the
3005 queue is empty or not running yet).
3006 Also, only set a discont if items were actually removed from
3009 * tests/check/elements/queue.c: (test_leaky_downstream):
3010 Test case for the above.
3012 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3014 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3016 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3017 (gst_queue_chain), (queue_capacity_change),
3018 (gst_queue_set_property):
3019 When changing thr max capacity of a leaky queue, immediatly drop buffers
3020 instead of waiting for a push on the sinkpad. Fixes #530637.
3022 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3024 * gst/gstdebugutils.c:
3025 Refactor code and fix handling of ghostpads and their proxypads.
3027 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3029 * docs/gst/gstreamer-sections.txt:
3030 * gst/gstevent.c: (gst_event_has_name):
3032 * tests/check/gst/gstevent.c: (GST_START_TEST):
3033 Add method to conveniently check the name of a custom event with
3034 gst_event_has_name().
3035 Reformat the event docs so that related methods are put together instead
3036 of the default alphabetical sort.
3037 Update unit test with new method.
3038 API: GstEvent::gst_event_has_name()
3040 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3042 * libs/gst/check/Makefile.am:
3043 Don't add an explicit link to libgstreamer-0.10.la; it's already
3044 included in GST_OBJ_LIBS.
3046 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3049 Register GstClock type from a type-safe context. Fixes bug #530317.
3051 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3053 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3055 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3057 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3059 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3061 Use the GLib stuff to create a private structure.
3062 Add some locking around some dispose methods to make them a little
3063 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3065 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3067 * libs/gst/base/gstbasesink.h:
3068 * libs/gst/base/gstbasesrc.h:
3069 * libs/gst/base/gstbasetransform.h:
3070 * libs/gst/base/gstcollectpads.h:
3071 Fix doc typos and unify caps a bit.
3073 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3075 * tools/gst-launch.1.in:
3076 Forgot to also add the envvar docs here.
3078 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3080 * gst/gst.c: (init_post), (gst_deinit):
3081 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3082 (test_concurrent_create), (gst_pipeline_suite):
3083 Ref some more classes in gst_init() to work around thread-safety
3084 issues in pre-2.16 GLibs, and add basic unit test.
3086 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3088 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3089 (gst_base_sink_send_event):
3090 Rearrange the latency query code. We always want to do the upstream
3091 query, even if we are not live so that the upstream elements can get the
3092 latency results too. If we fail doing the query and we are live, we
3093 return TRUE afterwards.
3095 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3097 patch by: Jason Zhao <e3423c@motorola.com>
3099 * docs/gst/running.xml:
3101 Enable/disable scan_and_update_registry() based on commandline switch
3102 or environment variable. Fixes #520468.
3105 Fix typo in my previous commit.
3107 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3109 * gst/gstregistrybinary.c:
3110 Add a warning if we hit unhandled factories when saving.
3111 More debug logging detail, but move to LOG category.
3113 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3115 * gst/gstregistry.c:
3116 Tell the *truth* when improving the documentation.
3118 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3120 * gst/gstelementfactory.c: (gst_element_factory_make):
3121 Unref the factory after it was used the last time, not before.
3123 * gst/gstindexfactory.c: (gst_index_factory_make):
3124 Improve debugging a bit and don't leak a ref to the index factory with
3127 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3129 * gst/gstregistry.c:
3130 Improve the documentation.
3132 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3135 The glib macro seems to be borked. Use g_slice_copy directly and cast
3136 in the hope that this fixes the warning on 64bit.
3138 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3141 Document the new function. Use g_slice_dup() (no need for
3142 gst_segment_init()).
3144 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3146 * docs/gst/gstreamer-sections.txt:
3147 Move GParamSepc macros to standart section.
3150 Dn't document _get_type - its in private section in docs anyway and
3151 this doc-blob was incomplete.
3154 Fix wrong symbol names in docs.
3157 Add once doc sentence.
3159 * tests/check/gst/.cvsignore:
3162 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3164 * docs/gst/Makefile.am:
3165 And remove those libs here.
3167 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3169 * docs/libs/Makefile.am:
3170 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3172 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3174 Patch by: Olivier Crete <tester at tester dot ca>
3176 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3177 Add the min-threshold to the min latency if possible. Fixes #529148.
3179 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3181 * docs/gst/gstreamer.types.in:
3182 Stupid editor, I removed that line as it should go in yet.
3184 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3186 * docs/gst/gstreamer.types.in:
3187 * docs/libs/gstreamer-libs.types:
3188 Remove library types fro core docs and have them in libs docs.
3189 Reformat and cleanup. Add comment for miniobject types.
3191 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3193 * gst/gsturi.c: (gst_uri_get_protocol):
3194 Fix leak: g_strdown operates on the string in place, while
3195 g_ascii_strdown() returns a newly-allocated string.
3197 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3199 * tools/gst-inspect.c: (print_uri_handler_info),
3200 (print_element_info):
3201 Print the URI protocols and the URI type supported by the element.
3203 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3205 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3206 Use g_value_take_string() instead of the deprecated
3207 g_value_set_string_take_ownership().
3209 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3211 * gst/gstregistrybinary.c: (_gst_crc32):
3212 Return the old CRC instead of 0 if we give a NULL buffer
3213 or a buffer with a length of 0.
3215 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3217 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3218 (gst_uri_get_protocol), (gst_uri_has_protocol),
3219 (gst_uri_construct), (gst_uri_handler_set_uri):
3220 A valid URI scheme can also include '+', '-' and '.' additional
3221 to alphanumeric characters as per RFC 3986 Section 3.1.
3223 Handle URI schemes case insensitive in all places and convert
3224 to lower-case when constructing an URI or setting an URI with
3225 the GstURIHandler interface. Fixes bug #528868.
3226 All elements can still assume (as before) that they will
3227 get passed URIs with a lower-case URI scheme by the GstURIHandler
3230 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3232 * gst/gstcaps.c: (gst_static_caps_get):
3233 * gst/gstclock.c: (gst_clock_entry_new):
3234 Don't use g_atomic_set_int where it's not needed.
3236 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3238 * gst/gstvalue.c: (gst_value_deserialize_caps):
3239 * gst/parse/grammar.y:
3242 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3244 * gst/gstutils.c: (gst_atomic_int_set):
3245 Use g_atomic_int_set() here too instead of assignment +
3248 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3252 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3253 now that we depend on new enough GLib.
3255 * gst/gstcaps.c: (gst_static_caps_get):
3256 * gst/gstclock.c: (gst_clock_entry_new):
3257 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3258 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3259 (gst_debug_category_set_threshold):
3260 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3261 (gst_base_sink_set_qos_enabled):
3262 * libs/gst/net/gstnettimeprovider.c:
3263 (gst_net_time_provider_set_property):
3264 Use g_atomic_int_set() instead of gst_atomic_int_set().
3266 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3269 Also use G_GINT64_CONSTANT for the queries.
3271 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3274 Use G_GINT64_CONSTANT in varargs function.
3276 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3278 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3279 Initialize the registry magic with zeroes.
3281 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3283 * gst/gstregistrybinary.c: (_gst_crc32),
3284 (gst_registry_binary_write),
3285 (gst_registry_binary_initialize_magic),
3286 (gst_registry_binary_write_cache),
3287 (gst_registry_binary_check_magic),
3288 (gst_registry_binary_read_cache):
3289 * gst/gstregistrybinary.h:
3290 Add crc32 checksum to the binary registry file and check this before
3291 accepting a registry file.
3293 Also free the data list when writing to the registry file fails.
3295 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3297 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3298 (gst_registry_binary_load_feature),
3299 (gst_registry_binary_load_plugin):
3300 If an element supports the Uri interface, returns a valid pointer
3301 to the supported URI protocols but this pointer contains nothing
3302 don't try to save that as it will corrupt the registry.
3304 Don't unref the plugin if we added it to the registry already but
3305 fail to load a feature as gst_registry_add_plugin() takes ownership
3308 Improve debugging a bit.
3310 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3313 Clarify some tag item docs after discussion on irc.
3315 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3317 * docs/gst/gstreamer-docs.sgml:
3318 Remove commented out plugins (they have their own docs). Update
3321 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3323 * docs/gst/gstreamer-docs.sgml:
3324 * docs/gst/gstreamer-sections.txt:
3325 * gst/gstparamspecs.c:
3326 * gst/gstparamspecs.h:
3327 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3328 docs to own section.
3331 This now only documents GValue.
3333 * docs/libs/gstreamer-libs-sections.txt:
3334 * libs/gst/controller/gstcontroller.h:
3335 Remove GST_PARAM_CONTROLLABLE.
3337 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3340 Correct file path. Tell about how to use -overrides.txt.
3341 * docs/design/draft-tagreading.txt:
3342 Small design update.
3344 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3346 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3347 (gst_registry_binary_load_plugin):
3348 Fix a typo in a debug message and revert change from yesterday as
3349 gst_registry_add_plugin() will only fail if something is really wrong
3350 already and we can't survive it anyway.
3352 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3354 * gst/gst.c: (init_post), (gst_deinit):
3355 Pre-register GstGError GType from a thread-safe context
3356 (fixes #527967); unref enum type classes in deinit.
3358 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3360 Patch by: Rene Stadler <mail at renestadler de>
3362 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3363 Merging an empty list with another list in KEEP_ALL mode should
3364 yield an empty list as result and not the second list (#512578).
3366 * tests/check/gst/gsttagsetter.c:
3367 Add unit test for tag merge modes and the aforementioned bug.
3369 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3371 Patch by: Rene Stadler <mail at renestadler de>
3374 Fix description to match the order in the table (#512577).
3376 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3378 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3380 * libs/gst/net/gstnettimepacket.h:
3381 * docs/libs/gstreamer-libs-sections.txt:
3382 Define socklen_t as int if it's not defined yet. Fixes compilation
3383 with MSVC6 and other versions where socklen_t is not defined in
3384 the windows headers (#518022).
3386 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3388 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3389 If gst_registry_add_plugin() fails our reference to the plugin is
3390 invalid so don't try to use it anymore and instead error out.
3392 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3394 * tools/gst-xmlinspect.c: (print_element_info), (main):
3395 De-cruft a bit. If no argument is specified, print all elements in
3396 XML syntax rather than a freestyle list of elements like gst-inspect.
3397 Also, don't print XML header chunk unless we actually have something
3398 to print (ie. don't print it before an error message); print error
3399 message to stderr not stdout. Remove support for printing plugin
3400 info (it would just output something freestyle along the lines of
3401 gst-inspect so far), which fixes #514507. Also add license header.
3403 2008-04-11 Julien Moutte <julien@fluendo.com>
3406 * configure.ac: Merge platform specific defines, introduce a new
3407 define on OS X to remember that forking when updating registry is
3409 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3411 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3413 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3414 condition that leads to absolutely no plugins being registered on
3417 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3419 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3421 * gst/gstutils.c: (gst_pad_add_data_probe),
3422 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3423 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3424 (gst_pad_add_buffer_probe_full):
3426 * docs/gst/gstreamer-sections.txt:
3427 * win32/common/libgstreamer.def:
3428 Add gst_pad_add_*_probe_full() functions with a notify callback that
3429 lets the caller free the data it passes to the probe functions. This
3430 is useful for bindings such as gst-python or gstreamermm (#526814).
3431 API: gst_pad_add_data_probe_full
3432 API: gst_pad_add_buffer_probe_full
3433 API: gst_pad_add_event_probe_full
3435 * tests/check/gst/gstutils.c:
3436 Add minimal unit test to make sure freeing the data actually works
3439 * tests/benchmarks/.cvsignore:
3440 Random cvsignore addendum.
3442 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3444 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3445 (GST_DEBUG_BIN_TO_DOT_FILE):
3446 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3447 to it in the docs (since these are macros the types of the arguments
3448 won't be shown in the docs otherwise).
3450 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3453 Do not abort on out of memory for pad_alloc_buffer.
3455 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3457 * libs/gst/check/gstcheck.c:
3458 Remove blank line between symbol name ad parameters to fix gtkdoc
3461 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3463 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3465 * docs/gst/gstreamer-sections.txt:
3468 * win32/common/libgstreamer.def:
3469 Expose gst_segment_copy() to make things easier for the c++ bindings.
3471 API: gst_segment_copy()
3473 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3475 * gst/gst.c: (gst_init_get_option_group), (init_post):
3476 Fix const position; ref GType classes for enum types to work
3477 around thread-safety issues in GLib versions < 2.16.
3479 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3481 * docs/design/part-buffering.txt:
3482 Fix some typos and set the estimated total for push mode to -1.
3484 * gst/gstquery.c: (gst_query_new_buffering):
3485 Set buffering-left to 0 as we're not buffering by default.
3487 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3488 Implement BUFFERING query.
3490 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3492 Based on patch by: Milosz Derezynski <internalerror gmail com>
3494 * gst/gsterror.c: (_gst_stream_errors_init):
3496 Add two new error codes for encrypted content. Fixes #524659.
3497 API: GST_STREAM_ERROR_DECRYPT
3498 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3500 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3505 * win32/common/libgstreamer.def:
3508 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3510 * plugins/elements/gstidentity.c: (gst_identity_event),
3511 (gst_identity_start):
3512 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3513 event after processing some data. Fixes bug #526042.
3515 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3517 * docs/gst/gstreamer-sections.txt:
3518 * gst/gstquery.c: (gst_query_parse_latency),
3519 (gst_query_set_buffering_percent),
3520 (gst_query_parse_buffering_percent),
3521 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3523 Rename _avail -> _range
3524 API: gst_query_set_buffering_range
3525 API: gst_query_parse_buffering_range
3527 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3529 * docs/design/part-buffering.txt:
3532 * gst/gstquery.c: (gst_query_parse_latency),
3533 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3534 (gst_query_parse_buffering_percent):
3536 Add busy field and quark for the buffering query so that the app can
3537 only use the query to see if buffering is in progress.
3539 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3541 * docs/gst/gstreamer-sections.txt:
3542 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3543 (gst_message_parse_buffering_stats):
3545 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3546 (gst_query_parse_latency), (gst_query_new_buffering),
3547 (gst_query_set_buffering_percent),
3548 (gst_query_parse_buffering_percent),
3549 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3550 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3552 Reorder the message docs and headers for clarity.
3553 Add aditional buffering stats API for messages.
3554 Add buffering query.
3555 Convert some leftover queries to use GstQuark.
3556 API: gst_message_set_buffering_stats
3557 API: gst_message_parse_buffering_stats
3558 API: GST_QUERY_BUFFERING
3559 API: GstBufferingMode
3560 API: gst_query_new_buffering
3561 API: gst_query_set_buffering_percent
3562 API: gst_query_parse_buffering_percent
3563 API: gst_query_set_buffering_stats
3564 API: gst_query_parse_buffering_stats
3566 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3568 * gst/gstmessage.c: (gst_message_new_error),
3569 (gst_message_new_warning), (gst_message_new_info),
3570 (gst_message_new_buffering), (gst_message_new_state_changed),
3571 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3572 (gst_message_new_new_clock), (gst_message_new_segment_start),
3573 (gst_message_new_segment_done), (gst_message_new_duration),
3574 (gst_message_new_async_start), (gst_message_parse_buffering),
3575 (gst_message_parse_state_changed),
3576 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3577 (gst_message_parse_new_clock), (gst_message_parse_error),
3578 (gst_message_parse_warning), (gst_message_parse_info),
3579 (gst_message_parse_segment_start),
3580 (gst_message_parse_segment_done), (gst_message_parse_duration),
3581 (gst_message_parse_async_start):
3582 Use GstQuark for messages.
3584 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3586 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3588 Add some more quarks needed for messages and queries.
3590 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3592 * docs/design/part-buffering.txt:
3593 Remove the "none" buffering mode, STREAM is a good default.
3594 Move estimated-time to the avail query, that's when it will be needed.
3595 Other small typo fixes and updates.
3597 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3599 * gst/gstindex.c: (gst_index_resolver_get_type):
3600 Don't put descriptions into the nick field of a GEnumValue: it's not
3601 meant for that and some language bindings rely on the nick field to
3602 construct constants and the like. Fixes #526705.
3604 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3609 Merge other changes from 0.10.19 release branch.
3611 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3613 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3616 Actually build dlls when cross-compiling with mingw32.
3619 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3621 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3624 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3626 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3628 * docs/design/draft-latency.txt:
3631 * docs/design/part-buffering.txt:
3632 Update design docs with more buffering ideas.
3634 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3637 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3639 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3642 Revert part that belongs to the preset patch.
3644 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3647 Add qoutes to the define. Fixes # 525961.
3649 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3651 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3652 (gst_file_index_load), (gst_file_index_add_id),
3653 (gst_file_index_get_assoc_entry):
3654 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3655 (gst_mem_index_free_id), (gst_mem_index_add_id),
3656 (gst_mem_index_index_format):
3657 Use GSlice when possible.
3659 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3661 * libs/gst/controller/gstinterpolationcontrolsource.c:
3662 (gst_control_point_free),
3663 (gst_interpolation_control_source_set_internal):
3664 Use GSlice for allocating the control points.
3666 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3668 * plugins/elements/gsttypefindelement.c:
3669 (gst_type_find_element_class_init),
3670 (gst_type_find_element_set_property),
3671 (gst_type_find_element_get_property),
3672 (gst_type_find_element_activate):
3673 * plugins/elements/gsttypefindelement.h:
3675 Fix pad leak when peer query fails.
3676 We can still typefind when the peer returns -1.
3677 Add property to force caps and bypass typefinding. This will be used in
3681 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3686 * gst/glib-compat-private.h:
3687 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3688 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3689 Unconditionally use GSlice for allocation.
3691 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3692 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3693 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3694 (gst_structure_free):
3695 Use GSlice for allocation.
3697 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gst/parse/Makefile.am:
3700 * gst/parse/grammar.tab.pre.c:
3701 * gst/parse/grammar.tab.pre.h:
3702 * gst/parse/lex._gst_parse_yy.pre.c:
3703 Require a new enough flex and bison and remove the parser hacks to use
3704 a pre-regenerated version.
3706 2008-04-01 Julien Moutte <julien@fluendo.com>
3708 patch by: Jason Zhao <E3423C@motorola.com>
3710 * configure.ac: Add a configure switch to disable option parsing
3714 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3717 * gst/gstregistry.c:
3718 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3719 and handle this case.
3722 Add a comment here describing, why we stat each plugin and not try to
3725 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3727 * libs/gst/base/gstbasetransform.c:
3728 (gst_base_transform_prepare_output_buffer):
3729 Also unset the GAP flag on buffers if we're working inplace but
3730 the element is not GAP-aware.
3732 Mark a comment as FIXME 0.11.
3734 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3737 Fix type in log message and add one to ease seeing how long registry
3738 cache verification takes.
3740 * gst/gstregistry.c:
3741 Only test plugin filenames against G_MODULE_SUFFIX.
3743 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3745 * gst/gstdebugutils.c:
3746 Improve handling ghost/proxy pads.
3748 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3750 * docs/gst/gstreamer-sections.txt:
3753 Expose macro to docs and fix link to it.
3755 2008-03-27 Michael Smith <msmith@fluendo.com>
3757 * libs/gst/dataprotocol/dataprotocol.c:
3758 (gst_dp_packet_from_event_1_0):
3759 When calculating GDP body CRC, use the correct pointer.
3760 Fixes part of #522401.
3762 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3764 Patch by: Mark Nauwelaerts <manauw at skynet be>
3766 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3767 (gst_identity_init), (gst_identity_prepare_output_buffer):
3768 Identity is not always a passthrough element, it can modify the buffer
3769 timestamps when it has a datarate and operates in single-segment mode.
3770 We therefore make it an in_place filter with a custom buffer prepare
3771 function that conditionally makes the input buffer metadata writable
3772 when needed. Fixes #523985.
3774 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3776 Patch by: Mark Nauwelaerts <manauw at skynet be>
3779 * libs/gst/base/gstbasesrc.h:
3780 * libs/gst/base/gstbasetransform.c:
3781 * libs/gst/check/gstcheck.c:
3782 Small documentation fixes. Fixes #523978.
3784 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3786 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3787 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3788 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3790 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3792 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3793 (single_queue_underrun_cb):
3794 When trying to make room in the queue, bump the max allowed buffers
3795 bigger than the current amount of buffers in the queue. this fixes some
3796 nasty deadlocks in multiqueue when dynamically changing the limits of
3799 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3801 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3803 * gst/gstcaps.c: (gst_caps_set_simple),
3804 (gst_caps_set_simple_valist), (gst_caps_intersect):
3806 Constify the field gchar * params in set_simple and friends.
3809 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3811 * gst/gstvalue.c: (gst_value_transform_object_string):
3812 Transform a GstObject to a more meaningfull string that includes the
3813 object type in addition to its name.
3815 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3818 ChangeLog surgery to add bugnumber to commit.
3820 2008-03-23 Rene Stadler <mail@renestadler.de>
3822 * libs/gst/base/gstbasetransform.c:
3823 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3825 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3827 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3828 Rename constant everywhere and don't forget one occurence.
3830 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3832 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3833 Align memory to the pointer size even if the architecture allows
3834 unaligned memory access. Unaligned memory access usually comes with
3835 performance penality.
3837 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3839 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3840 (gst_registry_binary_check_magic),
3841 (gst_registry_binary_load_pad_template),
3842 (gst_registry_binary_load_feature),
3843 (gst_registry_binary_load_plugin):
3844 Align memory to the pointer size instead of always 32 bit. Fixes
3845 unaligned memory accesses on ia64 and friends.
3847 * gst/gstregistrybinary.h:
3848 Bump binary registry format version for this as it changes the
3849 format on those architectures that don't have unaligned access
3850 and 64 bit pointers.
3852 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3854 * docs/pwg/advanced-dparams.xml:
3855 * docs/pwg/building-props.xml:
3856 * docs/pwg/other-source.xml:
3857 * gst/glib-compat.h:
3858 * gst/gstbin.c: (gst_bin_class_init):
3859 * gst/gstclock.c: (gst_clock_class_init):
3860 * gst/gstindex.c: (gst_index_class_init):
3861 * gst/gstobject.c: (gst_object_class_init):
3862 * gst/gstpad.c: (gst_pad_class_init):
3863 * gst/gstpipeline.c: (gst_pipeline_class_init):
3864 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3865 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3866 * libs/gst/base/gstbasetransform.c:
3867 (gst_base_transform_class_init):
3868 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3869 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3870 (_gst_check_fault_handler_sighandler),
3871 (_gst_check_fault_handler_setup), (gst_check_init):
3872 * libs/gst/controller/gstcontroller.c:
3873 (_gst_controller_class_init):
3874 * libs/gst/controller/gstlfocontrolsource.c:
3875 (gst_lfo_control_source_class_init):
3876 * libs/gst/net/gstnetclientclock.c:
3877 (gst_net_client_clock_class_init):
3878 * libs/gst/net/gstnettimeprovider.c:
3879 (gst_net_time_provider_class_init):
3880 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3881 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3882 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3883 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3884 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3885 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3886 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3887 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3888 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3889 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3890 * plugins/elements/gsttee.c: (gst_tee_class_init):
3891 * plugins/elements/gsttypefindelement.c:
3892 (gst_type_find_element_class_init):
3893 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3894 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3895 use it everywhere for GParamSpecs that use static strings (i.e. all).
3896 This gives us less memory usage, fewer allocations and thus less
3897 memory defragmentation. Fixes bug #523806.
3899 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3901 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3902 (gst_param_spec_mini_object):
3903 * gst/gstminiobject.h:
3904 * win32/common/libgstreamer.def:
3905 * docs/gst/gstreamer-sections.txt:
3906 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3907 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3908 GstParamSpecMiniObject into a public header for this.
3910 This make GstMiniObject a bit more consistent with GObject and makes
3911 it possible to extend the param specs.
3913 gst_value_dup_mini_object is mainly useful for set_property methods.
3917 * tools/gst-inspect.c: (print_element_properties_info):
3918 Print something useful for GstMiniObject properties and not just
3921 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3923 * docs/gst/gstreamer-sections.txt:
3924 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3925 (gst_registry_binary_check_magic):
3926 * gst/gstregistrybinary.h:
3927 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3928 and add it to the (private part) of the docs to fix the build.
3930 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3932 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3933 (gst_registry_binary_check_magic),
3934 (gst_registry_binary_read_cache):
3935 * gst/gstregistrybinary.h:
3936 Don't use GST_MAJORMINOR for the binary registry version. Instead
3937 hardcode a value that must be changed whenever the format changes
3938 in an incompatible way.
3939 Also don't GST_ERROR when there is a version mismatch, just
3940 regenerate the registry silently.
3942 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3945 Back to development - 0.10.18.1
3947 === release 0.10.18 ===
3949 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3952 releasing 0.10.18, "So far away"
3954 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3957 * win32/common/config.h:
3958 0.10.17.4 pre-release
3960 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3962 Patch by: Ole André Vadla Ravnås
3963 <ole dot andre dot ravnas at tandberg dot com>
3965 * docs/gst/gstreamer-sections.txt:
3966 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3967 (gst_poll_update_winsock_event_mask),
3968 (gst_poll_prepare_winsock_active_sets),
3969 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3970 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3971 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3972 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3973 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3975 * win32/common/libgstreamer.def:
3976 Add new function gst_poll_fd_ignored() for improved Windows
3978 Various minor fixes and cleanups. See #520808.
3980 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3982 * gst/gstindex.c: (gst_index_entry_free):
3984 Don't free key strings which we don't own. Fixes crash in
3985 gst_index_entry_free() (#522741).
3987 * tests/check/Makefile.am:
3988 * tests/check/gst/.cvsignore:
3989 * tests/check/gst/gstindex.c: (test_index_entries),
3990 (gst_index_suite), (gst_index):
3991 Add unit test for the above.
3993 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3995 * win32/common/libgstreamer.def:
3996 Remove symbols that were removed recently. Fixes bug #521740.
3998 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4001 * win32/common/config.h:
4002 0.10.17.3 pre-release
4004 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4006 Patch by: Ole André Vadla Ravnås
4007 <ole dot andre dot ravnas at tandberg dot com>
4009 * docs/gst/gstreamer-sections.txt:
4010 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4011 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4012 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4013 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4014 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4015 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4016 (gst_poll_fd_can_write), (gst_poll_wait),
4017 (gst_poll_set_controllable), (gst_poll_restart),
4018 (gst_poll_set_flushing):
4020 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4021 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4022 (gst_net_time_provider_new):
4023 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4024 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4025 * tests/benchmarks/gstpollstress.c: (main):
4026 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4027 Remove GstPollMode from the API, it does not make sense to let the
4028 application control this.
4029 Add support for Win32.
4030 Fix the testsuite. Fixes #520671.
4032 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4034 Patch by: Ole André Vadla Ravnås
4035 <ole dot andre dot ravnas at tandberg dot com>
4037 * gst/gstregistrybinary.c:
4038 Include io.h for write() and close() when building with MSVC. Fixes
4041 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4044 * gst/gst_private.h:
4045 * gst/gstconfig.h.in:
4046 * gst/gstregistry.h:
4047 * gst/gstregistrybinary.c:
4048 * win32/common/gstconfig.h:
4049 Move registry backend API to private headers where we can. Add
4050 fixme-0.11 comments for the others. Add stubs for the xml backend when
4051 using the binary to ensure they functions exists (they should not be
4052 used though). Fixes #520756.
4054 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4057 * win32/common/config.h:
4060 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4062 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4063 (gst_registry_binary_read_cache):
4064 * gst/gstregistryxml.c: (gst_registry_save):
4065 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4066 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4067 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4068 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4069 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4072 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4074 * gst/gstminiobject.c:
4075 Import gst_private.h before any other header that might include other
4076 glib headers. This fixes the build on windows using native compilers.
4078 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4080 * win32/common/gstconfig.h:
4081 Add here too, just for completeness.
4083 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4086 * gst/gstconfig.h.in:
4087 * gst/gstregistry.h:
4088 Fix broken use of config.h-defined preprocessor directive in a public
4089 header file. Add a corresponding define to gstconfig.h, since we can't
4090 really remove those function declarations from the header file now
4091 (or can we? and why are they there in the first place?).
4093 2008-03-03 Andy Wingo <wingo@pobox.com>
4095 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4098 * gst/gststructure.c (gst_structure_from_string): Warn if
4099 structure_from_string didn't consume the whole string, but the
4100 caller did not provide an end pointer.
4102 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4104 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4106 * gst/gstregistryxml.c: (read_string), (load_feature):
4107 Strings allocated by libxml2 should be freed with xmlFree(), not
4108 with g_free(). Fixes issues on windows in certain contexts (#519698).
4110 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4112 * gst/gstinterface.c: (gst_element_implements_interface):
4113 Don't crash if the element supports the interface queried, but does
4114 not implement GstImplementsInterface. Fixes #519584.
4116 * tests/check/Makefile.am:
4117 * tests/check/gst/.cvsignore:
4118 * tests/check/gst/gstinterface.c:
4119 Add unit test for the above.
4121 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4123 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4126 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4128 * gst/gstsegment.c: (gst_segment_set_seek),
4129 (gst_segment_to_stream_time):
4130 Improve some comment.
4131 Update variables where it makes more sense.
4133 2008-02-29 Rene Stadler <mail@renestadler.de>
4135 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4136 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4137 URIHandlers implemented using language bindings.
4139 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4141 * gst/gstelementfactory.h:
4142 * tests/check/elements/fakesink.c:
4143 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4144 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4145 * tests/check/elements/filesink.c: (setup_filesink):
4146 * tests/check/elements/filesrc.c: (setup_filesrc):
4147 * tests/check/elements/identity.c: (setup_identity):
4148 * tests/check/elements/tee.c:
4149 * tests/check/generic/sinks.c:
4150 * tests/check/generic/states.c: (setup), (teardown):
4151 * tests/check/gst/gst.c:
4152 * tests/check/gst/gstabi.c:
4153 * tests/check/gst/gstbin.c:
4154 * tests/check/gst/gstbus.c: (pull_messages):
4155 * tests/check/gst/gstcaps.c:
4156 * tests/check/gst/gstelement.c:
4157 * tests/check/gst/gstevent.c:
4158 * tests/check/gst/gstghostpad.c:
4159 * tests/check/gst/gstiterator.c:
4160 * tests/check/gst/gstmessage.c:
4161 * tests/check/gst/gstminiobject.c: (my_foo_init):
4162 * tests/check/gst/gstobject.c: (thread_name_object),
4164 * tests/check/gst/gstpad.c:
4165 * tests/check/gst/gstplugin.c:
4166 * tests/check/gst/gstpoll.c:
4167 * tests/check/gst/gstquery.c:
4168 * tests/check/gst/gstsegment.c:
4169 * tests/check/gst/gststructure.c:
4170 * tests/check/gst/gstsystemclock.c:
4171 * tests/check/gst/gsttask.c:
4172 * tests/check/gst/gstutils.c:
4173 * tests/check/gst/gstvalue.c:
4174 * tests/check/gst/struct_hppa.h:
4175 * tests/check/gst/struct_i386.h:
4176 * tests/check/gst/struct_ppc32.h:
4177 * tests/check/gst/struct_ppc64.h:
4178 * tests/check/gst/struct_x86_64.h:
4179 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4180 * tests/check/libs/basesrc.c:
4181 * tests/check/libs/controller.c: (GST_START_TEST):
4182 * tests/check/libs/gdp.c:
4183 * tests/check/libs/gstnetclientclock.c:
4184 * tests/check/libs/gstnettimeprovider.c:
4185 * tests/check/libs/libsabi.c:
4186 * tests/check/libs/struct_hppa.h:
4187 * tests/check/libs/struct_i386.h:
4188 * tests/check/libs/struct_ppc32.h:
4189 * tests/check/libs/struct_ppc64.h:
4190 * tests/check/libs/struct_x86_64.h:
4191 * tests/check/pipelines/cleanup.c:
4192 * tests/check/pipelines/simple-launch-lines.c:
4193 * tests/check/pipelines/stress.c:
4194 And correct even more valid sparse warnings.
4196 * win32/common/libgstreamer.def:
4197 Add gst_poll_fd_init to the list of symbols.
4199 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4201 * gst/gstconfig.h.in:
4202 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4203 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4204 (gst_check_log_critical_func), (gst_check_drop_buffers),
4205 (gst_check_element_push_buffer_list):
4206 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4207 (gst_controller_get_type):
4208 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4209 (gst_object_get_controller), (gst_object_get_control_source):
4210 * libs/gst/controller/gstinterpolationcontrolsource.c:
4211 (gst_interpolation_control_source_new):
4212 * libs/gst/controller/gstlfocontrolsource.c:
4213 (gst_lfo_control_source_new):
4214 * libs/gst/dataprotocol/dataprotocol.c:
4215 (gst_dp_event_from_packet_0_2):
4216 * plugins/elements/gstfdsrc.c:
4217 * plugins/elements/gstmultiqueue.c:
4218 * plugins/elements/gsttee.c:
4219 * plugins/elements/gsttypefindelement.c:
4220 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4221 (gst_file_index_add_association):
4222 * plugins/indexers/gstmemindex.c:
4223 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4224 * tests/check/elements/queue.c: (setup_queue):
4225 * tests/check/gst/gstpipeline.c:
4226 * tests/check/libs/collectpads.c: (setup), (teardown),
4227 (gst_collect_pads_suite):
4228 * tests/examples/adapter/adapter_test.c:
4229 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4230 * tests/examples/xml/createxml.c:
4231 * tests/examples/xml/runxml.c:
4232 * tools/gst-inspect.c:
4234 Correct all relevant warnings found by the sparse semantic code
4235 analyzer. This include marking several symbols static, using
4236 NULL instead of 0 for pointers, not using variable sized arrays
4237 on the stack, moving variable declarations to the beginning of
4238 a block and using "foo (void)" instead of "foo ()" for declarations.
4240 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4242 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4243 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4244 Don't reset GstPollFDs, this is not necessary at all.
4246 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4247 (delayed_restart), (delayed_control):
4248 Use GST_POLL_FD_INIT.
4250 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4252 * gst/gstpoll.c: (gst_poll_fd_init):
4256 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4257 Use some more init macros.
4259 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4261 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4262 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4263 Use init macros and functions.
4265 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4267 * docs/gst/gstreamer-sections.txt:
4268 * gst/gstpoll.c: (gst_poll_fd_init):
4270 Add INIT macro and _init method for initializing the GstPollFD.
4272 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4274 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4275 (gst_fd_sink_update_fd):
4276 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4277 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4278 (delayed_restart), (delayed_control):
4279 Initialize some uninitialized variables as spotted by valgrind.
4281 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4283 * tests/benchmarks/Makefile.am:
4284 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4286 Add poll stress test.
4288 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4290 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4292 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4293 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4294 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4295 * plugins/elements/gstfdsink.h:
4296 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4297 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4298 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4299 (gst_fd_src_uri_set_uri):
4300 * plugins/elements/gstfdsrc.h:
4301 Port to GstPoll. See #505417.
4303 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4305 * win32/common/libgstreamer.def:
4306 Add new gst_poll_ symbols to win32 defs.
4308 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4310 * docs/libs/gstreamer-libs-sections.txt:
4311 * libs/gst/net/gstnetclientclock.c:
4312 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4313 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4314 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4315 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4316 * libs/gst/net/gstnetclientclock.h:
4317 * libs/gst/net/gstnettimeprovider.c:
4318 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4319 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4320 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4321 (gst_net_time_provider_new):
4322 * libs/gst/net/gstnettimeprovider.h:
4323 Use a private stuct to not break ABI.
4325 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4327 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4329 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4330 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4331 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4332 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4333 * libs/gst/net/gstnetclientclock.h:
4334 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4335 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4336 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4337 (gst_net_time_provider_new):
4338 * libs/gst/net/gstnettimeprovider.h:
4339 Massive code removal and cleanups because of GstPoll.
4342 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4345 Add checks for poll, ppoll and pselect.
4347 * docs/gst/gstreamer-docs.sgml:
4348 * docs/gst/gstreamer-sections.txt:
4349 Add docs for GstPoll.
4353 * gst/gstpoll.c: (find_index), (selectable_fds),
4354 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4355 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4356 (gst_poll_set_mode), (gst_poll_get_mode),
4357 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4358 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4359 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4360 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4361 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4362 (gst_poll_fd_can_write), (gst_poll_wait),
4363 (gst_poll_set_controllable), (gst_poll_restart),
4364 (gst_poll_set_flushing):
4366 Add generic poll abstraction. We ideally don't want to have this in core
4367 here but in glib intead...
4368 This code will be used in various network elements and ultimately for
4369 the nanosecond precision monotonic clock (that's why it's here in core).
4370 It'll allow us to implement cancelable socket operations for windows too.
4372 * tests/check/Makefile.am:
4373 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4374 (delayed_stop), (delayed_restart), (delayed_flush),
4375 (delayed_control), (gst_poll_suite):
4376 Add GstPoll unit test.
4378 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4381 Improve documentation of gst_filter_run(). Fixes #518627.
4383 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4386 Add a few lines about the new 'check-inspected-versions' target.
4388 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4390 * tests/check/gst/gstevent.c:
4391 Add qos to the event test. Rename tcase/tsuite; is not only about
4394 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4396 * plugins/elements/gstqueue.c:
4397 Ensure that buffer metadata is writeable, before modifying. Spotted by
4400 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4402 * plugins/elements/gstqueue.c:
4403 * plugins/elements/gstqueue.h:
4404 When dropping buffers in leaky modes, mark next buffers we sent as
4407 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4409 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4410 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4412 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4414 * plugins/elements/Makefile.am:
4415 * plugins/elements/gstbufferstore.c:
4416 * plugins/elements/gstbufferstore.h:
4417 * plugins/elements/gsttypefindelement.h:
4418 Remove GstBufferStore, no idea why we were still building it.
4419 It's not used anywhere and superseded by GstAdapter.
4421 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4422 (gst_file_src_create_mmap):
4423 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4424 Printf format fixes for 64-bit integers.
4426 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4429 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4430 We're not in 0.8 times anymore.
4432 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4434 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4435 (gst_check_element_push_buffer_list):
4436 * libs/gst/check/gstcheck.h:
4437 Make the declaration in the header for
4438 gst_check_element_push_buffer_list match the implementation.
4440 Fix up spelling, grammar and wording of the documentation in a few
4441 places, and add the Since keyword to new API functions.
4442 Use g_list_delete_link instead of g_list_remove in
4443 gst_check_drop_buffers, since it's immeasurably more efficient.
4445 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4446 Use new gst_check_drop_buffers function where appropriate.
4448 * win32/common/libgstbase.def:
4449 * win32/common/libgstreamer.def:
4450 Add new symbols gst_collect_pads_take_buffer,
4451 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4454 Changelog surgery to add API keyword to new gst_check API.
4456 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4458 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4459 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4460 Update pre-generated flex files with flex 2.3.34.
4462 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4464 * gst/gstminiobject.c:
4465 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4466 friendly to subclasses and not require them to know all internals
4467 of their parent class.
4469 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4471 * docs/libs/gstreamer-libs-sections.txt:
4472 * libs/gst/base/gstcollectpads.c:
4473 * libs/gst/base/gstcollectpads.h:
4474 Add sub-buffer functions to collectpads. Fixes #516187.
4475 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4477 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4480 Copy selected buffer-flags when creating subbuffers.
4483 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4485 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4486 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4487 * gst/gstmessage.c: (gst_message_class_init),
4488 (gst_message_finalize):
4489 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4490 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4491 (gst_mmap_buffer_finalize):
4492 Properly chain up finalize functions to the parent class.
4494 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4496 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4498 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4499 (gst_index_set_resolver_full):
4501 Add new function with option to dispose of user_data in resolver.
4502 Actually call the dispose function when finalizing the object and not
4503 just when changing the resolver/filter.
4504 API: GstIndex::gst_index_set_resolver_full()
4506 * docs/gst/gstreamer-sections.txt:
4507 Add new function to docs. Fixes #515469.
4509 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4511 * gst/gstindex.c: (gst_index_finalize):
4512 Chain up finalize to the parent class. Fixes leaking the GstObject
4513 name and other things.
4515 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4518 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4519 pre-releases or releases.
4521 * docs/faq/gst-uninstalled:
4524 * docs/random/release:
4525 Change one of the steps - we only upload core & base to Gnome FTP
4527 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4529 * gst/gstconfig.h.in:
4530 Add 'id' for example.
4534 * plugins/elements/gstfdsink.c:
4535 Link to signals. Doc and comment fixes.
4537 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4539 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4540 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4541 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4542 unused and unimplemented; finally, it is plugin features, not
4543 plugins, that have ranks.
4545 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4547 * gst/gstpluginfeature.h:
4548 Clarify GstRank range docs.
4550 2008-02-05 David Schleef <ds@schleef.org>
4552 * gst/gst.c: Add a separate gst_deinitialized that prevents
4553 gst_init() from being called after gst_deinit(). Fixes #509559
4555 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4557 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4558 (gst_bin_class_init):
4559 * gst/gstelement.c: (gst_element_base_class_init),
4560 (gst_element_class_add_pad_template):
4561 * gst/gstpadtemplate.c: (gst_pad_template_init):
4562 * gst/gstpipeline.c: (gst_pipeline_get_type),
4563 (gst_pipeline_base_init), (gst_pipeline_class_init):
4564 * libs/gst/base/gstbasesink.c:
4565 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4566 (gst_base_src_base_init), (gst_base_src_class_init):
4567 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4568 (gst_capsfilter_class_init):
4569 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4570 (gst_fake_sink_class_init):
4571 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4572 (gst_fake_src_class_init):
4573 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4574 (gst_fd_sink_class_init):
4575 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4576 (gst_fd_src_class_init):
4577 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4578 (gst_file_sink_class_init):
4579 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4580 (gst_file_src_class_init):
4581 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4582 (gst_identity_class_init):
4583 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4584 (gst_multi_queue_class_init):
4585 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4586 (gst_queue_class_init):
4587 * plugins/elements/gsttee.c: (gst_tee_base_init),
4588 (gst_tee_class_init):
4589 * plugins/elements/gsttypefindelement.c:
4590 (gst_type_find_element_base_init),
4591 (gst_type_find_element_class_init):
4592 * tests/check/gst/gstelement.c: (gst_element_suite):
4593 Revert previous changes to the behaviour of GstPadTemplates, etc
4594 and the possiblity to call them in class_init as it breaks too
4595 many elements. Reopens bug #491501.
4597 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4600 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4602 * tools/gst-launch.c:
4603 Dump one graph per pipeline state-change and state change name
4604 (if GST_DEBUG_DUMP_DOT_DIR is set).
4606 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4609 * tests/check/gst/gstpad.c:
4610 Be sure that we have a new copy of the caps and not
4611 reffed caps from a template
4613 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4615 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4616 * gst/gstpipeline.c: (gst_pipeline_get_type),
4617 (gst_pipeline_class_init):
4618 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4619 (gst_base_sink_class_init):
4620 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4621 (gst_base_src_class_init):
4622 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4623 (gst_base_transform_class_init):
4624 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4625 (gst_collect_pads_class_init):
4626 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4627 * libs/gst/net/gstnettimeprovider.c:
4628 (gst_net_time_provider_base_init),
4629 (gst_net_time_provider_class_init):
4630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4631 (gst_capsfilter_class_init):
4632 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4633 (gst_fake_sink_class_init):
4634 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4635 (gst_fake_src_class_init):
4636 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4637 (gst_fd_sink_class_init):
4638 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4639 (gst_fd_src_class_init):
4640 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4641 (gst_file_sink_class_init):
4642 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4643 (gst_file_src_class_init):
4644 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4645 (gst_identity_class_init):
4646 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4647 (gst_multi_queue_class_init):
4648 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4649 (gst_queue_class_init):
4650 * plugins/elements/gsttee.c: (gst_tee_base_init),
4651 (gst_tee_class_init):
4652 * plugins/elements/gsttypefindelement.c:
4653 (gst_type_find_element_base_init),
4654 (gst_type_find_element_class_init):
4655 Don't use base_init where not absolutely necessary. For example it's
4656 not necessary anymore for adding pad templates or setting element
4659 Leave empty base_init functions in several places as GST_BOILERPLATE
4660 still defines and uses them.
4662 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4664 * gst/gstelement.c: (gst_element_base_class_init),
4665 (gst_element_class_add_pad_template):
4666 * gst/gstpadtemplate.c:
4667 Make it possible (and recommended) to set element details and add
4668 pad templates in the class_init functions by copying the details/pad
4669 templates in GstElement's base_init.
4671 Also make it possible to replace existing pad templates by adding
4672 a new one with the same name. This was done in a hackish fashion
4673 in same elements before already.
4675 Don't reference pad templates that are added a second time. A
4676 new pad template has a refcount of one and is not floating anymore
4677 and to be owned by the element's class. Make this more explicit by
4678 mentioning it in the docs of gst_element_class_add_pad_template().
4680 These changes are backwards compatible. Fixes bug #491501.
4682 * tests/check/gst/gstelement.c:
4683 Add unit test for setting element details, adding pad templates and
4684 replacing them in a subclass.
4686 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4688 * tools/gst-inspect.c: (print_interfaces),
4689 (print_element_properties_info), (print_pad_info),
4690 (print_signal_info), (print_element_info):
4691 Fix a few memory leaks.
4693 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4695 * docs/libs/gstreamer-libs-sections.txt:
4696 * libs/gst/check/gstcheck.c:
4697 * libs/gst/check/gstcheck.h:
4698 Add more functions for unit testing: gst_check_drop_buffers,
4699 gst_check_caps_equal, gst_check_element_push_buffer_list,
4700 gst_check_element_push_buffer
4701 API: gst_check_drop_buffers
4702 API: gst_check_caps_equal
4703 API: gst_check_element_push_buffer_list
4704 API: gst_check_element_push_buffer
4706 2008-02-01 Julien Moutte <julien@fluendo.com>
4708 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4709 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4710 (gst_index_finalize), (gst_index_entry_free),
4711 (gst_index_add_association): Fix memory leaks.
4712 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4713 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4714 (gst_mem_index_free_format), (gst_mem_index_free_id),
4715 (gst_mem_index_finalize): Fix memory leaks.
4716 * win32/common/config.h: Updated to CVS HEAD.
4718 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4721 Some more details about how the plugin docs works.
4723 * docs/plugins/gstreamer-plugins-sections.txt:
4726 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4728 * gst/parse/grammar.tab.pre.c:
4729 * gst/parse/grammar.tab.pre.h:
4730 * gst/parse/grammar.y:
4731 * gst/parse/lex._gst_parse_yy.pre.c:
4732 Add delayed set-property. This allows to set properties on dynamicaly
4733 created objects (pads in videomxer). Fixes #509391.
4735 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4738 Check if caps are not NULL (fix bug #510194)
4740 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4742 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4743 (gst_base_sink_get_position_paused):
4744 Add fixme regarding EOS in pull mode.
4745 Fix position reporting in PAUSED for negative rates.
4747 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4749 * gst/gstminiobject.c: (gst_mini_object_replace):
4750 When replacing a miniobject, do a quick equality check first so that we
4751 can avoid a ref/unref pair.
4753 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4755 * docs/design/part-synchronisation.txt:
4758 * docs/plugins/Makefile.am:
4759 * docs/plugins/gstreamer-plugins-docs.sgml:
4760 * docs/plugins/gstreamer-plugins-sections.txt:
4761 * plugins/elements/gstmultiqueue.c:
4762 Add multiqueue to the docs.
4764 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4769 === release 0.10.17 ===
4771 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4774 releasing 0.10.17, "Due Negligence"
4776 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4779 Revert caps != NULL check temporarily for 0.10.17 release.
4781 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4784 Check if caps are not NULL (fix bug #510194)
4786 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4789 Fix compilation on systems that have posix timers but no
4792 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4795 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4797 * tools/gst-inspect.c:
4798 Revert previous commit in preparation for an impromptu 0.10.17 release
4800 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4802 * tools/gst-inspect.c: (print_interfaces),
4803 (print_element_properties_info), (print_pad_info),
4804 (print_signal_info), (print_element_info):
4805 Fix a few memory leaks.
4807 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4812 === release 0.10.16 ===
4814 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4817 releasing 0.10.16, "Special Dispensation"
4819 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4822 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4823 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4824 not fail when trying to crosscompile on OpenEmbedded (#511750).
4826 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4829 Use $(MAKE) instead of make to fix the build if GNU make is
4830 called different. Fixes bug #510747.
4832 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4834 * gst/gstplugin.c: (_gst_plugin_initialize):
4835 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4836 again, which I broke two commits ago when changing the API
4837 of gst_plugin_register_static(): the g_list_foreach() in
4838 _gst_plugin_register_static still assumed the old function
4839 signature and would therefore fail (re-fixes #510187).
4841 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4842 (_gst_plugin_register_static), (gst_plugin_register_static):
4843 Revert the (technically correct) change to call g_thread_init() from
4844 the pre-main() constructor. This will break programs which call
4845 g_thread_init() without an if (!g_thread_supported()) guard in their
4846 main function. We could just blame it on GLib or the application, but
4847 it's probably best to just avoid this altogether and simply not use
4848 any GLib functions here and use plain old malloc() with a simple
4849 array to store the plugins to register later when gst_init() is
4850 finally called (re-fixes #510187).
4852 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4853 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4854 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4855 (GST_START_TEST), (gst_plugin_suite):
4856 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4859 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4861 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4862 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4863 This makes gtk-doc complain, but results in slightly better
4864 compiler errors. The old _gst_plugin_register_static() is
4865 still guarded, so there'll be a compiler warning about that
4866 instead. Fixes #510187 too.
4868 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4870 * gst/gst.c: (init_post):
4871 * gst/gstplugin.c: (_gst_plugin_register_static),
4872 (gst_plugin_register_static), (_gst_plugin_initialize):
4873 * gst/gstplugin.h: (GstPluginFilter):
4874 Change API of gst_plugin_register_static() to not take
4875 a GstPluginDesc, but rather just take all the arguments
4876 in a GstPluginDesc directly. This is more intuitive and
4877 avoids certain mistakes when porting code from
4878 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4881 * tests/check/gst/gstplugin.c:
4882 Fix up for changed API.
4884 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4886 * docs/faq/legal.xml:
4887 Update FAQ, Totem actually has an exception these days.
4889 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4891 * win32/common/libgstreamer.def:
4892 Add new API declarations
4894 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4896 * gst/gstminiobject.c:
4897 Spelling fixes for the API docs.
4899 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4901 * libs/gst/base/gstbasetransform.c:
4902 Fix long property description for QoS.
4904 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4907 _gst_trace_on is already provided by gsttrace.h, no need to declare
4910 * docs/libs/gstreamer-libs-sections.txt:
4911 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4912 and remove strange tcase_add_test which is outputting a warning.
4914 * libs/gst/check/gstcheck.c:
4915 * libs/gst/check/gstcheck.h:
4916 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4917 and define them in gstcheck.c instead of having every .c file whcih
4918 includes gstcheck.h be defining its own copy and relying on symbol
4919 interposing to marry them all, which doesn't work on Solaris.
4921 * tests/check/elements/identity.c: (GST_START_TEST):
4922 Don't define 'buffers' locally, it comes from libgstcheck.
4924 * tests/check/generic/sinks.c: (send_buffer):
4925 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4927 * tests/check/gst/gststructure.c: (GST_START_TEST):
4928 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4929 * tests/check/gst/gstutils.c: (GST_START_TEST):
4930 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4931 Add a bunch of casts to make various constants fit the types
4932 they're being assigned to.
4934 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4936 * gst/gstchildproxy.c:
4937 Improve docs and add some ideas for making this more general-purpose.
4939 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4941 * gst/gst_private.h: (GST_CAT_TYPES):
4942 Add GST_CAT_TYPES, for consistency, and so that the other
4943 debug categories don't make fun of it. Spotted by Saur on IRC.
4945 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4947 * gst/parse/Makefile.am:
4948 Move types.h from EXTRA_DIST to noinst_HEADERS.
4950 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4953 Add -Wno-portability to the automake parameters to stop warnings
4954 about GNU make extensions being used. We require GNU make in almost
4955 every Makefile anyway.
4958 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4959 at the same time is required for per target flags.
4961 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4964 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4965 __GNUC__ is defined before using it.
4967 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4969 * docs/gst/gstreamer-sections.txt:
4970 * gst/gst.c: (init_post):
4971 * gst/gstplugin.c: (_gst_plugin_register_static),
4972 (gst_plugin_register_static), (_gst_plugin_initialize),
4973 (gst_plugin_register_func):
4974 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4975 API: add gst_plugin_register_static() and deprecate
4976 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4978 Also, in _gst_plugin_register_static(), make sure to call
4979 g_thread_init() before calling GLib functions such as
4980 g_list_append() if we're not initialised yet, since that
4981 may lead to random crashes with older GSlice/GLib versions.
4983 * tests/check/gst/gstplugin.c:
4984 Adapt unit test to above changes.
4986 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4988 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4989 * gst/gstcaps.c: (gst_caps_to_string):
4990 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4991 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4992 Yet another gratuitous GString micro-optimisation: add a (private)
4993 function that serialises a structure appending to an existing
4994 GString, so that when we serialise caps we don't need to alloc+free
4995 a throwaway GString for each structure (each of which also entailing
4996 multiple reallocs on the way); also use g_string_sized_new() in
4997 various places with an approximate string length to avoid reallocs
4998 within GString. See #500143.
5000 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5002 * gst/gststructure.c: (gst_structure_id_set_value):
5003 Always check UTF-8 conformance of structure strings and not only
5004 if the debugging system is enabled; reasoning: the behaviour of
5005 the actual code shouldn't really change depending on whether the
5006 debugging system is enabled or not (#508291).
5008 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5011 Remove old coverage target in favour of "make lcov".
5013 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5015 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5016 (gst_base_src_loop):
5017 The start segment for reverse playback goes from start to last_stop.
5019 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5021 Patch by: Peter Kjellerstedt <pkj axis com>
5024 Cast the results from the timeval/spec_to_time macros to what the
5025 docs say it casts to, a GstClockTime. fixes #508175.
5027 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5030 Update some comments.
5032 * tools/gst-inspect.c: (print_element_properties_info):
5033 Improve printing of flags.
5035 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5037 * libs/gst/base/gstbasetransform.c:
5038 (gst_base_transform_transform_size):
5039 Print element name with g_warning() if there's a problem
5042 2008-01-07 David Schleef <ds@schleef.org>
5044 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5046 * libs/gst/controller/gstcontroller.h:
5047 * libs/gst/controller/gstcontrolsource.h:
5048 * libs/gst/controller/gstinterpolationcontrolsource.h:
5049 * libs/gst/controller/gstlfocontrolsource.h:
5050 * libs/gst/dataprotocol/dataprotocol.h:
5051 Fix empty prototypes. Fixes bug #507957.
5053 2008-01-07 David Schleef <ds@schleef.org>
5055 * docs/faq/dependencies.xml: Fix typo.
5057 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5059 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5060 (gst_base_src_loop):
5061 Don't update the last_stop position in do_seek, that's the position we
5063 Read backwards when we have a negative rate.
5065 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5066 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5068 Add check for reverse reading.
5070 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5072 Patch by: Alexis Ballier <aballier at gentoo org>
5074 * tests/check/gst/gstabi.c:
5075 * tests/check/gst/struct_ppc64.h:
5076 * tests/check/libs/libsabi.c:
5077 * tests/check/libs/struct_ppc64.h:
5078 Decide which header to include based on the userland ABI target
5079 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5080 for 64-bit userland (#503590). Might need something similar for
5083 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5085 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5086 Log the reason why fopen fails in addition to the fact that it failed.
5088 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5090 * gst/parse/parse.l:
5091 Use "%option never-interactive" to prevent useless calls to isatty()
5092 on every input when parsing. Also use "%option noinput" to not define
5093 the static input/yyinput functions which we don't use anyway. This
5094 removes a compiler warning with gcc 4.3 and saves some bytes in the
5097 * gst/parse/lex._gst_parse_yy.pre.c:
5098 Regenerated for the above change.
5100 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5102 * gst/gstpad.c: (fixate_value):
5103 Don't crash when trying to fixate and empty list.
5106 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5108 * docs/faq/gst-uninstalled:
5109 Clarify the comments to make the usage of this script and what it
5110 does easier to understand.
5112 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5114 * tools/gst-plot-timeline.py:
5115 Add more options to gst-plot-timeline
5117 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5119 * docs/design/part-synchronisation.txt:
5120 Some more info on how the stream_time in GstBaseSink is done.
5122 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5124 * tests/check/generic/sinks.c: (gst_sinks_suite):
5125 Put back the tcase_set_timeout(), apparently it's needed after
5126 all; fix it up in a way that makes things work with valgrind too.
5128 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5130 * gst/gstdebugutils.c:
5131 Add warning when failed to open file for writing.
5133 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5135 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5137 * gst/gstvalue.c: (gst_value_is_fixed):
5138 Optimisation: bail out of the loop as early as possible (#500143).
5140 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5142 * gst/gstcaps.c: (gst_caps_to_string):
5143 * gst/gstinfo.c: (gst_debug_construct_term_color):
5144 * gst/gstparse.c: (gst_parse_launchv):
5145 * gst/gstutils.c: (gst_util_dump_mem):
5146 * gst/gstvalue.c: (gst_value_serialize_any_list),
5147 (gst_value_transform_any_list_string):
5148 Bunch of gratuitous nano-optimisations.
5150 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5152 * tests/check/generic/sinks.c: (async_done_func),
5153 (async_done_eos_func):
5154 Fix leak in unit test (bus sync handler must unref the message
5155 if it returns GST_BUS_DROP). Don't fiddle with the default test
5156 timeout, this is smaller than the current preconfigured value
5157 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5158 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5160 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5162 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5165 Check for stdio_ext.h for the filesink changes.
5167 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5168 (gst_file_sink_class_init), (gst_file_sink_init),
5169 (gst_file_sink_dispose), (gst_file_sink_set_property),
5170 (gst_file_sink_get_property), (gst_file_sink_open_file),
5171 (gst_file_sink_close_file):
5172 * plugins/elements/gstfilesink.h:
5173 Add two properties to control the buffering mode and size.
5174 API: GstFileSink::buffer-mode
5175 API: GstFileSink::buffer-size
5178 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5180 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5181 Add some more docs to explain why a FIXME was wrongly added.
5183 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5186 Fix typo in the gst_object_{ref,unref} documentation.
5188 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5190 * tests/check/libs/controller.c:
5191 * tests/check/libs/typefindhelper.c:
5192 * tests/check/pipelines/parse-launch.c:
5193 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5194 going to be deprecated (see #498924).
5196 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5198 * gst/gsttypefind.c: (gst_type_find_register):
5199 Make gst_type_find_register work for static typefind functions,
5200 ie. allow passing plugin == NULL (prerequisite for #498924).
5202 * gst/gstelementfactory.c: (gst_element_register):
5203 Small docs addition.
5205 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5207 * gst/gstpad.c: (gst_pad_dispose):
5208 Really unlink the peer pad instead of setting the peer pointer to NULL
5209 when we dispose the pad.
5210 This correctly calls the unlink functions and makes sure that the peer
5211 does not have a handle to invalid memory. See #504671.
5213 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5214 Add testsuite for above case.
5216 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5218 Patch by: Peter Kjellerstedt <pkj axis com>
5220 * libs/gst/check/gstcheck.h:
5221 Fix detection of the check version we're compiling against (would
5222 otherwise break if check goes v0.10.0); correctly report the
5223 name of the failed test again in case of failure, instead of
5224 just 'tf' (fixes #504499).
5226 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5228 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5229 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5230 (gst_base_src_loop), (gst_base_src_set_flushing),
5231 (gst_base_src_change_state):
5232 Allow sending EOS to the source to make it send out an EOS event from
5233 the streaming thread.
5234 Update docs and deprecate the old NULL/READY shutdown method.
5236 * tests/check/libs/basesrc.c: (GST_START_TEST),
5237 (gst_basesrc_suite):
5238 Add unit test for controlled shutdown.
5240 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5242 * docs/design/part-synchronisation.txt:
5245 * gst/gstsegment.c: (gst_segment_set_seek),
5246 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5247 (gst_segment_to_running_time):
5248 The seek format can be different from the segment format when the start
5249 and stop values are not to be updated, when we only do a rate change for
5252 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5253 (gst_segment_suite):
5254 Add a testcase for the rate-only seeks, checking that the format is
5255 correctly ignored when start and stop are not updated.
5257 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5259 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5261 * win32/vs8/grammar.vcproj:
5262 * win32/vs8/libgstcontroller.vcproj:
5263 * win32/vs8/libgstreamer.vcproj:
5264 Fix compilation with VS8 and include some missing files.
5266 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5269 Small docs addition: mention that the strings returned by
5270 gst_tag_list_get_string*() are in UTF-8 encoding.
5272 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5275 The check-exports stuff moved to common/win32.mak, so include that.
5277 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5279 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5280 (gst_base_src_perform_seek), (gst_base_src_get_range),
5281 (gst_base_src_set_playing), (gst_base_src_change_state):
5282 Make _wait_playing() not check any variables so that we can call this
5283 function from subclasses. Move the checks elsewhere similar to
5284 _wait_preroll() in basesink.
5286 Only signal the LIVE cond when we are going back to PLAYING.
5288 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5290 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5291 Use g_remove() and g_rename(). Check result of g_rename(), and
5292 don't leak the open file descriptor if we error out when writing.
5294 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5295 Must check the return value of close() after writing out the new
5296 registry file. Sometimes write problems such as out-of-diskspace
5297 are only reported when the file is closed and not already during
5298 the write. This may have caused partial/broken registry files in
5299 some rare circumstances. Should fix #503675.
5301 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5303 * docs/gst/.cvsignore:
5304 * docs/libs/.cvsignore:
5305 * docs/plugins/.cvsignore:
5306 Ignore files generated by new common/* modifications
5308 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5310 * win32/common/libgstbase.def:
5311 Yes, you can also have a <TAB> if you want.
5313 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5315 * win32/common/libgstbase.def:
5316 Add new basetransform API to win export file.
5318 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5320 * tests/check/gst/gstbin.c:
5321 Adjust the test to the refcount change two days ago.
5323 2007-12-14 David Schleef <ds@schleef.org>
5325 * docs/faq/getting.xml: Fix typo.
5327 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5329 * docs/libs/gstreamer-libs-sections.txt:
5330 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5331 (gst_base_transform_prepare_output_buffer),
5332 (gst_base_transform_set_gap_aware):
5333 * libs/gst/base/gstbasetransform.h:
5334 API: Add gst_base_transform_set_gap_aware() to control whether
5335 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5336 get buffers with this flag at all. Fixes #503231.
5338 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5340 * libs/gst/base/gstbasesink.c:
5341 * libs/gst/base/gstbasesrc.c:
5342 * libs/gst/base/gstbasetransform.c:
5343 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5344 thread. Correct log message in gstbasesrc.c.
5346 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5348 * gst/gstutils.c: (element_find_unconnected_pad):
5349 Fix possible compiler warning (#503417).
5351 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5353 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5354 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5356 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5358 * tools/gst-inspect.c: (print_element_properties_info):
5359 Add support for GstFraction properties.
5361 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5364 Add check-exports target and run it as part of 'make check'
5365 (see #499140 and #493983).
5367 * gst/gst_private.h:
5368 * gst/gstelementfactory.h:
5369 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5370 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5371 (_priv_gst_in_valgrind):
5372 * gst/gstinfo.h: (GstLogFunction):
5373 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5374 (gst_type_find_register):
5375 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5376 (gst_type_find_factory_get_type):
5377 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5378 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5379 (gst_controller_new_valist), (gst_controller_new_list),
5380 (_gst_controller_dispose), (_gst_controller_class_init):
5381 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5382 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5383 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5384 (gst_object_get_controller), (gst_object_set_controller),
5385 (gst_object_suggest_next_sync), (gst_object_sync_values),
5386 (gst_object_set_control_source), (gst_object_get_control_source),
5387 (gst_object_get_value_arrays), (gst_object_get_value_array),
5388 (gst_object_get_control_rate), (gst_object_set_control_rate):
5389 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5390 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5391 Make some functions that should be static static; rename some
5392 private symbols so that they don't get exported; add some FIXME
5393 comments so we can move accidentally exported functions into
5394 our private section in 0.11.
5396 * win32/common/libgstreamer.def:
5397 Add gst_utils_get_timestamp().
5399 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5403 Add more missing "Since:" tags to docs.
5405 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5408 Add mising "Since:" to docs.
5410 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5413 Include "glib-compat-private.h" to fix the build on system with
5414 glib < 2.10. Fixes #503131.
5416 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5420 Actually its not PURE as it gets the time from elsewhere.
5422 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5424 * docs/gst/gstreamer-sections.txt:
5426 * gst/gstdebugutils.c:
5430 * libs/gst/base/gstbasesink.c:
5431 * tools/gst-launch.c:
5432 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5433 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5434 Thanks Tim for spotting.
5435 API: gst_util_get_timestamp
5437 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5440 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5442 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5444 * gst/gststructure.c: (gst_structure_validate_name),
5445 (gst_structure_new_valist), (gst_structure_parse_value),
5446 (gst_structure_from_string):
5447 Don't crash in _from_string() if the structure name is not valid
5448 (fixes #501560). Allow structure names to start with a number
5449 again (this apparently broke the ubuntu codec installer).
5451 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5453 Add unit test for the crash; update unit tests for new behaviour.
5455 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5458 Clarify gst_element_get_compatible_pad() documentation.
5461 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5463 * tests/check/Makefile.am:
5464 Don't forget to dist {gst,libs}/struct_hppa.h.
5466 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5468 * libs/gst/base/gstbasesink.c:
5469 Use new API to get elapsed time.
5471 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5473 * gst/gstdebugutils.c:
5475 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5477 * tools/gst-launch.c:
5478 Use new API to get elapsed time.
5480 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5482 * docs/gst/gstreamer-sections.txt:
5484 * gst/gstdebugutils.c:
5486 Rename new API + ChangeLog surgery to remove old name from last entry..
5488 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5490 * docs/gst/gstreamer-sections.txt:
5492 * gst/gstdebugutils.c:
5494 Now hide the different clock stuff behind a macro.
5496 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5499 * gst/gstdebugutils.c:
5501 Apply the posix-timer check from #361155. Conditionally use the posix
5502 timer for logging. This gives better timestamp precission, less
5503 overhead and no ntp jitter.
5505 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5507 * gst/gstminiobject.c: (gst_mini_object_get_type),
5508 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5509 (gst_mini_object_finalize), (gst_mini_object_copy),
5510 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5511 (gst_mini_object_replace), (param_mini_object_validate),
5512 (gst_param_spec_mini_object_get_type):
5513 Some cleanup and checking against invalid function parameters.
5515 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5517 * docs/gst/gstreamer-sections.txt:
5519 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5520 (gst_systemclock_suite):
5521 Start merging in the easy bits of #361155, the monotonic clock patch.
5522 This one adds a few handy macros with docs and a testsuite.
5524 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5526 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5527 Be a bit smarter when seeking, like, don't try to do a seek when it's
5528 not needed. This avoids errors when the file is not seekable.
5531 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5533 * docs/gst/gstreamer-docs.sgml:
5534 * docs/gst/gstreamer-sections.txt:
5535 * docs/gst/gstreamer.types.in:
5540 * plugins/elements/gstqueue.c:
5541 Due to popular request remove preset interface again. :-(.
5543 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5545 * tools/gst-inspect.c:
5546 Print 'default value' for enums and flags too.
5548 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5550 * docs/random/ensonic/profiling.txt:
5554 Fix typo and give better log output.
5556 * gst/gstdebugutils.c:
5557 * gst/gstdebugutils.h:
5558 More ideas, make graphs a bit smaller and fix param name in macro.
5560 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5563 Try harder to use the return value from fgets().
5565 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5568 For theses two fgets we handle the error below.
5570 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5572 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5573 Only send upstream events upstream. Fixes #498746.
5575 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5577 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5579 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5580 (gst_identity_init), (gst_identity_transform_ip),
5581 (gst_identity_set_property), (gst_identity_get_property):
5582 * plugins/elements/gstidentity.h:
5583 Add property to disable handoff signal emission. Fixes #498694.
5584 API: GstIdentity::signal-handoffs
5586 2007-11-21 Julien Moutte <julien@fluendo.com>
5588 * docs/faq/gst-uninstalled: Yet another missing library for the
5589 uninstalled script (fft)
5591 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5593 * docs/faq/developing.xml:
5594 Add a question about how to submit new translations.
5596 * docs/random/release:
5597 Update the contact email address for the Translation Project
5599 * plugins/elements/gstfdsrc.c:
5600 The parent_class for fdsrc is pushsrc, not GstElement.
5602 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5605 Plug a leak and fix saving.
5607 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5609 * docs/gst/gstreamer-sections.txt:
5610 Add new gst_preset__get_property_names() function to the docs
5613 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5617 Change _get_preset_names API to return a strv with copies. Add
5618 _get_property_names to allow implementations to filter and provide
5619 good default implementation.
5621 2007-11-20 Julien MOUTTE <julien@moutte.net>
5623 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5626 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5629 More cleanups, docs, and TODOs from comments that now slowly come in.
5631 2007-11-19 Julien MOUTTE <julien@moutte.net>
5633 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5636 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5639 Fix bogus warning and make the property type specific code more
5642 2007-11-19 Julien MOUTTE <julien@moutte.net>
5644 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5647 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5649 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5650 (gst_bin_add_func), (gst_bin_remove_func),
5651 (gst_bin_change_state_func), (gst_bin_continue_func):
5652 Change email, cleanups add some more debug and comments.
5653 Also set bus and clock on new elements when the pipeline was in error.
5655 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5658 * gst/gstdebugutils.c:
5659 Fix build with --disable-gst-debug. Fixes #497859.
5660 Spotted by Sameer Naik.
5662 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5665 Little documentation improvment.
5668 More TODO cleanups. Remove c++ comments.
5670 * libs/gst/controller/gstcontroller.c:
5671 Add TODO and use quark from static string.
5673 * tests/check/gst/gstmessage.c:
5674 * tests/check/gst/gststructure.c:
5675 Use quark from static string.
5677 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5680 Add some comments and TODOs.
5683 Add padding for future changes.
5685 * plugins/elements/gstqueue.c:
5686 Implement the iface.
5688 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5690 * docs/gst/gstreamer-docs.sgml:
5691 * docs/gst/gstreamer-sections.txt:
5692 * docs/gst/gstreamer.types.in:
5697 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5699 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5705 === release 0.10.15 ===
5707 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5710 releasing 0.10.15, "October"
5712 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5714 * win32/vs6/libgstreamer.dsp:
5715 Convert line endings back to DOS.
5717 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5719 * docs/design/draft-tagreading.txt:
5720 * docs/random/ensonic/profiling.txt:
5721 Update fast tagreading draft and performance profiling ideas.
5723 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5725 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5726 Don't hold the object lock when unreffing a buffer because it could
5727 cause a deadlock when the finalize function wants to grab the object
5728 lock too. Fixes #495133.
5730 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5732 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5733 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5734 Also accumulate time correctly when doing reverse playback. Fixes
5736 When converting to running and stream time, use default values for
5737 start/stop/time/accum when comparing different formats. Fixes #494245.
5739 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5740 Do running/stream time in TIME format.
5742 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5743 (gst_segment_suite):
5744 2 new unit tests for segment accumulation.
5746 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5748 * gst/gst.c: (init_pre):
5749 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5750 (_gst_debug_bin_to_dot_file):
5751 Move getenv() back into gst_init, so everyone can live happily
5752 ever after. Make sure the symbol isn't exported though.
5754 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5756 Patch by: Sebastien Moutte <sebastien moutte net>
5758 * win32/common/gstenumtypes.c:
5759 * win32/common/gstenumtypes.h:
5762 * win32/vs6/libgstreamer.dsp:
5763 Update vs6 project files (#494343).
5765 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5767 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5768 (gst_base_src_perform_seek), (gst_base_src_default_event),
5769 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5770 (gst_base_src_activate_pull):
5771 Unify flushing code, remove some old unlock code that is no longer used.
5772 Take the streaming lock when seeking to avoid races. Fixes #492729.
5773 Added some more comments.
5775 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5777 * gst/gst.c: (_gst_disable_segtrap):
5778 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5779 we can use gst_segtrap_is_enabled() there now that we have that API.
5780 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5781 to do the getenv here (and export the variable).
5783 * gst/gstdebugutils.c: (debug_dump_element),
5784 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5785 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5787 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5788 (gst_debug_log_default):
5789 Rename _gst_info_start_time to priv_gst_info_start_time so it
5790 doesn't get exported (was never in any header).
5792 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5793 (gst_plugin_loading_mutex):
5794 Make static mutex gst_plugin_loading_mutex really static (was never
5795 in any header), and use gst_segtrap_is_enabled() instead of
5796 _gst_disable_segtrap.
5798 * gst/gsttrace.c: (_gst_trace_default):
5799 Make local _gst_trace_default static (was never in any header).
5801 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5803 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5805 * win32/common/libgstbase.def:
5806 * win32/common/libgstcontroller.def:
5807 * win32/common/libgstdataprotocol.def:
5808 * win32/common/libgstnet.def:
5809 * win32/common/libgstreamer.def:
5810 Add more missing symbols, remove some duplicates, and sort
5811 as the 'sort' command sorts it (partially fixes #493983).
5813 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5815 * gst/gstelement.c: (gst_element_set_state_func):
5816 Only change the state cookie if a different state was set on the
5817 element. See #492729.
5819 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5822 Remove unused and uninitialised type variables that were still
5823 exported for some reason (they were never in any header files
5826 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5828 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5829 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5830 (gst_base_sink_event), (gst_base_sink_get_position_last),
5831 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5832 (gst_base_sink_change_state):
5833 Don't try to report a 0 position when we don't know, return -1 and FALSE
5834 instead. This mostly happens when we are prerolling.
5835 Make sure we can report the right position before we post the ASYNC_DONE
5836 message so that a message handler can query position without races.
5838 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5839 (async_done_handoff), (async_done_func), (send_buffer),
5840 (async_done_eos_func), (gst_sinks_suite):
5841 Add two tests for the above.
5843 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5846 Update with new email address.
5848 * docs/design/part-TODO.txt:
5849 Add some more info about future pad-block and negotiation changes.
5851 * docs/design/part-buffering.txt:
5852 Add some ideas about buffering reporting.
5854 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5856 * tests/check/gst/gstobject.c:
5857 Disable silly racy test that always fails on this combination of CPU
5860 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5862 Patch by: Murray Cumming <murrayc@murrayc.com>
5865 Corrected the registration of the parent-set and parent-unset
5866 signals: The parameter is a GstObject, not a GObject (#493134).
5868 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5870 * gst/gst_private.h:
5879 Move declaration of private _gst_foo_initialize() functions into
5880 our private header file where they should have been all along.
5882 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5884 * docs/plugins/gstreamer-plugins-sections.txt:
5885 * gst/gstdebugutils.h:
5887 * plugins/elements/gstqueue.c:
5888 gtk-doc fixes; trailing-comma-in-enum fix.
5890 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5892 * gst/gst.c: (gst_deinit):
5893 Clean up on deinit (not the external ones though, doesn't seem to be
5894 needed for some reason).
5896 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5898 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5899 Remove __declspec(dllimport) for MSVC that was copied over into core
5900 from a plugin, obviously without ever having been tested (note the
5901 single underscore in _declspec in the initial commit), and that doesn't
5902 really make sense. See #492077.
5904 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5906 * gst/gst.c: (init_post):
5907 * gst/gstevent.c: (_gst_event_initialize):
5908 * gst/gstquery.c: (_gst_query_initialize):
5909 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5910 g_type_class_ref() other types as well, see #349410 and #64764.
5912 * gst/gstbuffer.c: (_gst_buffer_initialize):
5913 * gst/gstmessage.c: (_gst_message_initialize):
5914 Simplify existing g_type_class_ref().
5916 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5918 * gst/gstformat.c: (_gst_format_initialize):
5919 g_type_class_ref() our GstFormat type to make sure we avoid the
5920 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5921 bug #64764. Should fix intermittent tee unit test failures (#474823).
5923 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5925 * tests/check/elements/tee.c: (test_num_buffers):
5926 Simplify, simplify, simplify - or not. Rewrite unit test
5927 not to use gst_parse_launch(); allow N sub-streams. Increasing
5928 the number of sub-streams seems to reproduce #474823 more easily.
5930 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5932 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5935 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5936 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5937 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5938 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5939 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5940 so use _pipe() directly (#492077).
5942 * win32/common/dirent.c: (_treaddir):
5943 Add a couple of casts to make it build without warnings with MSVC.
5945 * win32/common/libgstreamer.def:
5946 Add some more symbols that need to be exported.
5948 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5950 * tests/examples/metadata/read-metadata.c: (message_loop):
5951 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5952 arriving in a second or third tag message are added to
5953 the tag list as well.
5955 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5957 * libs/gst/base/gstbasesrc.c:
5958 Its "Since:" and not "@Since:". And remove an superflous cast.
5960 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5962 * docs/libs/gstreamer-libs-sections.txt:
5963 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5964 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5965 (gst_base_sink_get_property), (gst_base_sink_render_object),
5966 (gst_base_sink_preroll_object),
5967 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5968 (gst_base_sink_change_state):
5969 * libs/gst/base/gstbasesink.h:
5970 Add a new last-buffer property that contains the last buffer used in
5971 basesink for preroll or rendering. useful for making snapshots.
5972 API: gst_base_sink_get_last_buffer()
5973 API: GstBaseSink::last-buffer
5975 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5977 * docs/gst/running.xml:
5979 * gst/gstdebugutils.c:
5980 * gst/gstdebugutils.h:
5981 * tools/gst-launch.c:
5982 Improve bin graph dumping, by using the envvar to specify a path.
5983 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5985 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5987 * plugins/elements/gsttypefindelement.c:
5988 (gst_type_find_element_handle_event),
5989 (gst_type_find_element_activate):
5990 Post special error message if we can't determine the type of a stream
5993 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5995 * docs/gst/running.xml:
5996 * gst/gstdebugutils.c:
5997 Document new env-var. Add one log-line after dumpng a graph.
5999 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6002 Ugly hack to put the (recently removed and non-portable, apparently)
6003 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6004 GNU ld, because without that 'make check' fails miserably on my debian
6005 stable box. Someone with more knowledge of linker intricacies and
6006 portability issues than me fix this properly please.
6008 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6010 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6011 Reset last seen position after flushing so that we don't report the old
6014 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6016 * gst/gstelementfactory.c: (gst_element_register):
6018 Patch from Alessandro Decina adding get_type_full and
6019 get_protocols_full private vfuncs to the URIHandler interface
6020 to allow bindings to support creating URI handlers.
6021 Partially fixes: #339279
6022 API: GstURIHandlerInterface::get_type_full
6023 API: GstURIHandlerInterface::get_protocols_full
6025 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6027 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6028 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6029 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6030 Make it so that pads are considered linked until a buffer is pushed
6031 and discovered otherwise. This avoids problems with decodebin2 hanging
6032 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6035 Make sure we lock the multiqueue when updating the max-size properties.
6037 Fix a crash on Solaris in a debug statement in get_request_pad that
6038 passes a NULL string to GST_DEBUG.
6040 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6041 (run_output_order_test):
6042 Fix the test to allow the first buffer on not-linked pads to come out
6043 of sequence while multiqueue discovers that they are not-linked.
6045 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6048 * libs/gst/check/Makefile.am:
6049 Use a custom export symbol regex for libgstcheck, as it needs
6050 to export symbols that don't match the standard GStreamer gst_*
6051 pattern, and --export-dynamic is not portable (only works on
6054 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6055 (gst_check_setup_sink_pad):
6056 Make sure to pass a message parameter to the fail_* macros.
6058 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6059 Fix some compiler warnings.
6061 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6063 * tests/check/gst/gststructure.c: (test_to_string):
6064 Disable test that checks that white spaces are not allowed
6065 in structure names or field names, since we need to
6066 support that for now for backwards compatibility reasons.
6068 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6070 * docs/gst/gstreamer-sections.txt:
6073 API: add GST_TAG_ARTIST_SORTNAME
6074 API: add GST_TAG_ALBUM_SORTNAME
6075 API: add GST_TAG_TITLE_SORTNAME
6076 Add tag variants for sorting (#414539).
6078 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6080 * gst/gststructure.c:
6081 Also allow white space for names so we don't break
6082 backwards compatibility.
6084 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6086 * docs/design/part-TODO.txt:
6087 * docs/design/part-segments.txt:
6088 * docs/design/part-streams.txt:
6091 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6093 * docs/gst/gstreamer-sections.txt:
6094 Fixed documentation from my previous commit (added new API add
6095 gst_value_set_structure(), add gst_value_get_structure() and
6096 GST_VALUE_HOLDS_STRUCTURE).
6098 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6100 * gst/gstdebugutils.c:
6101 Reflow code to fix uninitialized variable warning.
6103 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6105 * gst/gstcaps.c: (gst_caps_to_string),
6106 (gst_caps_from_string_inplace):
6107 * gst/gststructure.c: (gst_structure_get_abbrs),
6108 (gst_structure_to_string), (gst_structure_from_string):
6109 * gst/gstvalue.c: (gst_value_set_structure),
6110 (gst_value_get_structure), (gst_value_serialize_structure),
6111 (gst_value_deserialize_structure), (_gst_value_initialize):
6113 * tests/check/gst/gststructure.c: (GST_START_TEST),
6114 (gst_structure_suite):
6115 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6116 Added GstStructure to gst_value_table and its related functions.
6117 Changed gst_structure_to_string to print ';' in the end.
6118 Changed gst_caps_to_string to not print ';' beteween its
6119 fields (structures) anymore and remove the lastes ';' from latest
6120 structure. Now it is possible to have nested structures.
6121 In addition, backward compatibilty is assured by accepting '\0' as
6122 end delimiter. Fixes: #487969.
6123 API: add gst_value_set_structure()
6124 API: add gst_value_get_structure()
6125 API: add GST_VALUE_HOLDS_STRUCTURE
6127 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6130 When no GSource callback has been set up, tell developer
6131 to use a function that actually exists.
6133 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6135 * docs/gst/gstreamer-sections.txt:
6139 * gst/gstdebugutils.c:
6140 * gst/gstdebugutils.h:
6143 * tools/gst-launch.c:
6144 Allow dumping pipelines as dot graphs. Fixes #456573.
6146 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6148 * gst/gststructure.c:
6149 Allow '+' as well, it can be part of media or mime types
6150 such as image/svg+xml.
6152 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6154 * docs/gst/gstreamer-sections.txt:
6157 API: add gst_bus_pop_filtered
6158 API: add gst_bus_timed_pop_filtered
6159 Two new functions for waiting for specific message types on the
6160 bus for a specified amount of time without iterating any main
6161 loops or main contexts.
6163 * tests/check/gst/gstbus.c:
6164 Some tests for the new functions.
6166 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6168 * docs/libs/gstreamer-libs-sections.txt:
6169 Make gtk-doc ignore stuff it should ignore.
6171 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6173 * libs/gst/check/gstcheck.c:
6174 * libs/gst/check/gstcheck.h:
6175 Allow runtime selection of unit tests to run via the GST_CHECKS
6176 environment variable (test case function names, comma-separated).
6178 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6180 * gst/gststructure.c:
6181 * tests/check/gst/gststructure.c:
6182 Revert serialisation change and constrain structure-names after
6183 consensus on irc. Update api documentation to reflect the change.
6185 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6187 * gst/gststructure.c:
6188 Improve serialization and fix tests.
6190 * tests/check/gst/gststructure.c:
6191 Add another test that covers why I actually did the previous structure
6194 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6196 * tools/gst-inspect.c: (print_element_info):
6197 Don't crash when inspecting an element.
6199 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6201 * tests/check/gst/gststructure.c:
6202 Add unit test for escaping of structure name when serialising
6203 and deserialising to/from strings.
6205 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6207 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6208 (gst_single_queue_new):
6209 * plugins/elements/gstqueue.c: (gst_queue_init),
6210 (gst_queue_push_one):
6211 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6212 upstream is tricked into thinking it can suggest a format downstream
6213 while downstream does not support that format. The real problem is that
6214 core calls acceptcaps when pushing a buffer with new caps, for which we
6215 do a little workaround by setting the caps on the srcpad ourselves
6216 before pushing the buffer (until this is figured out). Fixes #486758.
6218 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6220 * gst/gststructure.c:
6222 Add some more comments and debug output. Quote structure name to fix
6223 deserialisation of some strings.
6225 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6228 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6229 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6231 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6233 * tools/gst-inspect.c:
6234 Save approx. 400 1 byte allocs when printing. Use API to acces element
6240 * tools/gst-xmlinspect.c:
6241 Use API to acces element details.
6243 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6246 Fix some spelling errors.
6248 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6250 * gst/gstbin.c: (bin_handle_async_done):
6251 Correctly set the next state if all of our async children commited their
6252 state. This makes sure we can actually cancel the state change in
6253 progress. Fixes a regression in Rhythmbox when seeking.
6255 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6258 Don't shadow local variable.
6261 Don't shadow global function name.
6263 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6265 * gst/gstelementfactory.c:
6266 * gst/gstpluginfeature.c:
6267 * gst/gstpluginfeature.h:
6268 * gst/gstregistrybinary.c:
6269 * gst/gstregistryxml.c:
6270 * gst/gsttypefind.c:
6271 Use already-interned string for the private GstPluginFeature
6274 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6276 * docs/libs/gstreamer-libs-sections.txt:
6277 Add new API to docs; fixes the build.
6279 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6281 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6283 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6284 (gst_base_sink_event):
6285 * libs/gst/base/gstbasesink.h:
6286 Add function to wait for EOS, subclasses can use this to correctly wait
6287 for devices to drain before performing the EOS logic. Fixes #485343.
6288 API: gst_base_sink_wait_eos()
6290 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6293 Cast description string constants in GST_PLUGIN_DEFINE macros
6294 to a (gchar*) to make C++ code using these macros compile
6295 without warning with g++-4.2 (see #462737). Even if slightly
6296 ugly, this seems preferable to putting the description strings
6297 into the GLib quark table or making the structure member a
6298 const gchar * and doing casts in core code that allocs and
6299 frees these strings, or requiring a cast in the C++ code.
6301 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6304 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6305 to print the entire class/function signature into the log
6306 file for C++ code. This only affects C++ code, for C code
6307 everything remains the same.
6309 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6311 * gst/gstbin.c: (remove_from_queue):
6312 Work around a problem with pipelines containing (semi)loops until a
6313 proper, more complicated solution is ready. See #475455.
6315 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6319 * gst/gstregistrybinary.c:
6320 * gst/gstregistryxml.c:
6321 Put more strings into the GLib quark table. No need to keep
6322 a hundred-something copies of identical version strings,
6323 license strings, package name strings and package origin
6326 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6328 * docs/manual/advanced-dataaccess.xml:
6329 Don't imply that it's okay to unconditionally change
6330 buffer data or buffer metadata in a pad probe callback,
6331 and a bunch of other comments. Fixes #430031.
6333 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6335 * win32/common/gstenumtypes.c:
6336 * win32/common/gstenumtypes.h:
6337 * win32/common/gstversion.h:
6338 Update generated files.
6340 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6342 * docs/manual/advanced-autoplugging.xml:
6343 Prefix section with broken code with a warning (see #342432).
6345 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6347 * docs/manual/appendix-integration.xml:
6348 * docs/manual/basics-init.xml:
6349 Call g_thread_init() before g_option_context_new() to
6350 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6352 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6354 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6355 (gst_base_sink_queue_object_unlocked),
6356 (gst_base_sink_queue_object), (gst_base_sink_event),
6357 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6358 When we received EOS and are waiting for when to post the EOS message,
6359 our state is prerolled and we should not return ASYNC.
6360 Reorganize some code paths to implement this behavior.
6362 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6364 Add unit test to verify above EOS fix.
6366 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6368 * plugins/elements/gsttypefindelement.c:
6369 (gst_type_find_element_have_type), (gst_type_find_element_init),
6370 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6371 Move detecting the input caps of the sinkpad to the setcaps function.
6372 This allows us to update the output caps when we receive new input caps
6373 instead of always using the first detected caps.
6375 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6377 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6378 (gst_base_sink_get_position):
6379 Don't try to preroll non-async elements after a flush.
6380 Subtract latency form clock times when reporting position.
6382 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6384 * gst/gstpad.c: (gst_pad_pause_task):
6386 Small comment and documentation update.
6388 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6390 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6391 (gst_base_src_set_live), (gst_base_src_is_live),
6392 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6393 (gst_base_src_default_event), (gst_base_src_wait),
6394 (gst_base_src_do_sync), (gst_base_src_get_range),
6395 (gst_base_src_pad_get_range), (gst_base_src_loop),
6396 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6397 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6398 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6399 (gst_base_src_change_state):
6400 Rework the locking of basesrc in a similar fashion to basesink. We
6401 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6402 us to handle live sources and semi live ones much better.
6404 Fix unlocking when seeking, shutting down and pausing in live sources.
6406 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6408 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6409 Fix compilation again.
6411 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6414 Use meaningful categories for the logs to clean the default one.
6416 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6418 * tests/check/pipelines/cleanup.c:
6419 Print message name and not just number.
6421 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6423 * docs/design/draft-tagreading.txt:
6424 Add some more thoughts.
6426 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6428 * tests/check/pipelines/simple-launch-lines.c:
6429 Print message name and not just number.
6431 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6433 * libs/gst/base/gsttypefindhelper.c:
6434 Speedup typefinding. This is work in progress (see #459862).
6436 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6439 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6440 Spotted by Josep Torra Valles <josep@fluendo.com>.
6442 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6445 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6446 field has moved to GstObject.
6448 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6450 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6451 (gst_base_src_get_range), (gst_base_src_change_state):
6452 Call unlock for live sources so that they can't get stuck in _create and
6453 produce a buffer before they are set back to PLAYING.
6455 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6457 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6458 (gst_queue_locked_dequeue):
6459 Comment the segment-related code... in the PROPER function.
6460 See #482147 and my commit from yesterday.
6462 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6464 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6465 Also initialize the counter that calculates the first timestamp on a
6466 buffer correctly for non-live sources.
6468 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6470 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6471 Disable code that's breaking the current-time-level reporting.
6474 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6476 * docs/gst/gstreamer-sections.txt:
6477 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6478 as they shouldn't show up. Fixes the docs build.
6480 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6483 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6484 Define M_PI which is used in files which are including gstinfo.h.
6485 VS6 includes doesn't define it.
6486 * win32/common/libgstbase.def:
6487 * win32/common/libgstcontroller.def:
6488 * win32/common/libgstreamer.def:
6489 Add new exported functions and variables.
6490 * win32/vs6/libgstcontroller.dsp:
6491 * win32/vs6/libgstreamer.dsp:
6492 Update the list of files to build.
6494 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6496 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6498 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6499 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6500 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6501 Improve debugging. Fixes #480858.
6503 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6505 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6507 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6508 First patch of code cleanups, use the macros and right arguments in the
6509 macros to signal and lock the queue. See #480858.
6511 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6513 * gst/gstbus.c: (poll_func):
6514 Improve debugging when dealing with _poll().
6516 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6518 * gst/gstregistryxml.c:
6519 Fix memory leak I introduced a few days ago.
6521 2007-09-26 Michael Smith <msmith@fluendo.com>
6523 * gst/gstbuffer.c: (gst_buffer_finalize):
6524 Make it once again possible to free GstBuffers in the default
6526 The poisoning scribbles on parts of the miniobject we need in
6530 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6532 * docs/gst/gstreamer-sections.txt:
6535 API: add GST_TAG_COMPOSER, fixes #459809.
6537 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6541 Add the 3-clause BSD license and the MIT/X11 license to the license
6542 list. Fixes #479784.
6544 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6546 * docs/faq/getting.xml:
6547 Add Q+A about different GStreamer versions (#364056).
6549 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6551 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6552 (gst_base_sink_event), (gst_base_sink_change_state):
6553 Return correct gboolean from query function.
6555 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6557 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6558 (gst_base_sink_event), (gst_base_sink_query),
6559 (gst_base_sink_change_state):
6560 Simplify latency query.
6561 When not synchronizing, we can report latency without querying the peer
6564 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6568 Fix small typos in the docs.
6570 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6572 * docs/design/draft-latency.txt:
6573 * docs/design/draft-push-pull.txt:
6574 * docs/design/draft-tagreading.txt:
6575 * docs/design/part-MT-refcounting.txt:
6576 * docs/design/part-activation.txt:
6577 * docs/design/part-block.txt:
6578 * docs/design/part-element-source.txt:
6579 * docs/design/part-events.txt:
6580 * docs/design/part-gstbin.txt:
6581 * docs/design/part-gstelement.txt:
6582 * docs/design/part-gstobject.txt:
6583 * docs/design/part-gstpipeline.txt:
6584 * docs/design/part-messages.txt:
6585 * docs/design/part-preroll.txt:
6586 * docs/design/part-push-pull.txt:
6587 * docs/design/part-qos.txt:
6588 * docs/design/part-query.txt:
6589 * docs/design/part-scheduling.txt:
6590 * docs/design/part-seeking.txt:
6591 * docs/design/part-segments.txt:
6592 * docs/design/part-states.txt:
6593 Documentation updates and typo fixes.
6595 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6597 * plugins/elements/gstfakesink.c:
6598 Add some debug text to error message to indicate that
6599 we errored out on request.
6601 * tools/gst-launch.c:
6602 When the state change to PLAYING fails, check for an
6603 error message on the bus and print it.
6605 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6607 translated by: Jorge González González <aloriel@gmail.com>
6611 Added Spanish translation.
6613 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6615 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6616 Fix printf arguments.
6618 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6620 * tests/check/generic/states.c:
6621 Improved state change unit test.
6623 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6626 Move priv to the right place.
6628 * gst/gstsystemclock.c:
6629 Add FIXME: and improve log.
6631 * tests/check/Makefile.am:
6632 * tests/examples/manual/Makefile.am:
6633 Work with all types of registries.
6635 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6637 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6638 Don't unref the event after pushing it. Fixes #478401.
6640 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6643 * tests/examples/manual/.cvsignore:
6644 Ignore registries in any format.
6646 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6648 * gst/glib-compat-private.h:
6649 Add compatibility macro for g_intern_string() for
6650 GLib-2.8 (any reason we can't just bump the
6651 requirement to at least 2.10?)
6653 * gst/gstpadtemplate.h:
6654 * gst/gstelementfactory.c:
6655 * gst/gstregistryxml.c:
6656 * gst/gstregistrybinary.c:
6657 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6658 up the internal code accordingly. This shouldn't be a problem, since
6659 there is no reason external code could ever assume the string in such
6660 a structure is dynamically allocated unless it did that itself; the
6661 use of g_strdup() is private to element factories. The new code also
6662 saves some memory by putting pad template name strings into the GLib
6663 quark table instead of allocating them dynamically.
6664 Declaring this field constant fixes warnings with g++-4.2 when using
6665 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6667 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6669 * gst/gstelementfactory.c:
6670 Release static caps. Fixes #475723.
6672 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6676 Make some internal API take const gchar * instead of just
6677 gchar * to avoid compiler warnings with g++-4.2.2 when
6678 passing string constants (partially fixes #478092).
6680 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6682 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6683 A latency query fails when one of the sinks fail.
6685 * gst/gstelement.c: (gst_element_set_base_time):
6688 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6690 * gst/gstbin.c: (gst_bin_continue_func):
6691 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6692 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6693 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6695 Fix minor compilation warnings shown with Forte.
6697 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6699 * plugins/elements/gstqueue.c: (apply_buffer),
6700 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6701 Measure queue level based on the diff between head and tail timestamps
6702 even when pushing the first buffer.
6704 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6706 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6707 (gst_base_sink_event), (gst_base_sink_change_state):
6708 Sinks that don't preroll can always be queried for the latency.
6709 Don't post ASYNC start when we are not async.
6711 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6713 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6714 (gst_queue_handle_sink_event), (gst_queue_chain),
6715 (gst_queue_push_one), (gst_queue_handle_src_query),
6716 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6717 * plugins/elements/gstqueue.h:
6718 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6719 push more buffers but allow pushing of EOS and NEWSEGMENT.
6720 Add some more debug info here and there. Fixes #476514.
6722 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6724 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6725 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6726 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6727 (gst_base_sink_set_flushing), (gst_base_sink_query),
6728 (gst_base_sink_change_state):
6729 Latency query is allowed after we are prerolled. Introduce a new flag
6730 for this and stop abusing other variables.
6732 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6734 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6735 Push OOB events downstream when we get them in send_event. This allows
6736 the application to insert events in the pipeline.
6737 Add some more comments.
6739 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6741 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6742 (do_bin_latency), (gst_bin_change_state_func):
6743 * gst/gstpipeline.c: (gst_pipeline_change_state):
6744 Move latency query from GstPipeline to GstBin so that we can also
6745 use it when async-handling is enabled on bins.
6747 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6749 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6750 (gst_base_src_do_sync), (gst_base_src_change_state):
6752 Clean up the timestamping and syncing code for pseudo live sources.
6754 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6756 Patch by: Steve Fink <sphink gmail com>
6758 * docs/manual/appendix-checklist.xml:
6759 Mention less -R switch in the section about debug output (#474055).
6761 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6763 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6764 Queue can latency to the pipeline up to the configured max size in time.
6765 Report this fact in the latency query.
6767 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6769 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6771 * libs/gst/controller/gstinterpolation.c:
6772 * libs/gst/controller/gstlfocontrolsource.c:
6773 Use gst_guint64_to_gdouble() when converting from a uint64 or
6774 GstClockTime to double to fix the build on win32. Fixes #474371.
6776 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6778 * gst/gstbuffer.c: (gst_buffer_finalize):
6779 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6780 When finalizing a buffer the complete struct is filled with 0xff,
6781 thus making a use of the buffer after the final unref impossible.
6783 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6785 * tests/check/libs/controller.c: (GST_START_TEST):
6786 Use fail_unless_equals_int(a, b) instead of
6787 fail_unless_equals (a == b) to get better output on failures.
6789 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6791 * tests/check/gst/gsturi.c:
6792 Also check for the other file URI variant on win32.
6794 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6796 * gst/gsturi.c: (gst_uri_get_location):
6797 If there's no hostname, we want to return 'c:/foo/bar.txt'
6798 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6800 * tests/check/gst/gsturi.c:
6801 Unit test for the above and a few more things.
6803 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6805 * docs/design/part-live-source.txt:
6806 Add docs on how live sources should timestamp.
6808 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6809 Add some more debug info.
6810 For subclasses that are live and like to sync, add aditional startup
6811 latency to sync time and timestamps so that we timstamp according to the
6814 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6817 Also do a g_type_class_ref() for the subbuffer type in
6820 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6822 * docs/gst/gstreamer-sections.txt:
6823 * gst/gstpad.c: (gst_pad_peer_query):
6825 Add function to perform a query on the peer of a pad.
6826 API: gst_pad_peer_query()
6828 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6830 * tests/check/gst/gstsystemclock.c:
6831 Cleanup the test a little (use gst-logging and not g_message). Improve
6832 test to check if a wait reached the target.
6834 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6836 * docs/libs/gstreamer-libs-sections.txt:
6837 Add new API to docs and fix the build.
6839 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6841 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6842 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6843 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6844 (gst_base_src_get_property), (gst_base_src_do_sync):
6845 * libs/gst/base/gstbasesrc.h:
6846 Add property to make the basesrc timestamp buffers based on the current
6848 API: GstBaseSrc::do-timestamp
6849 API: gst_base_src_set_do_timestamp()
6850 API: gst_base_src_get_do_timestamp()
6852 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6854 * docs/random/release:
6855 Really make sure translations are up-to-date before
6856 a release (#465010).
6858 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6860 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6861 Always destroy the timer, also in error cases.
6863 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6865 * docs/manual/highlevel-xml.xml:
6866 Fix XML example code. Fixes #472714.
6868 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6870 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6871 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6872 (gst_base_sink_query):
6873 Protect eos and have_preroll with the OBJECT lock so we don't need to
6874 take the PREROLL lock when querying the latency. Fixes #473846.
6876 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6879 Give some log-messages a category.
6881 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6883 * gst/gststructure.c:
6884 (gst_structure_fixate_field_nearest_fraction):
6885 Fix fraction list fixation code. Take the fraction with the smallest
6886 difference with the target instead of the first one in the list.
6888 * tests/check/gst/gststructure.c: (GST_START_TEST),
6889 (gst_structure_suite):
6890 Added test to verify correct fraction list fixation behaviour.
6892 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6894 * win32/common/libgstreamer.def:
6895 Export gst_bus_add_signal_watch too.
6897 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6899 * docs/libs/gstreamer-libs-sections.txt:
6900 Add new methods to docs.
6902 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6903 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6904 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6905 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6906 * libs/gst/base/gstbasesink.h:
6907 Add ts-offset property to fine-tune the synchronisation.
6908 API: GstBaseSink::ts-offset property
6909 API: gst_base_sink_set_ts_offset()
6910 API: gst_base_sink_get_ts_offset()
6912 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6914 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6915 (gst_base_sink_init), (gst_base_sink_set_sync),
6916 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6917 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6918 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6919 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6920 (gst_base_sink_get_property), (gst_base_sink_change_state):
6921 * libs/gst/base/gstbasesink.h:
6922 Add async property to instruct the sink never to inform the parent about
6923 ASYNC state changes, update docs.
6924 Check argument with g_return_* for the public functions.
6925 API: GstBaseSink::async property
6926 API: gst_base_sink_set_async_enabled()
6927 API: gst_base_sink_is_async_enabled()
6929 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6931 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6934 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6935 (gst_base_src_default_query), (gst_base_src_wait),
6936 (gst_base_src_do_sync), (gst_base_src_change_state):
6937 Rearrange some code so that we can add support for measuring the
6940 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6942 * docs/random/ensonic/dynlink.txt:
6943 More thoughs on this.
6945 * plugins/elements/gstcapsfilter.c:
6946 Add bugzilla ticket number to FIXME comment.
6948 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6950 * docs/design/part-TODO.txt:
6951 * docs/design/part-block.txt:
6954 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6957 Revert patch which uses $(gst_headers) instead of $^ because it
6960 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6962 * tests/check/gst/gstbin.c: (GST_START_TEST):
6963 Fix leaks in the new unit test.
6965 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6968 Don't use GST_INFO before the debug system is actually initialised
6969 (shouldn't do any harm, but won't print anything either, so we can
6970 just as well remove it).
6973 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6974 compilers that don't support variadic macros (such as MSVC), should
6975 check for debug_level <= __gst_debug_min as well, since that's the
6976 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6977 inline helper functions. Should improve performance a bit, but also
6978 makes sure uses of GST_INFO et.al are ignored if the debugging
6979 system isn't initialised yet (instead of printing an assertion
6982 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6984 patch by: David Nečas <yeti@physics.muni.cz>
6987 Replace some non portable makefile constructs.
6989 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6991 * common/gtk-doc-plugins.mak:
6992 Grrrrr. Don't remove the types file on make clean.
6994 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6996 * tools/gst-launch.1.in:
6997 Add colorspace to example pipeline. Fixes #458274.
6999 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7001 * docs/random/release:
7002 The release manager should run 'make download-po' before making a
7003 release to make sure translations are up-to-date.
7009 Add some new translations.
7011 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7013 * tools/gst-launch.c: (event_loop), (main):
7014 Don´t try to do any state management when a live pipeline posts
7016 Also make the buffering string translatable.
7018 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7020 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7021 (bin_handle_async_start), (gst_bin_handle_message_func):
7023 When adding elements, insert messages into the bus of the newly added
7024 element and make sure the element is the source of the message. This
7025 allows the parent bin to intercept the message and do the
7026 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7027 messages to the app (which is not allowed).
7030 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7031 Fix testsuite so that is does not work around messages that should not
7032 have been posted in the first place.
7034 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7036 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7037 (update_degree), (gst_bin_sort_iterator_next):
7038 Fix annoying bug in the sorted iterator where a sink that is not really
7039 a sink (when it has downstream links) screwed up the iterator.
7041 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7042 Unit test to verify the fix.
7044 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7047 Add some more docs for the messages.
7049 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7050 (gst_base_sink_query):
7051 Add some more debugging.
7053 * tools/gst-launch.c: (event_loop):
7054 When interrupting, don't try to set pipeline to PAUSED twice.
7056 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7059 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7060 (bin_handle_async_start), (gst_bin_handle_message_func):
7061 Move ASYNC_START message posting to where it belongs, similar to
7063 Don't post ASYNC_START when we are in error.
7064 Post ASYNC_START when we added an async element to a bin.
7066 2007-08-14 Julien MOUTTE <julien@moutte.net>
7068 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7069 generation from vargs. Fixes #466595.
7071 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7073 * gst/gstbin.c: (gst_bin_element_set_state):
7074 Always change the state of a NO_PREROLL element even if it has ASYNC
7075 elements inside (in case of a bin).
7077 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7078 Unit test for this case.
7080 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7082 * libs/gst/check/gstbufferstraw.c:
7083 * libs/gst/check/gstcheck.h:
7084 * libs/gst/controller/gstcontroller.c:
7085 * libs/gst/controller/gstcontrolsource.h:
7086 * libs/gst/controller/gstlfocontrolsource.h:
7087 * plugins/elements/gstcapsfilter.h:
7088 * plugins/elements/gstfdsink.h:
7089 * plugins/elements/gstfdsrc.h:
7090 Add more missing docs.
7092 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7094 * gst/gststructure.c:
7095 Add Since tag to docs.
7097 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7099 * docs/gst/gstreamer-sections.txt:
7100 * gst/gststructure.c: (gst_structure_get_uint):
7101 * gst/gststructure.h:
7102 Add function to get uint from a structure.
7103 API: gst_structure_get_uint()
7105 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7107 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7108 (gst_caps_intersect):
7109 Fix proper check for simple caps.
7111 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7113 * docs/gst/Makefile.am:
7114 * docs/libs/Makefile.am:
7115 Remove cruft and do some cleanups.
7117 * docs/gst/gstreamer-docs.sgml:
7118 * docs/libs/gstreamer-libs-docs.sgml:
7119 Prepare for comming gtkdoc features (rebase against online docs).
7121 2007-08-10 Michael Smith <msmith@fluendo.com>
7123 * docs/gst/gstreamer-sections.txt:
7124 Add gst_registry_add_path to docs.
7126 2007-08-10 Michael Smith <msmith@fluendo.com>
7128 * gst/gstregistry.h:
7129 Add gst_registry_add_path, which was missing from this header.
7131 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7133 * libs/gst/controller/gstlfocontrolsource.c:
7136 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7138 * libs/gst/base/gstbasesink.c:
7139 Don't send an async_start message during downwards state change if
7140 target state is less than READY
7142 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7144 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7148 Added Hungarian translation.
7150 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7157 Updated translations.
7159 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7161 * libs/gst/controller/Makefile.am:
7162 Dist gstlfocontrolsourceprivate.h
7164 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7166 * docs/libs/gstreamer-libs.types:
7167 Don't register the enum type gst_lfo_waveform_get_type() in the
7168 .types file - only GObject derived types belong.
7170 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7172 Patch by: <arenevier at fdn dot fr>
7175 Remove comma from last element in enum to avoid compile errors when
7176 using -pendantic. Fixes #464366.
7178 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7180 * docs/design/part-TODO.txt:
7181 Add some more TODO items
7183 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7186 * gst/gstcaps.c: (gst_caps_intersect):
7187 Optimize trivial intersection case between identical caps pointers.
7189 * gst/gstelement.c: (gst_element_continue_state),
7190 (gst_element_set_state_func):
7192 Fix spelling and grammar mistakes.
7194 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7198 Update POTFILES. Fixes #461599.
7200 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7203 Fix confusing typo in debug output.
7205 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7207 reviewed by: Stefan Kost <ensonic@users.sf.net>
7209 * libs/gst/controller/Makefile.am:
7210 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7211 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7212 (gst_lfo_control_source_new),
7213 (gst_lfo_control_source_set_waveform),
7214 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7215 (gst_lfo_control_source_finalize),
7216 (gst_lfo_control_source_dispose),
7217 (gst_lfo_control_source_set_property),
7218 (gst_lfo_control_source_get_property),
7219 (gst_lfo_control_source_class_init):
7220 * libs/gst/controller/gstlfocontrolsource.h:
7221 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7222 API: Add GstLFOControlSource, a control source that gives values
7223 for specific timestamps based on several periodic waveforms.
7226 * tests/check/libs/controller.c: (GST_START_TEST),
7227 (gst_controller_suite):
7228 * docs/libs/gstreamer-libs-docs.sgml:
7229 * docs/libs/gstreamer-libs-sections.txt:
7230 * docs/libs/gstreamer-libs.types:
7231 Add documentation and unit tests for GstLFOControlSource.
7233 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7238 === release 0.10.14 ===
7240 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7243 releasing 0.10.14, "Breathing Vacuum"
7245 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7247 * gst/gstelement.c: (gst_element_class_set_details_simple):
7249 Make strings passed to gst_element_class_set_details_simple()
7250 constant, as they should be (#462752).
7252 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7254 * gst/gstbin.c: (gst_bin_change_state_func),
7255 (bin_handle_async_done), (gst_bin_handle_message_func):
7256 Don't forget about the fact that some element went ASYNC even after a
7257 resync. This makes us post the ASYNC_DONE message correctly.
7260 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7262 * gst/gstregistry.c: (gst_registry_add_feature):
7263 When replacing an existing feature in the registry, make sure to
7264 continue holding a reference until we've replaced the name string
7265 within our feature hash table. Make sure to use g_hash_table_replace
7266 instead of g_hash_table_insert to ensure the new name string is used
7267 as a key instead of the old one that we're about to free.
7270 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7272 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7273 (gst_plugin_feature_set_name):
7274 Revert patch from #459466 until after the release and we can work
7275 out exactly what the problem is (if any).
7277 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7279 * docs/gst/gstreamer-sections.txt:
7282 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7284 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7286 * docs/libs/Makefile.am:
7287 Include our build-prefix libs and includes before the generic ones to
7288 avoid linking against the installed libs when we want the build-tree
7291 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7293 Patch by: Steve Fink <sphink gmail com>
7295 * docs/pwg/building-testapp.xml:
7296 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7297 if people try to build or install the example from the plugin
7298 template against a GStreamer from package using the configure
7301 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7303 Patch by: Steve Fink <sphink gmail com>
7305 * tools/gst-inspect.1.in:
7306 Document --print-all and --print-plugin-auto-install-info command
7307 line options in man page.
7309 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7311 * docs/gst/gstreamer-sections.txt:
7312 Add docs for new api function.
7314 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7316 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7317 * gst/gstelementfactory.h:
7318 API: gst_element_factory_has_interface()
7319 Added method to check if an element factory implements a named
7322 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7325 * docs/gst/gstreamer.types.in:
7326 Another conditional doc check.
7329 * gst/gstparamspecs.h:
7330 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7335 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7337 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7338 (gst_registry_binary_load_feature),
7339 (gst_registry_binary_load_plugin),
7340 (gst_registry_binary_read_cache):
7341 Print error just once and with additional info.
7343 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7345 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7346 (helper_find_suggest), (helper_find_get_length),
7347 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7348 (gst_type_find_helper_for_buffer):
7349 Cleanup the typefindhelper code and add private doc comments.
7351 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7353 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7354 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7355 Fix capsfilter for cases where the caps set on capsfilter will provide
7356 additional information.
7359 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7361 * gst/gsttypefindfactory.c:
7362 Fix docs that recommened wrong function to use.
7364 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7366 * tools/gst-inspect.c: (print_plugin_features):
7367 Also give media-type for typefinders in element output.
7369 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7371 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7372 (gst_registry_remove_features_for_plugin_unlocked),
7373 (gst_registry_add_feature), (gst_registry_remove_feature),
7374 (gst_registry_lookup_feature_locked):
7375 * gst/gstregistry.h:
7376 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7379 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7381 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7382 (gst_plugin_feature_set_name):
7383 Avoid double memory usage for pluginfeature names. Fixes #459466.
7385 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7388 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7389 driving the pipeline may need to explicitly check for NOT_LINKED as
7390 well, since IS_FATAL doesn't cover that.
7392 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7394 * docs/pwg/advanced-types.xml:
7395 Fix typo and duplicate entry in video formats list.
7397 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7399 * libs/gst/controller/gstinterpolation.c:
7400 Also round to the nearest int when using cubic interpolation.
7402 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7404 * libs/gst/controller/gstinterpolation.c:
7405 When linearly interpolating integer types, round to the nearest int
7406 by adding 0.5. Don't do it for float/double types.
7407 Fixes the failing controller test on my machine, which is somehow
7408 rounding differently than on the buildbots.
7410 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7412 * tools/gst-plot-timeline.py:
7413 Better log parsing (categories can have -). Adjust text vs. lines, so
7414 that they span the same y-range.
7416 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7418 * docs/random/ensonic/audiobaseclasses.txt:
7419 * docs/random/ensonic/dynlink.txt:
7420 * docs/random/ensonic/profiling.txt:
7423 * docs/random/moving-plugins:
7424 Add note to use g_assert type macros.
7426 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7429 * libs/gst/check/Makefile.am:
7430 Add libm check as we use in for plugins.
7432 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7434 * gst/gstbin.c: (gst_bin_continue_func):
7435 Check that the state_cookie hasn't changed since the continue_func
7436 was scheduled. Avoids problems where the state changes back to
7437 something it shouldn't be because it was changed in the meantime.
7439 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7441 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7442 (gst_registry_binary_save_string),
7443 (gst_registry_binary_save_pad_template),
7444 (gst_registry_binary_save_feature),
7445 (gst_registry_binary_save_plugin),
7446 (gst_registry_binary_load_feature),
7447 (gst_registry_binary_load_plugin),
7448 (gst_registry_binary_read_cache):
7449 Fix memory leak. Be less verbose in the log.
7451 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7453 * tests/check/elements/.cvsignore:
7454 Add file to cvsignore as commanded.
7456 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7458 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7459 (mq_dummypad_event), (run_output_order_test):
7460 Use a GStaticMutex to protect all cases where libcheck
7461 fail_if/fail_unless macros might be called from multiple threads
7462 simultaneously to avoid errors like:
7463 "check_pack.c:107: :-1081725400:Bad message type arg"
7465 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7467 * tests/check/pipelines/stress.c: (GST_START_TEST):
7468 Make sure we set the pipeline back to the NULL state before
7469 dropping our final reference.
7471 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7473 * tests/check/elements/tee.c: (GST_START_TEST):
7474 Make the tee stress-test a little less stressful so it doesn't just
7475 time out on slow-machines, and remove a small race when it's starting
7476 up by adding a get_state() call.
7478 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7481 Avoid reading registry twice on startup. Fixes #457322.
7483 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7485 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7486 * pkgconfig/gstreamer-check.pc.in:
7487 Substitute the CFLAGS for libcheck into our .pc file too so that
7488 dependent modules will pick it up properly if libcheck is installed
7489 into some other prefix.
7491 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7494 Revert the pkg-config check for libcheck, since it pulls in the
7495 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7496 a proper solution, either from the check project, or something else.
7498 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7501 Use pkg-config to locate check.
7503 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7510 Add deprecation guards.
7512 * libs/gst/base/gstcollectpads.h:
7513 Don't document object (this is implicitly private).
7515 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7517 * gst/gststructure.c: (gst_structure_parse_value):
7518 When deserialising foo=bar without a type cast, check if it's a
7519 boolean before falling back to a string type, otherwise things like
7520 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7521 because the filtercaps end up having a signed=(string)true field,
7522 which causes problems later when intersection caps.
7524 * tests/check/gst/gststructure.c: (GST_START_TEST):
7525 Add a unit test for this.
7527 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7529 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7531 * libs/gst/controller/Makefile.am:
7532 * libs/gst/controller/gstcontroller.c:
7533 (gst_controlled_property_add_interpolation_control_source),
7534 (gst_controlled_property_new), (gst_controlled_property_free),
7535 (gst_controller_find_controlled_property),
7536 (gst_controller_new_valist), (gst_controller_new_list),
7537 (gst_controller_new), (gst_controller_remove_properties_valist),
7538 (gst_controller_remove_properties_list),
7539 (gst_controller_remove_properties),
7540 (gst_controller_set_property_disabled),
7541 (gst_controller_set_disabled), (gst_controller_set_control_source),
7542 (gst_controller_get_control_source), (gst_controller_get),
7543 (gst_controller_sync_values), (gst_controller_get_value_array),
7544 (_gst_controller_dispose), (gst_controller_get_type),
7545 (gst_controlled_property_set_interpolation_mode),
7546 (gst_controller_set), (gst_controller_set_from_list),
7547 (gst_controller_unset), (gst_controller_unset_all),
7548 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7549 * libs/gst/controller/gstcontroller.h:
7550 * libs/gst/controller/gstcontrollerprivate.h:
7551 * libs/gst/controller/gstcontrolsource.c:
7552 (gst_control_source_class_init), (gst_control_source_init),
7553 (gst_control_source_get_value),
7554 (gst_control_source_get_value_array), (gst_control_source_bind):
7555 * libs/gst/controller/gstcontrolsource.h:
7556 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7557 (gst_object_get_control_source):
7558 * libs/gst/controller/gstinterpolation.c:
7559 (gst_interpolation_control_source_find_control_point_node),
7560 (gst_interpolation_control_source_get_first_value),
7561 (_interpolate_none_get), (interpolate_none_get),
7562 (interpolate_none_get_boolean_value_array),
7563 (interpolate_none_get_enum_value_array),
7564 (interpolate_none_get_string_value_array),
7565 (_interpolate_trigger_get), (interpolate_trigger_get),
7566 (interpolate_trigger_get_boolean_value_array),
7567 (interpolate_trigger_get_enum_value_array),
7568 (interpolate_trigger_get_string_value_array):
7569 * libs/gst/controller/gstinterpolationcontrolsource.c:
7570 (gst_control_point_free), (gst_interpolation_control_source_reset),
7571 (gst_interpolation_control_source_new),
7572 (gst_interpolation_control_source_set_interpolation_mode),
7573 (gst_interpolation_control_source_bind),
7574 (gst_control_point_compare), (gst_control_point_find),
7575 (gst_interpolation_control_source_set_internal),
7576 (gst_interpolation_control_source_set),
7577 (gst_interpolation_control_source_set_from_list),
7578 (gst_interpolation_control_source_unset),
7579 (gst_interpolation_control_source_unset_all),
7580 (gst_interpolation_control_source_get_all),
7581 (gst_interpolation_control_source_get_count),
7582 (gst_interpolation_control_source_init),
7583 (gst_interpolation_control_source_finalize),
7584 (gst_interpolation_control_source_dispose),
7585 (gst_interpolation_control_source_class_init):
7586 * libs/gst/controller/gstinterpolationcontrolsource.h:
7587 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7588 API: Refactor GstController into the core controller which can take
7589 a GstControlSource for providing actual values for timestamps.
7590 Implement a interpolation control source and use this for backward
7591 compatibility, deprecate a bunch of functions that are now handled
7592 by GstControlSource or GstInterpolationControlSource.
7593 Make it possible to disable the controller completely or only for
7594 specific properties. Fixes #450711.
7595 * docs/libs/gstreamer-libs-docs.sgml:
7596 * docs/libs/gstreamer-libs-sections.txt:
7597 * docs/libs/gstreamer-libs.types:
7598 Add new functions and classes to the docs.
7599 * tests/check/libs/controller.c: (GST_START_TEST),
7600 (gst_controller_suite):
7601 * tests/examples/controller/audio-example.c: (main):
7602 Port unit test and example to the new API and add some new
7605 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7607 Patch by: Mark Nauwelaerts <manauw at skynet be>
7609 * plugins/elements/gstmultiqueue.c:
7610 (gst_multi_queue_get_internal_links), (apply_buffer),
7611 (single_queue_overrun_cb), (gst_single_queue_new):
7612 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7613 the pipeline layout can be tracked correctly. Fixes #453732.
7615 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7617 * docs/gst/Makefile.am:
7618 * docs/libs/Makefile.am:
7619 * docs/plugins/Makefile.am:
7620 Simplify --extra-dir as gtkdoc scans recursively.
7622 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7624 * tools/gst-launch.c: (main):
7625 When we got an error, there is no point in waiting for preroll when
7628 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7630 * plugins/elements/gsttee.c: (gst_tee_base_init),
7631 (gst_tee_request_new_pad), (gst_tee_release_pad),
7632 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7633 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7635 Be a lot smarter when deciding what srcpad to use for proxying
7636 the buffer_alloc. Also handle pad added/removed when doing so.
7638 Keep track of what pads we already pushed on in case we have pads
7639 added/removed while pushing. Fixes #374639
7641 * tests/check/Makefile.am:
7642 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7644 Added unit test for pad resync.
7646 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7650 Updated translations.
7652 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7654 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7658 Added new Finnish translation.
7660 2007-06-28 Wim Taymans <wim@fluendo.com>
7662 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7663 (single_queue_overrun_cb):
7664 When figuring out when a queue is filled, use our internal time estimate
7665 based on segments, just like check_full does.
7667 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7669 * gst/gstminiobject.c: (gst_mini_object_get_type):
7670 Remove 3 do-nothing methods.
7672 2007-06-27 Wim Taymans <wim@fluendo.com>
7674 Patch by: Tim Angus <tim at ngus dot net>
7676 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7677 (gst_capsfilter_set_property):
7678 Take a reference instead of a copy when setting "caps".
7679 Fix documentation to clarify this behaviour. Fixes #449414.
7681 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7683 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7684 * gst/gstplugin.c: (gst_plugin_init):
7685 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7686 * gst/gstquery.c: (gst_query_get_type):
7687 * gst/gstregistry.c: (gst_registry_init):
7688 * gst/gsturi.c: (gst_uri_handler_base_init):
7689 Remove empty instance_init() functions to save relocs and lessen the
7690 noise. Remove some of the function prototypes that are doubled by
7693 2007-06-27 Wim Taymans <wim@fluendo.com>
7695 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7697 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7698 Add peer and direction in the XML serialisation of ghostpads.
7701 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7704 Preserve useful information, thanks Tim.
7706 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7708 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7709 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7710 (gst_single_queue_push_one), (gst_multi_queue_loop),
7711 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7712 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7713 (compute_high_id), (gst_single_queue_new):
7714 * plugins/elements/gstmultiqueue.h:
7715 Take the multiqueue lock when updating the fill level so we don't get
7718 After applying a buffer or event on the src pad segment, make sure to
7719 call gst_data_queue_limits_changed() to get the data queue to unblock
7720 and check the filled state again.
7722 Rework the not-linked pad handling so the logic is that not-linked
7723 pads can push as fast as they like, but only so they never get
7724 ahead of any linked pads.
7726 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7727 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7728 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7730 Add a test to check that not-linked pads always stay behind
7735 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7737 * docs/random/release:
7738 Some updates to the release procedure.
7740 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7742 * gst/gstelementfactory.c: (__gst_element_details_clear):
7743 Microoptimization that saves stunning 80 bytes.
7745 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7747 * docs/plugins/gstreamer-plugins.args:
7748 * docs/plugins/inspect/plugin-coreelements.xml:
7749 * docs/plugins/inspect/plugin-coreindexers.xml:
7750 Update docs with caps info.
7752 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7755 Updated Italian translation.
7757 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7761 Update Vietnamese translations.
7763 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7765 * libs/gst/base/gstbasesink.c:
7766 Remove unused signal enum.
7768 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7770 * docs/gst/gstreamer-sections.txt:
7772 * gst/gstutils.c: (gst_type_register_static_full):
7773 Beef up and include the docs for gst_type_register_static_full and
7774 gst_element_class_set_details_simple and add the API keyword
7777 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7779 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7780 (update_time_level), (gst_single_queue_push_one),
7781 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7782 (single_queue_overrun_cb), (single_queue_underrun_cb),
7783 (single_queue_check_full):
7784 Fix setting max-* properties after adding queues.
7785 Use IS_FILLED for checking visible items.
7786 Signal overrun if multiple queues overrun.
7787 Add extra debug output.
7788 Patch by: Wim Taymans <wim@fluendo.com>
7790 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7792 * gst/gstelement.c: (gst_element_class_set_details_simple):
7794 * gst/gstutils.c: (gst_type_register_static_full):
7796 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7797 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7798 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7799 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7800 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7801 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7802 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7803 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7804 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7805 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7806 (apply_buffer), (gst_queue_chain):
7807 * plugins/elements/gsttee.c: (gst_tee_base_init):
7808 * plugins/elements/gsttypefindelement.c:
7809 (gst_type_find_element_base_init),
7810 (gst_type_find_element_class_init):
7811 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7812 API: add gst_type_register_static_full
7813 API: add gst_element_class_set_details_simple
7815 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7817 * docs/pwg/advanced-types.xml:
7818 Fix typo in iana.org URI.
7820 2007-06-19 Andy Wingo <wingo@pobox.com>
7822 * tests/check/pipelines/simple-launch-lines.c
7823 (test_state_change_returns): Enable pull-mode tests now that
7824 basesink has been fixed.
7826 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7827 Changed from gst_base_sink_is_prerolled, reversing the sense of
7828 the return value. Returns FALSE also if the sink is in pull mode,
7829 in which case it needs no preroll.
7830 (gst_base_sink_query, gst_base_sink_change_state): Update for
7831 needs_preroll change.
7832 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7833 chaining up, in which we return SUCCESS directly if we activated
7834 in pull mode instead of ASYNC. Involves countering an async_start
7835 message sent before chaining up; not sure if this is correct, in
7836 an ideal world we only send async-start when activating in push
7839 * tests/check/pipelines/simple-launch-lines.c
7840 (test_state_change_returns): New test, partially disabled until
7843 2007-06-19 Wim Taymans <wim@fluendo.com>
7845 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7846 (gst_multi_queue_sink_event):
7849 2007-06-19 Wim Taymans <wim@fluendo.com>
7851 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7852 (gst_bin_change_state_func), (bin_push_state_continue),
7853 (bin_handle_async_start), (bin_handle_async_done),
7854 (gst_bin_handle_message_func):
7855 Move the common code for posting state-change messages into
7857 Broadcast the state signal after we posted the messages.
7858 Mark the bin as busy when it's doing a state-change.
7859 Make sure async-start/done messages don't interfere with the bin's
7860 state when it's busy.
7861 After the state change, let the bin check which elements completed the
7862 state change while it was busy so that it can update its state.
7864 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7866 * docs/random/release:
7867 Add a note about updating the doap file to the release checklist
7869 2007-06-18 Wim Taymans <wim@fluendo.com>
7871 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7872 (gst_single_queue_push_one), (gst_multi_queue_chain),
7873 (gst_multi_queue_sink_event):
7874 Make sure we don't reference the buffer/event after we have given away
7875 ownership in the queue.
7877 2007-06-18 Wim Taymans <wim@fluendo.com>
7879 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7880 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7881 Update queue state _after_ adding the item in the queue because else we
7882 could end up being full without the element added yet.
7884 2007-06-18 Wim Taymans <wim@fluendo.com>
7886 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7887 (gst_bin_remove_func), (gst_bin_get_state_func),
7888 (gst_bin_element_set_state), (gst_bin_continue_func),
7889 (bin_push_state_continue), (bin_handle_async_start),
7890 (bin_handle_async_done), (gst_bin_handle_message_func):
7892 Immediatly commit the toplevel bin state when receiving an async-done
7893 message. This enables us to avoid spawning a thread to commit the state
7894 in some common cases and it also avoids some races.
7895 Avoid spawning a state thread when adding/removing async elements to a
7896 toplevel bin. Instead we immediatly update the bin state.
7897 Get rid of iterating all the children when getting the state in the bin
7898 because it is now always up-to-date.
7899 Fix bug where locked elements would always return _SUCCESS even it they
7900 returned NO_PREROLL before being locked.
7901 Fix the order of the state_change, async-start/done messages that was
7902 sometimes incorrect.
7903 Mark the state_dirty field as deprecated, we don't need it anymore as we
7904 are always up-to-date.
7906 * gst/gstelement.c: (gst_element_get_state_func),
7907 (gst_element_continue_state):
7908 Small debug inprovements.
7909 Return the previous element state return when nothing is pending instead
7910 of blindly returning SUCCESS.
7912 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7914 Add a whole bunch of new testcases.
7916 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7920 Update translations.
7922 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7925 Fix typo in the docs.
7927 2007-06-15 Wim Taymans <wim@fluendo.com>
7929 * docs/libs/gstreamer-libs-sections.txt:
7930 Add docs for new methods.
7932 2007-06-15 Wim Taymans <wim@fluendo.com>
7934 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7935 (gst_multi_queue_item_new):
7936 Don't use GSlice because we don't depend on >= 2.10 yet.
7938 2007-06-15 Wim Taymans <wim@fluendo.com>
7940 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7941 (update_time_level), (apply_segment), (apply_buffer),
7942 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7943 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7944 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7945 (single_queue_underrun_cb), (single_queue_check_full):
7946 Remove debug printf.
7948 2007-06-15 Wim Taymans <wim@fluendo.com>
7950 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7951 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7952 (gst_data_queue_set_flushing), (gst_data_queue_push),
7953 (gst_data_queue_pop), (gst_data_queue_drop_head),
7954 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7955 * libs/gst/base/gstdataqueue.h:
7957 Added methods to get the current levels and to inform the queue that the
7958 'full' limits changed.
7960 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7961 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7962 (gst_single_queue_flush), (update_time_level), (apply_segment),
7963 (apply_buffer), (gst_single_queue_push_one),
7964 (gst_multi_queue_item_steal_object),
7965 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7966 (gst_multi_queue_loop), (gst_multi_queue_chain),
7967 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7968 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7969 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7970 (single_queue_underrun_cb), (single_queue_check_full),
7971 (gst_single_queue_new):
7972 Keep track of time in the queue by measuring the difference between
7973 running_time on input and output. This gives more accurate results and
7974 can compensate for segments correctly.
7975 Make a queue by default only 5 buffers deep. We will now increase the
7976 buffer size depending on the filledness of the other queues.
7977 Factor out commong flush code.
7978 Make sure we don't add additional refcounts to buffers when we can avoid
7980 Propagate GstFlowReturn differently.
7981 Use GSlice for intermediate GstMultiQueueItems.
7983 Resize queues on over and underruns based on filled level of other
7985 When checking if the queue is filled, prefer to measure in time if we
7986 can and fall back to bytes when no time is known.
7988 * plugins/elements/gstqueue.c:
7991 2007-06-15 Wim Taymans <wim@fluendo.com>
7993 * libs/gst/base/gstbasetransform.c:
7994 (gst_base_transform_sink_event):
7995 Work around the brokenness of the event vmethod in basetransform. Prefer
7996 to return TRUE when the subclass returned FALSE (meaning don't forward
7999 * libs/gst/base/gstbasetransform.h:
8002 2007-06-15 Wim Taymans <wim@fluendo.com>
8004 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8005 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8006 (gst_base_src_default_query), (gst_base_src_get_range),
8007 (gst_base_src_start):
8008 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8011 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8013 * docs/pwg/advanced-types.xml:
8014 Added more formats to caps table.
8016 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8018 * tools/gst-launch.c: (main):
8019 Remove crufy code. GOption does not need this workaround.
8021 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8023 * libs/gst/controller/gstcontroller.c:
8024 (gst_controlled_property_set_interpolation_mode):
8025 Fix wrong getter for enums in controller.
8027 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8029 * libs/gst/check/gstcheck.c: (gst_check_init):
8030 Intercept criticals and warnings in the Gst-Phonon log domain, so
8031 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8034 2007-06-14 Edward Hervey <edward@fluendo.com>
8036 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8037 Since this file doesn't include "gst.h" it will not go through the
8038 macros that disable GST_LOG if debugging was disabled.
8040 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8042 * libs/gst/check/Makefile.am:
8043 * libs/gst/check/gstcheck.h:
8044 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8045 * pkgconfig/gstreamer-check.pc.in:
8046 Ugly 'fix' for the controller unit test on the p5 bot: in
8047 fail_unless_equals_float() check whether the values are 'almost
8048 equal' by allowing a small absolute error, which should be good
8049 enough for our use cases (normal numbers and values close to 0).
8050 Proper fixage left to floating point arithmetic aficionados.
8052 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8054 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8055 (gst_base_sink_render_object), (gst_base_sink_get_position):
8056 Add two breaks thats where missing.
8058 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8060 * docs/libs/gstreamer-libs-sections.txt:
8061 * libs/gst/check/gstcheck.h:
8062 API: add fail_unless_equals_float() and assert_equals_float().
8063 Add documentation for some of the macros.
8065 * tests/check/libs/controller.c: (GST_START_TEST):
8066 Use newly-added asserts.
8068 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8070 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8071 Show the caps change in the log to help spotting the case of not
8072 exactly matching caps.
8074 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8076 * docs/pwg/building-boiler.xml:
8077 Fix typos, spotted by Thijs Vermeir (#447190).
8079 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8081 * docs/plugins/tmpl/.cvsignore:
8082 Ignore file to keep the buildbots happy
8084 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8086 * docs/plugins/Makefile.am:
8087 * docs/plugins/gstreamer-plugins-docs.sgml:
8088 * docs/plugins/gstreamer-plugins-sections.txt:
8089 Pull fdsink into the docs too.
8091 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8093 * libs/gst/controller/gstinterpolation.c:
8094 Actually use the new functions with min/max checks for the trigger and
8095 none interpolation modes for get() and get_value_array() instead of
8098 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8100 * libs/gst/controller/gstcontroller.c:
8101 (gst_controlled_property_free):
8102 Unset the minimum and maximum GValues when freeing the corresponding
8103 GstControllerProperty struct.
8105 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8107 * libs/gst/controller/gstcontroller.c:
8108 (gst_controlled_property_new):
8109 * libs/gst/controller/gstcontrollerprivate.h:
8110 * libs/gst/controller/gstinterpolation.c:
8111 (gst_controlled_property_find_control_point_node),
8112 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8113 (interpolate_none_get_string_value_array),
8114 (interpolate_trigger_get),
8115 (interpolate_trigger_get_enum_value_array),
8116 (interpolate_trigger_get_string_value_array):
8117 Protect against values larger or smaller than the minimum or maximum
8118 allowed value for the property when using values that can be compared.
8120 Optimize trigger interpolator a bit by taking the last requested value
8121 into account instead of always looping through the complete list.
8123 Fix coding style a bit, everywhere else we use "return foo" instead
8126 * tests/check/libs/controller.c: (GST_START_TEST),
8127 (gst_controller_suite):
8128 Add unit test for the protection against too large or too small
8131 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8133 * docs/random/slomo/controller.txt:
8134 Add some thoughts about the future of the controller.
8136 2007-06-08 Wim Taymans <wim@fluendo.com>
8138 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8139 Don't overflow in retimestamping code.
8141 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8143 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8144 Use gst_util_guint64_to_gdouble for conversions.
8145 * win32/common/libgstreamer.def:
8146 Add new exported functions.
8148 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8151 Small docs addition.
8153 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8156 Remove that test line again.
8158 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8161 Test commit mail sending.
8163 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8166 Fix typo and test commit mail sending.
8168 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8170 * tests/examples/controller/audio-example.c:
8171 Improve comment and test commit mail sending.
8173 2007-06-07 Wim Taymans <wim@fluendo.com>
8175 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8176 (gst_bin_remove_func), (gst_bin_element_set_state),
8177 (bin_handle_async_start), (bin_handle_async_done),
8178 (gst_bin_handle_message_func):
8179 Add helper function to find messages.
8180 Generate the async-done messages together with the state change
8182 Small cleanups in handling toplevel bins.
8184 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8186 * libs/gst/base/gstdataqueue.c:
8187 * libs/gst/base/gstdataqueue.h:
8188 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8189 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8190 (gst_multi_queue_sink_event):
8191 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8192 Fix multiqueue leaking buffers and events when downstream or the
8193 queue are flushing. Make refcounting assumptions explicit and
8194 document them (shouldn't break existing code that uses it other than
8195 maybe leak miniobjects, but that already happens anyway). Add unit
8196 test for the most common flushing case. Fixes #423700.
8198 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8200 * libs/gst/controller/gstcontroller.c:
8201 Clarify docs: The get_all, get_value_array(s) functions
8202 don't modify the GObject properties.
8204 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8206 * libs/gst/controller/gstcontroller.c:
8207 (gst_controlled_property_set_interpolation_mode),
8208 (gst_controlled_property_prepend_default),
8209 (gst_controlled_property_new), (gst_controller_set_unlocked),
8210 (gst_controller_set), (gst_controller_set_from_list),
8211 (gst_controller_unset), (gst_controller_unset_all):
8212 * libs/gst/controller/gstcontrollerprivate.h:
8213 * libs/gst/controller/gstinterpolation.c:
8214 Factor out the 'set' logic into gst_controller_set_unlocked for the
8215 gst_controller_set and gst_controller_set_from_list functions.
8217 To make life of the interpolators easier always add a control point
8218 at timestamp zero with the default value.
8220 In the linear interpolator make things more obvious by better variable
8223 Implement cubic interpolation mode (by using a natural cubic spline)
8224 and map the quadratic interpolation mode to this too (as quadratic
8225 doesn't make much sense, see discussion on the list).
8227 * tests/check/libs/controller.c: (GST_START_TEST),
8228 (gst_controller_suite):
8229 Add unit test for the cubic interpolation mode and check everywhere
8230 if the interpolation mode could be set as expected.
8232 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8234 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8235 Don't use GLib-2.10 functions, we still depend on
8236 GLib-how-old-is-it-again-2.8.
8238 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8240 * docs/gst/gstreamer-sections.txt:
8244 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8245 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8246 (_gst_param_fraction_values_cmp),
8247 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8248 * gst/gstparamspecs.h:
8250 * tests/check/Makefile.am:
8251 * tests/check/gst/.cvsignore:
8252 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8253 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8254 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8255 (GST_START_TEST), (gst_param_spec_suite):
8256 API: add GstParamSpecFraction, so elements can have fraction
8257 properties without lots of painful string parsing (#444648).
8259 2007-06-05 Wim Taymans <wim@fluendo.com>
8261 * gst/gstobject.c: (gst_object_class_init):
8262 Fix signal signature.
8265 Add small clarification in the api docs.
8267 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8268 States are protected with object lock.
8270 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8273 I should probably be listed as an author by now.
8275 * docs/random/release:
8276 Update the release doc
8278 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8281 Make docs for gst_value_compare() mention return enums that
8284 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8289 === release 0.10.13 ===
8291 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8294 releasing 0.10.13, "With or without you"
8296 2007-05-25 Wim Taymans <wim@fluendo.com>
8298 * gst/gstbin.c: (bin_handle_async_done):
8299 Make sure that the child bin stops after completing the async state
8300 change so that the parent can continue the state change to PLAYING.
8303 2007-05-25 Wim Taymans <wim@fluendo.com>
8305 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8306 (unref_data), (gst_collect_pads_remove_pad),
8307 (gst_collect_pads_check_pads):
8308 Use additional refcounting to avoid crashes when dynamically adding and
8309 removing pads. Fixes #420206.
8311 2007-05-24 Wim Taymans <wim@fluendo.com>
8313 * tools/gst-launch.c: (event_loop):
8314 When buffering goes from a two digit to a single digit number, make sure
8315 to remove the old second digit by writing a blank over it.
8317 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8319 * libs/gst/base/gstdataqueue.c:
8320 Eliminate tabs and trailing comma in enum list; fix some typos.
8322 2007-05-24 Wim Taymans <wim@fluendo.com>
8324 * tests/check/gst/gstbin.c: (GST_START_TEST):
8325 Allow refcount of 3 and 4 because some state thread might still be busy
8328 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8330 * plugins/elements/Makefile.am:
8331 * plugins/elements/gstmultiqueue.h:
8332 * plugins/elements/gstqueue.h:
8333 These are not installed headers, no need for padding.
8335 2007-05-24 Wim Taymans <wim@fluendo.com>
8337 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8338 (gst_bin_continue_func):
8339 Enable latency for next release.
8340 Restore STATE_LOCK around recalc_state that was left out during the
8341 rewrite and could result in racy behaviour when _get_state and
8342 recalc_state are run concurrently. See #440463.
8344 2007-05-23 Wim Taymans <wim@fluendo.com>
8346 * tests/check/gst/gstsystemclock.c: (store_callback),
8348 Improve test_async_order to also work when both timers are already
8349 expired when we get scheduled to check it.
8351 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8353 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8354 (gst_bin_set_property), (gst_bin_get_property),
8355 (gst_bin_remove_func), (gst_bin_handle_message_func):
8357 'private' is a c++ keyword, let's not use that in header files,
8358 otherwise c++ compilers will throw a tantrum.
8360 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8362 * plugins/elements/gstelements.c:
8363 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8364 (gst_file_sink_get_current_offset):
8365 * plugins/indexers/gstindexers.c: (plugin_init):
8366 Use #ifdef for HAVE_XYZ for consistency.
8368 * tests/check/Makefile.am:
8369 * tests/check/elements/.cvsignore:
8370 * tests/check/elements/filesink.c: (setup_filesink),
8371 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8372 Add some unit tests for filesink.
8374 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8376 Patch by: Mark Nauwelaerts <manauw at skynet be>
8378 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8379 (gst_file_sink_query), (gst_file_sink_do_seek),
8380 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8381 * plugins/elements/gstfilesink.h:
8382 Fix position reporting; rename data_written member to current_pos to
8383 reflect its real meaning (fixes #412648).
8385 2007-05-22 Edward Hervey <edward@fluendo.com>
8387 * docs/gst/gstreamer-sections.txt:
8388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8389 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8390 (gst_bin_remove_func), (gst_bin_handle_message_func):
8392 Add a property for bins that handle the state change of their childs.
8395 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8397 * libs/gst/controller/gstinterpolation.c:
8398 Use an array of the correct type when using _get_value_array with
8399 linear interpolation.
8401 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8403 * gst/gstelement.c (gst_element_requires_clock,
8404 gst_element_provides_clock, gst_element_request_pad,
8405 gst_element_class_set_details, gst_element_class_set_details_simple,
8406 gst_element_default_send_event, gst_element_abort_state,
8407 gst_element_continue_state, gst_element_set_state,
8408 gst_element_set_state_func, iterator_activate_fold_with_resync):
8409 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8410 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8411 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8412 gst_pad_get_range, gst_pad_pull_range):
8413 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8414 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8415 GstPadActivateModeFunction, GstPadChainFunction,
8416 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8417 GstPadFixateCapsFunction, GstPadTemplate):
8418 * gst/gstpipeline.c (gst_pipeline_change_state,
8419 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8420 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8421 gst_pipeline_get_delay):
8422 Whitespace and docs fixes.
8424 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8426 * libs/gst/controller/gstinterpolation.c:
8427 (interpolate_trigger_get_enum_value_array),
8428 (interpolate_trigger_get_string_value_array):
8429 Add support for retrieving value arrays when using the trigger
8432 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8434 * libs/gst/controller/gstcontroller.c:
8435 (gst_controller_get_value_array):
8436 * libs/gst/controller/gstcontroller.h:
8437 Clarify the docs of gst_controller_get_value_array(): The array where
8438 the values should be written to must be allocated as there seems to be
8439 no way to get the size of a random GType. This doesn't change any
8440 behaviour. Also fix some typos all over the place and remove an unused,
8441 commented function that is not necessary as g_object_set() could be
8443 * tests/check/libs/controller.c: (GST_START_TEST),
8444 (gst_controller_suite):
8445 Add unit test for gst_controller_get_value_array().
8447 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8449 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8451 Disable part of the gst_buffer_try_new_and_alloc test, because
8452 it can happily succeed on 64-bit systems where there's more address
8455 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8457 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8458 Add unit test for the improved caps checking from bug #421543.
8460 2007-05-21 Wim Taymans <wim@fluendo.com>
8462 * docs/design/part-synchronisation.txt:
8465 * gst/gstbin.c: (gst_bin_query):
8466 * plugins/elements/gstqueue.c: (apply_segment):
8472 2007-05-21 Wim Taymans <wim@fluendo.com>
8474 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8475 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8476 (gst_pad_configure_src):
8477 Added simple version of improved caps checking. It was previously
8478 assumed that a setcaps function would check the validity of the caps but
8479 people prefer us to check caps against the template automatically.
8482 2007-05-21 Wim Taymans <wim@fluendo.com>
8484 * libs/gst/base/gstbasetransform.h:
8485 Fix macro for locking/unlocking the transform lock.
8487 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8489 * docs/plugins/tmpl/.cvsignore:
8492 2007-05-18 Edward Hervey <edward@fluendo.com>
8494 * plugins/elements/gstqueue.c: (gst_queue_loop):
8495 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8496 for the subtle art of warning a potentially blocking thread that it
8497 should check the source pad return value, and relay the information
8500 2007-05-18 Edward Hervey <edward@fluendo.com>
8502 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8503 Release the queue lock !
8505 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8507 * docs/libs/gstreamer-libs-sections.txt:
8508 Add the two new controller functions to the appropiate places.
8510 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8512 reviewed by: Stefan Kost <ensonic@users.sf.net>
8514 * libs/gst/controller/gstcontroller.c:
8515 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8516 (_gst_controller_get_property), (_gst_controller_set_property),
8517 (_gst_controller_init), (_gst_controller_class_init):
8518 * libs/gst/controller/gstcontroller.h:
8519 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8520 (gst_object_get_control_rate), (gst_object_set_control_rate):
8521 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8522 Add API that provides sync suggestion timestamps for elements that
8523 call gst_object_sync_values() from which those elements can subdivide
8524 their processing loop to get the best results for the controlled
8525 properties. For now it just suggests last_sync + control_rate as
8526 new timestamp but this will be improved in the future.
8528 While doing that change the control-rate property to a GstClockTime
8529 from guint and change it's meaning from samples to nanoseconds as
8530 the GstController doesn't know anything about sampling rate. Strictly
8531 speaking this breaks ABI but as the control-rate property didn't do
8532 anything in the past and as such couldn't be used this should be no
8535 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8537 reviewed by: Stefan Kost <ensonic@users.sf.net>
8539 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8540 (gst_controller_unset_all):
8541 * libs/gst/controller/gstcontrollerprivate.h:
8542 * libs/gst/controller/gstinterpolation.c:
8543 (gst_controlled_property_find_control_point_node):
8544 Save last synced value from the list to continue searching from there
8545 in future syncs. This speeds everything up a bit.
8547 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8549 reviewed by: Stefan Kost <ensonic@users.sf.net>
8551 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8552 (gst_control_point_find), (gst_controlled_property_new),
8553 (gst_control_point_free), (gst_controlled_property_free),
8554 (gst_controller_set), (gst_controller_set_from_list),
8555 (gst_controller_unset), (gst_controller_unset_all),
8556 (gst_controller_sync_values):
8557 * libs/gst/controller/gstcontroller.h:
8558 * libs/gst/controller/gstcontrollerprivate.h:
8559 * libs/gst/controller/gstinterpolation.c:
8560 (gst_controlled_property_find_control_point_node),
8561 (interpolate_none_get), (interpolate_trigger_get):
8562 Add a new private GstControlPoint struct which "inherits" from
8563 GstTimedValue to allow different interpolators to store internal
8564 values next to each control point. From the outside everything is
8565 still a GstControlPoint so we don't loose binary compatibility.
8566 Also fixup all the GValue handling to not leak GValues or list nodes.
8567 * tests/check/libs/controller.c: (GST_START_TEST):
8568 Free the list nodes and GValues in the controller_misc test.
8570 2007-05-17 Edward Hervey <edward@fluendo.com>
8575 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8577 * gst/gstplugin.c: (gst_plugin_load_file):
8578 If we fail to load a plugin because of unresolved symbols or missing
8579 libraries and spew a warning to stderr, we may just as well mention
8580 which plugin it was that failed to load.
8582 2007-05-13 David Schleef <ds@schleef.org>
8584 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8585 handles the case when ENABLE_GTK_DOC is false, and installs
8586 the prebuilt documentation. So gtk-doc subdirs are
8587 unconditionally enabled. Fixes: #349099.
8589 2007-05-13 David Schleef <ds@schleef.org>
8591 * gst/gstutils.h: Reword some documentation.
8593 2007-05-12 David Schleef <ds@schleef.org>
8595 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8596 do anything with the passed "module" parameter, so remove it.
8597 Allows removal of additional vestigal code.
8599 2007-05-12 David Schleef <ds@schleef.org>
8602 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8603 Switch to using g_stat() because it's more portable.
8605 2007-05-12 David Schleef <ds@schleef.org>
8608 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8609 parsing for embedded systems.
8610 * gst/gstelementfactory.c:
8611 Allow gst_element_register() to be called with plugin==NULL.
8612 Did nobody notice that static elements were broken?
8614 2007-05-12 Wim Taymans <wim@fluendo.com>
8616 * tools/gst-launch.c: (event_loop):
8617 Give more interesting info when buffering starts and stops.
8618 Fix case where buffering starts but we fail to update the buffering flag
8619 because the target state is not PLAYING.
8621 2007-05-12 Wim Taymans <wim@fluendo.com>
8623 * plugins/elements/gstqueue.c: (gst_queue_init),
8624 (gst_queue_finalize), (update_time_level), (apply_segment),
8625 (apply_buffer), (gst_queue_locked_flush),
8626 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8627 (gst_queue_handle_sink_event), (gst_queue_chain),
8628 (gst_queue_push_one), (gst_queue_loop):
8629 * plugins/elements/gstqueue.h:
8630 Refactor an cleanup queue a bit.
8631 Do better time level calculations that also work when the srcpad is not
8633 Remove some unneeded debug lines.
8635 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8636 Added testcase for time level measurement.
8637 Try to make some stuff more racefree.
8639 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8641 * gst/gsturi.c: (gst_element_make_from_uri):
8642 Don't leak plugin feature.
8644 * tests/check/Makefile.am:
8645 * tests/check/gst/.cvsignore:
8646 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8647 Add brain-dead unit test.
8649 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8651 Patch by: Jeroen Wouters <woutersj at gmail com>
8653 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8654 Treat protocol strings in a case-insensitive way (#437563).
8656 2007-05-11 Michael Smith <msmith@fluendo.com>
8658 * gst/gstplugin.c: (gst_plugin_load_file):
8659 * gst/gstregistry.c: (gst_registry_scan_path_level):
8660 Don't print a g_warning for any failure to load a shared object.
8661 Instead, push this down into gstplugin.c, and warn _only_ if we
8662 failed to open the module (i.e. failure to link).
8663 Avoids warnings on normal, working, non-plugin .so files.
8665 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8667 * gst/gstplugin.c (gst_plugin_load_file):
8668 * gst/gstregistry.c (GST_CAT_DEFAULT,
8669 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8670 Print a g_warning if there was an error when loading a plugins during
8671 registry scan. The shuld help beginners starting with gst-plugin
8674 2007-05-10 Wim Taymans <wim@fluendo.com>
8676 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8677 (update_time_level), (gst_queue_locked_flush),
8678 (gst_queue_handle_sink_event), (gst_queue_chain),
8679 (gst_queue_push_one), (gst_queue_loop):
8680 * plugins/elements/gstqueue.h:
8681 Be smarter when calculating the current amount of data in the queue by
8682 measuring the difference between start and end timestamps (in running
8683 time) inside the queue. Fixes #432876.
8684 API: GstQueue::pushing to notify elements that we are pushing data again
8685 since the running signal is rather broken for this purpose.
8687 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8689 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8690 gst_queue_base_init, gst_queue_init):
8693 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8695 * win32/common/libgstreamer.def:
8696 Add new exported functions.
8697 * win32/vs6/grammar.dsp:
8698 Use grammar pre-generated files.
8700 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8702 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8705 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8707 * gst/gstutils.c: (gst_parse_bin_from_description):
8709 Maintain API and ABI when --disable-parse is used. Now that
8710 we have an appropriate error code, we can just return NULL and the
8711 appropriate error when gst_parse_launch() is used despite it having
8712 been disabled (#342564).
8714 * tests/check/Makefile.am:
8715 * tests/check/pipelines/.cvsignore:
8716 * tests/check/pipelines/parse-disabled.c:
8717 Make sure these functions exist and return NULL plus a GError when
8718 --disable-parse is used.
8720 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8722 * tests/benchmarks/complexity.c: (main):
8723 * tests/benchmarks/mass-elements.c: (main):
8724 Set a good example and don't leak messages.
8726 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8728 * docs/gst/Makefile.am:
8729 * docs/libs/Makefile.am:
8730 Correct fixxrefs options.
8732 * docs/plugins/Makefile.am:
8733 * docs/plugins/gstreamer-plugins-docs.sgml:
8734 * docs/plugins/gstreamer-plugins-sections.txt:
8735 * plugins/elements/Makefile.am:
8736 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8737 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8738 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8739 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8740 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8741 _GstCapsFilterClass, trans_class):
8742 * plugins/elements/gstelements.c (name, rank, type, _elements):
8743 * plugins/elements/gstidentity.c
8744 (gst_identity_check_imperfect_timestamp,
8745 gst_identity_check_imperfect_offset):
8746 Document capsfilter and add doc-blurb to identity.
8748 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8750 * libs/gst/controller/gstcontroller.c:
8751 (gst_controlled_property_set_interpolation_mode):
8752 * libs/gst/controller/gstinterpolation.c:
8753 Don't crash if someone tries to set an interpolation mode that
8754 is invalid or that isn't supported yet. Fixes #422295.
8756 * tests/check/libs/controller.c: (GST_START_TEST),
8757 (gst_controller_suite):
8758 Add a test case for the above.
8760 2007-05-03 Edward Hervey <edward@fluendo.com>
8762 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8763 Properly set the last_stop position on GstSegment. This will only happen
8764 if there is a buffer to push out.
8766 2007-05-03 Wim Taymans <wim@fluendo.com>
8768 * libs/gst/base/gstbasetransform.c:
8769 (gst_base_transform_buffer_alloc):
8770 always_in_place does not mean that the sink and source caps are the
8771 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8773 2007-05-03 Wim Taymans <wim@fluendo.com>
8775 * docs/libs/gstreamer-libs-sections.txt:
8776 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8777 (gst_base_src_default_query), (gst_base_src_get_range):
8778 * libs/gst/base/gstbasesrc.h:
8779 API: gst_base_src_query_latency(). Added method so that subclasses can
8780 easily get the latency values of the base source class.
8782 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8784 * tools/gst-inspect.c (print_implementation_info):
8787 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8789 * tools/Makefile.am:
8790 * tools/gst-launch.1.in:
8791 Don't create a customised man page based on the host architecture,
8792 describe the default registry path generically. That way the man
8793 page is the same for all architectures and packagers have one
8794 multilib issue less to deal with. Fixes #434926.
8796 2007-05-02 Wim Taymans <wim@fluendo.com>
8799 Fix documentation as spotted by rg on IRC.
8801 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8804 Improve docs for gst_element_{link,unlink}.
8806 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8808 * docs/design/part-events.txt:
8809 * docs/design/part-overview.txt:
8813 * libs/gst/base/gstbasesink.c:
8814 Typo fixes; minor docs addition.
8816 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8818 * docs/gst/gstreamer-sections.txt:
8819 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8820 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8822 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8823 or src that supports a given URI protocol exists.
8825 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8827 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8828 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8829 Set the location to NULL if "file://" is set as URI. Otherwise
8830 some random previous URI would still be set if "file://" is
8831 set on an already used filesink/filesrc.
8833 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8835 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8836 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8837 Special case the "file://" URI as as this is used by some
8838 applications to test with gst_element_make_from_uri if there's
8839 an element that supports the URI protocol.
8840 Also move the g_path_is_absolute() check for the location part
8841 of the URI to also check this for "file://localhost/bla" URIs.
8843 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8845 * docs/gst/gstreamer-sections.txt:
8846 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8848 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8850 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8852 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8854 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8855 (gst_registry_binary_load_pad_template),
8856 (gst_registry_binary_load_plugin),
8857 (gst_registry_binary_read_cache):
8858 * gst/gstregistrybinary.h:
8859 Implement no-mmap alternative for registry reading. Do code cleanups.
8860 Add more comments about avoiding strdups for all text data. Comments
8863 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8865 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8866 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8867 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8868 Comment structs and reformat to fix the build (that stuff should go
8869 into a priv. header).
8871 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8873 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8874 (gst_registry_binary_load_feature):
8875 * gst/gstregistrybinary.h:
8876 Refactor so that we can implement multiple features. Add support for
8877 TypeFindFactory features.
8879 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8881 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8884 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8886 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8888 * gst/gstbin.c: (gst_bin_element_set_state),
8889 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8890 (bin_handle_async_done), (gst_bin_handle_message_func):
8891 Fix build with --gst-disable-gst-debug
8893 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8895 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8896 Make sure streaming has finished before calling the ::stop() vfunc,
8897 since that vfunc might clear state which is being used in the
8898 streaming thread. This fixes a race that caused crashes in
8899 audioresample when shutting down a pipeline (#420106).
8901 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8903 * docs/gst/gstreamer-sections.txt:
8904 That was one byte missing.
8906 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8909 * docs/gst/gstreamer-sections.txt:
8911 * gst/gstconfig.h.in:
8912 * gst/gstobject.c: (gst_object_class_init),
8913 (gst_signal_object_class_init):
8915 2nd attempt to have a xml-less build as a joined effort of #413123
8918 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8920 * docs/design/draft-tagreading.txt:
8921 Added open issues/thoughts to draft.
8923 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8925 * gst/parse/grammar.tab.pre.c:
8926 * gst/parse/grammar.tab.pre.h:
8927 * gst/parse/lex._gst_parse_yy.pre.c:
8928 Update the prebuild parser sources.
8930 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8932 * gst/parse/Makefile.am:
8933 And now fix the building of the flex sources. Now everything should
8936 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8938 * gst/parse/Makefile.am:
8939 Now hopefully fix the build failures by setting proper rule
8940 dependencies and moving instead of copying.
8942 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8944 * tests/benchmarks/complexity.gnuplot:
8945 * tests/benchmarks/complexity.scm:
8946 * tests/benchmarks/mass-elements.gnuplot:
8947 * tests/benchmarks/mass-elements.scm:
8948 Total licensification.
8950 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8952 * gst/parse/Makefile.am:
8953 Fix the build by correcting the rule that gave wrong files to flex.
8955 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8957 * tests/benchmarks/complexity.c:
8958 * tests/benchmarks/mass-elements.c:
8959 Change licence to LGPL as granted by Benjamin and Andy.
8961 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8963 * gst/parse/Makefile.am:
8964 Add correct grammar.tab.h dependency if compiling without new enough
8965 flex. Fixes #431150.
8967 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8969 * gst/parse/Makefile.am:
8970 Fix typo and use outdated sources if the flex/bison sources are newer
8971 than the pregenerated ones but flex is too old. Print a warning in
8972 that case. This should fix the build on the build bot.
8974 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8976 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8977 * gst/parse/Makefile.am:
8978 * gst/parse/grammar.y:
8979 * gst/parse/parse.l:
8980 Make the parser reentrant and recursively callable. This requires flex
8981 >= 2.5.31, for older versions pregenerated sources are used as we
8982 can't bump the build dependency. Finally fixes #349180.
8984 * gst/gstparse.c: (gst_parse_launch):
8985 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8988 * docs/gst/Makefile.am:
8989 * docs/gst/Makefile.am:
8990 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8991 (__gst_parse_strfree), (__gst_parse_link_new),
8992 (__gst_parse_link_free), (__gst_parse_chain_new),
8993 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8994 (gst_parse_element_set), (gst_parse_free_link),
8995 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8996 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8997 (_gst_parse_launch):
8998 * gst/parse/grammar.tab.pre.h:
8999 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9000 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9001 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9002 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9003 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9004 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9005 (_gst_parse_yypop_buffer_state),
9006 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9007 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9008 (yy_fatal_error), (_gst_parse_yyget_extra),
9009 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9010 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9011 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9012 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9013 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9014 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9015 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9016 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9017 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9018 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9019 (_gst_parse_yyfree):
9020 If the installed flex version is too old use pre-generated parser
9021 sources. These pre-generated parser sources are always updated when
9022 the actual flex/bison sources change but require everybody who wants
9023 to change something in the parser to have flex >= 2.5.31 installed.
9025 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9027 * common/m4/gst-gettext.m4:
9028 * gst/gst-i18n-lib.h:
9029 Make --disable-nls to work
9031 2007-04-17 Wim Taymans <wim@fluendo.com>
9033 * gst/gstconfig.h.in:
9034 Revert previous change that broke the build.
9036 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9040 * gst/gstconfig.h.in:
9041 Drop libxml2 dependency when building with
9042 --enable-binary-registry --disable-loadsave
9044 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9046 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9047 (gst_registry_binary_read_cache):
9048 * gst/gstregistrybinary.h:
9049 Remove unnecessary <sys/mman.h> include which broke the win32 build
9050 with MingW; move includes from header file to .c file, even if the
9051 header file isn't installed; use g_strerror() where UTF-8 strings
9052 are expected, such as in GST_DEBUG messages.
9054 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9056 * docs/libs/gstreamer-libs-sections.txt:
9057 Remove bogus addition for API I didn't end up keeping.
9059 * libs/gst/base/gstbasesrc.h:
9060 Mention Since: 0.10.13 in the documentation.
9062 Add the API keyword to the previous ChangeLog entry.
9064 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9066 * docs/libs/gstreamer-libs-sections.txt:
9067 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9068 (gst_base_src_default_prepare_seek_segment),
9069 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9070 * libs/gst/base/gstbasesrc.h:
9071 Allow basesrc derived classes to execute seeks in other formats
9072 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9073 to prepare the GstSegment in any format that their perform_seek method
9074 will be able to understand. The default implementation provides the
9075 old behaviour of attempting to convert the seek offsets to the
9076 configured native format.
9078 API: basesrc::prepare_seek_segment vmethod.
9080 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9082 * gst/gstelement.c: (gst_element_get_state_func):
9083 Don't output the same debug statement twice.
9085 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9086 (gst_adapter_peek), (gst_adapter_take_buffer):
9087 Optimise the case where we have buffers at the head of the queue that
9088 can be joined quickly (because they're contiguous sub-buffers) by
9089 merging them together rather than copying data out into new memory.
9091 * gst/parse/grammar.y:
9092 * tests/check/pipelines/parse-launch.c:
9093 Fix a leak in an error path for parse_launch, and add a check
9094 for it to the testsuite.
9096 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9098 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9099 Don't deadlock when releasing a pad - gst_pad_set_active may try
9100 and take the multiqueue lock too.
9102 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9104 * gst/gsterror.c: (_gst_core_errors_init):
9106 API: add GST_CORE_ERROR_DISABLED (#392804).
9108 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9110 * docs/faq/gst-uninstalled:
9111 don't get empty paths on the PATH variables
9112 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9113 Don't format for the uncommon terminal width of 84 characters.
9115 2007-04-06 Wim Taymans <wim@fluendo.com>
9117 * gst/gstpipeline.c: (reset_stream_time),
9118 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9119 Only try to select a different pipeline clock when we went back to
9120 PAUSED and not when we merely got flushed.
9122 2007-04-05 Michael Smith <msmith@fluendo.com>
9124 * tools/gst-launch.1.in:
9125 fractions are better supported in gstreamer than ractions, so
9126 suggest using those.
9128 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9130 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9134 Added Danish translation.
9136 2007-04-05 Wim Taymans <wim@fluendo.com>
9138 * libs/gst/base/gstbasesink.c:
9139 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9140 Fix leak caused when refusing newsegment after EOS.
9142 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9143 (gst_fake_sink_init), (gst_fake_sink_set_property),
9144 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9145 (gst_fake_sink_render), (gst_fake_sink_change_state):
9146 * plugins/elements/gstfakesink.h:
9147 Add num-buffers property to make the element generate EOS after a
9148 configurable amount of buffers.
9149 API: fakesink::num-buffers property.
9151 * tests/check/elements/fakesink.c: (GST_START_TEST),
9153 Fix GstBus leak in test.
9154 Test for fakesink num-buffers.
9156 2007-04-05 Wim Taymans <wim@fluendo.com>
9158 * libs/gst/base/gstbasesink.c:
9159 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9160 (gst_base_sink_change_state):
9161 Don't accept anything after an EOS, return UNEXPECTED instead.
9163 * tests/check/elements/fakesink.c: (GST_START_TEST),
9165 Unit test for new EOS behaviour.
9167 2007-04-05 Wim Taymans <wim@fluendo.com>
9169 * gst/gstelement.c: (gst_element_get_request_pad):
9170 Make padtemplates also work when they don't contain %s or %d.
9172 2007-04-05 Wim Taymans <wim@fluendo.com>
9174 * docs/gst/gstreamer-sections.txt:
9175 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9176 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9178 Improve _adjust_unlocked() so that it overflows less.
9179 Add gst_clock_unadjust_unlocked to convert from external time to
9180 internal time based on calibration.
9181 Add some more debug.
9182 API: GstClock::gst_clock_unadjust_unlocked()
9184 2007-04-03 Wim Taymans <wim@fluendo.com>
9186 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9188 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9189 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9190 when releasing sink pad. Fixes #425400.
9192 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9194 * docs/random/ensonic/dynlink.txt:
9195 More work on proposal for new core api.
9197 * docs/libs/gstreamer-libs-sections.txt:
9198 * libs/gst/base/gstbasetransform.h:
9199 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9201 * libs/gst/controller/gstcontroller.c:
9202 (on_object_controlled_property_changed),
9203 (gst_controller_sync_values),
9204 (gst_controller_set_interpolation_mode):
9205 * libs/gst/controller/gstcontroller.h:
9206 Less verbose logging add docs for unimplemented parts and correctly
9207 return when using unavailable parts.
9209 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9211 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9212 Move all the debug to the CLOCK category, and associate it with
9215 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9217 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9218 Make take_buffer a bit quicker by removing redundant checks
9219 caused by calling gst_adapter_take.
9221 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9223 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9226 * tests/check/Makefile.am:
9227 * tests/check/elements/.cvsignore:
9228 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9229 (GST_START_TEST), (multiqueue_suite):
9230 Add some dead simple unit tests for the 'multiqueue' element
9231 (some bits don't work yet and are disabled for now).
9233 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9235 * gst/gstelement.c: (gst_element_get_request_pad),
9236 (gst_element_class_get_request_pad_template):
9237 Make gst_element_get_request_pad() create request pads only for
9238 request pad templates and not for, say, sometimes pad templates.
9240 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9242 * docs/design/draft-klass.txt:
9243 Add example that needs more thinking.
9245 * docs/design/draft-missing-plugins.txt:
9246 More thoughts about wrapper plugins.
9248 * docs/random/ensonic/embedded.txt:
9249 * docs/random/ensonic/profiling.txt:
9252 2007-03-25 Wim Taymans <wim@fluendo.com>
9254 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9255 (gst_base_src_loop):
9256 Only push the segment events in the PLAYING state for live sources.
9258 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9260 * gst/gstpipeline.c: (gst_pipeline_change_state):
9261 Modify the clock distribution path in PAUSED->PLAYING so that we
9262 never attempt to choose a new clock unless we're actually leaving
9263 the PAUSED state for the first time. This prevents choosing a
9264 different clock when the state_change gets called for a 2nd time due
9265 to some element doing an async state change.
9267 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9269 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9270 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9271 (gst_pad_chain_unchecked), (gst_pad_push):
9272 Revert last commit. This needs some more thoughts.
9274 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9276 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9277 (gst_pad_chain_unchecked), (gst_pad_push):
9278 Check in set_caps if the caps are compatible with the pad and remove
9279 two functions that are redundant now. Fixes #421543.
9281 2007-03-22 Wim Taymans <wim@fluendo.com>
9283 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9284 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9285 Unref some more to make valgrind happy.
9287 2007-03-22 Wim Taymans <wim@fluendo.com>
9289 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9290 (gst_system_clock_id_wait_jitter),
9291 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9292 Fix anoying regression that survived a few releases. When adding an
9293 async entry while blocking on a sync entry, the sync entry will unblock
9294 but still be busy, so it should continue to wait instead of returning
9296 Add some comments here and there.
9298 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9299 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9300 Add testcase for this.
9302 2007-03-22 Wim Taymans <wim@fluendo.com>
9304 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9305 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9306 WRONG_STATE and can silently pause the task. All other cases should
9309 2007-03-22 Wim Taymans <wim@fluendo.com>
9311 Patch by: Ville Syrjala <syrjala at sci dot fi>
9313 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9314 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9317 2007-03-21 Michael Smith <msmith@fluendo.com>
9319 * docs/pwg/advanced-types.xml:
9320 Fix some errors in the typefinding docs pointed out on irc.
9322 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9324 * libs/gst/base/gstbasesrc.c:
9325 Clarify FIXME comment in the face of having added unlock_stop()
9327 2007-03-21 Wim Taymans <wim@fluendo.com>
9329 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9330 Prepare for release where we warn against possible app breakage in the
9331 case of live pipelines along with an env var to enable/disable live
9332 preroll mode (GST_COMPAT=[no-]live-preroll).
9334 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9336 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9337 So we should use correct constants for checking for None offset.
9339 2007-03-20 Wim Taymans <wim@fluendo.com>
9341 * docs/design/part-block.txt:
9342 Mention the fact that the newly switched element should be set to at
9345 2007-03-20 Wim Taymans <wim@fluendo.com>
9348 Fix compilation with registry disabled as spotted by Saur.
9350 2007-03-20 Wim Taymans <wim@fluendo.com>
9352 Patch by: Olivier Crete <tester at tester dot ca>
9354 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9355 Look at the pending state too when syncing the element state to the
9356 parent. Fixes #420133.
9358 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9360 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9361 (gst_base_sink_change_state):
9362 * libs/gst/base/gstbasesink.h:
9363 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9364 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9365 (gst_base_src_deactivate):
9366 * libs/gst/base/gstbasesrc.h:
9367 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9368 for sub-classes to correctly clear any state they set trying to
9369 unlock, such as clearing out unlock commands from a command fd.
9370 API: basesrc::unlock_stop
9371 API: basesink::unlock_stop
9373 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9374 (gst_fd_sink_render), (gst_fd_sink_unlock),
9375 (gst_fd_sink_unlock_stop):
9376 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9377 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9378 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9380 Implement unlock_stop in fdsrc and fdsink.
9381 Implement seeking in fdsrc when a seekable fd is passed, as in
9382 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9384 2007-03-19 Wim Taymans <wim@fluendo.com>
9386 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9388 * gst/gstelement.c: (gst_element_class_init):
9389 Fix pad-added and pad-removed signal signatures so that the pad type is
9390 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9392 2007-03-19 Wim Taymans <wim@fluendo.com>
9394 * docs/gst/gstreamer-sections.txt:
9395 Add new element field and method.
9397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9398 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9399 (gst_bin_recalc_state), (gst_bin_get_state_func),
9400 (gst_bin_element_set_state), (gst_bin_change_state_func),
9401 (gst_bin_continue_func), (bin_bus_handler),
9402 (bin_push_state_continue), (bin_handle_async_start),
9403 (bin_handle_async_done), (gst_bin_handle_message_func):
9404 Make async state changes a bit smarter by using new ASYNC_START and
9405 ASYNC_DONE messages. This reduces the number of times we run the state
9406 recalculation thread.
9407 Don't change state of element with a pending ASYNC_START message.
9408 Deprecate STATE_DIRTY messages.
9410 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9411 (gst_element_get_state_func), (gst_element_continue_state),
9412 (gst_element_lost_state), (gst_element_set_state_func),
9413 (gst_element_change_state):
9415 Keep the state that was last set by the app in a new element field.
9416 Don't allow state changes when handling an element event.
9417 Post ASYNC_START and ASYNC_DONE messages.
9418 Change lost_state so that we go to PAUSED and wait for the parent to set
9419 us to PLAYING again (so latency calculation can be performed)
9420 Export gst_element_change_state() method so that subclasses can use it.
9421 API: gst_element_change_state()
9422 API: GST_STATE_TARGET
9424 * gst/gstpipeline.c: (gst_pipeline_class_init),
9425 (reset_stream_time), (gst_pipeline_change_state),
9426 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9427 Using the new ASYNC_START message we can reset the base_time when
9428 needed. This can then be used to implement base_time redistribution in
9429 flushing seeks so that we can remove the explicit seek handling.
9430 Perform latency query and configuration when going to PLAYING.
9432 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9433 (gst_base_sink_query), (gst_base_sink_change_state):
9434 Post new ASYNC_START/ASYNC_DONE messages.
9436 * tests/check/generic/sinks.c: (GST_START_TEST):
9437 Fix test because the bin will not set the async element to PLAYING right
9440 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9441 Make the message check a little stronger.
9442 Handle ASYNC messages.
9444 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9445 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9446 Expect ASYNC_DONE messages.
9448 2007-03-19 Wim Taymans <wim@fluendo.com>
9450 * docs/gst/gstreamer-sections.txt:
9451 * gst/gstmessage.c: (gst_message_new_async_start),
9452 (gst_message_new_async_done), (gst_message_parse_info),
9453 (gst_message_parse_async_start):
9455 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9458 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9460 * tools/gst-inspect.c:
9461 (print_plugin_automatic_install_info_codecs):
9462 Now that we don't check for the 'Codec' keyword any longer in the
9463 klass, we shouldn't spew a warning if the klass isn't a decoder or
9464 encoder (since it might be a Source/Network, for example).
9466 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9468 * tools/gst-inspect.c:
9469 (print_plugin_automatic_install_info_codecs):
9470 Don't require decoder/demuxer/depayloader elements or
9471 encoder/muxer/paylader elements to have 'Codec' as part of their
9472 factory class string when introspecting a plugin's capabilities.
9473 draft-klass.txt mentions that it might be removed in future, and
9474 flump3dec doesn't have it as part of its class string, so chances
9475 are others might also not have it.
9477 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9499 Update translations from translation project
9501 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9503 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9504 (gst_child_proxy_set_property):
9505 Invert precondition check to be alike the ones in the mimiced gobject
9508 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9510 * docs/design/draft-tagreading.txt:
9511 * docs/random/ensonic/audiobaseclasses.txt:
9512 Do some Architect work.
9514 * gst/gstobject.c: (gst_object_set_name):
9518 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9520 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9522 * gst/gstsystemclock.c: (gst_system_clock_init),
9523 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9524 Defer starting the async system clock thread until the first async
9525 wait is scheduled. Fixes #414986.
9527 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9529 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9530 (gst_single_queue_free):
9531 Fix small leak (free GstSingleQueue structure too, not only contents).
9533 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9535 * gst/gstbin.c:(gst_bin_add):
9536 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9537 * win32/common/libgstbase.def:
9538 * win32/common/libgstreamer.def:
9539 Add new exported functions.
9541 2007-03-09 Wim Taymans <wim@fluendo.com>
9543 * docs/plugins/gstreamer-plugins-sections.txt:
9546 2007-03-09 Wim Taymans <wim@fluendo.com>
9548 * docs/gst/gstreamer-sections.txt:
9549 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9551 Add metadata copy functions. Fixes #393099.
9552 API: gst_buffer_copy_metadata()
9554 * gst/gstutils.c: (gst_buffer_stamp):
9555 * libs/gst/base/gstbasetransform.c:
9556 (gst_base_transform_prepare_output_buffer):
9557 Use new metadata copy functions.
9559 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9561 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9562 (gst_identity_init), (gst_identity_check_perfect),
9563 (gst_identity_check_imperfect_timestamp),
9564 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9565 (gst_identity_set_property), (gst_identity_get_property):
9566 * plugins/elements/gstidentity.h:
9567 Separate out check-imperfect-timestamp and check-imperfect-offset.
9568 Put back check-perfect as it was to keep compatibility.
9570 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9572 * gst/gstelement.c: (gst_element_dispose):
9573 There's no need to warn if VOID_PENDING is not NONE here, as
9574 long as the state is NULL it's ok, and that's checked immediately
9577 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9579 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9580 Fix check for perfect stream to ignore buffers with -1
9581 offsets/offset ends when checking data contiguity.
9583 2007-03-08 Wim Taymans <wim@fluendo.com>
9585 * tools/gst-launch.c: (event_loop):
9586 Print INFO messages.
9588 2007-03-08 Wim Taymans <wim@fluendo.com>
9590 * libs/gst/base/gstbasetransform.c:
9591 (gst_base_transform_sink_eventfunc),
9592 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9593 (gst_base_transform_activate):
9594 * libs/gst/base/gstbasetransform.h:
9595 Add support for dropping buffers with custom GstFlowReturn.
9596 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9597 buffers or dropped buffers.
9599 * docs/libs/gstreamer-libs-sections.txt:
9600 docs for new custom return code.
9602 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9603 Use drop support in base class to implement drop-probability.
9605 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9607 * gst/gst.c: (load_plugin_func):
9608 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9609 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9610 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9611 Remove newlines at end of debug log strings.
9613 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9615 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9616 Only post bus message at max, once per buffer received.
9618 2007-03-07 Wim Taymans <wim@fluendo.com>
9620 * docs/design/Makefile.am:
9621 * docs/design/part-synchronisation.txt:
9622 Add doc about synchronisation
9624 * docs/design/draft-latency.txt:
9625 * docs/design/part-TODO.txt:
9626 * docs/design/part-clocks.txt:
9627 * docs/design/part-events.txt:
9628 * docs/design/part-gstbus.txt:
9629 * docs/design/part-gstpipeline.txt:
9630 * docs/design/part-live-source.txt:
9631 * docs/design/part-messages.txt:
9632 * docs/design/part-overview.txt:
9633 * docs/design/part-streams.txt:
9634 * docs/design/part-trickmodes.txt:
9635 Documentation updates.
9637 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9640 Update the doap file.
9642 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9644 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9645 Rename non-perfect to imperfect for Mike and for the sanctity of the
9647 Also make sure bus message gets emitted for data-incontiguities.
9649 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9651 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9652 (gst_identity_start):
9653 * plugins/elements/gstidentity.h:
9654 Emit bus message if check-perfect is true and we encounter a
9655 non-perfect stream between 2 consecutive buffers.
9658 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9663 === release 0.10.12 ===
9665 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9668 releasing 0.10.12, "Inevitable Demise"
9670 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9673 Version 0.10.11.2 (0.10.12 pre-release)
9674 Bump libtool versioning.
9676 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9678 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9679 Log flow-names and not numbers.
9681 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9684 Convert to new AG_GST style.
9686 2007-02-28 Wim Taymans <wim@fluendo.com>
9688 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9689 Don't unref query twice.
9691 2007-02-28 Wim Taymans <wim@fluendo.com>
9693 * gst/gstvalue.c: (gst_value_transform_object_string),
9694 (_gst_value_initialize):
9695 Implement GstObject -> string transform so we print object names
9696 when serializing GValues containing GstObjects.
9698 2007-02-28 Wim Taymans <wim@fluendo.com>
9700 * docs/gst/gstreamer-sections.txt:
9701 Add new stuff to docs.
9703 2007-02-28 Wim Taymans <wim@fluendo.com>
9705 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9706 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9707 (gst_base_sink_change_state):
9708 Improve latency query code.
9709 Don't leak latency events.
9711 * tests/check/gst/gstbin.c: (GST_START_TEST):
9714 2007-02-28 Wim Taymans <wim@fluendo.com>
9716 * gst/gstelement.c: (gst_element_message_full),
9717 (gst_element_get_state_func):
9719 Improve docs a little. Added Since: for new macro.
9721 * gst/gstobject.c: (gst_object_sink):
9722 * gst/gstpipeline.c: (gst_pipeline_change_state),
9723 (gst_pipeline_set_new_stream_time):
9724 * gst/gstpipeline.h:
9725 Improve debugging and docs.
9727 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9730 2007-02-28 Wim Taymans <wim@fluendo.com>
9732 * gst/gstelement.c: (gst_element_message_full),
9733 (gst_element_set_locked_state), (gst_element_get_state_func),
9734 (gst_element_change_state):
9735 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9736 Documentation updates.
9737 Small code cleanups.
9739 * gst/gstmessage.c: (gst_message_new_info),
9740 (gst_message_parse_info):
9742 API: gst_message_new_info()
9743 API: gst_message_parse_info()
9744 Add INFO message create and parse code.
9746 2007-02-28 Wim Taymans <wim@fluendo.com>
9748 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9749 (bin_query_latency_done):
9750 Also report the live parameter of a latency query.
9752 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9754 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9755 Copy the current generic/states example from -base and adapt so
9756 we can use the exact same code everywhere.
9757 Check a STATES_IGNORE_ELEMENTS env var which can be used
9758 to ignore certain element factories for this test, which is
9759 what is being done in -base
9760 * tests/check/Makefile.am:
9761 Mention this environment variable.
9763 2007-02-27 Wim Taymans <wim@fluendo.com>
9765 * docs/gst/gstreamer-sections.txt:
9766 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9767 (gst_bus_timed_pop), (gst_bus_pop):
9769 API: gst_bus_timed_pop()
9770 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9771 message to arrive on the bus.
9773 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9775 Two unit tests for new _timed_pop() function.
9777 2007-02-23 Wim Taymans <wim@fluendo.com>
9779 * gst/gstpipeline.c: (gst_pipeline_change_state),
9780 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9781 Don't ref a NULL clock in _provide_clock_func().
9782 Don't allow an INVALID delay.
9783 Don't try to calculate base_time with an invalid start_time.
9784 Also distribute and notify a NULL clock when it was selected.
9786 * tools/gst-launch.c: (event_loop):
9787 Don't crash when a NULL clock was selected in the pipeline.
9789 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9791 * docs/design/Makefile.am:
9792 * docs/design/draft-missing-plugins.txt:
9793 * docs/random/draft-missing-plugins.txt:
9794 Some small updates: update plugin system identifier prefix
9795 ('gstreamer.net' to 'gstreamer'), mention our new install
9796 API in libgstbaseutils rather than libgimme-codec, add
9797 reference to the online docs.
9799 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9801 * win32/common/config.h:
9802 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9803 use moap cl ci to only check in what is mentioned in the ChangeLog.
9805 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * docs/gst/gstreamer-sections.txt:
9809 Fix up documentation to link to the correct GstGError section.
9810 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9812 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9814 * tools/gst-launch.c: (event_loop):
9815 Make sure that we actually show the important message part of a
9817 No need to check if the gerror is not NULL to free; first of all
9818 g_free accepts NULL; and second the default error handler would
9819 segfault if gerror was NULL.
9821 2007-02-21 Wim Taymans <wim@fluendo.com>
9823 * docs/gst/gstreamer-sections.txt:
9824 Removed docs as well.
9826 2007-02-21 Wim Taymans <wim@fluendo.com>
9828 * gst/gstmessage.c: (gst_message_parse_duration):
9830 Remove new messages for release.
9832 2007-02-20 Wim Taymans <wim@fluendo.com>
9834 * docs/design/part-gstghostpad.txt:
9835 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9836 (gst_ghost_pad_new_full):
9837 Make the ghostpad a parent of the internal pad again for better backward
9838 compatibility. Don't write code that relies on this however.
9840 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9841 (gst_pad_link_check_hierarchy):
9842 Require that parents should be GstElements in the hierarchy check.
9844 2007-02-20 Wim Taymans <wim@fluendo.com>
9846 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9847 (gst_bin_change_state_func), (bin_query_min_max_init),
9848 (bin_query_latency_fold), (bin_query_latency_done),
9851 Implement latency query.
9853 2007-02-20 Wim Taymans <wim@fluendo.com>
9855 * docs/design/part-gstghostpad.txt:
9856 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9857 (gst_ghost_pad_internal_do_activate_push),
9858 (gst_ghost_pad_internal_do_activate_pull),
9859 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9860 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9861 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9862 Do not set the internal pad as a parent anymore so we can avoid
9863 hierarchy linking errors when the ghostpad has no parent yet. This also
9864 fixes failed activation because of unlinked internal pads, which in
9865 turn fixes the impossible case where you have to activate a pad before
9866 you can add it to a running element.
9869 * gst/gstpad.c: (pre_activate), (post_activate),
9870 (gst_pad_set_active), (gst_pad_activate_pull),
9871 (gst_pad_activate_push), (gst_pad_check_pull_range):
9872 Add some more debug info.
9873 Mark activation mode in pre_activate so that we don't try to activate in
9874 endless loops. Fixes #385084.
9876 2007-02-19 Wim Taymans <wim@fluendo.com>
9878 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9879 (gst_base_transform_check_get_range):
9880 Implement a checkgetrange function instead of relying on the default
9881 core behaviour that assumes we can operate in pull mode if we have a
9882 getrange function. First step at fixing #385084.
9884 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9886 * gst/gstchildproxy.h:
9887 * libs/gst/base/gstbasesink.h:
9888 * libs/gst/base/gstbasesrc.h:
9889 * libs/gst/base/gstbasetransform.h:
9890 More docs coverage and some ChangeLog surgery (add missing names)
9892 2007-02-15 Wim Taymans <wim@fluendo.com>
9894 * docs/design/part-TODO.txt:
9895 * docs/design/part-activation.txt:
9896 * docs/design/part-block.txt:
9897 * docs/design/part-buffering.txt:
9898 * docs/design/part-clocks.txt:
9899 * docs/design/part-element-source.txt:
9900 * docs/design/part-events.txt:
9901 * docs/design/part-gstbin.txt:
9902 * docs/design/part-gstbus.txt:
9903 * docs/design/part-gstpipeline.txt:
9904 * docs/design/part-live-source.txt:
9905 * docs/design/part-messages.txt:
9906 * docs/design/part-overview.txt:
9907 * docs/design/part-qos.txt:
9908 * docs/design/part-query.txt:
9909 * docs/design/part-states.txt:
9910 * docs/design/part-trickmodes.txt:
9911 Some doc updates. Start renaming from stream_time to running_time where
9912 it was used wrongly.
9914 2007-02-15 Wim Taymans <wim@fluendo.com>
9916 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9917 Answer LATENCY query.
9919 2007-02-15 Wim Taymans <wim@fluendo.com>
9921 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9925 2007-02-15 Wim Taymans <wim@fluendo.com>
9927 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9928 (gst_pad_dispatcher):
9929 Improve debugging of default pad dispatcher and query functions.
9931 2007-02-15 Wim Taymans <wim@fluendo.com>
9933 * docs/gst/gstreamer-sections.txt:
9934 Remove old unused method.
9936 2007-02-13 Wim Taymans <wim@fluendo.com>
9938 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9941 2007-02-13 Wim Taymans <wim@fluendo.com>
9943 * docs/design/part-seeking.txt:
9946 * gst/gstsegment.c: (gst_segment_set_seek):
9947 Revert old bogus change that should make seeking work again.
9949 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9951 * docs/random/ensonic/dynlink.txt:
9952 * docs/random/ensonic/interfaces.txt:
9953 * docs/random/ensonic/receipies.txt:
9954 Possible dynamic reconnection api, plus some type fixes the other two
9957 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9959 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9960 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9961 Also check for an absolute path following file:// in the filesrc
9962 element. Remove redundant check and call g_path_is_absolute() on the
9965 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9967 * docs/design/draft-klass.txt:
9968 Add existing category analysis.
9971 Fix doc example, framerate is a fraction.
9973 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9976 * docs/gst/Makefile.am:
9977 * docs/gst/gstreamer-sections.txt:
9978 * docs/libs/Makefile.am:
9979 Erm, forgot a bunch of --extra-dir.
9981 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9984 * docs/gst/Makefile.am:
9985 * docs/libs/Makefile.am:
9986 * docs/plugins/Makefile.am:
9987 Add crossreferences to glib/gobject docs.
9989 2007-02-12 Wim Taymans <wim@fluendo.com>
9991 * docs/design/draft-latency.txt:
9994 * docs/libs/gstreamer-libs-sections.txt:
9995 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9996 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9997 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9998 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9999 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10000 (gst_base_sink_get_position), (gst_base_sink_query),
10001 (gst_base_sink_change_state):
10002 * libs/gst/base/gstbasesink.h:
10003 API: gst_base_sink_query_latency() to let subclasses query the upstream
10005 API: gst_base_sink_get_latency() to let subclasses query the configured
10006 latency in the sink.
10007 Implement query and set latency.
10009 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10010 don't continue preroll when we are flushing. Fixes #405284.
10012 * tests/check/pipelines/stress.c: (change_state_timeout),
10013 (quit_timeout), (GST_START_TEST), (stress_suite):
10016 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10018 Patch by: René Stadler <mail at renestadler de>
10020 * docs/gst/gstreamer-sections.txt:
10021 * gst/gsttaglist.c: (_gst_tag_initialize):
10022 * gst/gsttaglist.h:
10023 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10025 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10027 * docs/libs/Makefile.am:
10028 Fix path to core docs.
10030 * gst/gstbin.c: (gst_bin_get_by_interface),
10031 (gst_bin_iterate_all_by_interface):
10032 Refix docs by also renaming 'interface' to 'iface' in implementation.
10034 * docs/gst/gstreamer-sections.txt:
10036 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10037 * gst/gstchildproxy.h:
10038 * gst/gstelementfactory.c:
10039 * gst/gstpadtemplate.h:
10040 * libs/gst/controller/gstcontroller.c:
10041 (gst_controlled_property_new):
10044 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10046 * gst/gstbin.h:(gst_bin_get_by_interface),
10047 (gst_bin_iterate_all_by_interface):
10048 Replace interface parameter name by iface as interface is
10049 a reserved keyword in Visual Studio for C++ projects so it removes
10050 a build error for application developpers using VS.
10051 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10052 Fix a bug on Windows in uri format check. Now the prefix checked
10053 is file:// and next we check if the path after file:// is absolute.
10054 * win32/common/libgstbase.def:
10055 * win32/common/libgstdataprotocol.def:
10056 * win32/common/libgstgstreamer.def:
10057 Add new exported functions.
10059 2007-02-09 Andy Wingo <wingo@pobox.com>
10061 * tests/check/pipelines/simple-launch-lines.c
10062 (simple_launch_lines_suite, test_tee): Disable tee test until I
10063 have time to fix it :-(
10065 * tests/check/Makefile.am (noinst_HEADERS):
10066 * tests/check/libs/libsabi.c:
10067 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10068 * tests/check/gst/gstabi.c:
10069 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10071 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10072 tests for push and pull tee behavior.
10074 * plugins/elements/gsttee.h:
10075 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10076 mark as deprecated as well as unimplemented. It was a crack idea.
10077 Add support for tee operating in pull mode, off by default.
10079 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10080 normal-case logs down to LOG, raise errors to WARNING.
10081 (gst_registry_xml_read_cache): Don't log before calling a function
10084 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10085 exit (registry finalize).
10086 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10087 DEBUG log when we emit signals that people don't even have the
10088 chance to connect to.
10089 (gst_registry_scan_path_level): Less logging in the normal case.
10091 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10093 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10095 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10096 Correctly generate EOS for non-seekable files. We don't have a total
10097 length for them and would get an unexpected end of file if we only
10098 special-cased for regular files. (Fixes: #404569)
10100 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10102 * tests/check/elements/filesrc.c: (GST_START_TEST),
10104 Add unit test for the GstURIHandler interface in filesrc. This also
10105 tests the newly added file://localhost/foo/bar support.
10107 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10109 * gst/gstelementfactory.h:
10110 The klass string is not a hierarchy. Add reference to the design doc
10111 for more information and common types.
10113 2007-02-02 Wim Taymans <wim@fluendo.com>
10115 * gst/gstquery.c: (gst_query_new_latency):
10116 Remove old structure field.
10118 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10120 * tools/gst-launch.1.in:
10121 Give example for network streaming (#351998)
10123 2007-02-02 Wim Taymans <wim@fluendo.com>
10125 * docs/gst/gstreamer-sections.txt:
10126 Add docs for new methods.
10128 * gst/gstevent.c: (gst_event_new_latency),
10129 (gst_event_parse_latency):
10131 Add new LATENCY event to configure latency in a pipeline.
10132 API: gst_event_new_latency
10133 API: gst_event_parse_latency
10135 * gst/gstmessage.c: (gst_message_new_buffering),
10136 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10137 (gst_message_new_latency), (gst_message_parse_buffering),
10138 (gst_message_parse_lost_preroll):
10139 * gst/gstmessage.h:
10140 Added messages used in draft-latency.
10141 API: gst_message_new_lost_preroll
10142 API: gst_message_parse_lost_preroll
10143 API: gst_message_new_prerolled
10144 API: gst_message_new_latency
10146 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10147 (gst_query_parse_latency):
10149 Implemented new latency query as in design doc.
10150 API: gst_query_new_latency
10151 API: gst_query_set_latency
10152 API: gst_query_parse_latency
10154 2007-02-02 Wim Taymans <wim@fluendo.com>
10156 * docs/design/draft-latency.txt:
10157 Slight redesign to allow for dynamic latency adjustments.
10159 * docs/design/part-negotiation.txt:
10162 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10164 reviewed by: Wim Taymans <wim@fluendo.com>
10166 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10167 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10168 Allow file://localhost/foo/bar URLs and correctly fail for every other
10169 hostname that one sets. This was gnomevfssrc is linked for those if
10170 installed as it can handle it (#403172)
10172 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10174 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10176 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10177 (unref_data), (gst_collect_pads_add_pad_full):
10178 * libs/gst/base/gstcollectpads.h:
10179 Don't put the previously added destroy notify in the GstCollectData
10180 struct as all it's padding is already used and we don't want to break
10181 ABI. Instead put in the pad's GObject data for now. This should be
10182 cleaned up for 0.11 (#402393).
10184 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10186 reviewed by: Wim Taymans <wim@fluendo.com>
10188 * docs/libs/gstreamer-libs-sections.txt:
10189 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10190 (unref_data), (gst_collect_pads_add_pad),
10191 (gst_collect_pads_add_pad_full):
10192 * libs/gst/base/gstcollectpads.h:
10193 API: Add function to specify a destroy notification for custom
10194 GstCollectData when adding new pads in GstCollectPads (#402393).
10196 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10199 Update Swedish translation (#378255).
10201 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10203 * docs/design/draft-klass.txt:
10204 Fix the previous change, this is a list of categories and not a hierarchy.
10206 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10208 * docs/design/draft-klass.txt:
10209 Add info about how to get a list of used classes.
10211 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10213 * plugins/elements/gsttypefindelement.c:
10214 (gst_type_find_element_chain_do_typefinding),
10215 (gst_type_find_element_change_state):
10216 Don't leak found caps in chain function (no idea why that never
10217 showed up as a leak anywhere).
10219 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10222 Fix and expand GstPluginDesc API docs.
10224 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10227 * gst/gstelementfactory.c:
10228 * gst/gstpadtemplate.h:
10231 * libs/gst/controller/gstcontroller.c:
10232 (gst_controlled_property_new):
10233 * tests/examples/controller/audio-example.c:
10236 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10239 comment about refining the xml deps
10241 * docs/manuals.mak:
10242 comments about moving away from jade for docs
10245 recommit the ifdefs to use the binary registry
10247 * gst/gstbin.c: (gst_bin_change_state_func):
10248 this break is obsolete
10250 * gst/gstelementfactory.h:
10251 better GST_ELEMENT_DETAILS docs, add comment about translation
10256 * gst/gstobject.c: (gst_signal_object_get_type):
10257 add G_UNLIKELY as usual
10259 * gst/gstpad.c: (gst_pad_event_default):
10260 add fall trhu comment
10262 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10263 (gst_registry_binary_initialize_magic),
10264 (gst_registry_binary_save_string),
10265 (gst_registry_binary_save_pad_template),
10266 (gst_registry_binary_save_feature),
10267 (gst_registry_binary_save_plugin),
10268 (gst_registry_binary_write_cache),
10269 (gst_registry_binary_check_magic),
10270 (gst_registry_binary_load_pad_template),
10271 (gst_registry_binary_load_feature),
10272 (gst_registry_binary_load_plugin),
10273 (gst_registry_binary_read_cache):
10274 comment typo and formatting
10276 * gst/gstutils.c: (gst_element_state_get_name),
10277 (gst_element_state_change_return_get_name):
10278 remove obsolete breaks
10280 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10281 add FIXME 0.11 and remove cpp comment
10283 2007-01-29 Edward Hervey <edward@fluendo.com>
10285 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10286 Fix print statement in an even more portable way.
10288 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10290 * docs/gst/gstreamer-sections.txt:
10292 API: add GST_ROUND_DOWN_* macros (#401781).
10294 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10296 * docs/gst/gstreamer.types.in:
10297 * gst/gstregistry.c: (gst_registry_class_init):
10298 Document registry signals and make gtk-doc pick them up (#401381).
10300 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10302 * docs/pwg/building-testapp.xml:
10303 Add some audioconverts and audioresample to the pipeline, and some
10304 more comments and error handling.
10306 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10308 * docs/manual/manual.xml:
10309 * docs/pwg/pwg.xml:
10310 Fix typo (#400987).
10312 2007-01-26 Wim Taymans <wim@fluendo.com>
10314 * gst/gstcaps.c: (gst_static_caps_get):
10315 Init caps flags too.
10317 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10319 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10321 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10322 If not using mmap'ed files try to seek to the end instead of the
10323 start to determine whether we can seek at all. This fixes the case
10324 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10325 seeks for everything afterwards fail. Fixes #400656
10327 2007-01-25 Wim Taymans <wim@fluendo.com>
10329 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10330 Add some refcount debugging.
10331 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10332 in multiple streaming threads.
10334 2007-01-25 Wim Taymans <wim@fluendo.com>
10336 Patch by: David Schleef <ds at schleef dot org>
10338 * docs/libs/gstreamer-libs-sections.txt:
10339 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10340 * libs/gst/base/gstadapter.h:
10341 API: gst_adapter_copy() that can reduce the amount of memcpy when
10342 getting data from the adapter. Fixes #388201.
10344 2007-01-25 Edward Hervey <edward@fluendo.com>
10346 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10347 In print statements, "%x" is for guint. Fixes build on macosx.
10349 2007-01-24 Edward Hervey <edward@fluendo.com>
10351 * plugins/elements/gstmultiqueue.c:
10352 (gst_multi_queue_loop):
10354 (single_queue_overrun_cb), (single_queue_underrun_cb),
10355 (single_queue_check_full), (gst_single_queue_new):
10356 Implement single queue growth system.
10357 This uses the extra-size properties, and will grow single queues by
10358 that much if one goes full whereas there are others empty. This is
10359 called extra-mode in the code.
10360 When a single queue's levels go back below the initial max-size
10361 limits, it is no longer in extra-mode. This is to ensure we don't
10362 consume too much memory.
10365 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10367 * gst/gst.c: (gst_init_get_option_group):
10368 Make warning about late g_thread_init() calls a bit more explicit,
10369 so that it's more obvious to application developers what they need
10370 to do if a user files a bug against their application.
10372 2007-01-22 Edward Hervey <edward@fluendo.com>
10374 * plugins/elements/gstmultiqueue.c:
10375 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10376 Remove previous hack of unsetting the flushing flag for the source pad
10377 instead of activating it. Instead, fix the source pad activate function
10378 so that it no longer depends on having a parent set or not.
10380 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10382 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10384 * docs/manual/basics-bus.xml:
10385 Fix example code, gst_element_unref() doesn't exist any longer.
10387 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10389 Patch by: Mark Nauwelaerts <manauw at skynet be>
10392 Fix two docs typoes (#399094).
10394 2007-01-19 Edward Hervey <edward@fluendo.com>
10396 * docs/faq/gst-uninstalled:
10397 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10398 depending on libgstbaseutils can work in uninstalled environment.
10400 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10402 * gst/gsttaglist.h:
10403 * gst/gsttagsetter.c:
10404 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10405 statement for new tag.
10407 2007-01-17 Edward Hervey <edward@fluendo.com>
10409 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10410 When dynamically creating single queues, activate sinkpad before adding
10412 We should be doing the same thing for the source pad, but we can't
10413 since it would call a method which needs the parent to be set in order
10414 to work propertly. Instead of activating the source pad, we just unset
10415 the flushing flag, which is the minimal requirement for adding a pad
10416 to an element in a state greater than READY.
10418 2007-01-17 Edward Hervey <edward@fluendo.com>
10420 * docs/faq/gst-uninstalled:
10421 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10424 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10426 * tests/check/gst/gstabi.c:
10427 * tests/check/gst/struct_hppa.h:
10428 * tests/check/libs/libsabi.c:
10429 * tests/check/libs/struct_hppa.h:
10430 Add ABI structs for HPPA (see #393796).
10432 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10434 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10435 Actually write ABI structs to the file specified in the GST_ABI
10436 environment variable, as the message we print claims we would.
10438 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10440 * tests/check/gst/gsttask.c:
10441 Fix header comment.
10443 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10445 * gst/gsttaglist.c: (_gst_tag_initialize):
10446 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10447 previous two entries.
10449 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10451 * docs/gst/gstreamer-sections.txt:
10452 * gst/gsttaglist.c: (_gst_tag_initialize):
10453 * gst/gsttaglist.h:
10454 Add tag support for beat-per-minute.
10456 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10458 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10459 (gst_registry_binary_initialize_magic),
10460 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10461 (gst_registry_binary_save_pad_template),
10462 (gst_registry_binary_save_feature),
10463 (gst_registry_binary_save_plugin),
10464 (gst_registry_binary_write_cache),
10465 (gst_registry_binary_check_magic),
10466 (gst_registry_binary_load_pad_template),
10467 (gst_registry_binary_load_feature),
10468 (gst_registry_binary_load_plugin),
10469 (gst_registry_binary_read_cache):
10470 * gst/gstregistrybinary.h:
10471 Use glib types, cleanup comments, impement interfaces and uri-types.
10473 2007-01-13 Andy Wingo <wingo@pobox.com>
10475 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10476 getrange() to return buffers with other caps, while we fix
10477 demuxers and typefind, or otherwise change part-negotiation.txt.
10479 2007-01-12 Andy Wingo <wingo@pobox.com>
10481 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10482 Factor start/stop into this private function instead of partially
10483 in activate functions and partially in the change_state function.
10484 Fixes setup before the element has changed from READY->PAUSED, as
10485 is the case in pull-mode pipelines.
10486 (gst_base_transform_sink_activate_push)
10487 (gst_base_transform_src_activate_pull): Refactor to use
10488 gst_base_transform_activate().
10489 (gst_base_transform_change_state): Removed, not needed any more.
10491 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10492 Truncate before fixating.
10494 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10495 Don't set_caps() if the result of fixating is ANY, as it's not
10496 supported, and not necessary in the case of a link with no
10497 template caps on either side. Fixes tests/check/libs/basesrc in
10498 some pull-mode tests.
10500 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10501 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10502 (gst_base_transform_src_activate_pull):
10503 Track the activation mode.
10504 (gst_base_transform_setcaps): In pull mode, when activating the
10505 src pad, after activating the sink pad, activate the sink pad's
10506 peer, as discussed in part-negotiation.txt.
10508 * libs/gst/base/gstbasesrc.h:
10509 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10510 vmethod, as in basesink.
10512 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10514 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10515 mode, first proxy the setcaps to the peer pad.
10516 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10517 new fixate vmethod.
10518 (gst_base_sink_default_activate_pull): Rename from
10519 gst_base_sink_activate_pull.
10520 (gst_base_sink_negotiate_pull): New function, performs negotiation
10521 in pull mode before calling ::activate_pull().
10522 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10523 vmethod instead of the default implementation. I have no idea how
10524 this worked before. Negotiate before calling activate_pull.
10526 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10527 sink pads in pull mode. In addition to being correct, fixes
10528 filesrc ! decodebin ! identity ! fakesink.
10529 (gst_pad_get_range, gst_pad_pull_range): Don't call
10530 gst_pad_set_caps() if the caps changes; instead error out with
10531 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10533 2007-01-12 Andy Wingo <wingo@pobox.com>
10535 * docs/design/part-negotiation.txt: Update with more policy.
10537 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10539 * libs/gst/check/gstbufferstraw.h:
10540 * libs/gst/check/gstcheck.h:
10541 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10544 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10546 * tests/check/Makefile.am:
10547 * tests/check/gst/.cvsignore:
10548 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10549 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10550 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10551 (GST_START_TEST), (gst_tag_setter_suite):
10552 Add minimal unit test for beforementioned GstTagSetter bug.
10554 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10556 Patch by: René Stadler <mail at renestadler dot de>
10558 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10559 gst_tag_list_merge() returns a new list, so it's not the best idea
10560 to ingore its return value. Effectively meant that tags could only
10561 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10562 Also add function guard to require a non-NULL taglist as input (has
10563 always been so due to gst_tag_list_copy(), just making it explicit).
10565 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10567 * docs/random/draft-missing-plugins.txt:
10568 Some additions: mention new API that is supposed to be used at the
10569 various stages; short blob about new gst-inspect introspection
10570 option; mention potential future problem with plugins that have
10571 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10573 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10575 * tools/gst-inspect.c:
10576 (print_plugin_automatic_install_info_codecs),
10577 (print_plugin_automatic_install_info_protocols),
10578 (print_plugin_automatic_install_info), (main):
10579 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10580 introspect plugin files and get machine-parsable output that corresponds
10581 to the last bit of the missing-plugin installer string (small gotcha:
10582 doesn't take into account ranks).
10584 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10587 * docs/gst/gstreamer-sections.txt:
10589 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10590 (gst_registry_lookup_locked):
10591 * gst/gstregistry.h:
10592 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10593 (gst_registry_binary_initialize_magic),
10594 (gst_registry_binary_save_string),
10595 (gst_registry_binary_save_pad_template),
10596 (gst_registry_binary_save_feature),
10597 (gst_registry_binary_save_plugin),
10598 (gst_registry_binary_write_cache),
10599 (gst_registry_binary_check_magic),
10600 (gst_registry_binary_load_pad_template),
10601 (gst_registry_binary_load_feature),
10602 (gst_registry_binary_load_plugin),
10603 (gst_registry_binary_read_cache):
10604 * gst/gstregistrybinary.h:
10605 * gst/gstregistryxml.c: (load_feature),
10606 (gst_registry_xml_read_cache):
10607 commit binary registry (disabled by default, see #359653)
10609 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10611 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10612 Fix 'make check' too.
10614 2007-01-10 Andy Wingo <wingo@pobox.com>
10616 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10619 * docs/design/part-negotiation.txt: Update with, um, one way that
10620 pull-mode negotiation might work?
10623 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10624 that the pad must be a src pad; makes sense to call it the other
10625 way in pull mode, and the logic is symmetric anyway.
10627 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10629 * plugins/elements/gstfilesink.c:
10630 Include <stdio.h> for fseeko().
10632 2007-01-10 Wim Taymans <wim@fluendo.com>
10636 Reserve LATENCY event.
10638 2007-01-09 Wim Taymans <wim@fluendo.com>
10640 * docs/design/draft-latency.txt:
10643 2007-01-09 Wim Taymans <wim@fluendo.com>
10645 * docs/design/draft-latency.txt:
10648 * gst/gstelement.h:
10649 * gst/gststructure.c:
10653 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10655 * tests/check/.cvsignore:
10656 Ignore test-registry.xml as well.
10658 2007-01-09 Wim Taymans <wim@fluendo.com>
10660 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10661 unref data at the end when we are done with the pad.
10663 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10665 * docs/gst/gstreamer-sections.txt:
10666 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10667 (init_post), (gst_deinit), (gst_update_registry):
10669 API: add gst_update_registry() (#391296).
10671 * tests/check/Makefile.am:
10672 * tests/check/gst/gstregistry.c:
10673 * tests/check/gst/.cvsignore:
10674 Simple unit test for the above.
10676 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10678 * gst/gstregistry.c: (gst_registry_scan_path_level):
10679 Plugin extension on HP-UX is .sl, add that to the list of approved
10680 plugin extensions (see #393796).
10682 * tests/check/gst/gstpad.c: (GST_START_TEST):
10683 ulong => gulong. Fixes compilation with HP-UX compiler.
10685 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10686 Fix compilation if valgrind headers are not available.
10688 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10690 * win32/common/libgstreamer.def:
10691 Add new exported function.
10692 * win32/vs6/libgstbase.dsp:
10693 Add gstdataqueue.c to the build.
10694 * win32/vs6/libgstcoreelements.dsp:
10695 Add gstmultiqueue.c to the build.
10697 2007-01-06 Andy Wingo <wingo@pobox.com>
10699 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10700 activate_pull(), providing for a way to specialize the process of
10701 spawning a thread to pull on the sink pad. There is a default
10704 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10705 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10706 (gst_base_sink_init): Renamed pad activation functions (inserting
10707 "_pad" in their names). Refactor to use the new activate_pull
10708 vmethod, as appropriate.
10709 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10710 default activate_pull function to start a task pulling from the
10711 sink pad, as before.
10713 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10714 on the pads if necessary, as in push()/chain(). Update docs.
10715 Shouldn't affect existing pull() usage as it is currently only
10716 being used on buffers without caps.
10718 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10720 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10722 Call g_thread_init() first thing in gst_init() / gst_check_init().
10723 When initialisation is done via gst_init_get_option_group() and
10724 GOption parsing, issue a warning if the GLib thread system has not
10725 been initialised yet by the time gst_init_get_option_group() is
10726 called, as it's quite likely other GLib functions such as
10727 g_option_context_new() have been called already then, and
10728 g_thread_init() must be called before any other GLib function. The
10729 application in question must be fixed in that case, since memory
10730 corruption might happen otherwise.
10731 We issue the warning because even if the GLib folks decide to work
10732 around the problem on their end in future, this is still an issue
10733 with all GLib versions >= 2.10.0, so we should warn until we depend
10734 on a GLib version we know to be safe.
10735 Update documentation as well.
10736 Closes bug #391278.
10738 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10740 * tools/gst-inspect.c: (main):
10741 * tools/gst-launch.c: (main):
10742 * tools/gst-typefind.c: (main):
10743 * tools/gst-xmlinspect.c: (main):
10744 Call g_thread_init() really really early, before any other GLib
10745 function (see #342564 and recent discussion on gtk-devel-list).
10747 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10749 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10751 * gst/gst_private.h:
10752 * gst/gstconfig.h.in:
10754 On win32, all the __declspec stuff for symbol exporting is
10755 apparently only needed with MSVC, but doesn't work with MingW.
10756 Fixes compilation with MingW and #391909.
10758 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10760 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10761 Change some GST_ERROR_OBJECT that aren't really errors to
10762 GST_WARNING_OBJECT in order to reduce terminal spam.
10764 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10766 * tests/check/Makefile.am:
10767 disable test again, as there seem to be still race problems
10769 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10771 * tests/check/Makefile.am:
10772 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10773 (GST_START_TEST), (queue_suite):
10774 enable queue test again, add tests for the leaky behaviour
10776 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10779 * tests/examples/Makefile.am:
10780 Compile adapter test/example only if the required headers are
10781 available (fixes #391915).
10783 2007-01-01 David Schleef <ds@schleef.org>
10786 Restore the previous signal handler for SIGSEGV instead of
10787 setting to default, since we may have stolen it away from
10788 someone. (i.e., Mono)
10790 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10792 * docs/random/draft-missing-plugins.txt:
10793 Some small additions and clarifications.
10795 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10797 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10798 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10799 since that can lead to random memory corruptions and crashes
10800 (may or may not be related to #383244, #386711, and #386711).
10802 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10804 * tests/check/.cvsignore:
10805 * tests/check/Makefile.am:
10806 sync .cvsignome and CLEANFILES
10808 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10810 * tests/check/Makefile.am:
10813 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10815 * docs/design/part-states.txt:
10816 two tiny additional comments
10818 * gst/gststructure.c:
10821 * tests/check/Makefile.am:
10822 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10824 disable test for now, unless it gets fixed
10826 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10828 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10830 fix race in underrun test
10832 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10834 * tests/check/elements/.cvsignore:
10837 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10839 try to narrow test failure
10841 2006-12-21 David Schleef <ds@schleef.org>
10843 * plugins/elements/gstfakesrc.c:
10844 Use g_random_int_range(), since it produces better random
10845 numbers in a range than almost-correct floating point code.
10847 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10849 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10850 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10851 (gst_check_teardown_sink_pad):
10852 do not automatically (de)activate pads
10854 * tests/check/Makefile.am:
10855 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10856 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10857 add new, yet simple tests for queue
10859 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10860 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10861 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10863 * tests/check/elements/identity.c: (cleanup_identity):
10864 consistent pad (de)activation
10866 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10868 Patch by: Sebastian Dröge <slomo ubuntu com>
10870 * libs/gst/base/gstcollectpads.c:
10871 Fix two doc typos (#387866).
10873 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10875 * docs/manual/advanced-dparams.xml:
10876 Fix typo (g_object_control_properties() doesn't exist).
10878 2006-12-19 Edward Hervey <edward@fluendo.com>
10880 * gst/gstsegment.c: (gst_segment_set_seek):
10881 Fine tune the cases where the segment start/stop values are really
10883 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10884 Add tests for the return values of gst_segment_set_seek().
10886 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10891 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10893 Fix incorrect documentation and flesh it out a bit more.
10894 Set default values for the max properties on the GParamSpec as well,
10895 so it shows up correctly in gst-inspect.
10897 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10899 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10900 Correct docs of queue, add more detail and crosslink it more.
10902 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10904 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10905 Print additional debug info when the stream isn't perfectly
10906 timestamped; don't try to use invalid durations.
10908 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10910 * docs/design/Makefile.am:
10911 Dist new design docs.
10913 2006-12-16 Wim Taymans <wim@fluendo.com>
10915 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10917 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10918 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10919 (gst_collect_pads_stop), (gst_collect_pads_event),
10920 (gst_collect_pads_chain):
10921 * libs/gst/base/gstcollectpads.h:
10922 Add refcounting to the collectpads data so we can track when it's safe
10923 to free the data. Fixes #383382.
10925 2006-12-15 Wim Taymans <wim@fluendo.com>
10927 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10928 (gst_collect_pads_remove_pad):
10929 Automatically activate/deactivate pads when they are added to a
10930 started/stoped collectpads.
10932 2006-12-15 Wim Taymans <wim@fluendo.com>
10934 * gst/gstelement.c: (gst_element_add_pad):
10935 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10936 * gst/gstpad.c: (gst_pad_init):
10937 Set pads to FLUSHING when they are created. Check, warn and fix when a
10938 demuxer adds an inactive pad to itself when running. Fixes #339326.
10940 2006-12-15 Wim Taymans <wim@fluendo.com>
10942 * gst/gstelement.c: (gst_element_class_init),
10943 (gst_element_default_send_event), (gst_element_send_event),
10944 (gst_element_default_query), (gst_element_query):
10945 Expose default element send_event and query handling as vmethods that
10946 subclasses can chain up to.
10948 2006-12-15 Wim Taymans <wim@fluendo.com>
10950 * gst/gstelement.c: (gst_element_set_state_func):
10951 Small documentation fixes.
10953 2006-12-15 Wim Taymans <wim@fluendo.com>
10955 * docs/design/draft-latency.txt:
10956 Checked in draft for handling latency in pipelines.
10958 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10962 * gstreamer.spec.in:
10965 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10967 * gst/gst.c: (init_pre), (init_post):
10968 init_pre() and init_post() might be called via our GOptionGroup or
10969 from gst_init(), and we should skip both of them if we've already
10970 been initialised, otherwise we will init some things twice or add
10971 two default log functions.
10973 2006-12-13 Edward Hervey <edward@fluendo.com>
10975 * docs/manual/basics-bus.xml:
10976 No, gst_main_loop does not exist. Its g_main_loop.
10977 Discovered by somebody who abused the copy-paste technique of coding :)
10979 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10981 * gst/gstghostpad.c:
10982 Log ghostpad debug stuff to the GST_PADS category as well rather
10983 than just to the default category.
10985 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10988 * gst/gst.c: (init_pre):
10989 Add some basic system details such as OS and architecture
10990 to the debug output if possible, courtesy of uname().
10992 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10994 * docs/gst/running.xml:
10995 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10996 environment variables.
10998 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11000 * tests/check/gst/gstbin.c: (GST_START_TEST):
11001 It is acceptable to have a refcount of 2 or 3 at this point in the
11002 test, because the pipeline might be just posting its state_change
11003 message. The next line then waits for that message to appear using
11004 bus_poll, so that should be fine too.
11006 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11008 * gst/gst.c: (ensure_current_registry_forking):
11009 Ignore EINTR when reading from the child registry pipe.
11010 Explicitly ignore the return value from close, since it makes no
11013 * gst/gstminiobject.c: (gst_mini_object_ref),
11014 (gst_mini_object_unref):
11015 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11017 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11018 When removing cached plugins, remove their features too, so they're
11019 not visible after they've disappeared.
11021 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11022 In the unlikely case that we are linking pads with no parents, don't
11023 crash trying to get the non-existent parent bin.
11025 * gst/parse/grammar.y:
11026 Output debug in the PIPELINE category
11028 2005-03-08 Wim Taymans <wim@fluendo.com>
11030 Patch by: René Stadler <mail at renestadler dot de>
11032 * gst/gstclock.c: (gst_clock_new_periodic_id):
11033 Reject invalid clock times for interval of periodic ids.
11036 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11038 * gst/gstelementfactory.c: (gst_element_factory_create):
11039 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11040 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11041 * tools/gst-inspect.c: (print_element_info):
11042 Fix refcounting of gst_plugin_feature_load to match the docs.
11045 2006-12-07 Wim Taymans <wim@fluendo.com>
11047 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11048 (gst_base_sink_get_position):
11049 Improve debugging of events.
11051 2006-12-07 Wim Taymans <wim@fluendo.com>
11053 Patch by: René Stadler <mail at renestadler dot de>
11055 * gst/gstclock.c: (gst_clock_id_wait):
11056 Make period ids add the interval to the origial requested time instead
11057 of the possibly updated time which can be wrong when there are multiple
11058 waiters for the same id. Fixes #382592.
11060 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11061 (gst_system_clock_id_wait_jitter_unlocked),
11062 (gst_system_clock_id_wait_jitter):
11063 Fix restart in the async notify thread when an async entry is added to
11064 the front of the list. Fixes #381492.
11066 * tests/check/gst/gstsystemclock.c: (store_callback),
11067 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11068 Added test for multiple async waits.
11069 Added test for async wait order.
11071 2006-12-07 Wim Taymans <wim@fluendo.com>
11073 * gst/gstbin.c: (gst_bin_query):
11074 Add some more docs about the POSITION query.
11076 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11079 Bump version nano - back to CVS.
11081 === release 0.10.11 ===
11083 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11086 releasing 0.10.11, "Love never runs on time"
11088 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11090 * win32/common/libgstbase.def:
11091 * win32/common/libgstreamer.def:
11092 * win32/vs8/libgstbase.vcproj:
11093 * win32/vs8/libgstcoreelements.vcproj:
11094 * win32/vs8/libgstreamer.vcproj:
11095 Fix compilation on win32 under VS8
11096 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11097 Partially fixes #381175
11099 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11101 * gst/gstvalue.c: (gst_value_compare_fraction):
11102 If someone is foolish enough to compare 2 fractions with denominator =
11103 0, return UNORDERED rather than aborting.
11105 2006-11-28 Edward Hervey <edward@fluendo.com>
11107 * libs/gst/base/Makefile.am:
11108 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11109 (gst_data_queue_base_init), (gst_data_queue_class_init),
11110 (gst_data_queue_init), (gst_data_queue_new),
11111 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11112 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11113 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11114 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11115 (gst_data_queue_set_flushing), (gst_data_queue_push),
11116 (gst_data_queue_pop), (gst_data_queue_drop_head),
11117 (gst_data_queue_set_property), (gst_data_queue_get_property):
11118 * libs/gst/base/gstdataqueue.h:
11119 New GstDataQueue object for threadsafe queueing. Most useful for
11120 elements that need some queueing functionnality.
11121 * docs/libs/gstreamer-libs-docs.sgml:
11122 * docs/libs/gstreamer-libs-sections.txt:
11123 Insert documentation for GstDataQueue
11124 * plugins/elements/Makefile.am:
11125 * plugins/elements/gstelements.c:
11126 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11127 (gst_multi_queue_class_init), (gst_multi_queue_init),
11128 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11129 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11130 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11131 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11132 (gst_multi_queue_loop), (gst_multi_queue_chain),
11133 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11134 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11135 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11136 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11137 (wake_up_next_non_linked), (compute_next_non_linked),
11138 (single_queue_overrun_cb), (single_queue_underrun_cb),
11139 (single_queue_check_full), (gst_single_queue_new):
11140 * plugins/elements/gstmultiqueue.h:
11141 New multiqueue element, using GstDataQueue. Used for queuing multiple
11143 Closes #344639 and #347785
11145 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11147 * docs/pwg/advanced-types.xml:
11148 add more missing type details
11150 * tools/gst-run.c: (main):
11151 remove unused variable
11153 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11155 * docs/libs/Makefile.am:
11156 * docs/libs/gstreamer-libs.types:
11157 add types of base classes to enable gobject specific stuff in the docs
11159 * docs/random/ensonic/embedded.txt:
11160 more ideas about isolating platform specific things
11162 2006-11-20 Wim Taymans <wim@fluendo.com>
11164 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11166 * libs/gst/check/gstcheck.h:
11167 Fix compilation and running against 0.9.4. Fixes #377332.
11169 2006-11-20 Wim Taymans <wim@fluendo.com>
11171 * gst/gstsegment.c: (gst_segment_set_seek),
11172 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11173 (gst_segment_to_running_time):
11174 Fix boundary checking in to_running_time() and to_stream_time().
11177 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11178 stream and running time can now be calculated for the complete
11181 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11183 * gst/gstpad.c: (gst_pad_push_event):
11184 Can't access event structure after giving away ownership of
11187 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11189 * docs/random/ensonic/embedded.txt:
11190 * docs/random/ensonic/profiling.txt:
11191 * docs/random/ensonic/receipies.txt:
11194 2006-11-13 Wim Taymans <wim@fluendo.com>
11196 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11199 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11201 2006-11-13 Wim Taymans <wim@fluendo.com>
11203 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11205 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11206 Store new length in segment duration so we don't keep on calling the
11207 potentially expensize get_size() call. Fixes #370865.
11209 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11211 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11213 * win32/common/libgstreamer.def:
11214 Add two missing symbols (#366492).
11216 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11218 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11219 (gst_adapter_take_buffer):
11220 Fix format string to use all its arguments.
11221 Remove useless >= check on a guint
11223 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11225 * tests/examples/adapter/.cvsignore:
11226 Ignore build file as commanded by the build-bot
11228 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11230 * tests/examples/adapter/Makefile.am:
11231 * tests/examples/adapter/adapter_test.c: (run_test_take),
11232 (run_test_take_buffer), (run_tests), (main):
11234 Add new files from the previous commit
11236 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11240 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11241 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11242 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11243 * libs/gst/base/gstadapter.h:
11244 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11245 (GST_START_TEST), (gst_adapter_suite):
11246 * tests/examples/Makefile.am:
11247 Do some optimisation work in GstAdapter to avoid copies in more cases.
11248 It could still do slightly better by merging buffers when
11249 gst_buffer_is_span_fast is true, but is already faster.
11251 Also, avoid traversing a single-linked list to append each incoming
11252 buffer inside the adapter.
11254 Add simple test app that times the adapter behaviour in different
11255 situations, and extend the unit test to check that bytes enter and
11256 exit the adapter in their original order.
11258 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11260 * docs/random/draft-missing-plugins.txt:
11261 Update: use element message instead of adding a new message
11262 type to the core; don't provide GStreamer API to initiate the
11263 plugin download, just provide API to compose the strings needed
11264 and let an external libgimmestuff handle the rest.
11266 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11268 * tools/gst-inspect.c: (print_element_properties_info):
11269 Print a string instead of 'unknown type' for GValueArray properties
11271 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11273 * docs/random/draft-missing-plugins.txt:
11276 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11278 * tests/examples/typefind/typefind.c: (type_found), (main):
11279 Make typefind element example work again (#371894); add a
11282 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11284 * docs/random/draft-missing-plugins.txt:
11285 Commit initial draft about how to deal with missing plugins,
11286 needs work (API too).
11288 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11290 * docs/pwg/advanced-types.xml:
11291 documents the new caps elements (see #363118)
11293 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11295 * gst/gstplugin.c: (gst_plugin_load_file):
11296 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11297 (gst_file_src_map_region), (gst_file_src_start):
11298 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11299 (gst_file_index_commit):
11300 Use g_strerror() instead of strerror() - we want UTF-8.
11302 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11304 Patch by: Peter Kjellerstedt <pkj at axis com>
11306 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11307 Another printf fix (#371493).
11309 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11311 * tests/check/gst/gsttag.c:
11312 relicence (okay with author=company)
11314 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11316 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11317 (gst_pad_push_event):
11318 Enhance debug and improve docs
11323 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11325 * docs/random/ensonic/distributed.txt:
11326 * docs/random/ensonic/profiling.txt:
11329 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11331 * docs/gst/gstreamer-sections.txt:
11332 add new API and fix the build
11334 * gst/gstbin.c: (gst_bin_recalc_state):
11335 * gst/gstelement.c: (gst_element_message_full),
11336 (gst_element_get_state_func), (gst_element_set_state_func):
11337 use new API and improve logging
11339 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11341 API: add function to get StateChangereturn names to improve logs
11343 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11345 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11346 I'm considering shooting the next person to put strerror stuff
11347 in the translateable part of the message.
11349 2006-11-03 Wim Taymans <wim@fluendo.com>
11351 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11352 Get the type and printf conversion specifiers right.
11354 2006-11-03 Wim Taymans <wim@fluendo.com>
11356 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11358 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11359 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11360 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11361 Some small cleanups. Improve debugging.
11363 Signal all waiting threads with a broadcast instead of just one.
11366 2006-11-03 Wim Taymans <wim@fluendo.com>
11368 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11369 (gst_fd_src_create):
11370 Add some debugging.
11371 Only update fd when it's different from the old.
11373 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11375 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11376 Printf fixes for PPC/OSX, take two (#369366).
11378 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11380 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11382 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11383 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11384 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11385 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11386 don't cast to long long for portability reasons, but use
11387 GLib's types instead.
11389 2006-10-30 Michael Smith <msmith@fluendo.com>
11391 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11392 Get the arguments to lseek() the right way around.
11395 2006-10-30 Wim Taymans <wim@fluendo.com>
11397 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11400 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11402 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11404 Patch by: Kjartan Maraas <kmaraas at gnome org>
11406 * docs/design/part-MT-refcounting.txt:
11407 * docs/random/wtay/capsnego2-docs:
11410 Typo fixes (#366212).
11412 2006-10-28 Wim Taymans <wim@fluendo.com>
11414 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11417 * win32/common/libgstbase.def:
11418 * win32/common/libgstreamer.def:
11419 * win32/vs8/libgstbase.vcproj:
11420 * win32/vs8/libgstcontroller.vcproj:
11421 Add needed entries in .def files.
11423 Rearrange def files in vs8 solutions. Fixes #366286.
11425 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11427 * win32/common/gstconfig.h:
11428 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11429 hand-made win32 gstconfig.h. Fixes #366321.
11431 2006-10-27 Wim Taymans <wim@fluendo.com>
11433 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11434 (gst_ghost_pad_new_full):
11435 Make acceptcaps return TRUE when we don't have a target, just like
11438 2006-10-27 Wim Taymans <wim@fluendo.com>
11440 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11441 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11443 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11445 * gst/gststructure.c: (gst_structure_id_set_value):
11446 If someone tries to set a non-UTF8 string field on a structure,
11447 don't just print a warning, but also ignore the request and do
11448 not change/add that field to the structure.
11450 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11451 Test for the above.
11453 2006-10-25 David Schleef <ds@schleef.org>
11456 g_hash_table_insert() needs a cast to a non-const pointer duh.
11458 2006-10-25 David Schleef <ds@schleef.org>
11462 Change name parameter of _gst_debug_register_funcptr to const
11463 to reflect the constness of its use in the function as well
11464 as to quiet a gcc warning.
11466 2006-10-25 Edward Hervey <edward@fluendo.com>
11468 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11469 Don't push the buffer if it's empty.
11472 2006-10-24 Wim Taymans <wim@fluendo.com>
11477 * libs/gst/base/gstbasetransform.c:
11478 (gst_base_transform_sink_eventfunc):
11479 Debug segment values *after* updating them as this is more
11482 2006-10-23 Wim Taymans <wim@fluendo.com>
11484 * docs/design/part-events.txt:
11487 * docs/design/part-block.txt:
11488 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11489 (gst_pad_push_event):
11490 Revert BLOCKING patch, it tries to be smart without really having a
11491 clear idea what or how. So, now we discard all FLUSHING events again on
11492 a blocking pad. Should fix gnonlin again.
11494 2006-10-23 Wim Taymans <wim@fluendo.com>
11496 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11498 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11499 (gst_base_src_start), (gst_base_src_activate_push):
11500 Make sure size is always initialized. Fixes #364388.
11502 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11504 * docs/random/ensonic/distributed.txt:
11505 add some ideas about doing distributed processing
11507 * docs/random/ensonic/profiling.txt:
11508 get_rusage look promising
11510 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11512 * docs/manual/basics-helloworld.xml:
11513 Add a cast in example to fix compile warning
11515 2006-10-18 Wim Taymans <wim@fluendo.com>
11517 * gst/gstsegment.c: (gst_segment_set_last_stop),
11518 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11519 Relax arg checking again, -1 is allowed.
11521 2006-10-18 Wim Taymans <wim@fluendo.com>
11523 * gst/gstsegment.c: (gst_segment_set_last_stop),
11524 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11525 _set_last_stop() must be with a value != -1
11526 A _TYPE_SET to -1 means seek to 0.
11527 Calc last_stop correctly for negative rates.
11528 Make sure we work with positive durations when updating a segment.
11530 2006-10-18 Wim Taymans <wim@fluendo.com>
11532 * docs/design/part-live-source.txt:
11536 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11539 Add an explicit cast to GstBuffer** to keep old code that added an
11540 explicit cast to GstMiniObject** for gst_mini_object_replace()
11541 compiling without warning.
11543 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11545 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11546 check for validity of dates
11548 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11550 * docs/gst/gstreamer-sections.txt:
11551 Forgot this one, makes gtk-doc shut up.
11553 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11555 Patch by: Peter Kjellerstedt <pkj at axis com>
11558 Don't define xmlNodePtr to gpointer if the core was built with
11559 --disable-loadsave and --disable-registry, this will break
11560 applications that want to use libxml2 but are buildling against a
11561 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11562 instead so we don't have to mess with the libxml2 namespace
11565 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11568 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11569 type-punned pointer warnings.
11571 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11573 * gst/gstelement.h:
11574 Add casts to the correct return type to state <=> state transition
11577 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11579 * docs/design/part-live-source.txt:
11580 describe howto handle latency
11582 * docs/random/ensonic/profiling.txt:
11585 * tools/gst-plot-timeline.py:
11586 fix log parsing for solaris, remove unused function
11588 2006-10-16 Wim Taymans <wim@fluendo.com>
11590 * docs/design/part-trickmodes.txt:
11592 Update some docs regarding reverse playback.
11594 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11596 Patch by: Marcus Granado <mrc dot gran at gmail com>
11598 * win32/vs8/grammar.vcproj:
11599 Error out with a warning if glib-genmarshal.exe is not in path,
11600 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11602 2006-10-13 Wim Taymans <wim@fluendo.com>
11604 * gst/gstsegment.c: (gst_segment_set_seek):
11605 When seeking to stop -1, set last_stop (current position) to the
11606 duration of the segment.
11608 2006-10-13 Wim Taymans <wim@fluendo.com>
11610 * gst/gstelement.h:
11611 Clarify _NO_PREROLL a bit more.
11616 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11617 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11618 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11619 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11620 due to wrong locking order. Fixes #361769.
11621 Remove some redundant/misplaced checks in pad_block.
11623 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11624 For negative rates, count backwards from the duration.
11626 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11628 * gst/gsterror.c: (_gst_library_errors_init):
11629 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11630 up with something better).
11632 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11634 * win32/vs6/libgstreamer.dsp:
11635 * win32/vs7/libgstreamer.vcproj:
11636 * win32/vs8/libgstreamer.vcproj:
11637 Don't reference glib-compat.c which is currently not used and not
11638 disted; add gstquark.c which was recently added. Fixes #361730.
11640 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11642 * win32/common/libgstbase.def:
11643 * win32/common/libgstcontroller.def:
11644 * win32/common/libgstreamer.def:
11645 Add gst_caps_merge() and a bunch of other recently-added functions.
11648 2006-10-11 Wim Taymans <wim@fluendo.com>
11650 * docs/plugins/gstreamer-plugins.args:
11651 * docs/plugins/inspect/plugin-coreelements.xml:
11652 * docs/plugins/inspect/plugin-coreindexers.xml:
11653 Update element args.
11655 * gst/gstsystemclock.c:
11656 Small comment update.
11658 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11659 (gst_tee_request_new_pad), (gst_tee_release_pad),
11660 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11661 (gst_tee_sink_activate_pull):
11662 * plugins/elements/gsttee.h:
11664 Add default property defines.
11665 Implement release pad function.
11666 Give properties better blubs etc.
11667 Activate pads before adding them to a running tee.
11668 Do simple buffer_alloc on the first requested pad.
11669 Post error when activation fails.
11671 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11673 * gst/gst.c: (ensure_current_registry_forking):
11674 Check return value of write() to make compiler happy.
11676 2006-10-11 Wim Taymans <wim@fluendo.com>
11678 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11680 * plugins/elements/gstqueue.c: (gst_queue_chain):
11681 Recheck queue filledness after signalling the overrun when we're about
11682 to leak downstream because we released the lock when emitting the signal
11683 and the queue could be empty again. Fixes #352345.
11685 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11687 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11688 Fix refcounting here too, just like we did for _new_valist() a few
11689 days ago (#357180) (thanks to René Stadler). Also remove all those
11690 'Since: 0.9' from the gtk-doc blobs.
11692 * tests/check/libs/controller.c: (controller_refcount_new_list),
11693 (gst_controller_suite):
11694 Unit test for the above.
11696 2006-10-10 Wim Taymans <wim@fluendo.com>
11698 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11700 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11701 (gst_pad_save_thyself):
11703 Write pad direction in XML output. Fixes #345496.
11705 2006-10-10 Wim Taymans <wim@fluendo.com>
11707 Patch by: René Stadler <mail at renestadler dot de>
11709 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11710 (gst_controller_new_list), (_gst_controller_dispose),
11711 (_gst_controller_finalize), (_gst_controller_class_init):
11712 Take ref to controlled object so that it cannot disappear.
11715 2006-10-10 Wim Taymans <wim@fluendo.com>
11717 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11718 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11719 (gst_check_teardown_sink_pad):
11720 Activate/deactivate pads in setup/teardown respectively.
11722 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11724 Patch by: Josep Torra Valles <josep@fluendo.com>
11727 Cast values when making gstenumtypes.h. This pacifies Forte
11728 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11729 in the enumeration.
11731 2006-10-09 Wim Taymans <wim@fluendo.com>
11733 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11734 Rename some more @cur to @start to fix docs.
11736 * gst/gstsegment.c: (gst_segment_set_seek):
11738 time and start must always stay in sync as defined in design doc.
11740 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11741 Rename param to fix docs.
11743 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11744 Check that start and time are in sync.
11746 * tests/check/pipelines/parse-launch.c:
11747 (gst_parse_test_element_change_state):
11748 Activate pad before adding to the element.
11750 2006-10-09 Wim Taymans <wim@fluendo.com>
11752 * docs/design/part-qos.txt:
11757 Update seek event docs regarding negative rates.
11758 Rename @cur to @start.
11760 * gst/gstsegment.c: (gst_segment_set_seek):
11761 * gst/gstsegment.h:
11762 Update set_seek docs regarding negative rates.
11763 Correctly update last_stop to @stop when dealing with negative
11765 Rename @cur to @start.
11767 * tests/check/gst/gstpad.c: (GST_START_TEST):
11768 Activate pads before trying to use them.
11770 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11771 (gst_segment_suite):
11772 Add simple check for segments and negative rates.
11774 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11776 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11777 * gst/gsttaglist.h:
11778 * docs/gst/gstreamer-sections.txt:
11779 API: add gst_tag_list_is_empty() (#360467).
11781 * tests/check/gst/gsttag.c: (GST_START_TEST):
11784 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11786 * gst/gstmessage.h:
11787 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11788 a value that doesn't fit on enumeration.
11790 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11792 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11793 Remove local debugging system and use Gstreamer's instead.
11795 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11797 Patch by: Josep Torra Valles <josep@fluendo.com>
11799 * common/m4/gst-error.m4:
11800 Disable warning of statement not reached on Forte.
11801 * gst/gstmessage.h:
11802 Fix warning on Forte (value doesn't fit on enumeration).
11803 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11804 Fix warning on Forte (value doesn't fit on enumeration).
11805 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11806 DEBUG macro says it takes minimum of 2 args and so Forte
11807 complains about the use with just 1 arg.
11808 * plugins/elements/gstfdsink.c:
11809 * plugins/elements/gstfdsrc.c:
11810 * plugins/elements/gstfilesink.c:
11811 * plugins/elements/gstfilesrc.c:
11812 Use correct return type for the uri handler implementations.
11814 All these fix warnings in Forte. Fixes bug #360860.
11816 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11818 * gst/gstelement.h:
11819 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11820 format string, so don't use G_GNUC_PRINTF for those versions.
11822 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11824 * gst/gsttaglist.c: (gst_is_tag_list):
11825 * gst/gsttaglist.h:
11826 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11828 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11829 Small test for the above.
11831 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11833 * gst/gsttaglist.h:
11834 Less tabs, more spaces.
11836 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11839 Those two function declarations do actually belong there, revert
11840 commit from yesterday that turned them intro macros.
11842 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11844 Patch by: Josep Torra Valles <josep@fluendo.com>
11846 * gst/gst.c: (gst_init_get_option_group):
11847 Fix empty declaration and type mismatch.
11848 * gst/gstbin.c: (gst_bin_change_state_func):
11850 * gst/gstelement.c: (gst_element_continue_state),
11851 (gst_element_set_state_func), (gst_element_change_state),
11852 (gst_element_change_state_func):
11853 Fix type mismatches.
11854 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11855 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11856 Cast as appropriate.
11857 * gst/gstobject.c: (gst_class_signal_connect):
11858 Cast as appropriate. The function pointer parameter really
11859 has the wrong type but would break API if we change it.
11861 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11862 order of including string.h.
11863 * gst/gstutils.c: (gst_element_state_get_name):
11864 Remove unreachable line.
11865 * gst/gstxml.c: (gst_xml_parse_doc):
11867 All these caught by Forte.
11869 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11871 Patch by: Josep Torra Valles <josep@fluendo.com>
11873 * common/m4/gst-error.m4:
11875 We need to disable warnings on Forte for empty declarations
11876 due to gst-indent adding ;s to lines that just use macros
11877 where the macro actually doesn't need a ; at end to end
11880 2006-10-06 Wim Taymans <wim@fluendo.com>
11882 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11883 (gst_file_sink_close_file), (gst_file_sink_event),
11884 (gst_file_sink_render):
11885 Add some FIXME for the NEWSEGMENT handling.
11887 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11889 * gst/parse/grammar.y:
11890 Remove static function gst_parse_element_lock as all it does
11891 is return. Looks like cruft from 0.8.
11893 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11895 Patch by: Josep Torra Valles <josep@fluendo.com>
11897 * common/m4/gst-error.m4:
11899 * libs/gst/net/Makefile.am:
11900 Fix a compilation issue with Forte on Solaris. inet_aton is in
11903 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11905 * gst/gstpad.c: (pre_activate):
11906 * gst/gstregistry.c: (gst_registry_scan_path_level):
11907 * gst/gstregistryxml.c: (load_plugin):
11908 * libs/gst/controller/gstcontroller.c:
11909 (gst_controlled_property_set_interpolation_mode):
11910 * libs/gst/dataprotocol/dataprotocol.c:
11911 (gst_dp_packet_from_event_1_0):
11912 * libs/gst/net/gstnetclientclock.c:
11913 (gst_net_client_clock_observe_times):
11914 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11917 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11920 * docs/gst/gstreamer-sections.txt:
11921 * gst/gstconfig.h.in:
11922 * gst/gstelement.h:
11924 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11925 whether we can use G_GNUC_PRINTF in other header files and at
11926 least check the printf format/arguments of debug messages and
11927 GST_ELEMENT_ERROR messages when the printf extension is not
11929 Replace more tabs with spaces in gstinfo.h and remove two spurious
11930 function declarations in GST_DISABLE_DEBUG part with macros.
11932 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11934 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11935 More docs for the sync-message signal (mention that it is not
11936 emitted by default); log message structures of messages posted on
11939 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11941 * gst/gst.c: (ensure_current_registry_forking):
11942 Use a pipe pair to receive status results from the forked child, and
11943 ignore the result from waitpid. Fixes #355499
11945 2006-10-02 Wim Taymans <wim@fluendo.com>
11947 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11948 (gst_ghost_pad_suite):
11951 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11954 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11956 2006-10-02 Edward Hervey <edward@fluendo.com>
11958 * docs/design/part-block.txt:
11959 Further explain the use of flushing on blocked pads.
11960 * docs/gst/gstreamer-sections.txt:
11961 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11962 (gst_pad_push_event):
11964 Added new GstPadFlag : GST_PAD_BLOCKING.
11965 Adds the notion of pads really blocking, which enables to properly
11966 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11968 API: gst_pad_is_blocking()
11969 API: GST_PAD_IS_BLOCKING() macro
11970 API: GST_PAD_BLOCKING GstPadFlag
11972 2006-10-02 Wim Taymans <wim@fluendo.com>
11974 Patch by: mrcgran <mrc.gran at gmail dot com>
11976 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11977 Filter the proxied caps against the padtemplate if we have one.
11979 * gst/gstquery.c: (gst_query_new_segment):
11980 Add include for gstinfo.h so that compilation with
11981 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11983 2006-10-02 Wim Taymans <wim@fluendo.com>
11985 Patch by: Alessandro Decina <alessandro at nnva org>
11987 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11988 (gst_file_sink_set_location), (gst_file_sink_open_file),
11989 (gst_file_sink_close_file), (gst_file_sink_event),
11990 (gst_file_sink_render):
11991 Set file to NULL when closing filesink so that we can set a new filename
11992 in READY. Fixes #358613.
11994 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11996 Patch by: Alessandro Decina <alessandro at nnva org>
11998 * gst/gstevent.c: (_gst_event_copy):
11999 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12000 with event structures by setting the parent refcount address of the
12001 copied structure to the address of the refcount member of the newly
12002 copied event rather than the address of the refcount member of the
12003 original event. Fixes #358737.
12005 * tests/check/gst/gstevent.c: (GST_START_TEST):
12006 Unit test for the above.
12008 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12010 * docs/design/Makefile.am:
12011 Dist some more files.
12013 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12015 * tests/check/libs/controller.c: (GST_START_TEST),
12016 (gst_controller_suite):
12017 Add test for the previous fix; add some more tests
12018 for correct refcounting behaviour; fix a few leaks
12019 in test cases; call gst_controller_init() at start
12022 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12024 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12025 (gst_controller_set_from_list):
12026 Don't g_return_val_if_fail() on timed values with invalid timestamps
12027 inside a critical section without unlocking the mutex. Spotted by
12028 René Stadler. (#357617)
12029 Also, fix up refcounting properly: when returning an existing
12030 controller, we should increase the reference only once and not
12031 once per property and when trying to control a property again
12032 we should also increase the refcount.
12034 2006-09-29 Wim Taymans <wim@fluendo.com>
12036 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12037 * libs/gst/net/gstnettimeprovider.c:
12038 (gst_net_time_provider_thread):
12039 Stop reading commands when EOF as well.
12041 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12042 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12043 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12044 Unify description of the dump property.
12046 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12048 * tests/examples/manual/.cvsignore:
12049 OK, so it's actually cvsignore that needs changing. Stop laughing.
12051 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12053 * tests/examples/manual/Makefile.am:
12054 Gah, declare vars *before* using them
12056 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12058 * gst/gst.c: (init_pre), (scan_and_update_registry),
12059 (ensure_current_registry_nonforking),
12060 (ensure_current_registry_forking), (ensure_current_registry),
12061 (init_post), (gst_debug_help), (gst_deinit):
12062 * gst/gst_private.h:
12063 * gst/gstregistry.c: (gst_registry_finalize),
12064 (gst_registry_remove_features_for_plugin_unlocked),
12065 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12066 (gst_registry_scan_path),
12067 (_priv_gst_registry_remove_cache_plugins),
12068 (_priv_gst_registry_cleanup):
12069 * gst/gstregistry.h:
12070 Re-commit the registry changes, along with an extra fix:
12071 When a cached plugin is encountered at a different file path,
12072 update the stored path in the registry cache so that the parent
12073 process knows where it actually is now when it re-reads the registry
12074 cache. Fixes the thing that broke distcheck with the previous commit.
12076 * tests/check/Makefile.am:
12077 Clean up files named 'core' too when running make clean.
12079 * tests/examples/manual/Makefile.am:
12080 Set up a registry path for running these tests, and clean it properly
12083 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12086 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12087 want gmodule-no-export-2.0.pc instead so that we don't drag in
12088 --export-dynamic on every project that links to GStreamer.
12090 Also, make our export regex only match the start of symbols, rather
12091 than any symbol that contains '_gst' somewhere.
12093 * libs/gst/check/Makefile.am:
12094 The libgstcheck we build does however need export-dynamic, as it
12095 produces some symbols that don't match our _gst... style regex.
12098 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12100 * gst/gst.c: (init_pre), (scan_and_update_registry),
12101 (ensure_current_registry_nonforking),
12102 (ensure_current_registry_forking), (ensure_current_registry),
12103 (init_post), (gst_debug_help), (gst_deinit):
12104 * gst/gst_private.h:
12105 * gst/gstregistry.c: (gst_registry_finalize),
12106 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12107 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12108 (_gst_registry_cleanup):
12109 * gst/gstregistry.h:
12110 Revert previous change until I figure out why it breaks distcheck.
12112 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12114 * gst/gst.c: (init_pre), (scan_and_update_registry),
12115 (ensure_current_registry_nonforking),
12116 (ensure_current_registry_forking), (ensure_current_registry),
12117 (init_post), (gst_debug_help), (gst_deinit):
12119 Make init_pre and init_post take the full complement of GOptionFunc
12120 args so they can return useful GErrors. Make the registry updating
12123 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12124 ensure that the registry we're about to write out doesn't contain
12125 stale information about old-deleted plugin files.
12127 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12128 that deletion of plugin files is considered a registry change.
12130 * gst/gst_private.h:
12131 * gst/gstregistry.c: (gst_registry_finalize),
12132 (gst_registry_remove_features_for_plugin_unlocked),
12133 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12134 (gst_registry_scan_path),
12135 (_priv_gst_registry_remove_cache_plugins),
12136 (_priv_gst_registry_cleanup):
12137 * gst/gstregistry.h:
12138 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12139 by adding _priv prefix, so that they won't appear in the global
12140 symbol table. They still do atm though because of #318031. Move the
12141 prototypes to gst_private.h
12143 When removing a plugin, remove all features for that plugin too.
12146 2006-09-27 Wim Taymans <wim@fluendo.com>
12148 * docs/random/moving-plugins:
12149 Make it clear that the "compiled-in descriptions" really mean
12150 the element details.
12152 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12153 (gst_base_sink_wait_preroll):
12156 * docs/libs/gstreamer-libs-sections.txt:
12157 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12158 (gst_base_src_get_range), (gst_base_src_activate_push):
12159 * libs/gst/base/gstbasesrc.h:
12160 Added function to block while waiting for PLAYING, this function
12161 is used by live sources that block on the clock.
12162 API: gst_base_src_wait_playing()
12164 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12166 Patch by: Peter Kjellerstedt <pkj at axis com>
12169 gst-element-check.m4 is generated and should therefore be
12170 copied from the build dir rather than the source dir (#357593).
12171 'make distcheck' hasn't noticed this because we were disting
12172 the file as well, so stop doing that.
12174 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12176 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12177 Add some tests for gst_caps_intersect().
12179 * tools/gst-launch.c: (event_loop):
12180 Print all buffering percentages we get, even the 100% one.
12182 2006-09-26 Wim Taymans <wim@fluendo.com>
12184 * tools/gst-inspect.c: (print_element_properties_info),
12185 (print_signal_info):
12186 Fix printing of flags to match the look of enums.
12188 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12190 * gst/gstelementfactory.c:
12191 Fix typo in docs blurb.
12193 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12195 * gst/gsturi.c: (search_by_entry):
12196 Don't assert/crash here if a uri handler doesn't return any
12197 supported protocols. The list of protocols could be generated
12198 dynamically at runtime or at plugin registration, and an error
12199 in the underlying library shouldn't be fatal (#353301).
12201 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12204 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12205 (spotted by Peter Kjellerstedt).
12207 2006-09-23 Wim Taymans <wim@fluendo.com>
12209 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12211 * libs/gst/base/gstbasesrc.c:
12212 (gst_base_src_default_check_get_range), (gst_base_src_start),
12213 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12214 (gst_base_src_change_state):
12215 Match _start/_stop calls in the activate functions. Remove redundant
12216 _stop call from the state change function. Fixes #356910.
12217 Turn failure DEBUG into ERROR.
12219 2006-09-22 Wim Taymans <wim@fluendo.com>
12221 * docs/design/part-buffering.txt:
12222 * gst/gstmessage.c: (gst_message_new_buffering),
12223 (gst_message_parse_buffering):
12224 Update docs about buffering.
12226 * docs/design/part-trickmodes.txt:
12229 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12231 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12232 (gst_controller_new_list):
12233 Ref instances when returning them again (fixes #357180)
12235 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12237 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12238 Don't forget to release proxy lock when there's an error.
12240 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12243 Add extra initialisers for Caps things, to fix some plugin warnings
12246 2006-09-18 Wim Taymans <wim@fluendo.com>
12248 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12249 Also set template on the internal pad so that a getcaps from the
12250 target pad returns the template caps.
12252 2006-09-18 Wim Taymans <wim@fluendo.com>
12254 * gst/gstelement.c: (gst_element_post_message),
12255 (gst_element_dispose):
12256 Use _DEBUG_OBJECT some more.
12258 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12261 * tools/gst-launch.c: (main):
12262 If the toplevel element is not a GstPipeline, it must be put in a
12263 pipeline so that a bus and clock is selected.
12265 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12267 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12268 JITTER, RATE, and LATENCY query should be handled by the
12269 default case and not by the CONVERT query code.
12271 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12273 * gst/gstformat.c: (gst_format_register):
12274 Fix locking order (must take lock before using n_values).
12276 * gst/gstvalue.c: (gst_value_serialize_enum),
12277 (gst_value_deserialize_enum_iter_cmp),
12278 (gst_value_deserialize_enum):
12279 Fix serialisation/deserialisation of custom registered GstFormats.
12281 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12282 Unit test for custom format serialisation/deserialisation.
12284 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12286 * docs/pwg/building-boiler.xml:
12287 * plugins/elements/gstcapsfilter.c:
12288 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12291 2006-09-16 Edward Hervey <edward@fluendo.com>
12293 * libs/gst/base/gstbasetransform.c:
12294 (gst_base_transform_buffer_alloc):
12295 Check if requested caps are the same as the sinks caps IF
12296 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12298 This fixes the renegotiation issues stated in #352827.
12300 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12303 * docs/manual/advanced-autoplugging.xml:
12304 * tests/examples/Makefile.am:
12305 * tests/examples/manual/.cvsignore:
12306 * tests/examples/manual/Makefile.am:
12307 * tests/examples/manual/extract.pl:
12308 Extract the manual examples again like we used to do.
12311 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12313 * win32/common/config.h:
12316 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12319 Documents how to receive errors.
12321 2006-09-15 Wim Taymans <wim@fluendo.com>
12323 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12324 (event_loop), (main):
12325 Added some comments here and there.
12326 Post an application message when an interrupt is caught instead of doing
12327 an uncontrolled state change.
12328 Clean up the event loop.
12329 Handle buffering messages, pause/resume the pipeline.
12330 Make shutdown because of an interrupt more reliable.
12332 2006-09-15 Wim Taymans <wim@fluendo.com>
12334 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12335 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12336 (gst_base_sink_preroll_object):
12337 Make sure that our internal state is correct when we commit our state
12338 asynchronously. This solves a race where a state change to PLAYING
12339 could cause the sink to remain blocked in preroll in some situations.
12341 2006-09-15 Wim Taymans <wim@fluendo.com>
12343 * tools/gst-inspect.c: (print_element_properties_info),
12344 (print_signal_info):
12345 List flags as hex so it's easier to deal with.
12347 2006-09-15 Wim Taymans <wim@fluendo.com>
12349 * docs/libs/gstreamer-libs-sections.txt:
12350 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12351 (gst_base_sink_do_sync):
12352 * libs/gst/base/gstbasesink.h:
12353 Expose logic to wait for preroll so that subclasses such as audiosink
12354 can also use this method.
12355 API: gst_base_sink_wait_preroll()
12357 2006-09-15 Wim Taymans <wim@fluendo.com>
12359 * gst/gstobject.c: (gst_object_set_parent):
12360 * gst/gstpipeline.c: (do_pipeline_seek):
12361 Small cleanups in docs and code.
12363 * gst/gstsegment.c: (gst_segment_clip):
12364 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12365 if stop == start and start is in the segment, no clipping should be
12366 done. Also add a test for this.
12368 2006-09-15 Wim Taymans <wim@fluendo.com>
12370 * docs/design/part-buffering.txt:
12371 * docs/gst/gstreamer-sections.txt:
12372 * gst/gstmessage.c: (gst_message_new_buffering),
12373 (gst_message_parse_buffering):
12374 * gst/gstmessage.h:
12375 Added methods to create and parse BUFFERING messages.
12376 Added preliminary docs about buffering.
12377 API: gst_message_new_buffering
12378 API: gst_message_parse_buffering
12380 2006-09-06 Wim Taymans <wim@fluendo.com>
12383 Update documentation.
12385 * gst/gstelement.c: (gst_element_class_init),
12386 (gst_element_release_request_pad), (gst_element_set_clock),
12387 (gst_element_get_index), (gst_element_add_pad),
12388 (gst_element_remove_pad), (gst_element_get_random_pad),
12389 (gst_element_send_event), (gst_element_get_query_types),
12390 (gst_element_query), (gst_element_post_message),
12391 (gst_element_message_full), (gst_element_continue_state),
12392 (gst_element_lost_state), (gst_element_save_thyself),
12393 (gst_element_restore_thyself):
12394 Documentation updates.
12395 Rename last bit of the new-pad -> pad-added signal rename.
12396 Fix the case where an element query would only work if the source
12398 Avoid some useless type checking in message handling.
12403 Documentation updates.
12405 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12407 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12408 add an INFO line for when we actually update the fd
12410 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12415 === release 0.10.10 ===
12417 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12420 releasing 0.10.10, "Pais"
12422 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12424 * docs/manual/advanced-position.xml:
12425 Fix typo in sample code.
12427 2006-09-05 Wim Taymans <wim@fluendo.com>
12429 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12430 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12431 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12432 * libs/gst/net/gstnetclientclock.h:
12433 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12434 * libs/gst/net/gstnettimepacket.h:
12435 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12436 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12437 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12438 * libs/gst/net/gstnettimeprovider.h:
12439 Make stuff compile on windows. Fixes #345295.
12441 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12443 * gst/gst.c: (ensure_current_registry_forking):
12444 Print better details when child was terminated by signal.
12446 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12448 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12449 Print a warning rather than g_assert() if a plugin feature
12450 is a URI handler but returns no protocols (#353976).
12452 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12454 * docs/random/moving-plugins:
12457 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12459 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12460 Fix locking order, handle NULL function values properly.
12465 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12466 Initialise variable before using it and fix debug statement to
12467 print the address of the function rather than the address of the
12468 variable on the stack holding the address of the function.
12470 2006-09-01 Wim Taymans <wim@fluendo.com>
12472 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12473 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12474 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12475 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12476 (gst_ghost_pad_parent_unset),
12477 (gst_ghost_pad_internal_do_activate_push),
12478 (gst_ghost_pad_internal_do_activate_pull),
12479 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12480 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12481 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12482 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12483 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12484 (gst_ghost_pad_new_no_target_from_template),
12485 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12487 Avoid needless typechecking in macros.
12488 Since the internal pad is always present and never changes, there is
12489 no need to locking or ref when retrieving it.
12490 Improve debugging a bit.
12491 Handle link errors when setting the target. Fixes #341029.
12493 2006-09-01 Wim Taymans <wim@fluendo.com>
12495 * docs/libs/gstreamer-libs-sections.txt:
12496 * docs/plugins/gstreamer-plugins-sections.txt:
12497 Fix docs some more.
12499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12500 (gst_collect_pads_event):
12501 * libs/gst/base/gstcollectpads.h:
12502 Documentation updates.
12503 Free queued buffer when removing a pad.
12505 2006-08-31 Michael Smith <msmith@fluendo.com>
12507 * gst/gstutils.c: (gst_element_link_pads),
12508 (gst_element_link_pads_filtered):
12509 Ensure that we set a capsfilter to NULL if we failed to link it
12510 when doing filtered linking, to avoid criticals.
12512 No need to check for unreffing srcpad, which is explicly NULLed
12513 above (a trivial code cleanup).
12515 2006-08-31 Wim Taymans <wim@fluendo.com>
12517 * docs/design/part-gstghostpad.txt:
12518 Update ascii art in documentation.
12520 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12521 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12522 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12523 (gst_ghost_pad_internal_do_activate_push),
12524 (gst_ghost_pad_internal_do_activate_pull),
12525 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12526 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12527 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12528 (gst_ghost_pad_set_target):
12529 Small cleanups and leak fixes.
12530 Remove some checks now that the internal pad is never NULL.
12531 Fix the case where linking pads without a target would create nasty
12532 criticals. Fixes #341029.
12533 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12534 value of _set_target().
12536 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12537 (gst_ghost_pad_suite):
12538 Some more tests for creating and linking untargeted ghostpads.
12540 2006-08-31 Edward Hervey <edward@fluendo.com>
12542 * docs/gst/gstreamer-sections.txt:
12543 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12544 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12545 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12546 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12547 (gst_ghost_pad_new_from_template),
12548 (gst_ghost_pad_new_no_target_from_template):
12549 * gst/gstghostpad.h:
12550 Refactored *_new() functions.
12551 Templates are now used as a g_object_new() parameter.
12552 Use template in _do_getcaps() if we don't have a target.
12553 Small documentation cleanups.
12554 Added two new constructors:
12555 gst_ghost_pad_new_from_template()
12556 gst_ghost_pad_new_no_target_from_template()
12557 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12558 (gst_ghost_pad_suite):
12559 Added tests for new ghostpad instanciation functions.
12561 API additions: gst_ghost_pad_new_from_template,
12562 gst_ghost_pad_new_no_target_from_template
12564 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12566 * docs/random/ensonic/profiling.txt:
12567 Ideas about qos profiling.
12569 2006-08-29 Wim Taymans <wim@fluendo.com>
12571 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12575 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12578 Improve and detypofy docs.
12580 * tests/check/Makefile.am:
12581 * tests/check/gst/.cvsignore:
12582 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12583 Add a basic test suite for GstXML.
12585 2006-08-29 Wim Taymans <wim@fluendo.com>
12587 * gst/gstelement.c: (activate_pads), (clear_caps),
12588 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12589 Clear the pad caps when the element shut down all of the pads and
12590 is not streaming data that could modify the caps.
12593 2006-08-28 Michael Smith <msmith@fluendo.com>
12595 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12596 Revert previous change; I misunderstood single-segment mode.
12598 2006-08-28 Michael Smith <msmith@fluendo.com>
12600 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12601 Unset DISCONT on buffers when using single-segment mode.
12603 2006-08-28 Wim Taymans <wim@fluendo.com>
12605 * gst/gstcaps.c: (gst_caps_merge_structure):
12607 Fix docs and indentation again.
12609 * tests/check/gst/gstquery.c: (GST_START_TEST):
12610 Fix leak in tests and add some more tests.
12612 2006-08-28 Edward Hervey <edward@fluendo.com>
12614 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12615 Inform GstSegment of the last stop position in order for the current
12616 segment to have a proper duration if it doesn't have a specific stop
12617 position from which a duration could be calculated.
12618 This bug was noticeable when a non-flushing, non-update new segment was
12619 followed by another segment (all buffers from the new segment were being
12622 2006-08-28 Wim Taymans <wim@fluendo.com>
12624 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12625 Small comment update.
12627 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12628 (gst_identity_transform_ip):
12629 Drop-probability is broken, mention this in the code with a
12630 FIXME and also in the property description.
12631 Make silent also be silent about the drop messages.
12633 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12635 * docs/manual/appendix-win32.xml:
12636 Remove mention of popt, we don't depend on that any
12637 longer (#353136). Add some comments pointing out that
12638 this section is slightly outdated.
12640 2006-08-28 Wim Taymans <wim@fluendo.com>
12642 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12644 * gst/gstquery.c: (gst_query_new_segment):
12645 * tests/check/gst/gstquery.c: (GST_START_TEST):
12646 Initialize variables when creating a new segment query.
12649 2006-08-28 Wim Taymans <wim@fluendo.com>
12651 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12653 * gst/gstelement.c: (gst_element_get_bus):
12654 * tests/check/gst/gstelement.c: (GST_START_TEST):
12655 Check for NULL before _reffing the bus. Fixes #353122.
12657 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12659 * docs/manual/basics-bus.xml:
12660 Docs update: fix wrong callback return value explanation; add
12661 some lines about the implicit relationship between main loop
12662 and main context; remove duplicate main loop variable declaration.
12664 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12666 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12667 Don't leak caps in unit test; add a few more simple
12670 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12672 * docs/gst/gstreamer-sections.txt:
12673 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12674 (gst_caps_structure_is_subset), (gst_caps_merge),
12675 (gst_caps_merge_structure):
12677 * libs/gst/base/gstbasetransform.c:
12678 (gst_base_transform_transform_caps):
12679 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12680 implement caps merging (fixes #352580)
12682 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12684 * tools/Makefile.am:
12685 * tools/gst-plot-timeline.py:
12686 add debug-log plotting developer tool (#340674)
12688 2006-08-23 Wim Taymans <wim@fluendo.com>
12690 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12691 (gst_pad_stop_task):
12692 Improve debugging for task functions.
12694 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12695 (gst_task_start), (gst_task_pause), (gst_task_join):
12696 Make sure that the task function started and finished after a
12698 Don't try to push the task function on the threadpool multiple
12700 Improve the g_warning message with some useful suggestions
12701 about how to fix the problem.
12703 2006-08-23 Wim Taymans <wim@fluendo.com>
12705 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12706 Handle RESYNC correctly in _proxy_getcaps.
12708 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12710 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12711 (gst_xml_parse_memory), (gst_xml_get_element):
12712 Chain up to parent class in dispose function and also
12713 unref the elements in the toplevel_elements GList.
12714 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12715 Always return a reference in gst_xml_get_element() rather
12716 than only sometimes.
12718 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12719 Don't leak GstXml object.
12721 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12723 * docs/gst/gstreamer-sections.txt:
12724 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12727 * libs/gst/base/gstbasetransform.c:
12728 (gst_base_transform_transform_caps):
12729 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12732 2006-08-21 Edward Hervey <edward@fluendo.com>
12734 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12735 Implement GObject::dispose virtual method in GstXML so we can free the
12736 top_elements GList.
12738 2006-08-21 Wim Taymans <wim@fluendo.com>
12740 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12741 (gst_buffer_create_sub):
12742 Copy duration/offset_end/caps when creating a subbuffer of the
12744 Make the subbuffer read-only when we make the metadata writable for
12745 now. Fixes #351768.
12747 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12748 Added check for metadata copy when creating subbuffers.
12750 2006-08-21 Edward Hervey <edward@fluendo.com>
12752 * libs/gst/base/gstbasetransform.c:
12753 (gst_base_transform_buffer_alloc):
12754 Only call downstream buffer_alloc if transform element is passthrough
12755 or always_in_place. Closes #350449.
12757 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12760 ChangeLog surgery to add comments to previous changes
12762 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12767 * gst/gstpad.c: (gst_pad_set_active):
12768 Be more verbose in the log
12770 * libs/gst/base/gstbasetransform.c:
12771 (gst_base_transform_transform_caps):
12772 Simplify caps to get rid of duplicates, fixes #345444
12774 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12778 Use these optimizations only internally.
12780 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12782 * gst/gstvalue.c: (gst_value_compare_list),
12783 (gst_value_compare_fraction_range),
12784 (gst_value_intersect_fraction_fraction_range),
12785 (gst_value_intersect_fraction_range_fraction_range),
12786 (gst_value_subtract_fraction_fraction_range),
12787 (gst_value_subtract_fraction_range_fraction_range),
12788 (gst_value_get_compare_func), (gst_value_compare),
12789 (gst_value_compare_with_func):
12791 Saves the expensive lookup of the compare function in many cases
12794 2006-08-18 Edward Hervey <edward@fluendo.com>
12796 * tests/check/gst/gstinfo.c: (gst_info_suite):
12797 Disable test that require gstdebug if it wasn't built in core.
12799 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12801 * docs/random/ensonic/logging.txt:
12804 * gst/gstinfo.c: (gst_debug_log_default):
12805 reorder fields, save some columns, add optional color codes for log
12808 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12810 * docs/random/ensonic/logging.txt:
12811 add ideas about making the logs a bit more useful
12813 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12815 * docs/pwg/advanced-events.xml:
12816 * docs/pwg/titlepage.xml:
12817 Update for 0.10 API (#340627). Add myself
12820 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12822 * docs/libs/gstreamer-libs-docs.sgml:
12823 * docs/libs/gstreamer-libs-sections.txt:
12824 * libs/gst/check/gstbufferstraw.c:
12825 Make gstcheck stuff show up in docs (still needs to
12826 be documented properly though).
12828 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12830 * docs/gst/gstreamer-sections.txt:
12832 * gst/gst.c: (init_post):
12833 * gst/gst_private.h:
12834 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12836 * gst/gstquery.c: (gst_query_new_position),
12837 (gst_query_set_position), (gst_query_parse_position),
12838 (gst_query_new_duration), (gst_query_set_duration),
12839 (gst_query_parse_duration), (gst_query_new_convert),
12840 (gst_query_set_convert), (gst_query_parse_convert),
12841 (gst_query_new_segment), (gst_query_set_segment),
12842 (gst_query_parse_segment), (gst_query_new_seeking),
12843 (gst_query_set_seeking), (gst_query_parse_seeking):
12844 Add internal helpers for pre-registering quarks from static strings
12845 and using the quark values directly instead of looking them up when
12846 creating and parsing queries. Can be used for event construction too.
12849 2006-08-16 Wim Taymans <wim@fluendo.com>
12854 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12856 * gst/gstutils.c: (gst_util_set_value_from_string):
12857 Fix memleak (#351502).
12859 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12860 Add unit test for most of gst_util_set_value_from_string()
12861 (not that one would want to encourage use of this function).
12863 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12865 * libs/gst/check/gstcheck.h:
12866 Use const gchar * variables in fail_unless_equals_string
12867 macro to avoid compiler warnings (and don't use tabs for
12870 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12872 * tools/gst-launch.c: (print_tag):
12873 More space on the left for the tag names, to cater
12874 for the 'extended comment' tag (not touching the
12875 string for the first line since it's translated).
12877 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12879 * libs/gst/check/gstcheck.h:
12880 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12881 print something when they fail.
12883 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12885 * docs/gst/gstreamer-sections.txt:
12886 * gst/gsttaglist.c: (_gst_tag_initialize):
12887 * gst/gsttaglist.h:
12888 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12889 Also change merge function for GST_TAG_COMMENT to
12892 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12894 * gst/gstinfo.c: (gst_debug_print_object):
12895 Make GST_PTR_FORMAT print messages as well.
12897 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12898 (GST_START_TEST), (gst_info_suite):
12901 2006-08-14 Edward Hervey <edward@fluendo.com>
12903 * gst/gstelementfactory.c: (gst_element_register):
12904 If the GstElementClass doesn't have a GstElementDetails with all fields
12905 filled up correctly (longname, description AND author), then error out
12906 nicely instead of crashing.
12908 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12910 * gst/gststructure.c:
12911 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12914 Expand on the difference between arrays and lists as we use them.
12916 2006-08-14 Wim Taymans <wim@fluendo.com>
12918 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12919 If the parent state change function failed, don't assume we can safely
12920 stop the source, this will be done when the pads are deactivated.
12922 2006-08-14 Wim Taymans <wim@fluendo.com>
12925 * gst/gsttask.c: (gst_task_join):
12928 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12929 (gst_pad_stop_task):
12930 When pad (de)activation failed for some reason, restore the old
12931 activation mode and set the pad to flushing instead of assuming the
12932 pad is deactivated.
12933 If the _task_join() failed, reinstall the task on the pad so that it can
12934 be stopped later and return an error.
12936 2006-08-11 Andy Wingo <wingo@pobox.com>
12939 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12940 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12941 is only for users of API that don't want to see deprecated
12942 functions in the headers; people that want to compile out
12943 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12944 CFLAGS. Fixes the build of multifdsink, or will soon..
12946 2006-08-11 Wim Taymans <wim@fluendo.com>
12948 * docs/gst/gstreamer-sections.txt:
12949 Add GstClockClass vmethod docs.
12952 Mark #endif with comment for associated #if
12954 * gst/gstclock.c: (gst_clock_id_wait):
12956 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12957 most clock implementations.
12959 Flesh out docs about resolution methods.
12960 API: GstClockClass::wait_jitter
12962 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12963 (gst_system_clock_async_thread),
12964 (gst_system_clock_id_wait_jitter_unlocked),
12965 (gst_system_clock_id_wait_jitter):
12966 Use base class wait_jitter variant for improved performance
12967 due to less clock polling.
12969 2006-08-11 Edward Hervey <edward@fluendo.com>
12971 * gst/gst.c: (gst_init_check), (init_post):
12972 Set gst as being initialized before scanning/updating the registry,
12973 since there might be my python plugin loader that calls gst_init() and
12974 we don't want to loop back in.
12977 2006-08-11 Wim Taymans <wim@fluendo.com>
12979 * docs/design/part-qos.txt:
12980 Bring docs in line with the code. Mostly the sign of the jitter was
12981 wrong in the docs. Fixes #349943.
12984 Fix the docs for the jitter.
12986 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12987 (gst_event_parse_tag), (gst_event_new_buffer_size),
12988 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12989 (gst_event_new_seek), (gst_event_parse_seek),
12990 (gst_event_new_navigation):
12991 Make sure the GstStructure has no parent when creating custom
12993 Add some more argument checking so that we avoid 0.0 rates.
12994 Flesh out the docs for the QoS event some more.
12996 2006-08-11 Wim Taymans <wim@fluendo.com>
12998 * docs/gst/gstreamer-sections.txt:
12999 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13000 (ensure_current_registry_forking), (ensure_current_registry),
13001 (parse_one_option), (parse_goption_arg), (gst_deinit),
13002 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13005 Added API and command line option to disable registry forking in
13006 addition to the environment variable.
13007 Constify some static arrays.
13008 Added some more debug.
13009 Don't deinit twice.
13010 API: gst_registry_fork_is_enabled()
13011 API: gst_registry_fork_set_enabled()
13012 API: --gst-disable-registry-fork command line option
13015 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13017 * gst/gst.c: (gst_init):
13018 Fix typo in error message.
13020 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13022 * libs/gst/controller/gstcontroller.h:
13023 fix ABI size-correction
13025 * tests/check/libs/gdp.c: (gst_dp_suite):
13026 make tests that use deprecated API conditional
13028 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13030 * docs/libs/gstreamer-libs-sections.txt:
13031 * libs/gst/controller/gstcontroller.c:
13032 (_gst_controller_get_property), (_gst_controller_set_property),
13033 (_gst_controller_init), (_gst_controller_class_init):
13034 * libs/gst/controller/gstcontroller.h:
13035 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13036 (gst_object_set_control_rate):
13037 API: add gst_object_{s,g}et_control_rate(), add private data section,
13040 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13041 * libs/gst/dataprotocol/dataprotocol.h:
13042 add deprecation guards to make gtk-doc happy and allow disabling cruft
13044 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13046 * tests/check/Makefile.am:
13047 * tests/check/gst/.cvsignore:
13048 Let's enable the new unit test as well.
13050 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13053 * docs/gst/gstreamer-sections.txt:
13054 * gst/gstconfig.h.in:
13055 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13056 (_gst_info_printf_extension_ptr),
13057 (_gst_info_printf_extension_segment):
13058 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13059 register that lets us easily dump GstSegments into debug
13062 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13063 (info_segment_format_printf_extension), (gst_info_suite):
13064 Add simple unit test that logs a bunch of different segments (not
13065 valgrinded at the moment because of leaks in
13066 gst_debug_add_log_function).
13068 2006-08-09 Edward Hervey <edward@fluendo.com>
13070 * libs/gst/base/gstbasetransform.c:
13071 (gst_base_transform_buffer_alloc):
13072 Even if we can't figure out the proper format to request downstream,
13073 call buffer_alloc() downstream with the input parameters without setting
13074 the caps on the srcpad. This will force negotiation in the chain
13078 2006-08-08 Edward Hervey <edward@fluendo.com>
13080 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13081 Unlinking from a pad without a target is now a perfectly valid case
13082 which should NOT raise an assertion.
13083 This case would happen if a linked ghostpad its target set to NULL after
13084 it was previously linked.
13086 2006-08-08 Edward Hervey <edward@fluendo.com>
13088 * tests/check/libs/gdp.c:
13089 Also comment out the test (see below).
13091 2006-08-08 Edward Hervey <edward@fluendo.com>
13093 * tests/check/libs/gdp.c: (gst_dp_suite):
13094 Use the architecture information from config.h and not gcc macros
13095 in order to properly disable a test that fails on PPC64.
13097 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13099 * gst/gstelement.c: (gst_element_remove_pad):
13100 Don't crash printing the warning if the pad has no parent.
13102 2006-08-02 Wim Taymans <wim@fluendo.com>
13104 * libs/gst/dataprotocol/dataprotocol.c:
13105 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13106 (gst_dp_crc), (gst_dp_header_payload_length),
13107 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13108 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13109 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13110 (gst_dp_event_from_packet), (gst_dp_validate_header),
13111 (gst_dp_validate_payload):
13112 Make debug category static
13113 Constify the crc table.
13114 Do some more arg checking in public functions.
13115 Fix some docs and do some small cleanups.
13117 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13118 Add some more checks to see if GDP deals with bogus input.
13120 2006-07-31 Wim Taymans <wim@fluendo.com>
13122 * gst/gstvalue.c: (gst_value_compare_list):
13123 Fix GstValueList comparison code. Fixes #347293.
13125 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13126 Check to test GstValueList comparison.
13128 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13130 * gst/gstelementfactory.c: (gst_element_factory_create):
13131 Remove unnecessary ref/unref pair
13133 * gst/parse/grammar.y:
13134 Make sure to free the parse buffer on all code paths.
13135 Move a g_free up to the error handler where it's easier to see.
13137 * tests/check/gst/gstevent.c: (test_event):
13138 Extending timeout for downstream travelling events to 10 seconds to
13139 hopefully avoid intermittent failure on the buildbots.
13141 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13142 Don't manually set the state of the src element - it will happen as a
13143 natural consequence of the pipeline changing state, and that way it
13144 will do it in the right order too.
13146 2006-07-31 Wim Taymans <wim@fluendo.com>
13148 * libs/gst/base/gstbasetransform.c:
13149 (gst_base_transform_buffer_alloc):
13150 Use OBJECT_LOCK and refcounting to get the pad caps in the
13151 buffer_alloc function because the caps could change while we are
13152 busy with them. Fixes #349105
13154 2006-07-31 Wim Taymans <wim@fluendo.com>
13156 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13157 Protect _PAD_CAPS with OBJECT_LOCK.
13159 2006-07-31 Wim Taymans <wim@fluendo.com>
13161 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13162 (gst_pad_get_property), (gst_pad_activate_pull),
13163 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13164 (gst_pad_set_activate_function),
13165 (gst_pad_set_activatepull_function),
13166 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13167 (gst_pad_set_getrange_function),
13168 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13169 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13170 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13171 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13172 (gst_pad_set_acceptcaps_function),
13173 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13174 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13175 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13176 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13177 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13178 (gst_pad_configure_sink), (gst_pad_configure_src),
13179 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13180 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13181 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13182 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13183 (gst_pad_send_event):
13184 Use _DEBUG_OBJECT when it makes sense.
13185 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13186 Small cleanups and code reflows.
13187 Avoid caps refcounting in _accept_caps.
13188 Refactor alloc_buffer so that the code performed on the peer is in a
13189 separate function. Also if the pad does not implement a buffer alloc
13190 function, we should still check if the pad is flushing before falling
13191 back to the default allocator.
13193 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13195 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13196 Make all uses of identity and fakesink have silent=true to avoid
13197 serialising every passing data structure, which is breaking tests
13198 on FC4 for some unknown reason.
13200 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13202 * gst/parse/Makefile.am:
13203 * gst/parse/grammar.y:
13204 * gst/parse/parse.l:
13205 Reverted previous patch as it required to bump the flex dependency to
13206 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13208 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13210 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13212 * gst/parse/Makefile.am:
13213 * gst/parse/grammar.y:
13214 * gst/parse/parse.l:
13215 push & pop the state of the lexer for reentrant use case
13218 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13220 * libs/gst/base/gstbasesrc.h:
13221 Note in the docs that the ::newsegment vfunc is not actually used by
13224 2006-07-28 Wim Taymans <wim@fluendo.com>
13226 * libs/gst/base/gstcollectpads.c:
13227 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13228 (gst_collect_pads_clear), (gst_collect_pads_flush),
13229 (gst_collect_pads_event), (gst_collect_pads_chain):
13230 When flushing a pad, also clear the queued buffer so that we don't
13231 accidentally use it when we shouldn't.
13232 Fix leaks by inreffing incomming buffer.
13233 Flush out queued buffers in case of errors.
13236 2006-07-28 Wim Taymans <wim@fluendo.com>
13238 * docs/random/phonon-gst:
13239 Random notes about a Phonon backend.
13241 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13243 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13245 * tests/check/libs/gdp.c: (gst_dp_suite):
13246 Take a whack at fixing the ppc compile using a different define to
13247 disable the broken test.
13249 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13250 Remove excess g_print()
13252 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13254 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13255 Oops, meant to uncomment this line too to dampen the noise a bit.
13257 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13259 * gst/parse/grammar.y:
13260 * gst/parse/parse.l:
13261 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13262 (GST_START_TEST), (parse_suite):
13263 Fix some of the leaks exposed by extending the parse-launch testsuite,
13264 and move the 3 I can't figure out into a separate test that won't run
13265 the pipelines unless the appropriate line is uncommented.
13267 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13269 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13270 Requesting 0 bytes before the end of the file should result in
13271 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13274 2006-07-27 Wim Taymans <wim@fluendo.com>
13276 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13277 Fix useless assert, a uint is always positive.
13279 * gst/gststructure.c: (gst_structure_nth_field_name),
13280 (gst_structure_foreach), (gst_structure_map_in_place):
13281 Check input arguments for public functions to avoid obvious crashes.
13283 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13284 * plugins/elements/gstfakesink.h:
13285 Do less useless typechecking.
13287 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13289 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13290 Do not use mmap() by default since there are a number of error
13291 conditions that we would like to handle in a non-fatal way that
13292 will result in a SIGBUS if we use mmap(). Examples: external
13293 devices (USB harddrive, portable music player) being unplugged
13294 while in use; file on mounted CD/DVD that can't be read because
13295 the medium is partly damaged. Fixes #348455 and #348475.
13297 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13300 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13301 rates are a gdouble
13303 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13305 * gst/gstregistry.c:
13306 Move big documentation comment into class section header, so that it
13307 appears in the API docs.
13309 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13311 * docs/gst/gstreamer-sections.txt:
13312 Oops. Commit the docs additions too for new API.
13313 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13315 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13317 * gst/gststructure.c: (gst_structure_id_set),
13318 (gst_structure_id_set_valist):
13319 * gst/gststructure.h:
13320 Add API for setting values into structures without performing
13321 a quark lookup, if the appropriate quark is already known.
13323 API: gst_structure_id_set
13324 API: gst_structure_id_set_valist
13326 * gst/parse/grammar.y:
13327 * gst/parse/parse.l:
13328 Remove some dead code shown by the coverage information.
13329 Don't throw a critical g_warning when encountering a syntax error,
13330 just warn and let the normal error path handle it.
13332 * plugins/elements/gstelements.c:
13333 Bump the rank of filesink up to PRIMARY so that it is preferred over
13334 gnomevfssink for file:// sink uri's
13336 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13337 (GST_START_TEST), (run_delayed_test),
13338 (gst_parse_test_element_base_init),
13339 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13340 (gst_parse_test_element_change_state),
13341 (gst_register_parse_element), (parse_suite):
13342 Beef up the tests for parse syntax to check that more error cases
13343 fail as they are supposed to. Increases the test coverage a bit.
13345 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13347 * docs/manual/basics-elements.xml:
13348 Fix gst_element_link() example.
13351 Mention in API docs that one should usually gst_bin_add()
13352 elements to a bin or pipeline before doing the linking.
13354 2006-07-26 Wim Taymans <wim@fluendo.com>
13356 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13357 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13358 Avoid function call for known types by keeping the buffer and
13359 subbuffer GType global.
13361 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13362 Random silly optimisations in read() path.
13364 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13366 * tools/gst-launch.c: (main):
13367 If the top-level of the parse is a normal bin, it doesn't do the
13368 right logic to run as a top-level element, so place it inside a
13371 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13373 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13374 Remove superfluous g_object_notify() calls, GObject does
13375 that for us automatically.
13377 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13380 on Win32, use dllspec to export the debug category symbols
13382 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13384 * gst/gsttaglist.c: (_gst_tag_initialize):
13385 Allow more than one GST_TAG_IMAGE per taglist.
13387 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13389 * gst/gstminiobject.c:
13391 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13392 (gst_fd_src_create):
13393 log recurring events at LOG level
13394 add more debug for when the fd gets set
13396 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13398 * gst/gstparse.c: (gst_parse_launch):
13399 Also remove reentrance checks if flex is MT safe (#348179)
13400 Fix my empty ChangeLog entry below
13402 2006-07-21 Andy Wingo <wingo@pobox.com>
13404 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13406 * libs/gst/check/Makefile.am
13407 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13408 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13409 * libs/gst/check/gstbufferstraw.h:
13410 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13411 functions, thus proving I am still a GStreamer haxor. OK I wrote
13412 them a long time ago, but anyways.
13414 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13417 * gst/gstparse.c: (gst_parse_launch):
13418 Check for flex version and omit mutex if we have a MT save flex
13421 2006-07-21 Wim Taymans <wim@fluendo.com>
13423 * gst/gstparse.c: (gst_parse_launch):
13424 Protect recursive calls to _parse with a recursive mutex
13427 2006-07-21 Wim Taymans <wim@fluendo.com>
13429 * tests/check/gst/gstpad.c: (GST_START_TEST):
13432 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13434 * gst/gstparse.c: (gst_parse_launch):
13435 Do not hang on recursive usage of gst_parse_launch()
13437 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13439 * gst/gsttaglist.c:
13440 Add some more docs, comments and FIXME 0.11s here and there
13441 and also fix some typos.
13443 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13445 * gst/gstsegment.h:
13446 Convert tabs to spaces for better readability.
13448 2006-07-20 Edward Hervey <edward@fluendo.com>
13450 * tests/check/libs/gdp.c: (gst_dp_suite):
13451 the test_buffer test fails at line 140 on ppc64 at the following
13453 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13454 GST_BUFFER_FLAG_IN_CAPS),
13455 "GST_BUFFER_IN_CAPS flag should have been copied !");
13456 See bug #348114 for more details.
13458 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13460 * docs/pwg/advanced-scheduling.xml:
13462 Fix typos (#348000).
13464 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13466 * docs/pwg/intro-basics.xml:
13467 Fix wrong links (#347927).
13469 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13471 * gst/gstregistry.h:
13472 * gst/gstregistryxml.c: (load_feature),
13473 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13474 * win32/common/config.h:
13475 make --disable-index work (#342564)
13477 2006-07-18 Wim Taymans <wim@fluendo.com>
13479 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13483 The attached patch adds two missing defines to gsttrace.h when tracing
13484 is disabled. It also corrects one existing define.
13487 2006-07-17 Wim Taymans <wim@fluendo.com>
13489 * docs/gst/gstreamer-sections.txt:
13490 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13492 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13493 Add two functions to check and change the SIGSEGV behaviour
13494 when loading plugins.
13495 Don't mess with the SIGSEGV handler when we were told not to.
13497 API: gst_segtrap_is_enabled
13498 API: gst_segtrap_set_enabled
13500 2006-07-14 Wim Taymans <wim@fluendo.com>
13502 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13503 * tests/check/elements/filesrc.c: (GST_START_TEST):
13504 Revert fix for regression in #347408 after release.
13506 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13508 Patch by: Antoine Tremblay <hexa00 at gmail com>
13510 * gst/gstutils.c: (gst_element_unlink):
13511 Free iterator when done (#347311).
13513 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13514 And add a test case for this.
13516 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13519 Bump nano back to CVS
13521 === release 0.10.9 ===
13523 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13526 releasing 0.10.9, "On the road again"
13528 2006-07-13 Wim Taymans <wim@fluendo.com>
13530 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13531 * tests/check/elements/filesrc.c: (GST_START_TEST):
13532 Revert pull-0 fix for release. Disable check. Fixes #347408.
13534 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13536 * libs/gst/dataprotocol/dataprotocol.c:
13537 (gst_dp_event_from_packet_1_0):
13538 Fixes #347337: failure to deserialize event packets with
13539 empty payload (only event type)
13541 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13544 do not install a .c file in the header directory
13546 2006-07-13 Edward Hervey <edward@fluendo.com>
13548 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13549 GhostPad no longer implicitely use the padtemplates of the targets.
13552 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13554 * gst/gstvalue.c: (gst_value_compare_list),
13555 (gst_value_compare_array), (_gst_value_initialize):
13556 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13557 Make GstValueArray comparison be order dependent as designed.
13558 Add checks for value lists and value array comparisons.
13561 2006-07-11 Edward Hervey <edward@fluendo.com>
13563 * gst/gstbin.c: (activate_pads),
13564 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13565 (gst_bin_change_state_func):
13566 (de)activate src pads before calling state_change on the childs.
13567 This is to avoid the case where a src ghostpad is blocked (holding the
13568 stream lock), which would block the deactivation of the ghostpad's
13570 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13571 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13572 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13573 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13574 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13575 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13576 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13577 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13578 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13579 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13580 (gst_ghost_pad_class_init),
13581 (gst_ghost_pad_internal_do_activate_push),
13582 (gst_ghost_pad_internal_do_activate_pull),
13583 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13584 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13585 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13586 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13587 GhostPads now create their internal GstProxyPad at creation (and not
13588 when they're linked, as it was being done previously).
13589 The internal and target pads are linked straight away.
13590 The data will also travel through the other pad in order to make
13591 pad blocking and probes non-hackish (the probe/block now really happens
13592 on the GhostPad and not on the target).
13593 * gst/gstpad.c: (gst_pad_set_blocked_async),
13594 (gst_pad_link_prepare), (gst_pad_push_event):
13595 Remove previous ghostpad cruft.
13596 * gst/gstutils.c: (gst_pad_add_data_probe),
13597 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13598 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13599 (gst_pad_remove_buffer_probe):
13600 Remove previous ghost pad cruft.
13601 Added more detailed debug statements.
13602 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13603 Fix the testsuite for refcounting changes.
13604 The comments about who has references were correct, but the refcount
13605 being checked wasn't the same (!?!).
13609 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13611 * docs/gst/gstreamer-sections.txt:
13612 * gst/gstconfig.h.in:
13613 More docs for configuration options, add docs to gtk-doc.
13615 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13618 * gst/gstconfig.h.in:
13619 * win32/common/config.h:
13620 Fix build when disabling tracing (fixes #344016). Also start to document
13621 the defines that disable the sub-systems.
13623 2006-07-10 Edward Hervey <edward@fluendo.com>
13625 * gst/gst.c: (ensure_current_registry_forking):
13626 let's make valgrind happy...
13628 2006-07-09 Wim Taymans <wim@fluendo.com>
13630 * gst/gstelement.c: (activate_pads),
13631 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13632 Better pad activation code: Reset the collect value too on resync.
13635 2006-07-09 Wim Taymans <wim@fluendo.com>
13637 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13638 (gst_pad_activate_push):
13639 Use some more macros where it makes sense.
13640 Allow pad mode switching instead of asserting. When a pad
13641 is activated in one mode and we activate it in another,
13642 deactivate it first before activating it in a different mode.
13645 2006-07-08 Andy Wingo <wingo@pobox.com>
13647 * tools/gst-launch.c (main): Handle err == NULL.
13649 * gst/gst.c (init_post, ensure_current_registry)
13650 (ensure_current_registry_forking)
13651 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13652 factoring out the registry scanning into separate functions. Don't
13653 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13654 Better environment var name/interface suggestions accepted.
13656 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13658 * gst/gstobject.c: (gst_object_set_name_default),
13659 (gst_object_set_name):
13660 Random micro-optimisation: don't use a hash table
13661 with strings as keys and the usual strdup/strcmp
13662 involved, but rather just use the GQuark of the
13663 type name as key, since it needs to be looked up
13664 anyway to get the type name string.
13666 * tests/check/gst/gstobject.c: (GST_START_TEST):
13669 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13671 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13672 (gst_bin_iterate_all_by_interface):
13673 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13674 GTypes are gulongs and thus the top 4 bytes might be cut
13675 off on some platforms when doing GPOINTER_TO_INT, leading
13676 to invalid GTypes and bad things happening (see RH bug #179654).
13677 Also add a check to make sure the type passed in is really
13680 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13685 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13689 * gst-element-check.m4:
13690 * gst-element-check.m4.in:
13691 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13692 instead of the unversioned gst-inspect (#324176, #168659).
13694 2006-07-06 Wim Taymans <wim@fluendo.com>
13696 * gst/gstmessage.h:
13697 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13700 2006-07-06 Wim Taymans <wim@fluendo.com>
13702 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13703 (gst_base_src_wait), (gst_base_src_update_length),
13704 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13705 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13706 (gst_base_src_loop), (gst_base_src_start),
13707 (gst_base_src_activate_pull):
13709 blocksize == 0 now means the default blocksize when working in push
13711 Remove some pointless asserts in _wait function.
13712 Fix offset/length calculations and EOS handling. We can now pull 0
13713 bytes as well, which is allowed.
13714 use _check_get_range() to decide if we can operate in _pull based
13716 Fix refcounting leak when check_get_range function was not
13718 API GstBaseSrc::blocksize range can be 0 too now (default)
13720 * tests/check/elements/filesrc.c: (GST_START_TEST),
13722 Added check to test _get_range() behaviour.
13724 2006-07-06 Wim Taymans <wim@fluendo.com>
13726 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13727 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13728 (gst_pad_pull_range):
13730 Lots of comments and docs added to the pad functions.
13731 Flesh out the expected behaviour of the get_range() functions.
13733 2006-07-06 Wim Taymans <wim@fluendo.com>
13738 * gst/gstiterator.h:
13742 Remove comma at end of enumerator list.
13744 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13746 * win32/common/libgstbase.def:
13747 * win32/common/libgstdataprotocol.def:
13748 * win32/common/libsgtreamer.def:
13749 Add new exported functions.
13751 2006-07-05 Wim Taymans <wim@fluendo.com>
13753 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13754 Add some more docs here and there.
13756 2006-07-05 Wim Taymans <wim@fluendo.com>
13758 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13759 (gst_base_sink_loop), (gst_base_sink_get_position):
13760 When operating in pull mode update the offset so that we
13763 2006-07-05 Wim Taymans <wim@fluendo.com>
13765 * gst/gstregistryxml.c: (read_string):
13766 Avoid strdup. (will happen in libxml, but hey!)
13769 Add some more docs.
13771 2006-07-05 Wim Taymans <wim@fluendo.com>
13773 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13774 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13775 (gst_buffer_suite):
13776 No point in checking if the size of the subbuffer > 0, the
13777 code handles it correclty as demonstrated by unit test.
13778 Also add a unit test for the zero sized _new_and_alloc and
13779 _copy. Fixes #346663.
13781 2006-07-05 Wim Taymans <wim@fluendo.com>
13783 * libs/gst/base/gstbasetransform.c:
13784 (gst_base_transform_prepare_output_buffer),
13785 (gst_base_transform_buffer_alloc),
13786 (gst_base_transform_handle_buffer):
13787 Make sure the buffer we pass to transform_ip has a refcount of
13788 1 and thus is writable. Fixes #343196
13790 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13792 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13793 (gst_file_src_init), (gst_file_src_set_property),
13794 (gst_file_src_get_property), (gst_file_src_map_region):
13795 * plugins/elements/gstfilesrc.h:
13796 Add "sequential" property, off by default, to use madvise and hint
13797 to the kernel that sequential access is desired.
13798 Touch all retrieved pages by default to ensure they are pulled
13799 into memory. (Closes #345720)
13801 2006-07-03 Wim Taymans <wim@fluendo.com>
13803 * docs/design/part-block.txt:
13804 * docs/design/part-dynamic.txt:
13805 Small docs updates.
13807 2006-07-03 Wim Taymans <wim@fluendo.com>
13809 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13810 (gst_caps_unref), (gst_static_caps_get),
13811 (gst_caps_append_structure):
13812 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13813 Use GSlice when the glib we build against is >= 2.10
13815 2006-07-03 Wim Taymans <wim@fluendo.com>
13817 * gst/gstelement.c: (gst_element_pads_activate):
13818 Small cleanup in pad activation code.
13820 2006-07-03 Wim Taymans <wim@fluendo.com>
13822 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13824 * gst/gst-i18n-app.h:
13825 * gst/gst-i18n-lib.h:
13826 * tools/gst-inspect.c: (print_signal_info):
13827 The attached patch will make the inclusion of gettext.h unconditional in
13828 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13829 libintl.h in tools/gst-inspect.c.
13830 This allows use of --disable-nls again and fixes #344642.
13832 2006-07-03 Edward Hervey <edward@fluendo.com>
13834 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13835 Implement pad blocking on events according to part-block.txt.
13836 More comments on behaviour.
13837 * tests/check/gst/gstevent.c: (test_event):
13838 Send event to peer pad of blocked pad (else it will block).
13840 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13842 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13843 (gst_check_run_suite):
13844 if we get the wrong message, give us the types as string
13845 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13847 * tests/check/elements/filesrc.c: (GST_START_TEST):
13848 add a test for trying to open a non-existing file
13850 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13852 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13853 add a test for adding self
13855 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13857 * libs/gst/check/gstcheck.h:
13858 add some assert_ as alias for fail_unless_*
13859 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13860 increase test coverage
13862 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13865 include lcov.mak for lcov coverage generation
13866 * tools/Makefile.am:
13869 2006-07-02 Edward Hervey <edward@fluendo.com>
13871 * tests/check/elements/.cvsignore:
13874 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13877 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13878 * tests/check/Makefile.am:
13879 clean up gcov files
13881 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13883 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13884 remove gst_caps_simplify; it was not declared and not used
13885 and deprecated in 0.8
13887 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13889 * docs/faq/gst-uninstalled:
13890 don't put empty paths on PYTHONPATH
13891 * docs/gst/gstreamer-sections.txt:
13892 remove some symbols that are not there
13894 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13896 * gst/gstcaps.c: (gst_caps_compare_structures):
13898 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13899 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13902 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13904 * libs/gst/dataprotocol/Makefile.am:
13905 build dataprotocol test by linking to the lib, instead of
13906 compiling the source, so we get coverage
13907 * tests/check/Makefile.am:
13908 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13909 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13910 add a test for filesrc
13912 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13914 * tests/check/gst/gststructure.c: (GST_START_TEST),
13915 (gst_structure_suite):
13916 Push coverage from 59.04% to 70.00%
13918 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13920 * tests/check/Makefile.am:
13921 gst-inspect every element; this makes sure that we also get
13922 coverage on element's get/set functions
13924 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13927 set CFLAGS and friends to -O0 if gcov is being used
13930 * libs/gst/base/Makefile.am:
13931 * libs/gst/check/Makefile.am:
13932 * libs/gst/controller/Makefile.am:
13933 * libs/gst/dataprotocol/Makefile.am:
13934 * libs/gst/net/Makefile.am:
13935 * plugins/elements/Makefile.am:
13936 * plugins/indexers/Makefile.am:
13937 add makefile rules to generate gcov data and clean up
13938 * tests/check/Makefile.am:
13939 add a coverage target that generates an html overview
13942 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13944 * tests/check/elements/fakesink.c:
13945 * tests/check/elements/fakesrc.c:
13946 * tests/check/elements/fdsrc.c:
13947 * tests/check/elements/identity.c:
13948 * tests/check/generic/sinks.c: (gst_sinks_suite):
13949 * tests/check/generic/states.c:
13950 * tests/check/gst/gst.c:
13951 * tests/check/gst/gstabi.c:
13952 * tests/check/gst/gstbin.c:
13953 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13954 * tests/check/gst/gstbus.c: (gst_bus_suite):
13955 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13956 * tests/check/gst/gstelement.c:
13957 * tests/check/gst/gstevent.c: (gst_event_suite):
13958 * tests/check/gst/gstghostpad.c:
13959 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13960 * tests/check/gst/gstmessage.c: (gst_message_suite):
13961 * tests/check/gst/gstminiobject.c:
13962 * tests/check/gst/gstobject.c:
13963 * tests/check/gst/gstpad.c:
13964 * tests/check/gst/gstpipeline.c:
13965 * tests/check/gst/gstplugin.c:
13966 * tests/check/gst/gstquery.c: (gst_query_suite):
13967 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13968 * tests/check/gst/gststructure.c:
13969 * tests/check/gst/gstsystemclock.c:
13970 * tests/check/gst/gsttag.c:
13971 * tests/check/gst/gsttask.c: (gst_task_suite):
13972 * tests/check/gst/gstutils.c:
13973 * tests/check/gst/gstvalue.c:
13974 * tests/check/libs/adapter.c:
13975 * tests/check/libs/basesrc.c:
13976 * tests/check/libs/collectpads.c:
13977 * tests/check/libs/controller.c:
13978 * tests/check/libs/gdp.c: (gst_dp_suite):
13979 * tests/check/libs/gstnetclientclock.c:
13980 * tests/check/libs/gstnettimeprovider.c:
13981 * tests/check/libs/libsabi.c: (libsabi_suite):
13982 * tests/check/libs/typefindhelper.c:
13983 * tests/check/pipelines/cleanup.c:
13984 * tests/check/pipelines/parse-launch.c:
13985 * tests/check/pipelines/simple-launch-lines.c:
13986 * tests/check/pipelines/stress.c: (stress_suite):
13989 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13991 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13992 * libs/gst/check/gstcheck.h:
13993 create a macro and function so that the simple unit test
13994 case can be just one macro to create main()
13996 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13998 * gst/gstbin.c: (gst_bin_restore_thyself):
13999 * gst/gstxml.c: (gst_xml_make_element):
14000 Fix deserialisation from XML. Set parent manually
14001 instead of using gst_bin_add(), since gst_bin_add()
14002 will unlink all pads of the element being added.
14005 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14007 Patch by: Peter Kjellerstedt <pkj at axis com>
14009 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14010 Fix missing g_strdup() and double free when using the
14011 --gst-plugin-load command line option (#346097).
14013 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14016 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14018 * libs/gst/net/gstnetclientclock.c:
14019 * libs/gst/net/gstnettimeprovider.c:
14020 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14022 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14024 * docs/manual/advanced-dataaccess.xml:
14025 Fix buffer probe example compilation in
14028 2006-06-22 Edward Hervey <edward@fluendo.com>
14030 * gst/gstelement.c: (gst_element_pads_activate):
14031 We need to deactivate src pads first and then sink pads.
14032 The reason is the src pads might be blocking while holding the streaming
14033 lock, so we need to deactivate them first so that deactivating the sink
14034 pads doesn't block (since it will require the streaming lock).
14036 2006-06-22 Wim Taymans <wim@fluendo.com>
14038 * libs/gst/base/gstbasetransform.c:
14039 (gst_base_transform_buffer_alloc):
14040 Forgot to remove two unneeded unrefs.
14041 Simplify a check _is_equal allready checks the obvious case.
14043 2006-06-22 Wim Taymans <wim@fluendo.com>
14045 * docs/design/part-block.txt:
14046 Some docs about what pad_block should do.
14048 2006-06-22 Wim Taymans <wim@fluendo.com>
14050 * gst/gstcaps.c: (gst_caps_replace):
14051 Fix crasher when passed NULL. Doc clarification.
14052 Optimize for the trivial case.
14054 * gst/gstpipeline.c: (gst_pipeline_change_state):
14057 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14058 Small documentation cleanup.
14060 * libs/gst/base/gstbasetransform.c:
14061 (gst_base_transform_buffer_alloc):
14062 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14063 is what we need and it avoids a whole lot of redundant
14064 refcount operations.
14066 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14068 Patch by: Philip Jägenstedt <philip at lysator liu se>
14070 * docs/manual/advanced-dataaccess.xml:
14071 Fix 'Embedding static elements' section to use
14072 GST_PLUGIN_DEFINE_STATIC (#345607).
14074 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14076 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14077 Attempt to 'fix' spuriously failing test case: it seems like the
14078 timeout of half a second is simply too small when the system is under
14079 load otherwise, and the timeout doesn't really seem to serve any
14080 particular purpose here. Give the pipeline a few seconds to preroll
14081 first, and then give it another half a second to go from PAUSED to
14082 PLAYING and marshal the message into the main thread.
14084 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14086 * tools/gst-feedback-m.m:
14087 Don't only use unversioned tools, try versioned tools as well
14090 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14092 * gst/gstbus.c: (gst_bus_class_init):
14093 Fix some typos, make docs more explicit.
14095 2006-06-20 Wim Taymans <wim@fluendo.com>
14097 * tests/check/gst/gstghostpad.c: (block_callback),
14098 (GST_START_TEST), (gst_ghost_pad_suite):
14099 Added some more ghostpad tests, mainly blocking
14102 2006-06-16 Wim Taymans <wim@fluendo.com>
14104 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14105 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14106 (gst_file_sink_event), (gst_file_sink_render):
14107 * plugins/elements/gstfilesink.h:
14108 Check if we can seek in the file instead of assuming
14109 we always can. Post an error when we are asked to seek in a
14110 non-seekable file (like a fifo). Fixes #343312.
14113 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14115 * tools/gst-launch.1.in:
14116 Un-garble (fourcc) bit in filtered caps section.
14118 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14120 * docs/manual/advanced-autoplugging.xml:
14121 * docs/manual/basics-helloworld.xml:
14122 * docs/manual/highlevel-components.xml:
14123 Don't leak bus reference in sample code.
14125 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14128 Add default for new --enable-plugin-docs switch.
14131 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14134 * docs/Makefile.am:
14135 Use new ENABLE_PLUGIN_DOCS conditional.
14137 2006-06-14 Wim Taymans <wim@fluendo.com>
14139 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14140 Make it clear with a FIXME and a real define what the #if 0
14141 previously disabled.
14143 2006-06-14 Wim Taymans <wim@fluendo.com>
14145 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14146 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14147 * libs/gst/base/gstbasetransform.c:
14148 (gst_base_transform_sink_eventfunc):
14149 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14150 Don't randomly and silently reset a segment when the format
14151 changes as this is a bug somewhere upstream. Fixes #330379.
14153 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14155 Patch by: Wouter Paesen <wouter at kangaroot net>
14157 * libs/gst/controller/gstcontroller.c:
14158 (gst_controlled_property_new):
14159 Fix controlling of float properties (#344849).
14161 * tests/check/libs/controller.c:
14162 (gst_test_mono_source_get_property),
14163 (gst_test_mono_source_set_property),
14164 (gst_test_mono_source_class_init), (GST_START_TEST):
14165 While we're at it, add some float stuff to unit test.
14167 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14170 * docs/images/gdp-header.svg:
14172 * docs/libs/Makefile.am:
14173 * docs/libs/gdp-header.png:
14174 * libs/gst/dataprotocol/dataprotocol.c:
14175 add it to the API docs
14176 * docs/manual/intro-motivation.xml:
14179 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14181 * gst/gst.c: (scan_and_update_registry), (init_post):
14182 If the fork()'ed child process can't write the updated registry cache
14183 file to disk for some reason, make it exit with a failure exit code,
14184 so that the parent can then re-scan the plugins itself and update the
14185 registry structures in memory and work with that (rather than failing
14186 when creating elements because seemingly no plugins are available).
14187 Refactor registry scanning code into separate function for this and
14188 also separate fork() and non-fork() code paths. Fixes #344748.
14190 2006-06-13 Wim Taymans <wim@fluendo.com>
14192 * docs/manual/advanced-dataaccess.xml:
14193 Fix wrong PluginDesc. Fixes #344755.
14195 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14197 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14198 Fix silly bug that prevented us from creating
14199 ~/.gstreamer-0.10 and writing the registry in one
14200 go (the first call to g_mkstemp() would overwrite the
14201 placeholder in the template string, so the second call
14202 to g_mkstemp() after creating the missing directory
14203 would then error out with 'invalid argument').
14205 2006-06-13 Edward Hervey <edward@fluendo.com>
14207 * gst/gst.c: (init_post):
14210 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * gst/glib-compat-private.h:
14213 * gst/glib-compat.c:
14214 * gst/glib-compat.h:
14215 * gst/gstvalue.c: (gst_value_serialize_flags):
14216 remove GLib 2.6 compatibility code
14218 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14220 * gst/parse/Makefile.am:
14221 Fix build with 'make -j N' even more (#340016).
14223 2006-06-12 Wim Taymans <wim@fluendo.com>
14225 * docs/gst/gstreamer-sections.txt:
14228 2006-06-12 Wim Taymans <wim@fluendo.com>
14230 * gst/gstsegment.c: (gst_segment_set_duration),
14231 (gst_segment_set_last_stop), (gst_segment_set_seek),
14232 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14233 (gst_segment_to_running_time), (gst_segment_clip):
14234 Use G_UNLIKELY to help the compiler a bit.
14236 2006-06-12 Wim Taymans <wim@fluendo.com>
14238 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14240 * gst/gstevent.c: (gst_event_get_type):
14241 * gst/gstmessage.c:
14242 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14244 constify quark registration strings. Fixes #344115
14245 Avoid unneeded type checking is _pad_push() by internally
14246 calling gst_pad_chain_unchecked().
14248 2006-06-12 Wim Taymans <wim@fluendo.com>
14250 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14251 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14252 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14253 (gst_buffer_is_span_fast), (gst_buffer_span):
14254 Init _type for consistency.
14255 Use _FLAGS macro to avoid type check.
14256 Avoid unneeded type checks in subbufer code.
14258 2006-06-12 Wim Taymans <wim@fluendo.com>
14260 * gst/gst.c: (gst_debug_help):
14261 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14262 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14263 (gst_plugin_feature_list_free):
14264 * gst/gstregistry.c: (gst_registry_add_plugin),
14265 (gst_registry_add_feature), (gst_registry_plugin_filter),
14266 (gst_registry_feature_filter), (gst_registry_find_plugin),
14267 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14268 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14269 * gst/gstregistryxml.c: (load_feature),
14270 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14271 * gst/gstminiobject.c: (gst_mini_object_unref),
14272 (gst_mini_object_replace), (gst_value_mini_object_free),
14273 (gst_value_mini_object_copy):
14274 Use _CAST macros to avoid unneeded type checking.
14275 Added some more G_UNLIKELY.
14277 2006-06-12 Wim Taymans <wim@fluendo.com>
14280 Avoid unneeded type checking.
14281 API: GST_BUFFER_IS_DISCONT
14283 * gst/gstminiobject.h:
14284 Avoid type check in flag accessor.
14286 * gst/gstelementfactory.h:
14288 * gst/gstpluginfeature.h:
14290 API: GST_ELEMENT_FACTORY_CAST
14291 API: GST_PLUGIN_CAST
14292 API: GST_PLUGIN_FEATURE_CAST
14294 2006-06-12 Wim Taymans <wim@fluendo.com>
14296 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14297 (gst_object_unref):
14298 Add G_UNLIKELY in type registration.
14299 Avoid type check in _ref/_unref since that is also
14302 2006-06-12 Wim Taymans <wim@fluendo.com>
14304 * gst/gsterror.c: (gst_g_error_get_type):
14305 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14306 (gst_static_pad_template_get_type):
14307 * gst/gsttaglist.c: (gst_tag_list_get_type):
14308 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14309 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14310 * gst/gsturi.c: (gst_uri_handler_get_type):
14311 * gst/gstvalue.c: (gst_date_get_type):
14312 * gst/gstxml.c: (gst_xml_get_type):
14313 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14314 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14315 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14316 Add G_UNLIKELY in type registration.
14318 2006-06-12 Wim Taymans <wim@fluendo.com>
14320 * tools/gst-inspect.c: (print_signal_info):
14321 Properly print enum values.
14323 2006-06-12 Wim Taymans <wim@fluendo.com>
14325 * gst/gstinfo.c: (gst_debug_set_active),
14326 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14328 Add some G_[UN]LIKELY.
14329 Maintain __gst_debug_min to avoid formatting the arguments of
14330 debug messages that will be dropped anyway to avoid a lot of
14331 overhead from the debugging system.
14333 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14336 * po/POTFILES.skip:
14337 add missing files containing translatable strings, tell intltool about
14340 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14342 * tests/check/libs/.cvsignore:
14343 add test-binary to ignore list
14345 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14347 * docs/libs/gstreamer-libs-docs.sgml:
14348 reorder (put dp into a chapter) and indent
14350 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14355 === release 0.10.8 ===
14357 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14360 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14362 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14364 * gst/gst.c: (init_post):
14365 move pid declaration to declaration block
14367 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14369 * gst/gst.c: (init_post):
14370 use _exit() instead of exit() in our forked child; this ensures
14371 that none of the registered exit handlers from whatever is using
14372 GStreamer get executed. This fixes gnome-mixer-applet failing
14373 to load, because ORBit would shut down.
14374 Spotted by: Edward Hervey <edward@fluendo.com>
14375 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14378 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14383 === release 0.10.7 ===
14385 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14388 releasing 0.10.7, "Soepeke, ik zie ou"
14390 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14413 * win32/common/config.h:
14414 0.10.6.2 prerelease
14416 2006-06-07 Wim Taymans <wim@fluendo.com>
14418 * gst/gstindex.c: (gst_index_gtype_resolver):
14419 * tools/gst-xmlinspect.c: (print_plugin_info):
14420 Fix leak spotted by coverity checker. Fixes #343827
14421 Fix another other leak found by paolo borelli.
14423 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14425 * libs/gst/dataprotocol/dataprotocol.c:
14426 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14427 (gst_dp_version_get_type), (gst_dp_init),
14428 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14429 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14430 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14431 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14432 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14433 (gst_dp_packetizer_free):
14434 * libs/gst/dataprotocol/dataprotocol.h:
14435 API: add a GstDPPacketizer object, and create/free functions
14436 API: add GstDPVersion enum
14437 Add 1.0 event function that uses the string serialization
14438 Serialize more useful buffer flags
14441 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14443 * tests/check/Makefile.am:
14444 * tests/check/gst/gstabi.c:
14445 * tests/check/gst/struct_ppc64.h:
14446 * tests/check/libs/libsabi.c:
14447 * tests/check/libs/struct_ppc64.h:
14448 add ppc64 structure sizes
14450 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14452 * tests/check/Makefile.am:
14453 * tests/check/gst/gstabi.c:
14454 * tests/check/gst/struct_x86_64.h:
14455 * tests/check/libs/libsabi.c:
14456 * tests/check/libs/struct_x86_64.h:
14457 generate and add structure size lists for x86_64
14459 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14461 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14462 * libs/gst/check/gstcheck.h:
14463 factor out the method from tests that checks size of structures,
14464 and add code to generate the header containing these sizes
14465 * tests/check/gst/gstabi.c: (GST_START_TEST):
14466 * tests/check/gst/struct_i386.h:
14467 * tests/check/libs/libsabi.c: (GST_START_TEST):
14468 * tests/check/libs/struct_i386.h:
14471 2006-06-06 Michael Smith <msmith@fluendo.com>
14473 * gst/gstsegment.h:
14474 Don't use c++-style comments, fixes #343929
14476 2006-06-05 Edward Hervey <edward@fluendo.com>
14479 plugin_paths is not used if we build without registry support.
14481 * gst/gstsegment.c: (gst_segment_copy):
14482 _copy() was always returning NULL...
14484 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14486 * libs/gst/dataprotocol/dataprotocol.c:
14487 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14488 (gst_dp_packet_from_event):
14489 factor out CRC code
14491 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14493 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14494 make sure we unset caps
14496 2006-06-02 Michael Smith <msmith@fluendo.com>
14498 * libs/gst/check/gstcheck.c: (gst_check_init),
14499 (gst_check_chain_func):
14500 * libs/gst/check/gstcheck.h:
14501 Add a cond/mutex to the check support lib, signal this whenever we
14502 add to the buffers list. This will allow tests to not busy-wait on
14505 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * libs/gst/dataprotocol/dataprotocol.c:
14508 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14509 (gst_dp_packet_from_event):
14510 factor out some common header init code
14512 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14514 * docs/libs/gstreamer-libs-sections.txt:
14515 * docs/libs/tmpl/gstdataprotocol.sgml:
14516 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14517 * libs/gst/dataprotocol/dataprotocol.h:
14518 API: make gst_dp_crc() public
14520 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14522 * plugins/indexers/gstindexers.c: (plugin_init):
14523 conditionally register fileindexer (fixes #343598)
14525 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14527 * gst/gsttagsetter.h:
14528 Can't cast ifaces to a class
14530 * libs/gst/net/gstnetclientclock.h:
14531 * libs/gst/net/gstnettimeprovider.h:
14532 * plugins/elements/gstfakesink.h:
14533 * plugins/elements/gstfakesrc.h:
14534 * plugins/elements/gstfdsink.h:
14535 * plugins/elements/gstfdsrc.h:
14536 * plugins/elements/gstfilesink.h:
14537 * plugins/elements/gstfilesrc.h:
14538 * plugins/elements/gstidentity.h:
14539 * plugins/elements/gstqueue.h:
14540 * plugins/elements/gsttee.h:
14541 * plugins/indexers/gstfileindex.c:
14542 * plugins/indexers/gstmemindex.c:
14543 * tests/old/examples/plugins/example.h:
14544 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14546 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14548 * libs/gst/dataprotocol/dataprotocol.c:
14549 (gst_dp_header_from_buffer):
14550 make sure we zero the whole ABI-compatible area
14552 2006-06-01 Wim Taymans <wim@fluendo.com>
14554 Patch by: Alessandro Decina <alessandro at nnva dot org>
14556 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14557 Make sure the EOS flag is cleared from pads after a flush
14558 or stop. Fixes #343538.
14560 * tests/check/libs/collectpads.c: (GST_START_TEST),
14561 (gst_collect_pads_suite):
14562 Added test for collectpads reusage after EOS.
14564 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14567 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14568 * win32/common/libgstbase.def:
14569 export gst_collect_pads_set_flushing
14570 * win32/common/libgstreamer.def:
14571 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14572 gst_value_fraction_multiply
14573 * win32/vs6/gst_inspect.dsp:
14574 add a link to intl.lib
14576 2006-05-30 Wim Taymans <wim@fluendo.com>
14578 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14579 (gst_collect_pads_chain):
14580 Handle the case where a pad is removed from the collection
14581 that could cause the other pads to become collectable.
14583 2006-05-30 Wim Taymans <wim@fluendo.com>
14585 * gst/gstelement.c:
14586 Clarify the use of _release_request_pad() and
14587 _get_request_pad() a bit better.
14589 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14590 (gst_adapter_take_buffer):
14591 Fix some doc and comment typos.
14593 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14595 * docs/gst/gstreamer-sections.txt:
14596 * docs/libs/gstreamer-libs-sections.txt:
14597 add declared symbols
14599 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14601 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14602 Add debug that can be enabled using a #define at the top of the file,
14603 for dumping stats about how late/early we were when waking up from
14604 waiting on the clock.
14606 2006-05-30 Wim Taymans <wim@fluendo.com>
14608 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14609 When rebuilding the pad list, don't leak the previous list.
14611 2006-05-30 Wim Taymans <wim@fluendo.com>
14613 Patch by: Lutz Mueller <lutz at topfrose dot de>
14615 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14616 (gst_base_src_get_query_types), (gst_base_src_update_length):
14617 Publish supported query types.
14618 Update last_stop field in get_range mode so the position
14619 query works. Fixes #342321.
14621 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14623 * docs/gst/gstreamer-sections.txt:
14624 * gst/gsttaglist.c: (_gst_tag_initialize):
14625 * gst/gsttaglist.h:
14626 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14628 2006-05-30 Wim Taymans <wim@fluendo.com>
14630 Patch by: Alessandro Decina <alessandro at nnva dot org>
14632 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14633 Unlock mutex when removing an unknown pad.
14636 * tests/check/Makefile.am:
14637 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14638 (push_event), (setup), (teardown), (GST_START_TEST),
14639 (gst_collect_pads_suite), (main):
14640 Added collecpads check, disabled for now as check crashes for
14643 2006-05-29 Wim Taymans <wim@fluendo.com>
14645 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14646 Don't leak pads lists.
14648 2006-05-29 Wim Taymans <wim@fluendo.com>
14650 * docs/libs/gstreamer-libs-sections.txt:
14651 * libs/gst/base/gstcollectpads.c:
14652 (gst_collect_pads_set_flushing_unlocked),
14653 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14654 (gst_collect_pads_stop):
14655 * libs/gst/base/gstcollectpads.h:
14656 API: gst_collect_pads_set_flushing()
14657 Added api to set the pads to flushing, useful for seeking
14658 code in elements using collectpads.
14659 Clear segment when receiving a flush.
14661 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14663 * gst/gst.c: (add_path_func), (init_post):
14664 Don't scan registry paths passed via --gst-plugin-path immediately
14665 (will crash, because absolutely nothing is set up and no types are
14666 registered etc.); do this later in init_post(). Fixes #343057.
14668 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14670 * gst/gst.c: (init_post):
14671 if we have fork, fork while reading/rebuilding the registry
14672 so the parent doesn't take the hit of having all plugins loaded
14673 in memory. Fixes #342777.
14675 Check if we have fork()
14676 * win32/common/config.h.in:
14679 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14681 * plugins/elements/gstelements.c:
14682 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14683 (gst_file_src_init), (gst_file_src_set_property),
14684 (gst_file_src_get_property), (gst_file_src_start):
14685 * plugins/elements/gstfilesrc.h:
14686 API: GstFileSrc::use-mmap
14688 Add a use-mmap property to enable easier testing of all code paths.
14689 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14690 in the absence of gnomevfssrc. (Closes #340501)
14692 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14694 * tools/gst-inspect.c:
14695 Add missing include, removes warning of ngettext not being defined on
14698 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14700 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14701 Handle NULL input and output pointers silently as a failed conversion,
14702 rather than g_warnings.
14704 2006-05-25 Wim Taymans <wim@fluendo.com>
14706 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14707 Initialize variable before using. Fixes #342820.
14709 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14711 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14712 Fix off-by-one bug that would only allow peeks of N-1 bytes
14713 from the start even if the buffer to typefind on contains
14714 in fact N bytes of data (makes vorbis typefinding from a
14715 vorbis identification header buffer work).
14717 * tests/check/Makefile.am:
14718 * tests/check/libs/.cvsignore:
14719 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14720 (gst_typefindhelper_suite), (main), (foobar_typefind),
14722 Add very basic unit test for gst_type_find_helper_for_buffer()
14723 that checks for the problem fixed above.
14725 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14727 * tools/gst-inspect.c: (print_interfaces),
14728 (print_element_properties_info), (print_element_list), (main):
14729 add more translatable strings
14731 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14733 Patch by: Julien Moutte <julien at moutte net>
14735 * docs/gst/gstreamer-sections.txt:
14736 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14738 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14739 (gst_fake_sink_preroll):
14740 * plugins/elements/gstfakesink.h:
14741 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14743 2006-05-23 Wim Taymans <wim@fluendo.com>
14745 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14747 Added _CUSTOM error and success GstFlowReturn that can be
14748 used be elements internally.
14749 Added macro to check for SUCCESS flowreturns.
14750 API: GST_FLOW_CUSTOM_SUCCESS
14751 API: GST_FLOW_CUSTOM_ERROR
14752 API: GST_FLOW_IS_SUCCESS
14754 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14755 Added check for GstFlowReturn sanity.
14757 2006-05-23 Wim Taymans <wim@fluendo.com>
14759 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14761 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14762 (gst_collect_pads_event):
14763 clear/reset segment info in FLUSH_STOP.
14766 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14768 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14769 (gst_collect_pads_check_collected):
14770 Flush queued buffer on _stop(), fixes playing again (#342454)
14772 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14774 * tests/check/gst/gststructure.c: (GST_START_TEST),
14775 (gst_structure_suite):
14776 add a test for a complete structure
14778 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14780 * docs/faq/developing.xml:
14781 * docs/faq/faq.xml:
14782 * docs/faq/troubleshooting.xml:
14783 * docs/faq/using.xml:
14784 Some minor FAQ updates that won't change the fact that
14785 our FAQ is badly structured, full of information hardly
14786 anyone new to GStreamer needs to know and lacking lots
14787 of information people constantly ask for.
14789 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14791 * gst/gstpad.c: (gst_pad_set_caps):
14792 Short-circuit gst_pad_set_caps if setting the existing
14793 caps pointer again, and avoid printing debug and
14794 reffing/unreffing the caps.
14796 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14797 There's actually no need to set the caps before pushing -
14798 the acceptcaps method will handle it anyway.
14800 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14802 * docs/gst/gstreamer-sections.txt:
14803 * win32/common/libgstreamer.def:
14804 * gst/gstutils.c: (gst_element_seek_simple):
14806 API: add gst_element_seek_simple() (#342238).
14808 2006-05-18 Edward Hervey <edward@fluendo.com>
14810 * gst/gsttypefind.c: (gst_type_find_get_type):
14811 * gst/gsttypefind.h:
14812 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14813 registered for GstTypeFind pointers. This allows wrapping the structure
14814 in bindings (i.e. gst-python).
14816 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14818 * gst/gsttagsetter.c:
14819 Docs additions and fixes (see #339918).
14821 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14823 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14824 The caps intersection algorithm can produce multiple copies of the
14825 caps. Until that is fixed, we need to simplify the result to be
14826 sure whether the allowed caps are fixed or not.
14828 * plugins/elements/gstqueue.c: (gst_queue_init),
14829 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14830 (gst_queue_push_one):
14831 Proxied buffer alloc should not set the caps on the source pad.
14832 When pushing buffers, we always accept the caps change that triggers.
14833 This prevents negotiation errors caused by caps changing mid-stream
14834 and then being refused on our source pad (because upstream is now
14835 refusing those caps).
14837 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14839 * tests/examples/helloworld/helloworld.c: (main):
14840 Must plug audioconvert and audioresample between decoder
14843 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14845 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14846 (load_feature), (load_plugin):
14847 Allow empty strings for some of the plugin fields so we don't
14848 drop valid plugin entries that were written out correctly
14851 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14853 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14854 Use g_remove and g_rename instead of remove and rename that don't
14855 handle utf8 characters. rename was failing for users who had specific
14856 characters in their name then the registry was built at each
14858 * win32/vs6/gst_inspect.dsp:
14859 * win32/vs6/gst_launch.dsp:
14860 * win32/vs6/libgstbase.dsp:
14861 * win32/vs6/libgstcoreelements.dsp:
14862 * win32/vs6/libgstreamer.dsp:
14863 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14864 build of libgstreamer and clean unused libraries in projects link
14867 2006-05-17 Edward Hervey <edward@fluendo.com>
14869 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14870 The queue is not responsible for pushing an EOS when receiving a fatal
14871 flow error. It's up to the real element driving the pipeline to do that.
14873 2006-05-16 Edward Hervey <edward@fluendo.com>
14875 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14876 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14877 buffer returned a fatal error. It should just send an EOS and stop
14879 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14880 when pushing buffers on the queue and will be able to handle the event.
14882 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14884 * docs/manual/basics-bins.xml:
14885 * docs/manual/basics-init.xml:
14886 Fix typos and minor errors in sample code (#341856).
14888 2006-05-16 Wim Taymans <wim@fluendo.com>
14890 * docs/design/part-qos.txt:
14891 Fix indexes in formulas to make more sense.
14893 2006-05-15 Wim Taymans <wim@fluendo.com>
14895 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14896 Don't report POSITION based on clock time if sync is
14897 disabled in a sink.
14899 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14902 Add cast to make compiler happy - refcount variable was a gint
14903 in GstObject but is a guint in GObject and g_atomic_int_get()
14906 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14908 * gst/parse/Makefile.am:
14909 chain commands using &&, which also makes parallel make work
14911 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14913 * docs/gst/gstreamer-sections.txt:
14916 * gst/gstmessage.h:
14919 === release 0.10.6 ===
14921 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14924 releasing 0.10.6, "Take the cannoli"
14926 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14928 * tools/gst-launch.c: (print_tag):
14929 Fix use of uninitialized variable in the hypothetical
14930 case that some broken plugin creates a GST_TAG_IMAGE
14931 tag containing a NULL buffer (#341667).
14933 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14935 * tools/gst-launch.c: (print_tag):
14936 Print something more intelligible for image tags when
14937 using the -t switch (#341556).
14939 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14944 define GST_MAJORMINOR so we have it available in win32/common/config.h
14945 Possibly remove it from our Makefile.am files later
14946 * win32/common/config.h:
14947 * win32/common/config.h.in:
14948 added GST_MAJORMINOR
14949 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14950 * win32/common/gstversion.h:
14953 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14956 Update win32 files listing.
14957 * win32/common/gstversion.h:
14958 Add GST_MAJORMINOR definition.
14959 * win32/common/libgstreamer.def:
14960 Add new exported functions.
14962 2006-05-12 Michael Smith <msmith@fluendo.com>
14964 * gst/gstplugin.c: (gst_plugin_load_file):
14965 If an so file has no plugin entry point, unload the module.
14967 2006-05-11 Wim Taymans <wim@fluendo.com>
14969 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14970 (gst_queue_set_property):
14971 Don't forget to signal the _chain or _loop function
14972 when the queue size or thresholds change since that might
14973 cause them to make progres again.
14975 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14977 * gst/gstclock.c: (gst_clock_class_init):
14978 * gst/gstindex.c: (gst_index_class_init):
14979 * gst/gstobject.c: (gst_object_class_init):
14980 * gst/gstpad.c: (gst_pad_class_init):
14981 * gst/gstpipeline.c: (gst_pipeline_class_init):
14982 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14983 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14984 * libs/gst/base/gstbasetransform.c:
14985 (gst_base_transform_class_init):
14986 * libs/gst/net/gstnetclientclock.c:
14987 (gst_net_client_clock_class_init):
14988 * libs/gst/net/gstnettimeprovider.c:
14989 (gst_net_time_provider_class_init):
14990 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14991 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14992 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14993 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14994 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14995 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14996 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14997 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14998 * plugins/elements/gsttee.c: (gst_tee_class_init):
14999 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15000 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15001 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15003 2006-05-11 Wim Taymans <wim@fluendo.com>
15005 * gst/gstbuffer.c: (_gst_buffer_initialize):
15006 Register subbufer along with the buffer type so that
15007 it does not accidentally gets registered from N
15008 different streaming threads in a non threadsafe way.
15010 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15014 * gst/gstmessage.h:
15015 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15016 gst_event_ref() and gst_message_ref() functions again
15017 (ugly hack, please do fix if there's a better way besides
15018 overrides.txt, which doesn't seem to work).
15020 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15022 * libs/gst/check/gstcheck.h:
15023 add an assert for setting state to avoid lots of repetitive code
15026 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15028 * gst/gstvalue.c: (gst_value_serialize_flags):
15029 fix a leak if no flags are set
15030 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15033 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15035 * docs/manual/basics-pads.xml:
15036 Expand a bit on caps and filtered links and update
15037 examples that were still using the no longer existing
15038 gst_pad_link_filtered() (#338206).
15040 2006-05-10 Wim Taymans <wim@fluendo.com>
15042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15043 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15044 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15045 (gst_collect_pads_stop):
15046 * libs/gst/base/gstcollectpads.h:
15047 No need to call _stop in _finalize.
15048 Iterate the main pad list in _finalize.
15049 Added some more debug.
15050 Free lists and data in the right order.
15051 Also free data whem doing _remove_pad when stopped for
15052 backward compatibility protect ::started with PAD_LOCK as
15055 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15057 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15058 (gst_structure_parse_value):
15060 rename a method so that it actually says what it does better
15062 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15064 * gst/gstevent.c: (_gst_event_initialize):
15065 * gst/gstformat.c: (_gst_format_initialize):
15066 make sure some essential types used by events are registered
15067 as part of gst_init()
15068 * gst/gstvalue.c: (gst_value_serialize_flags):
15069 if no flags are set, serialize them to a value that represents NONE
15070 so that deserializing them works
15071 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15072 add tests for serialization and deserialization of flags
15074 2006-05-10 Wim Taymans <wim@fluendo.com>
15076 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15077 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15078 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15079 (gst_collect_pads_event), (gst_collect_pads_chain):
15082 Catch and return errors from the collect function
15083 Refuse data on eos pads.
15085 2006-05-10 Edward Hervey <edward@fluendo.com>
15087 * gst/gstinterface.h:
15088 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15089 GInterface type checking.
15090 They were previously using non-defined macros.
15092 2006-05-09 Wim Taymans <wim@fluendo.com>
15094 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15095 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15096 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15097 (gst_collect_pads_start), (gst_collect_pads_stop),
15098 (gst_collect_pads_peek), (gst_collect_pads_pop),
15099 (gst_collect_pads_available), (gst_collect_pads_read),
15100 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15101 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15102 (gst_collect_pads_chain):
15103 * libs/gst/base/gstcollectpads.h:
15104 Clean up the mess that is collectpads, add comments and
15105 FIXMEs where needed.
15106 Maintain a separate pad list so we can add pads while
15107 collecting the other ones. For this we need a new separate
15109 Fix memory leak in finalize.
15110 Refactor some weird code to set/unset pad flushing flags, mark
15112 Don't crash in _available, _read, _flush when we're EOS.
15114 * tests/check/libs/.cvsignore:
15115 Ignore adapter check binary.
15117 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15119 * gst/gstindex.c: (gst_index_resolver_get_type):
15120 * plugins/elements/gstfakesink.c:
15121 (gst_fake_sink_state_error_get_type):
15122 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15123 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15124 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15125 Const-ify GEnumValue arrays.
15127 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15129 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15130 Add test case for flags + gst_buffer_make_metadata_writable().
15132 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15134 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15135 gst_buffer_make_metadata_writable() should maintain the
15136 buffer flags (those that make sense at least) (see #340859).
15138 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15140 * tools/gst-inspect.c:
15141 * tools/gst-launch.c:
15142 * tools/gst-typefind.c:
15143 * tools/gst-xmlinspect.c:
15145 Fix up includes: need to include stdlib.h in tools.h for exit().
15147 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15149 * gst/gsttaglist.c: (_gst_tag_initialize):
15150 * gst/gsttaglist.h:
15151 API: add GST_TAG_IMAGE tag (#340721).
15153 2006-05-08 Wim Taymans <wim@fluendo.com>
15156 Added some docs for the segment query.
15158 2006-05-08 Wim Taymans <wim@fluendo.com>
15160 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15161 (gst_base_src_loop), (gst_base_src_change_state):
15162 Always push non-flushing serialized events in the streaming
15165 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15167 * gst/gsterror.c: (_gst_stream_errors_init):
15168 Add a missing error string.
15170 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15172 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15173 Add applied_rate to the debug
15175 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15176 Copy applied_rate into the outgoing NEWSEGMENT event
15178 2006-05-08 Wim Taymans <wim@fluendo.com>
15180 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15182 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15183 (gst_base_sink_change_state):
15184 call ::unlock before taking the PREROLL_LOCK so we can safely
15185 handle elements that lock in ::render.
15188 2006-05-08 Edward Hervey <edward@fluendo.com>
15190 * autogen.sh: (CONFIGURE_DEF_OPT):
15191 Darwin's libtoolize is in fact called glibtoolize.
15192 Adding glibtoolize to the list of accepted names for libtoolize.
15194 2006-05-08 Wim Taymans <wim@fluendo.com>
15196 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15197 Unify error handling, don't post an error message
15198 when a push() returns EOS but perform our normal EOS
15199 handling code. Fixes #340772.
15201 2006-05-08 Wim Taymans <wim@fluendo.com>
15203 * docs/design/part-overview.txt:
15204 Make upsteam/downstream concepts more clear.
15205 Give an example of serialized/non-serialized events.
15207 * docs/design/part-events.txt:
15208 * docs/design/part-streams.txt:
15209 Mention applied_rate.
15211 * docs/design/part-trickmodes.txt:
15212 Mention applied rate, flesh out some more use cases.
15214 * gst/gstevent.c: (gst_event_new_new_segment),
15215 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15216 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15217 (gst_event_parse_tag), (gst_event_new_buffer_size),
15218 (gst_event_parse_buffer_size), (gst_event_new_qos),
15219 (gst_event_parse_qos), (gst_event_parse_seek),
15220 (gst_event_new_navigation):
15222 Add applied_rate field to NEWSEGMENT event.
15223 API: gst_event_new_new_segment_full()
15224 API: gst_event_parse_new_segment_full()
15226 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15227 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15228 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15229 * gst/gstsegment.h:
15230 Add applied_rate to GstSegment structure.
15231 Make calculation of stream_time and running_time more correct
15232 wrt rate/applied_rate.
15233 Add some more docs.
15234 API: GstSegment::applied_rate field
15235 API: gst_segment_set_newsegment_full();
15237 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15238 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15239 * libs/gst/base/gstbasetransform.c:
15240 (gst_base_transform_sink_eventfunc),
15241 (gst_base_transform_handle_buffer):
15242 Parse and use applied_rate in the GstSegment field.
15244 * tests/check/gst/gstevent.c: (GST_START_TEST):
15245 Add check for applied_rate field.
15247 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15248 (gstsegments_suite):
15249 Add more checks for various GstSegment operations.
15251 2006-05-08 Wim Taymans <wim@fluendo.com>
15253 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15254 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15255 (gst_base_sink_get_position), (gst_base_sink_change_state):
15256 Store the sync time of the buffer end position separatly in a
15257 new variable eos_rtime so we can properly sync the EOS event.
15259 Fix the docs for gst_base_sink_set_qos_enabled().
15260 Don't set segment start to invalid value when we receive a
15261 non TIME newsegment.
15262 get closer to handling position reporting for negative rates
15265 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15268 Docs about how to print caps for debug purposes.
15270 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15271 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15273 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15275 * gst/gstelement.c:
15276 use full enum names and preprend a '%' in docs strings to make recent
15277 gtk-doc turn that into a link
15279 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15281 * docs/manual/basics-bins.xml:
15282 * docs/manual/basics-bus.xml:
15283 * docs/manual/basics-pads.xml:
15284 Some typo fixes, some additions, some clarifications.
15286 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15288 * tools/gst-inspect.c: (main):
15289 * tools/gst-launch.c: (main):
15290 * tools/gst-run.c: (main):
15291 * tools/gst-typefind.c: (main):
15292 * tools/gst-xmlinspect.c: (main):
15293 Use the string passed to g_option_context_new() for
15294 what it's intended for - the program name is already
15297 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15299 * tools/Makefile.am:
15300 * tools/gst-inspect.c: (main):
15301 * tools/gst-launch.c: (main):
15302 * tools/gst-xmlinspect.c: (main):
15304 Add back --version command line option (#340460).
15306 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15307 Add --version option and use GOption for argument parsing; refactor a
15308 bit; accept directories as arguments and recurse into them; lastly,
15309 print a decent error message when things go wrong.
15311 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15313 * docs/manual/basics-bins.xml:
15314 Don't mention GstThread (#340611)
15315 * docs/manual/basics-elements.xml:
15316 Update link to GObject tutorial (#340607)
15318 2006-05-05 Wim Taymans <wim@fluendo.com>
15321 * gst/gstminiobject.c:
15322 Add note about refcounting and miniobject/buffer writeability
15323 to docs. Fixes #340604
15325 * gst/gstelementfactory.h:
15326 Added some explanation about @klass.
15328 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15330 * docs/manual/intro-motivation.xml:
15331 * docs/manual/manual.xml:
15332 Avoid CORBA & Bonobo references (#340598)
15334 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15336 * docs/manual/basics-bus.xml:
15337 * docs/manual/basics-pads.xml:
15338 Fix up some inaccuracies and omissions (#340609)
15340 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15342 * gst/gstghostpad.c:
15343 Small typo in docs (#340625)
15345 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15347 * gst/parse/Makefile.am:
15348 Make 'make -j' proof (see #340698).
15350 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15353 Require GLib-2.8 here as well.
15355 2006-05-05 Wim Taymans <wim@fluendo.com>
15357 * gst/glib-compat.c:
15358 * gst/gst.c: (init_pre):
15359 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15360 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15361 (gst_object_dispatch_properties_changed):
15363 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15364 * gst/gststructure.c: (gst_structure_set_valist):
15365 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15366 Remove pre glib2.8 compatibility, fixes #340508
15368 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15370 * gst/gsttaglist.h:
15371 Mention type of tags in doc blurbs.
15373 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15375 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15376 (gst_pad_configure_src), (gst_pad_push):
15377 Restore acceptcaps checking behaviour now that good plugins have
15380 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15382 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15389 * gst/gstmessage.c:
15393 * gst/parse/Makefile.am:
15394 * libs/gst/base/gstadapter.c:
15395 * libs/gst/base/gstbasesrc.c:
15396 * libs/gst/base/gstpushsrc.c:
15397 * libs/gst/base/gsttypefindhelper.c:
15398 * plugins/elements/gstfakesrc.c:
15399 * plugins/elements/gstidentity.c:
15400 Make sure gstprivate.h and/or config.h are
15401 always included first, otherwise some of our
15402 defines (like _FILE_OFFSET_BITS) might be
15403 redefined in the system headers. Fixes build
15404 on opensolaris (#340016).
15406 2006-05-04 Wim Taymans <wim@fluendo.com>
15408 * docs/libs/gstreamer-libs-sections.txt:
15409 API: addition: gst_adapter_take_buffer()
15411 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15412 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15413 (gst_adapter_available_fast):
15414 * libs/gst/base/gstadapter.h:
15415 Prepare for optimizing the hell out of this hugely inefficient
15417 Added gst_adapter_take_buffer() so we can at least start thinking
15418 about subbuffering and merging.
15419 Added some comments.
15421 * tests/check/Makefile.am:
15422 * tests/check/libs/adapter.c: (GST_START_TEST),
15423 (gst_adapter_suite), (main):
15424 Added GstAdapter check.
15426 2006-05-04 Wim Taymans <wim@fluendo.com>
15428 * docs/design/part-overview.txt:
15429 Fix some typos, add blurb about buffer flags.
15431 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15433 * docs/libs/gstreamer-libs-sections.txt:
15434 make sure GstBaseTransformClass shows up in the docs
15435 * libs/gst/base/gstbasetransform.c:
15436 * libs/gst/base/gstbasetransform.h:
15437 move docs so gtk-doc picks it up now
15439 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15441 * docs/libs/gstreamer-libs-sections.txt:
15442 add missing symbols to docs
15444 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15446 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15447 back out the newsegment handling change, see #340060 for ongoing
15450 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15452 * tools/gst-run.c: (get_candidates), (main):
15453 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15454 work); fix typo in error message. Fixes #340079.
15456 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15458 * common/Makefile.am:
15459 * docs/Makefile.am:
15460 * docs/faq/Makefile.am:
15461 * docs/gst/Makefile.am:
15462 * docs/libs/Makefile.am:
15463 * docs/manual/Makefile.am:
15464 * docs/plugins/Makefile.am:
15465 * docs/pwg/Makefile.am:
15466 * docs/slides/Makefile.am:
15468 * common/upload.mak:
15469 move upload.mak to common
15471 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15473 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15474 add more asserts on refcounts
15475 do more cleanup at end of tests
15476 fix test leaks showing in FC5
15478 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15480 * plugins/elements/gsttypefindelement.c:
15481 (gst_type_find_element_handle_event):
15482 reverted wrong change and reflowed code to avoid others falling into
15485 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15487 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15488 fix changelog entry about last collectpads change,
15489 add notes about proper fix
15491 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15494 * gst/gstregistry.c: (gst_registry_scan_path_level),
15495 (gst_registry_scan_path):
15496 * gst/gstregistry.h:
15497 only write out registry if it has changed, fixes #338339
15499 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15502 * gst/gstpipeline.c:
15503 * plugins/elements/gstcapsfilter.c:
15504 * plugins/elements/gstfakesink.c:
15505 * plugins/elements/gstfakesrc.c:
15506 * plugins/elements/gstfdsink.c:
15507 * plugins/elements/gstfdsrc.c:
15508 * plugins/elements/gstfilesink.c:
15509 * plugins/elements/gstfilesrc.c:
15510 * plugins/elements/gstidentity.c:
15511 * plugins/elements/gstqueue.c:
15512 * plugins/elements/gsttee.c:
15513 * plugins/elements/gsttypefindelement.c:
15514 (gst_type_find_element_handle_event):
15515 make GstElementDetails const
15517 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15519 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15520 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15521 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15522 more detailed debug and formatting cleanup,
15523 forward newsegments to src-pad (so that e.g. adder not eats them)
15525 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15527 * gst/gstutils.c: (gst_element_link_pads):
15528 cleanup double code
15530 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15532 * libs/gst/controller/gstcontroller.c:
15533 (gst_controller_sync_values):
15535 * tests/check/libs/controller.c: (GST_START_TEST),
15536 (gst_controller_suite):
15537 a new test for live value handling
15539 2006-04-28 Wim Taymans <wim@fluendo.com>
15541 * gst/gstutils.c: (push_and_ref):
15542 Added some more docs.
15543 Fix refcount issue whith gst_element_found_tags() helper
15544 function. Fixes #338335
15546 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15547 Added testsuite for gst_element_found_tags().
15549 2006-04-28 Michael Smith <msmith@fluendo.com>
15551 * gst/gstvalue.c: (gst_value_serialize_flags):
15552 Avoid NULL dereference when trying to serialize flags containing
15555 2006-04-28 Michael Smith <msmith@fluendo.com>
15557 * plugins/elements/gsttypefindelement.c:
15558 (gst_type_find_element_handle_event):
15559 If we get EOS before any data is accumulated, don't use
15560 uninitialised local variables.
15562 2006-04-28 Michael Smith <msmith@fluendo.com>
15564 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15565 (gst_dp_event_from_packet):
15566 Fixes in reading/writing events over GDP (not currently used?) -
15567 dereferencing NULL events for unknown/invalid event types, memory
15568 leak, and change g_warning to GST_WARNING.
15570 2006-04-28 Wim Taymans <wim@fluendo.com>
15572 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15573 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15574 (gst_base_sink_get_position), (gst_base_sink_change_state):
15575 When frame dropping is enabled, we should not ignore frames
15576 without a duration.
15577 Update some documentation.
15579 2006-04-28 Wim Taymans <wim@fluendo.com>
15581 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15582 (gst_base_src_send_event), (gst_base_src_change_state):
15583 Documentation updates.
15585 2006-04-28 Wim Taymans <wim@fluendo.com>
15587 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15588 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15589 handle EAGAIN, EINTR and short writes correctly. Also clean
15590 up some error cases, avoid a deadlock on bad file descriptors and
15591 use GST_DEBUG_OBJECT.
15594 2006-04-28 Wim Taymans <wim@fluendo.com>
15596 * gst/gstvalue.c: (gst_value_serialize_buffer),
15597 (gst_value_deserialize_buffer):
15598 Don't try to serialize a GValue with a NULL buffer.
15601 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15602 Added check for serialisation of NULL buffers.
15604 2006-04-28 Wim Taymans <wim@fluendo.com>
15606 * gst/gstminiobject.c: (gst_value_take_mini_object):
15607 Taking a NULL miniobject is valid, fix the case where
15608 we try to unref the NULL miniobject.
15610 2006-04-28 Wim Taymans <wim@fluendo.com>
15612 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15614 * gst/gstbin.c: (gst_bin_handle_message_func):
15616 Don't leak bin refcount when a state recalc is
15617 in progress and we delay another one #339808.
15619 2006-04-28 Wim Taymans <wim@fluendo.com>
15621 * docs/design/part-TODO.txt:
15622 Mention QoS as an ongoing work item.
15624 * docs/design/part-buffering.txt:
15625 New doc about buffering that needs to be fleshed out
15628 * docs/design/part-qos.txt:
15629 More QoS policy for decoders/demuxers/transforms
15631 * docs/design/part-trickmodes.txt:
15634 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15639 === release 0.10.5 ===
15641 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15644 releasing 0.10.5, "Fogo"
15646 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15648 patch by: Wim Taymans
15650 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15651 (gst_pad_configure_src), (gst_pad_push):
15652 * gst/gstpipeline.c: (gst_pipeline_init):
15653 Fix internal data flow errors. Fixes #338711.
15655 2006-04-12 Wim Taymans <wim@fluendo.com>
15657 * tests/check/gst/gstelement.c: (GST_START_TEST):
15658 Don't leak the factory.
15660 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15663 * win32/common/config.h:
15666 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15668 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15669 (gst_controller_unset_all):
15670 Free allocated GstTimedValues when freeing list nodes.
15671 Should fix leaks 'make check-valgrind' complains about.
15673 * win32/common/libgstcontroller.def:
15674 Add gst_controller_unset_all.
15676 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15678 * docs/libs/gstreamer-libs-sections.txt:
15679 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15680 (gst_controller_unset_all):
15681 * libs/gst/controller/gstcontroller.h:
15682 API: Added new method gst_controller_unset_all()
15683 fixed gst_controller_unset()
15684 * tests/check/libs/controller.c: (GST_START_TEST),
15685 (gst_controller_suite):
15686 Added two testcases for new and fixed method
15688 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15690 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15691 MSG_DONTWAIT is not defined on Cygwin, so work
15692 around that (fixes #317048).
15694 2006-04-11 Wim Taymans <wim@fluendo.com>
15696 * gst/gstelementfactory.c: (gst_element_register),
15697 (gst_element_factory_create), (gst_element_factory_make):
15700 Updated docs (Fixes #131079)
15702 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15705 * tests/check/gst/gstelement.c: (GST_START_TEST),
15706 (gst_element_suite):
15707 Added testcase for elementfactory class field.
15709 2006-04-10 Wim Taymans <wim@fluendo.com>
15711 * gst/gstsegment.c:
15712 Added some more docs.
15714 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15715 (gst_base_sink_reset_qos):
15716 Calculate more accurate rate values.
15718 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15720 * gst/gst_private.h:
15721 add a new #ifdef to use __declspec(dllimport) only for
15722 other modules and not for gstreamer core
15723 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15724 use gst_guint64_to_gdouble for conversion
15725 * win32/common/libgstreamer.def:
15726 add new exported functions
15727 * win32/vs6/gst_inspect.dsp:
15728 * win32/vs6/gst_launch.dsp:
15729 * win32/vs6/libgstbase.dsp:
15730 * win32/vs6/libgstcontroller.dsp:
15731 * win32/vs6/libgstcoreelements.dsp:
15732 * win32/vs6/libgstdataprotocol.dsp:
15733 * win32/vs6/libgstnet.dsp:
15734 update project files
15736 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15738 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15739 * gst/gstclock.c: (gst_clock_class_init):
15740 * gst/gstelement.c: (gst_element_class_init):
15741 * gst/gstindex.c: (gst_index_class_init):
15742 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15743 * gst/gstobject.c: (gst_object_class_init),
15744 (gst_signal_object_class_init):
15745 * gst/gstpad.c: (gst_pad_class_init):
15746 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15747 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15748 * gst/gstregistry.c: (gst_registry_class_init):
15749 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15750 * gst/gsttask.c: (gst_task_class_init):
15751 * gst/gstxml.c: (gst_xml_class_init):
15752 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15753 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15754 (gst_base_src_loop):
15755 * libs/gst/controller/gstcontroller.c:/
15756 (_gst_controller_class_init):
15757 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15758 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15759 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15760 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15761 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15762 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15764 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15766 * gst/gstpad.c: (gst_pad_link):
15767 Must set peer pads before calling the link function, otherwise
15768 a task started from a link function might get a flow-not-linked
15769 result when trying to push because the other thread where the
15770 linking happens hasn't had a chance to set the peers yet. This
15771 might happen for example when a queue gets linked to a downstream
15772 element, as queue starts a streaming task when its source pad
15773 gets linked. Happens in real life when playing back flac/musepack
15774 files in playbin (#332390).
15776 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15780 * libs/gst/base/gstadapter.h:
15781 * libs/gst/base/gstbasesink.h:
15782 * libs/gst/base/gstbasesrc.h:
15783 * libs/gst/base/gstbasetransform.h:
15784 * libs/gst/base/gstcollectpads.h:
15785 * libs/gst/base/gstpushsrc.h:
15786 Fix broken GObject macros
15788 2006-04-07 Wim Taymans <wim@fluendo.com>
15790 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15791 Initialize start and stop times, thanks valgrind.
15793 2006-04-07 Wim Taymans <wim@fluendo.com>
15795 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15796 Be a bit nicer to badly behaving upstream elements that expect
15797 us to deal with non TIME segments and timestamps (such as fakesrc
15800 2006-04-07 Wim Taymans <wim@fluendo.com>
15803 Small documentation clarification about the signal watch.
15805 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15806 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15807 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15808 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15809 (gst_base_sink_get_position_last),
15810 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15811 Convert and store timestamps in stream time and running time, the
15812 raw timestamps are not useful, also document this better.
15813 Use different window sizes for good and bad QoS observations so
15814 we react to badness a little quicker.
15815 Keep track of the amount of rendered and dropped buffers.
15816 Send QoS timestamps in running time.
15818 * libs/gst/base/gstbasetransform.c:
15819 (gst_base_transform_sink_eventfunc),
15820 (gst_base_transform_handle_buffer):
15821 Compare QoS timestamps against running time.
15823 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15826 Typo fixes in docs.
15828 2006-04-06 Michael Smith <msmith@fluendo.com>
15830 * gst/gstpad.c: (gst_pad_set_property):
15831 Use g_value_get_object() instead of g_value_dup_gst_object(),
15832 to avoid double-reffing the pad template (which we then sink,
15833 so this worked previously if (and only if) the pad template
15836 * gst/gstpadtemplate.c: (gst_pad_template_init),
15837 (gst_pad_template_pad_created):
15838 Never return floating references to pad templates, create
15839 them as initially-sunken.
15841 Document an extra function (and make this stop sinking our
15842 pad template, since that is now guaranteed to do nothing,
15843 since we created it sunken).
15845 * gst/gstghostpad.c:
15848 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15850 * gst/gstinfo.c: (__gst_in_valgrind):
15853 * plugins/elements/gsttypefindelement.c:
15854 (gst_type_find_element_chain):
15855 Don't leak buffer caps.
15857 2006-04-06 Michael Smith <msmith@fluendo.com>
15859 * gst/parse/grammar.y:
15860 Fix a leak in parse-launch for any source-or-sink named element
15863 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15864 Unref the pipeline if it exists after we've failed parsing.
15866 2006-04-05 Michael Smith <msmith@fluendo.com>
15868 * gst/gstpipeline.c: (gst_pipeline_init):
15869 When we create a pipeline bus, initially create it in flushing mode.
15870 Fixes leaks in at least one test, and makes a new pipeline work the
15871 same as one that has gone to READY and then back to NULL.
15873 * gst/gstelement.c:
15876 2006-04-05 Michael Smith <msmith@fluendo.com>
15878 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15879 Unref a pad we reffed.
15880 * tests/check/gst/gstutils.c: (GST_START_TEST):
15883 2006-04-05 Michael Smith <msmith@fluendo.com>
15885 * gst/gstquery.c: (gst_query_set_formats),
15886 (gst_query_set_formatsv):
15887 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15889 2006-04-05 Michael Smith <msmith@fluendo.com>
15891 * tests/check/generic/sinks.c: (GST_START_TEST):
15892 Fix a variety of memleaks in sinks check, which are only sometimes
15893 shown by running the tests under valgrind (weird?).
15895 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15897 * docs/version.entities.in:
15898 Fix the substituted entity name after thomas' changes on the
15901 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15903 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15906 2006-04-05 Andy Wingo <wingo@pobox.com>
15908 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15910 * libs/gst/base/gstbasetransform.c
15911 (gst_base_transform_sink_eventfunc): When resetting our segment on
15912 FLUSH_STOP, also update the flag saying we haven't seen a
15915 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15917 Patch by: Paolo Borelli <pborelli at katamail dot com>
15919 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15920 (gst_plugin_check_license):
15921 minor clean-ups: G_DEFINE_TYPE already takes care of the
15922 parent_class stuff, no need to do it twice. Mark array of
15923 license strings as constant. (#337103)
15925 2006-04-04 Michael Smith <msmith@fluendo.com>
15927 * tools/gst-inspect.c: (print_element_list):
15928 Free the right plugin list; fixes a memory leak.
15930 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15932 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15934 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15935 Don't error out on empty buffers (#336945).
15937 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15939 * docs/libs/gstreamer-libs-sections.txt:
15940 * gst/gsttaglist.c:
15941 * libs/gst/base/gstbasesink.c:
15942 * libs/gst/base/gstbasesink.h:
15943 * libs/gst/base/gstbasesrc.c:
15944 * libs/gst/base/gstbasesrc.h:
15945 Documentation updates. Make BaseSink and BaseSrc docs contain the
15946 class structure so that people can actually see the prototypes for
15947 virtual functions they're supposed to be overriding.
15949 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15951 * plugins/elements/gsttypefindelement.c:
15952 (gst_type_find_element_chain):
15953 More debug info; when skipping typefinding, send cached
15954 events in all cases.
15956 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15959 use new AS_VERSION and AS_NANO macros
15960 * gst/gst-i18n-lib.h:
15963 * gst/gstversion.h.in:
15964 * win32/common/config.h:
15965 * win32/common/config.h.in:
15968 2006-03-31 Michael Smith <msmith@fluendo.com>
15970 * plugins/elements/gsttypefindelement.c:
15971 (gst_type_find_element_chain):
15972 Do not typefind content if the buffers already have caps.
15973 Neccesary for icydemux (#333657), and the right thing to do anyway.
15975 2006-03-30 Wim Taymans <wim@fluendo.com>
15977 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15978 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15979 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15980 (gst_base_sink_record_qos_observation),
15981 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15982 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15983 (gst_base_sink_change_state):
15984 More QoS measurements as described in the design doc.
15985 Get rid of ringbuffer with observations, running average is
15986 more simple and equally good.
15987 Calculates valid proportion now.
15988 Added beginning of flood measurement.
15990 2006-03-29 Wim Taymans <wim@fluendo.com>
15992 * docs/design/part-qos.txt:
15994 Small documentation updates and additions.
15996 2006-03-29 Wim Taymans <wim@fluendo.com>
15998 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15999 (gst_base_src_send_event), (gst_base_src_loop),
16000 (gst_base_src_change_state):
16001 Perform the EOS logic when we reach the segment stop position.
16002 Fix compilation on gcc4.1
16004 2006-03-29 Wim Taymans <wim@fluendo.com>
16006 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16008 * plugins/elements/gstqueue.c: (gst_queue_init),
16009 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16010 (gst_queue_set_property):
16011 * plugins/elements/gstqueue.h:
16012 In queue, when EOS is received, if minimum threshold > max_size -
16013 current_level, there is chance that queue blocks forever in conditional
16014 item del wait. This is because the queue is not emptied completely due
16015 to minimum threshold. Here is another approach. Instead of setting
16016 cur_levels to max in EOS, just zero all minimum threshold levels. This
16017 should make sure that queue gives out all data. When going to READY
16018 (stop) state, just reset the original minimum threshold levels.
16021 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16023 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16024 (gst_type_find_element_handle_event),
16025 (gst_type_find_element_send_cached_events),
16026 (gst_type_find_element_change_state):
16027 * plugins/elements/gsttypefindelement.h:
16028 When typefinding is done in push mode, we should cache
16029 events we receive during typefinding instead of just
16030 dropping them (e.g. newsegment, custom events from
16031 dvdreadsrc etc.) and then send them out once we've
16032 determined the type of the stream (and decodebin
16033 has had a chance to plug in a decoder/demuxer).
16035 2006-03-27 Wim Taymans <wim@fluendo.com>
16037 * docs/design/part-qos.txt:
16040 2006-03-27 Wim Taymans <wim@fluendo.com>
16042 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16044 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16045 (gst_base_src_send_event), (gst_base_src_change_state):
16046 Handle element seek correctly when we are streaming.
16049 2006-03-24 Michael Smith <msmith@fluendo.com>
16051 * docs/faq/gst-uninstalled:
16052 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16053 allow you to correctly run intalled applications built against old
16054 core, using plugins that require updated core (e.g. running
16055 installed totem against a full uninstalled gstreamer stack)
16057 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16059 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16062 2006-03-24 Wim Taymans <wim@fluendo.com>
16064 * docs/gst/gstreamer-sections.txt:
16065 Rearrange the order of the methods so that related methods
16066 are grouped together in sections.
16068 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16070 * gst/gstelement.c:
16071 Little clarification in the docs
16073 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16077 * plugins/elements/gstidentity.c:
16078 * plugins/elements/gstqueue.c:
16079 * plugins/elements/gsttee.c:
16080 * plugins/elements/gsttypefindelement.c:
16081 GST_ELEMENT_DETAILS formatting
16083 2006-03-24 Wim Taymans <wim@fluendo.com>
16085 * libs/gst/base/gstbasesink.h:
16086 Only add fields, not insert or we break ABI.
16088 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16090 * win32/common/libgstbase.def:
16091 * win32/common/libgstreamer.def:
16092 Update, add recently added functions.
16094 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16096 * docs/gst/gstreamer-sections.txt:
16097 * gst/gstutils.c: (gst_pad_query_peer_position),
16098 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16100 API: add some new utility functions:
16101 - gst_pad_query_peer_position()
16102 - gst_pad_query_peer_duration()
16103 - gst_pad_query_peer_convert()
16105 2006-03-23 Wim Taymans <wim@fluendo.com>
16107 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16108 (gst_base_sink_init), (gst_base_sink_finalize),
16109 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16110 (gst_base_sink_set_property), (gst_base_sink_get_property),
16111 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16112 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16113 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16114 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16115 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16116 (gst_base_sink_preroll_object), (gst_base_sink_event),
16117 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16118 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16119 (gst_base_sink_query), (gst_base_sink_change_state):
16120 Decouple max-lateness and the fact that QoS messages are generated
16121 with a new property (qos).
16122 added API: GstBaseSink::async_play()
16123 Add vmethod so subclasses can be notified of ASYNC playing
16125 Collect timestamp start and stop to report better current
16126 position in EOS/PLAYING/PAUSED/READY/NULL.
16127 Refactor QoS/frame dropping and other measurements.
16128 API: GstBaseSrc::qos
16131 * libs/gst/base/gstbasesink.h:
16132 Added Private struct.
16133 API: gst_base_sink_set_qos_enabled()
16134 API: gst_base_sink_is_qos_enabled()
16136 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16138 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16139 If compiling against GLib-2.8 or newer, try to read the
16140 registry file using GMappedFile first before falling back
16141 to fopen() + fread() (#332151).
16143 2006-03-22 Wim Taymans <wim@fluendo.com>
16145 * gst/gstinfo.c: (gst_debug_set_active),
16146 (gst_debug_category_set_threshold):
16147 Disable debugging unless explicitly activated.
16150 2006-03-22 Wim Taymans <wim@fluendo.com>
16152 * gst/gstelement.c: (gst_element_set_locked_state),
16153 (gst_element_dispose):
16154 Cleanup the error case.
16156 * gst/gstobject.c: (gst_object_dispose):
16157 print a critical when some object was disposed with
16158 a parent, also revive the object since it might
16161 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16163 * tools/gst-launch.1.in:
16166 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16169 * tests/check/Makefile.am:
16170 disable some tests when we don't have a registry
16171 * tests/check/gst/gstutils.c: (gst_utils_suite):
16172 don't build the part that needs parsing
16174 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16177 * tests/examples/Makefile.am:
16178 fix --disable-parse build
16180 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16182 * tools/gst-feedback.1.in:
16183 Fix typo: s/feeback/feedback/ (#133494).
16185 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16187 * tools/Makefile.am:
16188 * tools/gst-launch.1.in:
16189 Add FILES section and correct entry about GST_REGISTRY_PATH
16190 environment variable (#133495; #133494).
16192 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16194 * tools/Makefile.am:
16195 * tools/gst-md5sum.1.in:
16196 * tools/gst-md5sum.c:
16197 Remove gst-md5sum and man page (the md5sink element
16198 required was removed ages ago)
16200 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16202 * gst/gststructure.c: (gst_structure_id_set_value):
16203 Make sure that string fields in structures/taglists
16204 contain valid UTF-8 - we don't want to pass rubbish to
16205 applications because of a buggy plugin (cp. #334167).
16207 2006-03-21 Edward Hervey <edward@fluendo.com>
16209 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16210 (gst_bin_handle_message_func):
16211 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16212 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16213 (gst_element_set_bus_func):
16214 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16215 * gst/gstminiobject.c: (gst_value_set_mini_object),
16216 (gst_value_take_mini_object):
16217 * gst/gstpad.c: (gst_pad_set_pad_template):
16218 * gst/gstpipeline.c: (gst_pipeline_dispose),
16219 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16220 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16221 (gst_collect_pads_chain):
16222 * libs/gst/net/gstnettimeprovider.c:
16223 (gst_net_time_provider_set_property):
16224 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16225 It's in fact all issues with gst_*object_replace().
16227 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16229 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16231 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16232 * pkgconfig/gstreamer-check.pc.in:
16233 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16235 2006-03-21 Edward Hervey <edward@fluendo.com>
16239 * gst/gstmessage.h:
16240 gst_[buffer|event|message]_ref() macros are replaced by a static
16241 inline functions because gcc-4.1 will about if the return value
16243 * tests/check/gst/gstevent.c: (event_probe):
16244 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16246 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16249 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16250 the type' case. (Closes: #335195 for now). In the future, when we
16251 depend on GLib 2.10, we could also intern the type name using
16252 g_intern_static_string()
16254 2006-03-20 Wim Taymans <wim@fluendo.com>
16256 * gst/gstbin.c: (gst_bin_handle_message_func),
16257 (bin_query_max_init), (bin_query_position_fold),
16258 (bin_query_position_done), (gst_bin_query):
16259 Position query should also take max of all streams.
16261 2006-03-20 Wim Taymans <wim@fluendo.com>
16263 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16264 (gst_fake_src_finalize):
16265 Fix leaks in fakesrc.
16267 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16268 Fix leaks in the testcase.
16270 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16272 * gst/gst_private.h:
16273 add win32 specific import decoration(__declspec(dllimport))
16274 for all extern GstDebugCategory * variables
16275 * win32/common/libgstbase.def:
16276 * win32/common/libgstcontroller.def:
16277 * win32/common/libgstreamer.def:
16278 Add some exports, remove empty lines
16279 * win32/common/libgstdataprotocol.def:
16280 * win32/common/libgstdataprotocol.dsp:
16281 * win32/common/libgstnet.def:
16282 * win32/common/libgstnet.dsp:
16283 new project files and exportation files added
16285 2006-03-19 Wim Taymans <wim@fluendo.com>
16287 * tests/check/libs/basesrc.c: (eos_event_counter):
16288 Use proper return value for probe.
16290 2006-03-17 Wim Taymans <wim@fluendo.com>
16292 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16294 Don't leak buffers, caps and pads on negotiation errors.
16296 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16298 * docs/faq/cvs.xml:
16299 * docs/faq/dependencies.xml:
16300 * docs/faq/developing.xml:
16301 * docs/faq/faq.xml:
16302 * docs/faq/general.xml:
16303 * docs/faq/getting.xml:
16304 * docs/faq/legal.xml:
16305 * docs/faq/troubleshooting.xml:
16306 * docs/faq/using.xml:
16307 Faq review and update.
16309 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16311 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16313 Don't pound the cpu to pieces by checking get_caps when accept_caps
16314 is called with the same caps as the pad already has.
16315 Use GST_DEBUG_OBJECT when outputting caps change information.
16317 2006-03-15 Wim Taymans <wim@fluendo.com>
16319 * gst/gstclock.c: (gst_clock_class_init):
16322 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16327 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16328 (gst_pad_accept_caps), (gst_pad_configure_sink),
16329 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16330 Make the default acceptcaps behaviour be to check the requested
16331 caps against the gst_pad_get_caps output.
16333 Ensure that gst_pad_accept_caps is used to check caps when a pad
16334 doesn't have a setcaps function, so that pads automatically refuse
16335 caps that they don't allow in their pad template. (Fixes #332986)
16337 When a buffer with attached caps is pushed, ensure that the source
16338 pad receives those caps even if the element didn't call
16339 gst_pad_set_caps first.
16341 2006-03-15 Wim Taymans <wim@fluendo.com>
16343 * libs/gst/base/gstadapter.c:
16346 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16348 * win32/common/libgstbase.def:
16349 * win32/common/libgstcontroller.def:
16350 * win32/common/libgstreamer.def:
16351 Add a whole bunch of missing functions (#334434).
16353 2006-03-14 Wim Taymans <wim@fluendo.com>
16355 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16356 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16357 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16358 Better debug info when we receive a segment event.
16359 Reorganize a bit so we can pass the get_times() results around.
16360 Use the segment format when calculating the running time.
16361 Don't do QoS is sync is disabled or we have no clock or the
16362 element does not want us to sync to the clock.
16363 Don't drop buffers if QoS is disabled for now.
16365 2006-03-14 Wim Taymans <wim@fluendo.com>
16367 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16368 Marked the stats property as unimplemented so people don't get
16370 Add debug message when regression goes wrong.
16371 Added some more docs.
16373 2006-03-14 Wim Taymans <wim@fluendo.com>
16375 * gst/gstsegment.c: (gst_segment_to_stream_time):
16376 Return correct return type in case of errors.
16378 2006-03-14 Wim Taymans <wim@fluendo.com>
16380 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16381 Don't segfault on invalid formats.
16383 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16386 Can't use gst_segment_to_running_time() when the segment
16387 is not in GST_TIME_FORMAT (like with filesink, for example).
16388 Stops flac encoding pipelines from spewing critical warnings
16391 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16393 * gst/gstpipeline.c: (gst_pipeline_class_init):
16394 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16396 * plugins/elements/gsttypefindelement.c:
16397 (gst_type_find_element_handle_event):
16398 Don't try to typefind empty streams.
16400 2006-03-14 Wim Taymans <wim@fluendo.com>
16402 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16403 (gst_base_sink_do_qos):
16404 Separate QoS calculation.
16405 Only drop buffers when lateness is bigger than the
16406 duration of the buffer.
16408 2006-03-13 Wim Taymans <wim@fluendo.com>
16410 * gst/gstpipeline.c: (gst_pipeline_set_property),
16411 (gst_pipeline_get_property), (do_pipeline_seek),
16412 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16413 (gst_pipeline_get_delay):
16414 Don't deadlock when reading properties.
16416 2006-03-13 Wim Taymans <wim@fluendo.com>
16418 * libs/gst/base/gstbasetransform.c:
16419 (gst_base_transform_class_init), (gst_base_transform_init),
16420 (gst_base_transform_sink_event),
16421 (gst_base_transform_sink_eventfunc),
16422 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16423 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16424 (gst_base_transform_set_property),
16425 (gst_base_transform_get_property),
16426 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16427 (gst_base_transform_set_qos_enabled),
16428 (gst_base_transform_is_qos_enabled):
16429 * libs/gst/base/gstbasetransform.h:
16430 Make basetransform virtual method for src events too.
16431 Handle QOS in basetransform.
16432 API: gst_base_transform_update_qos()
16433 API: gst_base_transform_set_qos_enabled()
16434 API: gst_base_transform_is_qos_enabled()
16436 2006-03-13 Wim Taymans <wim@fluendo.com>
16438 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16439 (gst_base_sink_do_sync):
16441 Use QOS debug category.
16443 2006-03-13 Wim Taymans <wim@fluendo.com>
16445 * plugins/elements/gstqueue.c:
16446 Very small doc update.
16448 2006-03-13 Wim Taymans <wim@fluendo.com>
16450 * gst/gst_private.h:
16451 * gst/gstinfo.c: (_gst_debug_init):
16452 Added QOS debug category
16454 2006-03-13 Wim Taymans <wim@fluendo.com>
16456 * docs/gst/gstreamer-sections.txt:
16457 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16459 * gst/gstbus.c: (gst_bus_class_init):
16462 * gst/gstelement.c: (gst_element_set_locked_state):
16463 * gst/gstsegment.c:
16464 Documentation updates.
16466 * gst/gstpipeline.c: (gst_pipeline_get_type),
16467 (gst_pipeline_class_init), (gst_pipeline_init),
16468 (gst_pipeline_dispose), (gst_pipeline_set_property),
16469 (gst_pipeline_get_property), (do_pipeline_seek),
16470 (gst_pipeline_send_event), (gst_pipeline_change_state),
16471 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16472 (gst_pipeline_get_delay):
16473 * gst/gstpipeline.h:
16474 Added methods for setting the delay.
16475 API: gst_pipeline_set_delay()
16476 API: gst_pipeline_get_delay()
16477 Add pipeline debug category
16480 Don't reset stream time when seek failed.
16482 2006-03-13 Wim Taymans <wim@fluendo.com>
16484 * docs/design/draft-klass.txt:
16485 * docs/design/part-clocks.txt:
16486 * docs/design/part-events.txt:
16487 * docs/design/part-gstbin.txt:
16488 * docs/design/part-gstpipeline.txt:
16489 * docs/design/part-messages.txt:
16490 * docs/design/part-negotiation.txt:
16491 * docs/design/part-overview.txt:
16492 * docs/design/part-preroll.txt:
16493 * docs/design/part-seeking.txt:
16494 * docs/design/part-states.txt:
16495 * docs/design/part-streams.txt:
16496 Documentation updates.
16498 2006-03-12 Julien MOUTTE <julien@moutte.net>
16500 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16501 us to leak strings...
16503 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16505 * libs/gst/net/gstnettimeprovider.c:
16507 * win32/common/config.h:
16510 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16512 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16515 Don't check for libgnomeui (leftover from old examples
16516 that aren't built or disted any longer) (#334303).
16518 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16520 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16521 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16522 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16523 there's no space left on the device.
16525 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16528 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16529 to cast the input to GstClockTime before comparing with
16530 another GstClockTime value.
16532 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16537 === release 0.10.4 ===
16539 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16542 releasing 0.10.4, "Light"
16544 2006-03-10 Michael Smith <msmith@fluendo.com>
16546 * libs/gst/dataprotocol/dataprotocol.c:
16547 Fix docs for dataprocotol to not get the return types completely
16548 wrong for a few functions.
16550 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16552 * docs/gst/gstreamer-sections.txt:
16553 * gst/gstpipeline.c: (gst_pipeline_class_init),
16554 (gst_pipeline_init), (gst_pipeline_set_property),
16555 (gst_pipeline_get_property), (gst_pipeline_change_state),
16556 (gst_pipeline_set_auto_flush_bus),
16557 (gst_pipeline_get_auto_flush_bus):
16558 * gst/gstpipeline.h:
16559 Add new API: gst_pipeline_set_auto_flush_bus() and
16560 gst_pipeline_get_auto_flush_bus() to disable automatic
16561 flushing of the pipeline's GstBus when going from READY
16562 to NULL state (#332045).
16564 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16566 * docs/gst/gstreamer-sections.txt:
16567 * gst/gsturi.c: (gst_uri_has_protocol):
16569 Add new API: gst_uri_has_protocol() (#333779).
16571 2006-03-09 Wim Taymans <wim@fluendo.com>
16573 * gst/gstclock.c: (gst_clock_entry_new),
16574 (gst_clock_id_compare_func), (gst_clock_id_wait),
16575 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16576 (gst_clock_init), (gst_clock_get_internal_time),
16577 (gst_clock_set_master), (do_linear_regression),
16578 (gst_clock_add_observation), (gst_clock_set_property):
16582 Fix a possible segfault when the window-size is made smaller.
16583 Calculate jitter before performing the clock wait. Ideally
16584 the clock implementation should calculate jitter but we need
16585 API breakage for that.
16587 * gst/gstsystemclock.c: (gst_system_clock_init):
16590 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16591 Remove leftover else
16593 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16594 (gst_systemclock_suite):
16595 Added check to test GST_CLOCK_DIFF.
16597 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16599 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16600 (gst_type_find_helper_get_range):
16601 If we are provided with the size, we should implement
16602 GstTypeFind::get_length, so that typefind functions who
16603 want to can actually peek at the middle of a file.
16605 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16607 * docs/manual/advanced-dataaccess.xml:
16608 Add some very very basic error checking.
16610 * docs/pwg/appendix-checklist.xml:
16611 Some updates to the list of things to check when writing an element.
16613 2006-03-08 Wim Taymans <wim@fluendo.com>
16615 * docs/design/part-element-transform.txt:
16616 Added some docs about the design of tranform elements.
16618 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16619 (gst_base_src_loop), (gst_base_src_change_state):
16620 Mark buffers with the DISCONT flag.
16622 2006-03-08 Michael Smith <msmith@fluendo.com>
16624 * gst/gstregistry.h:
16625 * gst/gstregistryxml.c: (gst_registry_save),
16626 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16627 (gst_registry_xml_save_pad_template),
16628 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16629 (gst_registry_xml_write_cache):
16630 Rewrite registry-saving to avoid race conditions and check for
16633 2006-03-08 Wim Taymans <wim@fluendo.com>
16635 * libs/gst/base/gstbasetransform.c:
16636 (gst_base_transform_transform_caps),
16637 (gst_base_transform_transform_size),
16638 (gst_base_transform_prepare_output_buffer),
16639 (gst_base_transform_get_unit_size),
16640 (gst_base_transform_buffer_alloc),
16641 (gst_base_transform_handle_buffer),
16642 (gst_base_transform_change_state):
16643 Cleanups, separate normal flow from errors, add sensible
16645 Don't try to renegotiate when allocating an output buffer.
16646 Also copy DISCONT buffer flag when copying a buffer.
16647 Reset the transform after we finish streaming, not during.
16649 2006-03-08 Wim Taymans <wim@fluendo.com>
16651 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16652 Use last buffer timestamp in qos message.
16654 2006-03-07 Wim Taymans <wim@fluendo.com>
16656 Patch by: Christophe Fergeau
16658 * docs/pwg/advanced-tagging.xml:
16659 * docs/pwg/building-pads.xml:
16662 2006-03-07 Wim Taymans <wim@fluendo.com>
16664 * docs/libs/gstreamer-libs-sections.txt:
16665 Added basesink new methods.
16669 Docs updates. Flesh out the QoS docs.
16671 * libs/gst/base/gstadapter.c:
16672 Small doc clarification about ownership and flushing.
16674 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16675 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16676 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16677 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16678 * libs/gst/base/gstbasesink.h:
16680 Added new methods to allow subclass to control max-lateness
16682 Generate very basic QoS events based on last sync observation.
16683 Updated docs, fix typo, added some QoS blurb.
16685 * libs/gst/base/gstbasesrc.c:
16686 Remove obsolete _get_state() calls from docs.
16688 2006-03-07 Wim Taymans <wim@fluendo.com>
16690 * docs/libs/gstreamer-libs-sections.txt:
16691 * libs/gst/base/gstbasetransform.h:
16692 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16693 Fix docs for GstBaseSrc.
16695 2006-03-07 Wim Taymans <wim@fluendo.com>
16697 * docs/gst/gstreamer-sections.txt:
16700 * libs/gst/base/gstbasetransform.h:
16701 Small documentation fixes.
16703 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16706 Document thread-unsafety of gst_value_register_foo_func()
16707 when used at the same time as gst_value_foo() (#322628).
16709 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16711 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16712 (gst_push_src_check_get_range):
16713 Push sources don't support pull mode by default.
16715 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16717 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16718 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16719 (gst_base_src_default_check_get_range):
16720 * libs/gst/base/gstbasesrc.h:
16721 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16722 provide default implementation, and rename
16723 gst_base_src_check_get_range() to
16724 gst_base_src_pad_check_get_range() for clarity.
16726 2006-03-06 Wim Taymans <wim@fluendo.com>
16728 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16729 Make property overridable.
16731 2006-03-06 Wim Taymans <wim@fluendo.com>
16733 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16734 (gst_base_sink_init), (gst_base_sink_set_property),
16735 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16736 * libs/gst/base/gstbasesink.h:
16737 API addition: Make max-lateness a property.
16739 2006-03-06 Wim Taymans <wim@fluendo.com>
16741 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16742 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16743 Don't ever draw a frame that is >10ms late.
16745 2006-03-06 Michael Smith <msmith@fluendo.com>
16747 * gst/gstmessage.c: (_gst_message_copy):
16748 When copying a message, set the parent_refcount of the enclosed
16749 structure to point at the copy, not the original message.
16751 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16753 Patch by: Christophe Fergeau
16756 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16757 usable in c++ code (#333417)
16759 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16762 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16764 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16766 * libs/gst/base/gstbasetransform.c:
16767 (gst_base_transform_transform_caps):
16768 Make sure caps are writable before passing them to
16771 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16774 Fix some minor docs errors.
16776 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16778 Patch by: Ross Burton <ross at burtonini dot com>
16780 * gst/gsterror.c: (_gst_resource_errors_init):
16782 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16784 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16787 Add a check and output a g_warning when GStreamer is built
16788 against GLib 2.6 but running against 2.8 or higher, and vice
16789 versa. (Closes: #323542)
16791 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16793 * gst/parse/parse.l:
16794 Commit patch for parse_launch syntax from #331255. Removes
16795 support for quoted strings and mimetypes when writing filtered
16796 caps. See the bug report for more details - I'm pretty sure this
16797 obscure feature is not in use by _anyone_ anywhere.
16799 With this simple change, the size of the gstreamer.so here
16800 drops from 2193KB to 1565KB.
16802 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16804 * plugins/elements/gsttypefindelement.h:
16805 * plugins/elements/gsttypefindelement.c:
16806 (gst_type_find_element_src_event), (start_typefinding),
16807 (stop_typefinding), (gst_type_find_element_handle_event),
16808 (gst_type_find_element_chain),
16809 (gst_type_find_element_chain_do_typefinding):
16810 Use gst_type_find_helper_for_buffer() for chain-based
16813 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16815 * plugins/elements/gsttypefindelement.c:
16816 (gst_type_find_element_class_init),
16817 (gst_type_find_element_set_property),
16818 (gst_type_find_element_get_property):
16819 Deprecate "maximum" property (not only was it only taken into
16820 account for typefinding in push-mode anyway, it also was never
16821 actually possible to set it in the first place because the
16822 property was registered with the numeric property ID for the
16823 "minimum" property). Register "maximum" property correctly,
16824 for the sake of future copy'n'pasters. Remove some cruft
16825 from property get/set functions.
16827 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16829 * plugins/elements/gsttypefindelement.c:
16830 (gst_type_find_element_activate):
16831 Use gst_type_find_helper_get_range() here, so we
16832 can honour the "minimum" property and also emit
16833 the signal with the correct probability of the found caps.
16835 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16837 * docs/libs/gstreamer-libs-sections.txt:
16838 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16839 (helper_find_suggest), (gst_type_find_helper_get_range),
16840 (gst_type_find_helper):
16841 * libs/gst/base/gsttypefindhelper.h:
16842 New API: gst_type_find_helper_get_range() (#333042).
16844 2006-03-02 Michael Smith <msmith@fluendo.com>
16846 * gst/gstregistryxml.c: (load_feature):
16847 Asserting on a failure to read part of the registry is Not Cool.
16848 Just log a warning and return NULL (which is already handled)
16850 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16852 * win32/common/libgstbase.def:
16853 added export of gst_type_find_helper_for_buffer
16854 * win32/common/libgstbase.def:
16855 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16856 gst_ghost_pad_get_target
16858 2006-02-28 Wim Taymans <wim@fluendo.com>
16860 * docs/design/draft-klass.txt:
16862 Added Connector to mark elements that are only used to
16863 allow pipeline connections.
16864 Moved Debug to extra feature since most of them are
16865 functionally something else.
16867 2006-02-28 Wim Taymans <wim@fluendo.com>
16869 * docs/design/draft-klass.txt:
16870 Some updates and clarifications.
16872 2006-02-28 Wim Taymans <wim@fluendo.com>
16874 * docs/design/draft-klass.txt:
16875 Proposal for klass field values.
16877 * docs/design/part-streams.txt:
16878 Start of a doc describing stream anatomy.
16880 2006-02-28 Wim Taymans <wim@fluendo.com>
16882 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16883 Help the compiler a bit with type registration.
16884 Use existing forward cod path instead of duplicating it when
16885 handling a message.
16887 * gst/gstbus.c: (gst_bus_get_type):
16888 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16889 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16890 * gst/gstclock.c: (gst_clock_get_type):
16891 * gst/gstelement.c: (gst_element_get_type),
16892 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16893 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16894 * gst/gstminiobject.c: (gst_mini_object_get_type):
16895 * gst/gstpad.c: (gst_pad_get_type):
16896 * gst/gstsegment.c: (gst_segment_get_type):
16897 * gst/gststructure.c: (gst_structure_get_type):
16898 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16899 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16901 Help compiler with type registration.
16903 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16906 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16908 * plugins/elements/gsttypefindelement.c:
16909 (gst_type_find_element_handle_event):
16910 When we get an EOS event and have not found a type yet
16911 (most likely because we had not yet accumulated
16912 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16913 type given the data we have so far. Fixes typefinding
16914 for very short streams again, most notably quicktime
16915 redirections as used on Apple's trailer site (#331701).
16917 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16919 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16920 (gst_type_find_helper):
16921 Try typefinding factories with the highest rank first.
16923 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16925 * docs/libs/gstreamer-libs-docs.sgml:
16926 * docs/libs/gstreamer-libs-sections.txt:
16927 * libs/gst/base/gsttypefindhelper.c:
16928 Add section for typefind helper and add documentation
16929 for the old and the new function.
16931 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16933 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16934 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16935 (gst_type_find_helper_for_buffer):
16936 * libs/gst/base/gsttypefindhelper.h:
16937 New API: gst_type_find_helper_for_buffer() (#332723).
16939 2006-02-27 Michael Smith <msmith@fluendo.com>
16941 Patch by: Loïc Minier
16944 * docs/Makefile.am:
16945 * docs/slides/Makefile.am:
16946 prevent CVS directories getting disted.
16948 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16950 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16951 Use the REFCOUNTING category for caps refcounting.
16953 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16955 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16956 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16958 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16960 * plugins/elements/gsttypefindelement.c:
16961 (gst_type_find_element_activate):
16962 Use gst_pad_check_pull_range() before _activate_pull()
16963 to avoid unnecessary open/close (see #331690).
16965 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16968 Docs enhancement: make it crystal clear what the
16969 gst_pad_add_*_probe() callbacks should look like.
16971 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16973 * libs/gst/base/gstbasesrc.c:
16974 Document how applications can stop recording from
16975 live sources (see #330996).
16977 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16979 * tests/check/Makefile.am:
16980 * tests/check/libs/basesrc.c: (eos_event_counter),
16981 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16982 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16983 (gst_basesrc_suite), (main):
16984 ... and add some tests for the base source EOS stuff.
16986 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16988 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16989 Test case originally showed the problem fixed below,
16990 but was then amended. Add checks back at the place
16991 where they used to be.
16993 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16995 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16996 (gst_base_src_init), (gst_base_src_loop),
16997 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16998 (gst_base_src_change_state):
16999 * libs/gst/base/gstbasesrc.h:
17000 Don't unconditionally send EOS when going from PAUSED to
17001 READY state, esp. make sure we don't send two EOS events
17002 in some cases (e.g. one when reaching EOS and one when
17003 going from PAUSED to READY). Also, we don't want to send
17004 EOS events when operating in pull mode. However, we do
17005 want to send an EOS event when shutting down a live
17006 source explicitly, for example (fixes #330996).
17008 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17010 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17011 Update src->read_position after a seek when not using mmap.
17012 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17014 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17020 Make things work with --disable-parse as they do with
17021 --disable-load-save - the symbols involved disappear, but the
17022 header is still installed and GST_DISABLE_PARSE is included via
17025 2006-02-20 Julien MOUTTE <julien@moutte.net>
17027 * libs/gst/base/gstbasetransform.c:
17028 (gst_base_transform_change_state): Fix a stupid bug. I was
17029 sure I compiled that.
17031 2006-02-20 Julien MOUTTE <julien@moutte.net>
17033 * gst/gstpad.c: (gst_pad_set_blocked_async):
17034 * gst/gstutils.c: (gst_pad_add_data_probe),
17035 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17036 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17037 (gst_pad_remove_buffer_probe): Make those function act on the
17038 ghostpad target when it's a ghostpad. (Closes #331727)
17040 2006-02-20 Julien MOUTTE <julien@moutte.net>
17042 * libs/gst/base/gstbasetransform.c:
17043 (gst_base_transform_change_state): Make basetransform reusable.
17046 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17048 * docs/random/release:
17049 Move the current documentation of how to do a release to the top
17052 * gst/gstbin.c: (gst_bin_class_init),
17053 (gst_bin_handle_message_func):
17054 Allow multiple state-recalculation threads. (Closes #328873)
17056 2006-02-19 Julien MOUTTE <julien@moutte.net>
17058 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
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): GST_DEBUG_PAD_NAME evaluates to
17062 2 strings. You can't use the STR_NULL macro on that.
17064 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17066 * gst/gstpad.c: (gst_pad_set_event_function),
17067 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17068 (gst_pad_set_getcaps_function)
17069 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17070 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17071 So now, we can use --gst-debug-level=5 on Windows
17072 * win32/common/libgstcontroller.def:
17073 Added export of gst_controller_init
17074 * win32/vs6/libgstcontroller.dsp:
17075 Fixed Release post build configuration
17077 2006-02-17 Wim Taymans <wim@fluendo.com>
17079 * tests/check/gst/gstquery.c: (GST_START_TEST):
17080 Added another check.
17082 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17084 * plugins/elements/gsttypefindelement.c: (find_peek):
17085 We can do peeks at non-zero offsets, as long as they
17086 fall within the buffer we have.
17088 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17090 * tests/check/Makefile.am:
17091 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17092 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17093 (parse_suite), (main):
17094 Add testsuite for parse launch syntax
17096 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17098 * plugins/elements/gsttypefindelement.c:
17099 (gst_type_find_element_chain):
17100 When typefinding is unsuccessful in the chain function, don't
17101 error out immediately. Only error out with NO_CAPS_FOUND if
17102 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17103 otherwise simply wait for more data so we can try typefinding
17104 again with more data later. Also, don't attempt to typefind
17105 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17106 this should improve typefinding from network sources where the
17107 size of the first buffer can be somewhat random.
17109 2006-02-14 Wim Taymans <wim@fluendo.com>
17111 * docs/gst/gstreamer-sections.txt:
17112 * gst/gstpadtemplate.c:
17113 * gst/gstpadtemplate.h:
17114 Fix padtemplate docs, fixes #328805.
17116 2006-02-14 Wim Taymans <wim@fluendo.com>
17118 * tools/gst-launch.c: (main):
17119 NO_PREROLL is not an ERROR so don't send confusing messages
17122 2006-02-14 Wim Taymans <wim@fluendo.com>
17124 Patch by: Torsten Schoenfeld
17126 * gst/gstregistry.c: (gst_registry_get_default),
17127 (_gst_registry_cleanup):
17128 Protect default registry with lock and ref/sink it.
17131 2006-02-14 Wim Taymans <wim@fluendo.com>
17134 * gst/gstquery.c: (gst_query_list_add_format),
17135 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17136 (gst_query_parse_formats_nth):
17137 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17140 2006-02-14 Wim Taymans <wim@fluendo.com>
17142 * docs/gst/gstreamer-sections.txt:
17143 Reworked query docs.
17145 * gst/gstquery.c: (gst_query_new_formats),
17146 (gst_query_list_add_format), (gst_query_set_formats),
17147 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17148 (gst_query_parse_formats_nth):
17150 Flesh out formats query, added some new methods.
17151 Fix part of #324398.
17153 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17154 Added query creation tests.
17156 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17158 * gst/gstpad.c: (fixate_value):
17159 Add a default fixation for fraction lists.
17161 2006-02-13 Wim Taymans <wim@fluendo.com>
17163 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17164 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17167 Detect and warn for obvious deadlocks. fixes #320340
17168 Fix error case where lock was not released.
17170 * tests/check/Makefile.am:
17171 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17172 (task_func), (gst_element_suite), (main):
17175 2006-02-13 Wim Taymans <wim@fluendo.com>
17177 * docs/gst/gstreamer-sections.txt:
17179 Add new functions to docs.
17181 2006-02-13 Wim Taymans <wim@fluendo.com>
17183 * docs/design/part-TODO.txt:
17184 Updated TODO list, basesrc supports seeking to non-bytes
17187 * docs/design/part-element-sink.txt:
17190 * gst/gstbin.c: (bin_replace_message),
17191 (gst_bin_handle_message_func):
17192 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17193 * gst/gstevent.c: (gst_event_finalize):
17194 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17195 (gst_pad_send_event):
17196 Use shiny new _TYPE_NAME macros.
17198 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17199 Move debug statement up.
17201 * gst/gstelement.c: (gst_element_set_locked_state):
17202 Add some debugging.
17204 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17206 * docs/gst/gstreamer-sections.txt:
17207 * gst/gstmessage.h:
17209 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17210 macros (#330906). Also, document the already existing
17211 GST_QUERY_TYPE macro.
17213 2006-02-13 Wim Taymans <wim@fluendo.com>
17215 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17216 (event_probe), (GST_START_TEST):
17217 Only events up to the pipeline EOS are counted, there are
17218 some more when going to NULL currently which we don't care
17221 2006-02-13 Wim Taymans <wim@fluendo.com>
17223 * gst/gstpad.c: (gst_pad_send_event):
17224 Correctly check flushing and emit probes. fixes #330125
17226 2006-02-10 Andy Wingo <wingo@pobox.com>
17228 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17230 (gst_bus_init): Cache the location of the private data in the
17231 instance structure.
17232 (gst_bus_enable_sync_message_emission)
17233 (gst_bus_disable_sync_message_emission): Implement new public
17235 (gst_bus_post): Emit the sync-message signal if the user asked for
17238 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17239 location of the bus-private structure.
17240 (gst_bus_enable_sync_message_emission)
17241 (gst_bus_disable_sync_message_emission): API addition
17243 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17245 Patch by: Vincent Torri
17247 * docs/pwg/building-boiler.xml:
17248 PWG patch from #326800
17250 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17253 * docs/Makefile.am:
17254 * docs/design/Makefile.am:
17257 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17262 === release 0.10.3 ===
17264 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17267 releasing 0.10.3, "Like a virgin"
17269 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17272 2nd prerelease of 0.10.3
17273 Bump libtool versioning.
17275 2006-02-07 Andy Wingo <wingo@pobox.com>
17277 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17278 update last_stop if we're in TIME format and the timestamp is
17281 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17282 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17283 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17284 If we get a new newsegment with a different format, adapt
17287 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17288 of 0. Not a problem, really.
17290 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17293 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17298 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17301 project files updated to the default vs7 configuration
17302 * win32/common/libgstbase.def:
17303 * win32/common/libgstreamer.def:
17305 removed empty lines,
17306 sorted all exported symbols alphabetically
17307 * win32/common/dirent.c:
17308 * win32/common/dirent.h:
17309 * win32/common/gchar.h:
17310 use windows line end.
17312 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17314 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17315 Send EOS event when stopping.
17317 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17320 Tell folks what to do if the plugin-foobar.xml file
17321 hasn't been generated for a newly-added plugin.
17323 2006-02-05 Julien MOUTTE <julien@moutte.net>
17325 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17326 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17327 (gst_collect_pads_start), (gst_collect_pads_stop),
17328 (gst_collect_pads_event): Collectpads now holds a reference
17329 to the GstPad that was added. Indeed we don't want to look
17330 at pads that might just go away with no warning...
17332 2006-02-05 Julien MOUTTE <julien@moutte.net>
17334 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17335 (gst_collect_pads_start), (gst_collect_pads_stop),
17336 (gst_collect_pads_event), (gst_collect_pads_chain):
17337 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17338 Mark Nauwelaerts's patch on bug #328491.
17340 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17342 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17344 Add some simple tests for gst_parse_bin_from_description() and
17345 gst_bin_find_unconnected_pad() (#329069).
17347 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17349 * tools/gst-launch.c: (event_loop), (main):
17350 Catch errors during preroll (#320084).
17352 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17354 * plugins/elements/gsttypefindelement.c:
17355 (gst_type_find_element_activate):
17356 Post TYPE_NOT_FOUND error message when typefinding
17357 is unsuccessful in the activate function as well.
17359 2006-02-02 Wim Taymans <wim@fluendo.com>
17361 * docs/design/part-element-sink.txt:
17364 2006-02-02 Wim Taymans <wim@fluendo.com>
17366 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17367 (gst_base_sink_render_object),
17368 (gst_base_sink_queue_object_unlocked):
17369 Only keep track of prerollable items when we are
17371 Before rendering after preroll, always check if we
17373 Added some more debugging.
17375 2006-02-02 Wim Taymans <wim@fluendo.com>
17377 * gst/gstelement.c: (gst_element_continue_state),
17378 (gst_element_set_state_func), (gst_element_change_state):
17379 Fixed #326576, been running this for quite some time with
17380 no regressions at all.
17382 2006-02-02 Wim Taymans <wim@fluendo.com>
17385 Added more suppressions
17387 2006-02-02 Wim Taymans <wim@fluendo.com>
17389 * docs/design/part-element-sink.txt:
17392 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17393 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17394 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17395 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17396 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17397 (gst_base_sink_preroll_object),
17398 (gst_base_sink_queue_object_unlocked),
17399 (gst_base_sink_queue_object), (gst_base_sink_event),
17400 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17401 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17402 (gst_base_sink_get_position), (gst_base_sink_change_state):
17403 * libs/gst/base/gstbasesink.h:
17404 Totally refactored matching the design doc.
17405 Use two segments, one to clip incomming buffers and another to
17407 Handle queueing correctly, bypass the queue when playing.
17408 Make EOS cancelable.
17409 Handle errors correctly when operating in pull based mode.
17411 * tests/check/elements/fakesink.c: (GST_START_TEST),
17413 Added new check for sinks.
17415 2006-02-02 Wim Taymans <wim@fluendo.com>
17417 * gst/gstsegment.c: (gst_segment_clip):
17418 No reason to refuse to clip when start == -1
17420 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17423 * docs/manual/intro-basics.xml:
17424 * docs/manual/intro-preface.xml:
17425 * docs/manual/manual.xml:
17426 * docs/pwg/advanced-dparams.xml:
17427 * docs/pwg/intro-basics.xml:
17428 * docs/pwg/intro-preface.xml:
17429 * docs/pwg/pwg.xml:
17430 describe dparams (controller) for plugins
17431 unify docs a little more
17433 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17435 * docs/gst/gstreamer-sections.txt:
17436 * gst/gstutils.c: (element_find_unconnected_pad),
17437 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17439 Add new API: gst_parse_bin_from_description() and
17440 gst_bin_find_unconnected_pad() (#329069).
17442 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17444 * docs/manual/README:
17445 uncover a nasty detail of the docs build
17447 2006-01-31 Wim Taymans <wim@fluendo.com>
17449 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17450 Don't cache duration messages if we're not going to use or
17453 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17455 * docs/manual/advanced-dparams.xml:
17456 * docs/pwg/advanced-dparams.xml:
17460 * libs/gst/controller/lib.c: (gst_controller_init):
17463 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17465 * gst/gstelement.c: (gst_element_message_full):
17466 also show file/line/func if no additional debug was given
17468 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17470 * win32/vs7/grammar.vcproj:
17471 activate copy of autogenerated files for Release mode
17473 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17475 * win32/common/libgstreamer.def:
17476 export gst_value_compare
17478 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17480 * plugins/elements/Makefile.am:
17481 * plugins/elements/gstelements.c:
17482 * plugins/elements/gstfdsink.c: (_do_init),
17483 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17484 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17485 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17486 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17487 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17488 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17489 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17490 * plugins/elements/gstfdsink.h:
17491 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17493 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17495 * docs/manual/advanced-dparams.xml:
17496 describe controller
17497 * docs/manual/advanced-position.xml:
17498 * docs/manual/basics-init.xml:
17499 * docs/manual/manual.xml:
17500 * docs/manual/titlepage.xml:
17501 * docs/pwg/pwg.xml:
17502 * docs/pwg/titlepage.xml:
17503 cleanup xml (more to come)
17504 * libs/gst/controller/gstcontroller.c:
17507 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17509 * win32/vs6/grammar.dsp:
17510 add autogen of gstmarshal.c,h for Release mode
17512 2006-01-30 Wim Taymans <wim@fluendo.com>
17514 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17515 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17516 (gst_base_sink_handle_object), (gst_base_sink_event),
17517 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17518 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17519 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17520 (gst_base_sink_deactivate), (gst_base_sink_activate),
17521 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17522 (gst_base_sink_query), (gst_base_sink_change_state):
17523 Basesink cleanups, remove some old code.
17524 Handle the case where a subclass can preroll in the render
17525 method (mostly audiosinks).
17526 Handle more events.
17527 Remove some locks around variables that are now protected
17528 with the PREROLL_LOCK (clock_id, flushing, ..).
17529 Optimize position query some more, do correct locking.
17530 Remove old code to push queue in state change, this is not
17531 needed anymore since preroll blocks on all prerollable items
17533 Almost implemented as described in design doc.
17535 2006-01-30 Wim Taymans <wim@fluendo.com>
17537 * tests/check/gst/gstbin.c: (GST_START_TEST):
17538 Wait for refcount to settle down before checking.
17540 2006-01-30 Wim Taymans <wim@fluendo.com>
17542 * docs/design/part-element-sink.txt:
17543 Pseudo code overview of desired sink behaviour regarding
17546 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17547 * win32/vs6/grammar.dsp:
17548 fix some bugs in Release mode for autogenerated files
17550 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17551 * win32/common/libgstbase.def:
17552 * win32/common/libgstreamer.def:
17553 export some new symbols: gst_base_src_set_format,
17554 gst_iterator_next, gst_structure_set_valist
17556 2006-01-29 Julien MOUTTE <julien@moutte.net>
17558 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17559 Set pad functions unconditionally. Fixes #329105.
17561 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17563 add vs8 project files created by Sergey Scobich
17565 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17567 * gst/gstutils.c: (gst_element_unlink_pads):
17568 Don't leak pad references.
17570 * tests/check/elements/fakesink.c: (GST_START_TEST):
17571 * tests/check/generic/sinks.c: (GST_START_TEST):
17572 * tests/check/generic/states.c: (GST_START_TEST):
17573 * tests/check/gst/gstbin.c: (GST_START_TEST):
17574 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17575 * tests/check/gst/gstelement.c: (GST_START_TEST):
17576 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17577 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17578 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17579 Fix a bunch of leaks. Make generic/sinks.c
17580 use a bit less cpu by slowing the buffer rate
17581 between fakesrc and fakesink.
17583 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17585 * gst/gstelement.c: (gst_element_send_event):
17588 * gst/gstiterator.c:
17589 * gst/gstiterator.h:
17590 * gst/gstpad.c: (gst_pad_send_event):
17591 * gst/gststructure.c:
17595 * libs/gst/base/gstadapter.c:
17596 doc fixes, to link to function, just write gst_cool_function(), don't
17599 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17601 * plugins/elements/gsttee.c: (gst_tee_do_push),
17602 (gst_tee_handle_buffer):
17603 Always prefer an actual return value from a src
17604 pad in place of NOT_LINKED. This means we return
17605 WRONG_STATE when all src pads are WRONG_STATE
17606 instead of NOT_LINKED.
17608 Lock when replacing the last message to prevent
17609 racing with the get_property method.
17613 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17615 * tests/check/Makefile.am:
17616 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17618 Add a very simple check that should have caught the memleak I fixed
17619 last night (if not for the slice allocator hiding it)
17621 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17623 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17624 (gst_bin_remove_func), (gst_bin_handle_message_func),
17625 (bin_query_duration_fold), (bin_query_generic_fold):
17626 Clean up references to the clock provider when disposed or when
17627 handling a clock-lost message from it.
17629 Unref sinks when performing a query via gst_iterator_fold, as the
17630 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17632 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17633 (gst_clock_set_master):
17634 Drop our reference to the master clock, if any, when we are disposed.
17636 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17637 Chain up in dispose.
17639 2006-01-26 Wim Taymans <wim@fluendo.com>
17641 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17642 Add some debugging.
17644 2006-01-26 Julien MOUTTE <julien@moutte.net>
17646 * plugins/elements/gsttee.c: (gst_tee_do_push),
17647 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17648 handles pad being NOT_LINKED or in WRONG_STATE.
17650 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17655 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17658 remove obsolete entry
17660 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17662 * docs/gst/gstreamer-sections.txt:
17663 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17664 (gst_bin_iterate_sources), (gst_bin_send_event):
17666 * gst/gstelement.c: (gst_element_send_event):
17668 * gst/gstpad.c: (gst_pad_send_event):
17669 added code for downstream events, reviewed docs in gstevent.c
17671 2006-01-25 Julien MOUTTE <julien@moutte.net>
17673 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17674 We only query position using the clock in the playing state.
17675 Query peer in the other cases.
17676 * win32/common/config.h: Updates.
17678 2006-01-24 Wim Taymans <wim@fluendo.com>
17680 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17681 A clock entry that is scheduled for the exact time of the
17682 clock is still in time.
17684 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17685 (gst_base_sink_do_sync):
17686 Add some more debug info.
17688 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17691 Add new vs7 project files and solution.
17693 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17696 all files removed as they were out-dated.
17698 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17700 * docs/random/release:
17702 * gst/gstbin.c: (gst_bin_init):
17703 * gst/gstbus.c: (gst_bus_new):
17705 * gst/gstpipeline.c: (gst_pipeline_init):
17706 use gst_bus_new(), improve logging, fix docs
17707 * win32/common/config.h:
17708 update for cvs build
17710 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17713 up required version of automake to 1.7
17715 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17717 * win32/common/libgstreamer.def:
17718 export gst_buffer_is_metadata_writable
17720 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17722 * docs/gst/gstreamer-sections.txt:
17724 Add gst_event_replace() (#327001)
17726 2006-01-20 Wim Taymans <wim@fluendo.com>
17728 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17729 Make it actually compile too..
17731 2006-01-20 Wim Taymans <wim@fluendo.com>
17734 Clarify behaviour of _is_equal() when passing NULL parameters.
17736 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17737 (gst_pad_set_caps):
17738 Cleanups. Don't unref NULL caps.
17739 When setting the same caps, protect caps of the pad with
17741 Use full functionality of _is_equal() when comparing caps.
17743 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17745 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17746 Don't loop infinitely if there are no buffers to present. Partially
17747 fixes #327197, but collectpads is just broken for reusing elements
17748 to do multiple encodes atm.
17750 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17752 * tools/gst-inspect.c: (print_element_features):
17753 * tools/gst-xmlinspect.c: (main):
17754 URL_HANDLER is not a plugin feature we can search for in
17757 2006-01-19 Edward Hervey <edward@fluendo.com>
17759 * gst/gstelement.c: (gst_element_pads_activate):
17760 When activating, do src pads first, then sink pads.
17761 When de-activating, do sink pads first, then src pads.
17763 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17765 * docs/gst/gstreamer-sections.txt:
17766 Add gst_index_add_associationv to the docs
17768 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17773 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17774 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17775 Do some refactoring. Doesn't actually change functionality,
17776 but makes landing the DRAIN event easier later.
17778 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17780 * docs/pwg/advanced-scheduling.xml:
17781 Update from 0.9.x to 0.10 API and make example a bit
17784 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17786 * docs/gst/gstreamer-sections.txt:
17787 Add gst_buffer_(is|make)_metadata_writable methods.
17789 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17791 * docs/design/part-sparsestreams.txt:
17792 Update sparse streams doc, hopefully for greater clarity
17794 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17796 * docs/design/part-events.txt:
17797 Remove mention of FILLER events.
17800 * docs/design/part-sparsestreams.txt:
17801 Write some things about using NEWSEGMENT to keep sparse streams
17804 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17806 * gst/gstbin.c: (gst_bin_dispose):
17807 Guard gst_object_unref call against a NULL object (dispose
17808 can theoretically be called multiple times).
17810 2006-01-18 Wim Taymans <wim@fluendo.com>
17812 * gst/gstbin.c: (gst_bin_element_set_state):
17813 * gst/gstclock.c: (gst_clock_id_wait):
17814 Added some more debug info.
17816 * libs/gst/base/gstadapter.c:
17819 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17820 (gst_base_sink_do_sync), (gst_base_sink_chain):
17821 Added some comments.
17823 2006-01-18 Wim Taymans <wim@fluendo.com>
17825 * tests/check/Makefile.am:
17826 * tests/check/elements/fakesink.c: (chain_async_buffer),
17827 (chain_async), (chain_async_return), (GST_START_TEST),
17828 (fakesink_suite), (main):
17829 Added fakesink test that checks prerolling and clipping
17832 * tests/check/gst/gstutils.c: (GST_START_TEST):
17833 Make check run faster so that buildbots don't timeout.
17835 2006-01-18 Wim Taymans <wim@fluendo.com>
17837 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17838 (gst_base_sink_do_sync):
17840 When the sink finishes blocking on the preroll buffer, it can
17841 immediatly render it instead of rendering when the next buffer
17844 2006-01-18 Wim Taymans <wim@fluendo.com>
17846 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17847 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17848 (gst_base_sink_chain):
17850 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17851 Don't store _last_stop if the buffer is dropped.
17853 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17855 * plugins/elements/gsttypefindelement.c:
17856 (gst_type_find_element_class_init):
17857 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17858 object method handler that sets the caps on the pad and we want
17859 that to happen before we emit the signal (fixes e.g. feeding a
17860 plain text file to decodebin).
17862 2006-01-18 Christian Schaller <Christian@fluendo.com>
17864 * gst/gstplugin.c: Add MPL and Proprietary as license options
17866 2006-01-18 Andy Wingo <wingo@pobox.com>
17868 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17869 symbol was exported before, it appears this was just an oversight.
17871 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17873 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17874 prototype to gint. OK since this prototype was not in the header.
17876 2006-01-17 Andy Wingo <wingo@pobox.com>
17878 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17879 registry while we remove plugins.
17881 * tools/gst-inspect.c (print_element_info): Don't unref the
17882 factory arg, that should be the responsibility of whatever code
17883 received the ref. Fixes a double-free when called from
17884 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17885 (main): Unref the factory if we have one.
17886 (print_element_list): No change -- relies on the
17887 plugin_feature_list_free to free the list of features.
17889 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17891 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17892 (gst_buffer_make_metadata_writable):
17894 * libs/gst/base/gstbasetransform.c:
17895 (gst_base_transform_prepare_output_buf):
17896 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17897 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17898 Replace gst_buffer_(make|is)_metadata_writable patch now
17899 that the release is out.
17901 2006-01-17 Andy Wingo <wingo@pobox.com>
17903 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17904 in the present tense without reference to versions.
17906 * gst/gstregistry.c (gst_registry_add_plugin)
17907 (gst_registry_remove_plugin, gst_registry_remove_feature)
17908 (gst_registry_find_feature, gst_registry_get_feature_list)
17909 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17910 (gst_registry_lookup, gst_registry_scan_path)
17911 (_gst_registry_remove_cache_plugins)
17912 (gst_registry_get_feature_list_by_plugin): Add argument
17915 === release 0.10.2 ===
17917 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17920 releasing 0.10.2, "If man is five"
17922 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17926 * libs/gst/base/gstbasetransform.c:
17927 (gst_base_transform_prepare_output_buf):
17928 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17929 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17930 Back out patch until after the release.
17932 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17934 * gst/gstminiobject.c:
17935 Spelling fix in docs.
17936 * ChangeLog - remove conflict indicator
17938 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17940 Reviewed By: Andy Wingo
17942 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17943 (gst_buffer_make_metadata_writable):
17945 Add gst_buffer_(is|make)_metadata_writable as analogues of
17946 gst_buffer_(is|make)_writable.
17948 * libs/gst/base/gstbasetransform.c:
17949 (gst_base_transform_prepare_output_buf):
17950 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17951 Use name gst_buffer_(is|make)_metadata_writable functions.
17953 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17954 Test gst_buffer_(is|make)_metadata_writable
17958 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17960 * docs/manual/Makefile.am:
17961 don't do parallel make
17964 * win32/common/config.h.in:
17965 add generations for HOST_CPU and GST_MAJORMINOR
17966 * win32/common/config.h:
17967 commit generated result
17969 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17971 * docs/manual/appendix-integration.xml:
17972 Update GNOME integration section to use gst_init_get_option_group()
17973 instead of the old popt stuff (#322911). Also, GNOME applications
17974 should now use gconf*sink and gconf*src instead of the old gconf
17977 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17980 * docs/gst/gstreamer-docs.sgml:
17981 * docs/gst/gstreamer-sections.txt:
17982 * docs/libs/gstreamer-libs-sections.txt:
17983 add new API entries to the docs
17984 * libs/gst/controller/Makefile.am:
17985 * libs/gst/controller/gstcontroller.c:
17986 * libs/gst/controller/gstcontroller.h:
17987 * libs/gst/controller/gstcontrollerprivate.h:
17988 * libs/gst/controller/gsthelper.c:
17989 * libs/gst/controller/gstinterpolation.c:
17990 move private structs to private header
17992 gstreamer-0.7 -> gstreamer-0.10
17993 * tests/check/libs/struct_i386.h:
17994 remove private structs
17996 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17998 * plugins/indexers/Makefile.am:
17999 Fixes as part of #317048
18001 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18003 * plugins/indexers/Makefile.am:
18004 fix #316086 - compilation when mmap is missing
18006 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18008 * libs/gst/base/gstbasesink.c:
18009 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18010 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18011 * win32/common/config.h:
18012 added some defines GST_MAJORMINOR and HOST_CPU
18013 * win32/common/libgstbase.def:
18014 * win32/common/libgstreamer.def:
18015 added some exported functions.
18017 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18019 * libs/gst/controller/gstcontroller.c:
18020 (gst_controlled_property_set_interpolation_mode),
18021 (gst_controlled_property_new):
18022 * libs/gst/controller/gstcontroller.h:
18023 * libs/gst/controller/gstinterpolation.c:
18024 (interpolate_none_get_string_value_array):
18025 make G_TYPE_STRING controlable
18027 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18030 * tools/gst-feedback.1.in:
18031 * tools/gst-inspect.1.in:
18032 * tools/gst-launch.1.in:
18033 * tools/gst-md5sum.1.in:
18034 * tools/gst-typefind.1.in:
18035 * tools/gst-xmlinspect.1.in:
18036 * tools/gst-xmllaunch.1.in:
18037 cleanup man-pages, remove reference to gst-register, document env-vars
18039 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18041 * gst/gstbuffer.c: (gst_buffer_span):
18042 gst_buffer_span should copy the timestamp of the first buffer
18043 if they were both originally overlapping subbuffers of the
18044 same parent, using the same logic as the 'slow copy' case.
18046 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18048 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18049 Need to awaken ALL the pads when we pop a buffer, otherwise
18050 collectpads only works when there is 2 input streams.
18052 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18054 * docs/random/ensonic/media-device-daemon.txt:
18057 fix doc example, add clarification
18058 * tools/gst-launch.1.in:
18059 add initial info about GST_PLUGIN_PATH, needs more work
18061 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18063 * docs/manual/basics-bins.xml:
18064 * docs/manual/basics-elements.xml:
18065 * docs/manual/intro-basics.xml:
18066 Some more minor docs additions and updates.
18068 2006-01-11 Wim Taymans <wim@fluendo.com>
18070 * docs/manual/basics-bins.xml:
18071 * docs/manual/basics-elements.xml:
18072 Some small fixes as pointed out by Ser-ver on IRC.
18074 2006-01-10 Edward Hervey <edward@fluendo.com>
18076 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18077 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18078 the single-segment mode.
18080 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18082 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18084 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18085 (gst_base_src_perform_seek), (gst_base_src_send_event),
18086 (gst_base_src_set_property), (gst_base_src_get_property),
18087 (gst_base_src_loop), (gst_base_src_start),
18088 (gst_base_src_activate_push):
18089 * libs/gst/base/gstbasesrc.h:
18090 Name (private) union; makes Sun's Forte compiler happy (#324900).
18092 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18095 gst-register is gone.
18097 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18099 * gst/gstvalue.c: (_gst_value_initialize):
18100 make the G_TYPE_DATE instantiation work if debug is disabled
18102 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18104 * gst/gstmessage.c: (gst_message_parse_tag),
18105 (gst_message_parse_error), (gst_message_parse_warning):
18106 Don't crash when return location for error/warning debug
18107 string is NULL; add fact that return locations can be
18108 NULL to docs where appropriate.
18110 2006-01-05 Wim Taymans <wim@fluendo.com>
18112 * gst/gstplugin.c: (gst_plugin_load_file):
18113 Replace strdup by g_strdup.
18115 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18117 * docs/pwg/advanced-types.xml:
18120 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18122 submitted by: Abel Cheung
18126 Added Chinese (traditional) translation
18128 2006-01-04 Wim Taymans <wim@fluendo.com>
18130 * docs/manual/basics-pads.xml:
18131 * docs/plugins/Makefile.am:
18132 * docs/plugins/gstreamer-plugins-docs.sgml:
18133 * docs/plugins/gstreamer-plugins-sections.txt:
18134 * docs/pwg/advanced-clock.xml:
18135 * docs/pwg/advanced-scheduling.xml:
18136 * docs/pwg/advanced-types.xml:
18137 * plugins/elements/gstfdsink.c:
18138 * plugins/elements/gstfdsrc.c:
18139 * plugins/elements/gstfdsrc.h:
18140 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18141 * plugins/elements/gstidentity.h:
18142 * plugins/elements/gstqueue.h:
18143 * plugins/elements/gsttee.c:
18144 * plugins/elements/gsttee.h:
18145 * plugins/elements/gsttypefindelement.c:
18146 (gst_type_find_element_class_init):
18147 * plugins/elements/gsttypefindelement.h:
18148 Small updates to various docs.
18149 Added core plugins to docs.
18151 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18154 add a suppression for liboil's uninitialized variable
18156 2006-01-02 James Livingston <jrl at ids dot org dot au>
18158 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18161 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18162 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18163 compiler switch is being used (#325429).
18165 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18167 * gst/gstbin.c: (gst_bin_query):
18168 Disable duration query caching in bins until it gets
18169 fixed (see #324807).
18171 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18173 * tools/gst-inspect.c: (print_element_properties_info):
18174 Handle properties of POINTER and BOXED type.
18176 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18178 * gst/gst.c: (init_post):
18179 Init tags stuff and some other things before loading
18180 any static plugins (there may be other static plugins
18181 than just the GStreamer ones, and they may want to
18182 register their own tags or formats or whatever, and
18183 preferably without segfaulting).
18185 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18186 Print at least a warning in the debug logs if we drop a
18187 query just because we don't know how to adjust the value
18188 in the particular format.
18190 2005-12-24 David Schleef <ds@schleef.org>
18192 * tools/gstreamer-completion:
18193 Replacement for gst-complete written in sh and sed. Only
18194 completes names of features, but that's 90% of what I want
18195 it for. Properties are not available in registry.xml. (Maybe
18198 === release 0.10.1 ===
18200 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18203 releasing 0.10.1, "Nollaig chridheil"
18205 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18207 * docs/faq/cvs.xml:
18208 Add missing quote, should be make ERROR_CFLAGS="".
18210 2005-12-20 Wim Taymans <wim@fluendo.com>
18212 * docs/design/part-trickmodes.txt:
18213 More documentation on trickmodes.
18215 2005-12-20 Edward Hervey <edward@fluendo.com>
18217 * gst/gstcaps.c: (gst_static_caps_get_type):
18219 API addition: GST_TYPE_STATIC_CAPS
18220 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18221 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18222 * gst/gstpadtemplate.h:
18223 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18224 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18227 2005-12-18 Wim Taymans <wim@fluendo.com>
18229 * libs/gst/base/gstadapter.c:
18230 * libs/gst/base/gstadapter.h:
18231 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18232 (gst_base_sink_get_position):
18233 * libs/gst/base/gstbasesink.h:
18234 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18235 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18236 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18237 (gst_base_src_send_event), (gst_base_src_update_length),
18238 (gst_base_src_get_range), (gst_base_src_loop),
18239 (gst_base_src_start):
18240 * libs/gst/base/gstbasesrc.h:
18241 * libs/gst/base/gstbasetransform.h:
18242 * libs/gst/base/gstcollectpads.h:
18243 * libs/gst/base/gstpushsrc.c:
18244 * libs/gst/base/gstpushsrc.h:
18245 * libs/gst/dataprotocol/dataprotocol.c:
18246 * libs/gst/dataprotocol/dataprotocol.h:
18247 * libs/gst/net/gstnetclientclock.h:
18248 * libs/gst/net/gstnettimeprovider.h:
18249 Documentation updates.
18251 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18253 * docs/manual/basics-helloworld.xml:
18254 Remove superfluous closing bracket in helloworld example.
18256 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18258 * tools/gst-launch.1.in:
18259 Update gst-launch man page; add a section with useful
18260 environment variables. Fixes #323882.
18262 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18265 * gst/gst_private.h:
18266 change some char* into char[]
18268 2005-12-16 Wim Taymans <wim@fluendo.com>
18270 * gst/gstregistryxml.c: (load_feature):
18272 Don't use g_object_unref on GstObjects so that we avoid
18273 leaks on unsafe glibs.
18275 2005-12-16 Wim Taymans <wim@fluendo.com>
18277 * gst/gstbin.c: (gst_bin_recalc_state):
18280 2005-12-16 Wim Taymans <wim@fluendo.com>
18282 * common/check.mak:
18283 Added make forever target for check.
18285 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18287 * gst/gst.c: (init_post):
18288 make the registry cache file HOST_CPU-dependent
18290 2005-12-16 Andy Wingo <wingo@pobox.com>
18292 * plugins/elements/gstbufferstore.c
18293 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18296 * tests/check/gst/gstobject.c
18297 (test_fake_object_name_threaded_unique): Pay attention to
18298 g_list_sort return value.
18300 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18302 * tools/gst-feedback-m.m:
18303 Update for 0.9/0.10 (fixes #323870).
18305 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18307 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18308 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18310 * tests/check/gst/gstminiobject.c: (my_foo_init),
18311 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18312 (test_value_collection), (gst_mini_object_suite):
18313 Add test to ensure refcounts end up as expected when passing
18314 GstMiniObjects through g_object_get() and g_object_set().
18316 2005-12-14 Julien MOUTTE <julien@moutte.net>
18318 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18319 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18320 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18321 of collectpads. This version removes a lot of races without
18322 touching API/ABI. Yay !
18324 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18326 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18327 Don't allow activation of a srcpad in pull_range if it has no
18329 Change some debug statements to be a little clearer
18331 * plugins/elements/gsttypefindelement.c:
18332 (gst_type_find_handle_src_query):
18333 Check that we have a peer before executing queries thereupon.
18335 * tests/examples/metadata/read-metadata.c: (message_loop):
18336 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18337 immediately return us any available message with 0 timeout.
18339 2005-12-12 Michael Smith <msmith@fluendo.com>
18341 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18342 Don't unref factories after calling them.
18343 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18344 * plugins/elements/gsttypefindelement.c:
18345 (gst_type_find_element_chain):
18346 Free lists of factories after using them. Fixing typefinding memory
18349 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18351 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18352 (gst_plugin_feature_load):
18353 more meaningful debug output
18355 * tests/Makefile.am:
18356 * tests/old/examples/Makefile.am:
18357 make make distcheck happy again
18359 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18361 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18362 Catch the special case where we are operating chain-based,
18363 but the downstream peer pad has no chain function. Emit a
18364 custom error message in this case instead of letting the
18365 core generate one implying that this is some sort of core
18366 bug. It's not, it just means that whatever got plugged
18367 into the pipeline downstream when we announced the type
18368 can only operate pull-based, while our source can only
18369 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18370 Error string has not been marked for translation yet, as
18371 it probably needs some more work first.
18373 (gst_type_find_element_get_best_possibility):
18374 Add helper function to find the best of all available
18375 found possibilities that qualify given the min. threshold.
18377 (gst_type_find_element_handle_event):
18378 Fix the case where we get an EOS while still in TYPEFIND
18379 mode (we want to chose the best of all possible types,
18380 not just the first type that happens to be in our unsorted
18381 list of possible types).
18383 (gst_type_find_element_chain):
18384 Make sure we return GST_FLOW_ERROR when we errored out
18385 in stop_typefinding(); also, don't just find the best of
18386 all found type entries and then use the last examined
18387 type entry, but actually use the best entry.
18389 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18391 * tests/examples/typefind/typefind.c: (type_found):
18392 * tests/examples/xml/runxml.c: (xml_loaded):
18393 More gcc4 fixes and a mem leak fix.
18395 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18397 * tests/examples/xml/createxml.c: (object_saved):
18400 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18402 * tests/Makefile.am:
18403 enable the examples even more
18405 2005-12-12 Andy Wingo <wingo@pobox.com>
18407 * libs/gst/net/gstnettimeprovider.c
18408 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18409 (gst_net_time_provider_set_property)
18410 (gst_net_time_provider_get_property):
18411 API addition: Export "active" as a GObject property.
18412 (gst_net_time_provider_thread): Only respond to time queries if
18413 the time provider is active.
18415 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18416 NetTimeProvider, preserving binary compat.
18418 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18420 * tests/examples/controller/audio-example.c: (main):
18421 * tests/examples/launch/Makefile.am:
18422 convert comments again
18424 2005-12-12 Wim Taymans <wim@fluendo.com>
18426 * libs/gst/base/gstpushsrc.c:
18429 2005-12-12 Wim Taymans <wim@fluendo.com>
18431 * docs/libs/gstreamer-libs-sections.txt:
18432 Added new symbol to docs.
18434 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18435 (gst_base_src_init), (gst_base_src_set_format),
18436 (gst_base_src_default_query), (gst_base_src_query),
18437 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18438 (gst_base_src_perform_seek), (gst_base_src_send_event),
18439 (gst_base_src_default_event), (gst_base_src_event_handler),
18440 (gst_base_src_set_property), (gst_base_src_get_property),
18441 (gst_base_src_wait), (gst_base_src_do_sync),
18442 (gst_base_src_update_length), (gst_base_src_get_range),
18443 (gst_base_src_check_get_range), (gst_base_src_loop),
18444 (gst_base_src_default_negotiate), (gst_base_src_start),
18445 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18446 (gst_base_src_change_state):
18447 * libs/gst/base/gstbasesrc.h:
18448 Implement seeking to other formats than _BYTES.
18449 Implement more seeking methods correctly.
18451 Added query vmethod.
18452 Added do_seek vmethod to make life easier for subclasses
18454 API addition: gst_base_src_set_format()
18456 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18458 * tests/examples/Makefile.am:
18461 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18464 * docs/random/ensonic/media-device-daemon.txt:
18465 * tests/examples/controller/.cvsignore:
18466 * tests/examples/controller/Makefile.am:
18467 * tests/examples/controller/audio-example.c: (main):
18468 * tests/examples/helloworld/.cvsignore:
18469 * tests/examples/helloworld/Makefile.am:
18470 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18471 * tests/examples/launch/.cvsignore:
18472 * tests/examples/launch/Makefile.am:
18473 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18474 * tests/examples/metadata/.cvsignore:
18475 * tests/examples/metadata/Makefile.am:
18476 * tests/examples/metadata/read-metadata.c: (message_loop),
18477 (make_pipeline), (print_tag), (main):
18478 * tests/examples/queue/.cvsignore:
18479 * tests/examples/queue/Makefile.am:
18480 * tests/examples/queue/queue.c: (event_loop), (main):
18481 * tests/examples/typefind/.cvsignore:
18482 * tests/examples/typefind/Makefile.am:
18483 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18485 * tests/examples/xml/.cvsignore:
18486 * tests/examples/xml/Makefile.am:
18487 * tests/examples/xml/createxml.c: (object_saved), (main):
18488 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18489 * tests/old/examples/Makefile.am:
18490 * tests/old/examples/TODO:
18491 * tests/old/examples/controller/.cvsignore:
18492 * tests/old/examples/controller/Makefile.am:
18493 * tests/old/examples/controller/audio-example.c:
18494 * tests/old/examples/helloworld/.cvsignore:
18495 * tests/old/examples/helloworld/Makefile.am:
18496 * tests/old/examples/helloworld/helloworld.c:
18497 * tests/old/examples/launch/.cvsignore:
18498 * tests/old/examples/launch/Makefile.am:
18499 * tests/old/examples/launch/mp3parselaunch.c:
18500 * tests/old/examples/launch/mp3play:
18501 * tests/old/examples/manual/Makefile.am:
18502 * tests/old/examples/metadata/Makefile.am:
18503 * tests/old/examples/metadata/read-metadata.c:
18504 * tests/old/examples/queue/.cvsignore:
18505 * tests/old/examples/queue/Makefile.am:
18506 * tests/old/examples/queue/queue.c:
18507 * tests/old/examples/typefind/.cvsignore:
18508 * tests/old/examples/typefind/Makefile.am:
18509 * tests/old/examples/typefind/typefind.c:
18510 * tests/old/examples/xml/.cvsignore:
18511 * tests/old/examples/xml/Makefile.am:
18512 * tests/old/examples/xml/createxml.c:
18513 * tests/old/examples/xml/runxml.c:
18514 applied some simple fixing to some examples
18515 re-enabled the working examples
18517 2005-12-12 Wim Taymans <wim@fluendo.com>
18519 * gst/gstsegment.c: (gst_segment_init),
18520 (gst_segment_set_last_stop), (gst_segment_set_seek),
18521 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18522 (gst_segment_to_running_time):
18523 Added more documentation.
18524 Make sure the last_pos value is updated properly.
18525 Make sure to_stream_time and to_running_time don't
18526 operate on wrong values.
18528 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18531 2005-12-12 Michael Smith <msmith@fluendo.com>
18533 * plugins/elements/gsttypefindelement.c: (free_entry),
18534 (gst_type_find_element_chain):
18535 Now that we're not leaking factories, make sure we keep references
18536 to them while we need them.
18538 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18540 * tests/check/gst/struct_i386.h:
18541 ifdef out the XML structs
18543 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18545 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18546 floor is not needed, F is always positive; this obviates the
18547 need for adding -lm when building without libxml
18549 2005-12-12 Wim Taymans <wim@fluendo.com>
18551 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18552 Take current playback rate into account when reporting
18555 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18557 * docs/manual/mime-world.fig:
18558 Let's try this again, this time with a file that is
18559 actually in XFig format.
18561 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18563 * docs/manual/mime-world.fig:
18564 Add audioconvert element to diagram so that it
18565 matches the text and the code (fixes #319526).
18567 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18569 * docs/pwg/building-chainfn.xml:
18570 * docs/pwg/building-pads.xml:
18571 * docs/pwg/building-state.xml:
18572 * docs/pwg/other-source.xml:
18573 Update state change stuff for 0.10 (fixes #322969).
18575 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18577 * docs/manual/advanced-dataaccess.xml:
18578 * docs/manual/appendix-checklist.xml:
18579 * docs/manual/appendix-programs.xml:
18580 * docs/manual/basics-pads.xml:
18581 * docs/manual/highlevel-components.xml:
18582 * docs/manual/manual.xml:
18583 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18584 add converters in front of pipelines; remove curly
18585 brackets for threads stuff, they no longer exist; use
18586 GST_TYPE_FRACTION for framerates; update some pieces of
18587 code to 0.10, but there's plenty more to do.
18589 * docs/manual/appendix-porting.xml:
18590 Expand on asynchroneous state changes; s/0.9/0.10/;
18591 mention disappearance of gst_init_get_popt_table()
18594 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18596 * docs/faq/using.xml:
18597 Spider no longer exists, and neither does gst-launch-ext.
18598 Update examples to use decodebin and playbin and put
18599 converters in front of sinks (fixes #323726).
18601 2005-12-09 Michael Smith <msmith@fluendo.com>
18603 * plugins/elements/gsttypefindelement.c: (find_peek),
18604 (gst_type_find_element_chain):
18605 Fix leaking element factories in typefinding.
18606 Fix problem where we forgot about a probable type on non-seekable
18607 files, and thus later mis-typefound it.
18609 2005-12-09 Michael Smith <msmith@fluendo.com>
18611 * common/m4/gst-makecontext.m4:
18612 * common/m4/gst-mcsc.m4:
18614 * win32/common/config.h:
18615 * win32/common/config.h.in:
18616 Remove makecontext stuff; not used in 0.10 and causes problems on
18617 HPUX according to bug #322441
18619 2005-12-07 Wim Taymans <wim@fluendo.com>
18621 * tests/check/Makefile.am:
18622 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18624 * tests/check/libs/struct_i386.h:
18625 Added ABI check for libs
18627 2005-12-07 Wim Taymans <wim@fluendo.com>
18629 * tests/check/Makefile.am:
18630 And add the struct_i386.h to dist.
18632 2005-12-07 Wim Taymans <wim@fluendo.com>
18634 * tests/check/Makefile.am:
18635 * tests/check/gst/.cvsignore:
18636 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18638 * tests/check/gst/struct_i386.h:
18639 Added check for ABI compatibility.
18641 2005-12-07 Wim Taymans <wim@fluendo.com>
18643 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18644 (gst_fake_src_get_times), (gst_fake_src_create):
18645 Fix broken sync option, fixes #323259
18647 2005-12-07 Wim Taymans <wim@fluendo.com>
18652 * gst/gstcaps.c: (gst_caps_is_equal):
18653 Don't assert on NULL <--> X. Fixes #323260
18655 * gst/gstminiobject.c: (gst_mini_object_replace):
18656 If we're doing atomic operations, we might just as well use
18657 the proper way to get an atomic pointer.
18659 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18660 Clean up debugging.
18662 2005-12-07 Michael Smith <msmith@fluendo.com>
18664 * gst/parse/grammar.y:
18665 Remove handling of { } for threads.
18667 2005-12-06 David Schleef <ds@schleef.org>
18669 * libs/gst/base/gstbasetransform.c: speling fix.
18671 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18673 * docs/libs/tmpl/gstdataprotocol.sgml:
18674 * docs/random/omega/testing/gstobject.c:
18677 * gst/gstelement.c:
18678 * gst/gstelementfactory.c:
18681 * gst/gstghostpad.c:
18683 * gst/gstpadtemplate.c:
18684 * gst/gstregistryxml.c:
18685 * gst/gsttaglist.c:
18686 * gst/gsttagsetter.c:
18687 * gst/gsttypefind.c:
18689 * libs/gst/base/gstbasesrc.c:
18690 * libs/gst/net/gstnetclientclock.c:
18691 * libs/gst/net/gstnettimeprovider.c:
18692 * plugins/elements/gstfakesrc.c:
18693 * plugins/elements/gstfdsrc.c:
18694 * plugins/elements/gstfilesrc.c:
18695 * plugins/elements/gstidentity.c:
18696 * plugins/elements/gstqueue.c:
18697 * plugins/elements/gsttypefindelement.c:
18698 * plugins/indexers/gstfileindex.c:
18699 * plugins/indexers/gstmemindex.c:
18700 * tests/check/gst/gsttag.c:
18701 * tests/old/examples/cutter/cutter.c:
18702 * tests/old/examples/mixer/mixer.c:
18703 * tests/old/examples/xml/runxml.c: (main):
18704 * tests/old/testsuite/caps/normalisation.c:
18705 * tests/old/testsuite/debug/global.c:
18706 * tests/old/testsuite/parse/parse1.c:
18707 * tools/gst-xmlinspect.c:
18708 * win32/common/dirent.c:
18711 === release 0.10.0 ===
18713 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18716 releasing 0.10.0, "Maroilles"
18718 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18720 submitted by: Funda Wang <fundawang@linux.net.cn>
18724 added Chinese (Traditional) translation
18726 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18728 * docs/gst/gstreamer-sections.txt:
18729 * docs/libs/tmpl/gstdataprotocol.sgml:
18730 * docs/random/thomasvs/TODO:
18735 2005-12-05 Andy Wingo <wingo@pobox.com>
18737 patch by: Wim Taymans <wim@fluendo.com>
18739 * libs/gst/base/gstbasetransform.c
18740 (gst_base_transform_prepare_output_buf)
18741 (gst_base_transform_buffer_alloc):
18742 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18743 alloc_buffer_and_set_caps.
18745 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18746 set_caps on the source pad.
18747 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18748 alloc_buffer used to do. Fixes #322874.
18750 * docs/gst/gstreamer-sections.txt:
18751 * docs/design/part-negotiation.txt:
18752 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18755 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18757 patch by: Sebastien Moutte
18760 * win32/common/config.h.in:
18761 * win32/vs6/libgstcontroller.dsp:
18764 2005-12-05 Wim Taymans <wim@fluendo.com>
18766 * gst/gstcaps.c: (gst_caps_is_equal):
18767 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18768 (gst_fake_src_create):
18769 Back out previous code changes, leave doc updates, file bugs
18772 2005-12-05 Wim Taymans <wim@fluendo.com>
18774 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18775 (gst_fake_src_get_times), (gst_fake_src_create):
18776 * plugins/elements/gstfakesrc.h:
18777 Fix broken sync code.
18779 2005-12-05 Wim Taymans <wim@fluendo.com>
18781 * gst/gstcaps.c: (gst_caps_is_equal):
18782 Comparing NULL against !NULL yields different caps, not a
18785 2005-12-05 Wim Taymans <wim@fluendo.com>
18787 * gst/gstpipeline.c:
18788 Fix small typo in docs.
18790 2005-12-05 Andy Wingo <wingo@pobox.com>
18792 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18794 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18795 registries/plugins with a MAJORMINOR one.
18796 (plugin_desc): Rename library from gstcoreleements to
18797 staticelements. Fixes #323222.
18799 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18801 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18802 Change debug category to 'collectpads' from 'collect_pads'
18805 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18807 patch by: Sebastien Moutte
18809 * libs/gst/controller/gstinterpolation.c:
18810 use convert function for uint64/double
18811 * win32/vs6/libgstcontroller.dsp:
18814 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18816 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18817 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18819 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18820 add tests that seem to show that the guint64/gdouble conversions
18823 2005-12-02 Wim Taymans <wim@fluendo.com>
18825 * gst/gstregistry.c: (gst_registry_add_path):
18826 * gst/gstregistry.h:
18827 * gst/gstregistryxml.c:
18830 2005-12-02 Wim Taymans <wim@fluendo.com>
18832 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18833 (gst_util_uint64_scale_int):
18836 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18837 Add debug log line.
18839 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18842 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18845 * win32/common/config.h:
18846 * win32/vs6/gstreamer.dsw:
18847 * win32/vs6/libgstcoreelements.dsp:
18848 * win32/vs6/libgstelements.dsp:
18849 renamed core elements plugin
18851 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18853 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18855 do piece-wise major/minor comparison so 0.9 < 0.10
18856 also allow .exe extensions for tools
18858 2005-12-02 Michael Smith <msmith@fluendo.com>
18861 Escape a % to make gtkdoc happier; bug 322958.
18863 === release 0.9.7 ===
18865 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18868 releasing 0.9.7, "My Dog Has No Nose"
18870 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18872 * common/gst-xmlinspect.py:
18874 * docs/libs/tmpl/gstdataprotocol.sgml:
18875 * docs/random/release:
18894 * win32/common/config.h:
18895 * win32/common/config.h.in:
18896 * win32/vs6/gst_inspect.dsp:
18897 * win32/vs6/gst_launch.dsp:
18898 * win32/vs6/libgstbase.dsp:
18899 * win32/vs6/libgstelements.dsp:
18900 * win32/vs6/libgstreamer.dsp:
18901 * win32/vs7/GStreamer.vcproj:
18902 * win32/vs7/gst-inspect.vcproj:
18903 * win32/vs7/gst-launch.vcproj:
18904 * win32/vs7/libgstbase.vcproj:
18905 bump GST_MAJORMINOR to 0.10
18906 reset libtool version
18908 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18912 Added Bulgarian translation by (Alexander Shopov)
18914 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18916 * tests/check/gst/gstplugin.c:
18919 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18921 * common/gst-xmlinspect.py:
18922 * common/gtk-doc-plugins.mak:
18924 * docs/Makefile.am:
18925 * docs/gst/Makefile.am:
18926 * docs/gst/gstreamer-docs.sgml:
18927 * docs/gst/gstreamer-sections.txt:
18928 * docs/gst/gstreamer.types:
18929 * docs/gst/gstreamer.types.in:
18930 * docs/plugins/Makefile.am:
18931 * docs/plugins/gstreamer-plugins-docs.sgml:
18932 * docs/plugins/gstreamer-plugins-sections.txt:
18933 * docs/plugins/gstreamer-plugins.types:
18934 * docs/plugins/inspect.stamp:
18935 * docs/plugins/inspect/plugin-coreelements.xml:
18936 * docs/plugins/inspect/plugin-coreindexers.xml:
18937 * docs/plugins/scanobj-build.stamp:
18938 * gstreamer.spec.in:
18939 * plugins/elements/Makefile.am:
18940 * plugins/elements/gstelements.c:
18941 * plugins/elements/gstfakesink.c:
18942 * plugins/elements/gstfakesrc.c:
18943 * plugins/elements/gstfilesink.c:
18944 * plugins/elements/gstfilesrc.c:
18945 * plugins/elements/gstqueue.c:
18946 * plugins/indexers/Makefile.am:
18947 * plugins/indexers/gstindexers.c:
18948 document core plugins in a separate document just like all the
18950 rename these plugins to something starting with core
18952 2005-12-01 Andy Wingo <wingo@pobox.com>
18954 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18955 padding here before, but it missed the commit.
18957 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18959 * libs/gst/controller/gstinterpolation.c:
18960 whitespace prices have crashed, we should feel free to use some now
18961 use gst_guint64_to_gdouble
18963 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18965 * libs/gst/controller/gstcontroller.c:
18966 * libs/gst/controller/gsthelper.c:
18967 * libs/gst/controller/gstinterpolation.c:
18968 * libs/gst/controller/lib.c:
18969 wrap config.h include
18971 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18973 * docs/gst/gstreamer-sections.txt:
18976 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18978 * plugins/elements/gstelements.c:
18979 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18980 (gst_fd_sink__class_init), (gst_fd_sink__init),
18981 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18982 (gst_fd_sink__get_property):
18983 * plugins/elements/gstfdsink.h:
18984 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18985 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18986 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18987 (gst_fd_src_unlock), (gst_fd_src_set_property),
18988 (gst_fd_src_get_property), (gst_fd_src_create),
18989 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18990 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18991 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18992 (gst_fd_src_uri_handler_init):
18993 * plugins/elements/gstfdsrc.h:
18994 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18997 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18999 * docs/gst/Makefile.am:
19000 * docs/gst/gstreamer.types.in:
19004 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19010 * gst/gstregistry.h:
19011 * tests/benchmarks/complexity.c:
19012 * tests/benchmarks/mass-elements.c:
19013 * tests/check/Makefile.am:
19014 * tools/Makefile.am:
19015 * tools/gst-inspect.c:
19016 * tools/gst-xmlinspect.c:
19017 various fixes to make
19018 --disable-nls --disable-registry --disable-loadsave
19019 --disable-parse --disable-gst-debug
19020 work and get the core .so down to 360444 bytes after stripping
19022 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19027 * docs/random/thomasvs/TODO:
19028 * tests/Makefile.am:
19032 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19034 * win32/GStreamer.vcproj:
19037 * win32/Makefile.inspect:
19038 * win32/Makefile.launch:
19039 * win32/Makefile.register:
19040 * win32/README.txt:
19041 * win32/gst-inspect.vcproj:
19042 * win32/gst-launch.vcproj:
19043 * win32/gst-register.vcproj:
19044 * win32/gstelements.vcproj:
19045 * win32/gstgetbits.def:
19046 * win32/gstgetbits.vcproj:
19047 * win32/gstreamer-dbg.def:
19048 * win32/gstreamer.def:
19049 * win32/libgstbase.def:
19050 * win32/libgstbase.vcproj:
19051 * win32/link_oldruntime.c:
19055 * win32/msvc71.sln:
19056 move even more stuff, win32/ is nice and clean now
19058 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19060 * libs/gst/control/.cvsignore:
19065 * win32/gstbytestream.def:
19066 * win32/gstbytestream.vcproj:
19067 * win32/gstconfig.h:
19068 * win32/gstenumtypes.c:
19069 * win32/gstenumtypes.h:
19070 * win32/gstoptimalscheduler.vcproj:
19071 * win32/gstversion.h:
19073 * win32/testsuite/bins.vcproj:
19074 * win32/testsuite/bytestream.vcproj:
19075 * win32/testsuite/caps.vcproj:
19076 * win32/testsuite/cleanup.vcproj:
19077 * win32/testsuite/clock.vcproj:
19078 * win32/testsuite/debug.vcproj:
19079 * win32/testsuite/dlopen.vcproj:
19080 * win32/testsuite/dynparams.vcproj:
19081 * win32/testsuite/elements.vcproj:
19082 * win32/testsuite/ghostpads.vcproj:
19083 * win32/testsuite/indexers.vcproj:
19084 * win32/testsuite/negotiation.vcproj:
19085 * win32/testsuite/parse.vcproj:
19086 * win32/testsuite/plugin.vcproj:
19087 * win32/testsuite/refcounting.vcproj:
19088 * win32/testsuite/schedulers.vcproj:
19089 * win32/testsuite/states.vcproj:
19090 * win32/testsuite/tags.vcproj:
19091 * win32/testsuite/threads.vcproj:
19092 remove old win32 stuff that isn't maintained and should be
19095 2005-11-30 Andy Wingo <wingo@pobox.com>
19097 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19098 loading the gst.interfaces python module bork.
19100 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19101 available since GLib 2.2. Fixes #318031.
19103 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19106 * check/.cvsignore:
19107 * check/Makefile.am:
19108 * check/elements/.cvsignore:
19109 * check/elements/fakesrc.c:
19110 * check/elements/fdsrc.c:
19111 * check/elements/identity.c:
19112 * check/generic/.cvsignore:
19113 * check/generic/states.c:
19114 * check/gst-libs/.cvsignore:
19115 * check/gst-libs/controller.c:
19116 * check/gst-libs/gdp.c:
19117 * check/gst/.cvsignore:
19118 * check/gst/capslist.h:
19120 * check/gst/gstbin.c:
19121 * check/gst/gstbuffer.c:
19122 * check/gst/gstbus.c:
19123 * check/gst/gstcaps.c:
19124 * check/gst/gstelement.c:
19125 * check/gst/gstevent.c:
19126 * check/gst/gstghostpad.c:
19127 * check/gst/gstiterator.c:
19128 * check/gst/gstmessage.c:
19129 * check/gst/gstminiobject.c:
19130 * check/gst/gstobject.c:
19131 * check/gst/gstpad.c:
19132 * check/gst/gstpipeline.c:
19133 * check/gst/gstplugin.c:
19134 * check/gst/gstsegment.c:
19135 * check/gst/gststructure.c:
19136 * check/gst/gstsystemclock.c:
19137 * check/gst/gsttag.c:
19138 * check/gst/gstutils.c:
19139 * check/gst/gstvalue.c:
19140 * check/net/.cvsignore:
19141 * check/net/gstnetclientclock.c:
19142 * check/net/gstnettimeprovider.c:
19143 * check/pipelines/.cvsignore:
19144 * check/pipelines/cleanup.c:
19145 * check/pipelines/simple_launch_lines.c:
19146 * check/pipelines/stress.c:
19147 * check/states/.cvsignore:
19148 * check/states/sinks.c:
19150 * examples/Makefile.am:
19151 * examples/appreader/.cvsignore:
19152 * examples/appreader/Makefile.am:
19153 * examples/appreader/appreader.c:
19154 * examples/controller/.cvsignore:
19155 * examples/controller/Makefile.am:
19156 * examples/controller/audio-example.c:
19157 * examples/cutter/.cvsignore:
19158 * examples/cutter/Makefile.am:
19159 * examples/cutter/cutter.c:
19160 * examples/cutter/cutter.h:
19161 * examples/events/Makefile.am:
19162 * examples/events/seek.c:
19163 * examples/helloworld/.cvsignore:
19164 * examples/helloworld/Makefile.am:
19165 * examples/helloworld/helloworld.c:
19166 * examples/helloworld2/.cvsignore:
19167 * examples/helloworld2/Makefile.am:
19168 * examples/helloworld2/helloworld2.c:
19169 * examples/launch/.cvsignore:
19170 * examples/launch/Makefile.am:
19171 * examples/launch/mp3parselaunch.c:
19172 * examples/launch/mp3play:
19173 * examples/manual/.cvsignore:
19174 * examples/manual/Makefile.am:
19175 * examples/manual/extract.pl:
19176 * examples/metadata/Makefile.am:
19177 * examples/metadata/read-metadata.c:
19178 * examples/mixer/.cvsignore:
19179 * examples/mixer/Makefile.am:
19180 * examples/mixer/mixer.c:
19181 * examples/mixer/mixer.h:
19182 * examples/pingpong/.cvsignore:
19183 * examples/pingpong/Makefile.am:
19184 * examples/pingpong/pingpong.c:
19185 * examples/plugins/.cvsignore:
19186 * examples/plugins/Makefile.am:
19187 * examples/plugins/example.c:
19188 * examples/plugins/example.h:
19189 * examples/pwg/.cvsignore:
19190 * examples/pwg/Makefile.am:
19191 * examples/pwg/extract.pl:
19192 * examples/queue/.cvsignore:
19193 * examples/queue/Makefile.am:
19194 * examples/queue/queue.c:
19195 * examples/queue2/.cvsignore:
19196 * examples/queue2/Makefile.am:
19197 * examples/queue2/queue2.c:
19198 * examples/queue3/.cvsignore:
19199 * examples/queue3/Makefile.am:
19200 * examples/queue3/queue3.c:
19201 * examples/queue4/.cvsignore:
19202 * examples/queue4/Makefile.am:
19203 * examples/queue4/queue4.c:
19204 * examples/retag/.cvsignore:
19205 * examples/retag/Makefile.am:
19206 * examples/retag/retag.c:
19207 * examples/retag/transcode.c:
19208 * examples/thread/.cvsignore:
19209 * examples/thread/Makefile.am:
19210 * examples/thread/thread.c:
19211 * examples/typefind/.cvsignore:
19212 * examples/typefind/Makefile.am:
19213 * examples/typefind/typefind.c:
19214 * examples/xml/.cvsignore:
19215 * examples/xml/Makefile.am:
19216 * examples/xml/createxml.c:
19217 * examples/xml/runxml.c:
19218 * tests/Makefile.am:
19219 * tests/check/Makefile.am:
19220 * testsuite/.cvsignore:
19221 * testsuite/Makefile.am:
19223 * testsuite/caps/.cvsignore:
19224 * testsuite/caps/Makefile.am:
19225 * testsuite/caps/app_fixate.c:
19226 * testsuite/caps/audioscale.c:
19227 * testsuite/caps/caps.c:
19228 * testsuite/caps/caps.h:
19229 * testsuite/caps/caps_strings:
19230 * testsuite/caps/compatibility.c:
19231 * testsuite/caps/deserialize.c:
19232 * testsuite/caps/enumcaps.c:
19233 * testsuite/caps/eratosthenes.c:
19234 * testsuite/caps/filtercaps.c:
19235 * testsuite/caps/fixed.c:
19236 * testsuite/caps/fraction-convert.c:
19237 * testsuite/caps/fraction-multiply-and-zero.c:
19238 * testsuite/caps/intersect2.c:
19239 * testsuite/caps/intersection.c:
19240 * testsuite/caps/normalisation.c:
19241 * testsuite/caps/random.c:
19242 * testsuite/caps/renegotiate.c:
19243 * testsuite/caps/sets.c:
19244 * testsuite/caps/simplify.c:
19245 * testsuite/caps/string-conversions.c:
19246 * testsuite/caps/structure.c:
19247 * testsuite/caps/subtract.c:
19248 * testsuite/caps/union.c:
19249 * testsuite/debug/.cvsignore:
19250 * testsuite/debug/Makefile.am:
19251 * testsuite/debug/category.c:
19252 * testsuite/debug/commandline.c:
19253 * testsuite/debug/global.c:
19254 * testsuite/debug/output.c:
19255 * testsuite/debug/printf_extension.c:
19256 * testsuite/dlopen/.cvsignore:
19257 * testsuite/dlopen/Makefile.am:
19258 * testsuite/dlopen/dlopen_gst.c:
19259 * testsuite/dlopen/loadgst.c:
19260 * testsuite/elements/.cvsignore:
19261 * testsuite/elements/Makefile.am:
19262 * testsuite/elements/gst-inspect-check.in:
19263 * testsuite/elements/struct_i386.h:
19264 * testsuite/elements/struct_size.c:
19265 * testsuite/indexers/.cvsignore:
19266 * testsuite/indexers/Makefile.am:
19267 * testsuite/indexers/cache1.c:
19268 * testsuite/indexers/indexdump.c:
19269 * testsuite/parse/.cvsignore:
19270 * testsuite/parse/Makefile.am:
19271 * testsuite/parse/parse1.c:
19272 * testsuite/parse/parse2.c:
19273 * testsuite/plugin/.cvsignore:
19274 * testsuite/plugin/Makefile.am:
19275 * testsuite/plugin/README:
19276 * testsuite/plugin/dynamic.c:
19277 * testsuite/plugin/linked.c:
19278 * testsuite/plugin/loading.c:
19279 * testsuite/plugin/registry.c:
19280 * testsuite/plugin/static.c:
19281 * testsuite/plugin/static2.c:
19282 * testsuite/plugin/testplugin.c:
19283 * testsuite/plugin/testplugin2.c:
19284 * testsuite/plugin/testplugin2_s.c:
19285 * testsuite/plugin/testplugin_s.c:
19286 * testsuite/refcounting/.cvsignore:
19287 * testsuite/refcounting/Makefile.am:
19288 * testsuite/refcounting/bin.c:
19289 * testsuite/refcounting/element.c:
19290 * testsuite/refcounting/element_pad.c:
19291 * testsuite/refcounting/mainloop.c:
19292 * testsuite/refcounting/mem.c:
19293 * testsuite/refcounting/mem.h:
19294 * testsuite/refcounting/object.c:
19295 * testsuite/refcounting/pad.c:
19296 * testsuite/refcounting/sched.c:
19297 * testsuite/refcounting/thread.c:
19298 * testsuite/states/.cvsignore:
19299 * testsuite/states/Makefile.am:
19300 * testsuite/states/bin.c:
19301 * testsuite/states/locked.c:
19302 * testsuite/states/parent.c:
19303 * testsuite/threads/.cvsignore:
19304 * testsuite/threads/159566.c:
19305 * testsuite/threads/159852.c:
19306 * testsuite/threads/Makefile.am:
19307 * testsuite/threads/queue.c:
19308 * testsuite/threads/signals.c:
19309 * testsuite/threads/staticrec.c:
19310 * testsuite/threads/thread.c:
19311 * testsuite/threads/threadb.c:
19312 * testsuite/threads/threadc.c:
19313 * testsuite/threads/threadd.c:
19314 * testsuite/threads/threade.c:
19315 * testsuite/threads/threadf.c:
19316 * testsuite/threads/threadg.c:
19317 * testsuite/threads/threadh.c:
19318 * testsuite/threads/threadi.c:
19319 move all of these under tests
19321 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19324 * tests/Makefile.am:
19327 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19329 * docs/gst/gstreamer-sections.txt:
19330 * tests/sched/.cvsignore:
19331 * tests/sched/Makefile.am:
19332 * tests/sched/cases/(fs-fs).xml:
19333 * tests/sched/cases/(fs-i-fs).xml:
19334 * tests/sched/cases/(fs-i-i-fs).xml:
19335 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19336 * tests/sched/dynamic-pipeline.c:
19337 * tests/sched/interrupt1.c:
19338 * tests/sched/interrupt2.c:
19339 * tests/sched/interrupt3.c:
19340 * tests/sched/runtestcases:
19341 * tests/sched/runxml.c:
19342 * tests/sched/sched-stress.c:
19343 * tests/sched/sort.c:
19344 * tests/sched/testcases:
19345 * tests/sched/testcases1.tc:
19346 * tests/seeking/.cvsignore:
19347 * tests/seeking/Makefile.am:
19348 * tests/seeking/seeking1.c:
19349 * tests/threadstate/.cvsignore:
19350 * tests/threadstate/Makefile.am:
19351 * tests/threadstate/test1.c:
19352 * tests/threadstate/test2.c:
19353 * tests/threadstate/threadstate1.c:
19354 * tests/threadstate/threadstate2.c:
19355 * tests/threadstate/threadstate3.c:
19356 * tests/threadstate/threadstate4.c:
19357 * tests/threadstate/threadstate5.c:
19358 remove obsolete tests
19360 * tests/bench-complexity.scm:
19361 * tests/bench-mass_elements.scm:
19362 * tests/complexity.c:
19363 * tests/complexity.gnuplot:
19364 * tests/instantiate/.cvsignore:
19365 * tests/instantiate/Makefile.am:
19366 * tests/instantiate/caps.c:
19367 * tests/mass_elements.c:
19368 * tests/network-clock-utils.scm:
19369 * tests/network-clock.scm:
19371 First pass at cleaning up tests/ dir before moving the rest
19372 Combined with CVS surgery
19374 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19377 queue has moved, update
19379 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19381 * docs/gst/gstreamer-sections.txt:
19382 remove double entries from the docs
19383 * gst/gst_private.h:
19384 * gst/gstinfo.c: (_gst_debug_init):
19385 remove the THREAD debug category
19389 * docs/gst/gstreamer.types:
19390 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19391 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19392 completely move queue and fix up debugging categories
19394 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19396 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19397 make initialization portable, using LL is not
19399 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19401 * win32/common/gstconfig.h:
19404 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19406 * win32/common/libgstreamer.def:
19407 rename symbols; sort base section
19409 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19411 * gst/gstclock.c: (do_linear_regression):
19412 remove crack non-portable handrolled DEBUG macro
19414 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19416 * docs/random/release:
19418 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19419 (gst_object_flags_get_type), (register_gst_bin_flags),
19420 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19421 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19422 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19423 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19424 (gst_caps_flags_get_type), (register_gst_clock_return),
19425 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19426 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19427 (gst_clock_flags_get_type), (register_gst_state),
19428 (gst_state_get_type), (register_gst_state_change_return),
19429 (gst_state_change_return_get_type), (register_gst_state_change),
19430 (gst_state_change_get_type), (register_gst_element_flags),
19431 (gst_element_flags_get_type), (register_gst_core_error),
19432 (gst_core_error_get_type), (register_gst_library_error),
19433 (gst_library_error_get_type), (register_gst_resource_error),
19434 (gst_resource_error_get_type), (register_gst_stream_error),
19435 (gst_stream_error_get_type), (register_gst_event_type_flags),
19436 (gst_event_type_flags_get_type), (register_gst_event_type),
19437 (gst_event_type_get_type), (register_gst_seek_type),
19438 (gst_seek_type_get_type), (register_gst_seek_flags),
19439 (gst_seek_flags_get_type), (register_gst_format),
19440 (gst_format_get_type), (register_gst_index_certainty),
19441 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19442 (gst_index_entry_type_get_type),
19443 (register_gst_index_lookup_method),
19444 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19445 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19446 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19447 (gst_index_flags_get_type), (register_gst_debug_level),
19448 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19449 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19450 (gst_iterator_result_get_type), (register_gst_iterator_item),
19451 (gst_iterator_item_get_type), (register_gst_message_type),
19452 (gst_message_type_get_type), (register_gst_mini_object_flags),
19453 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19454 (gst_pad_link_return_get_type), (register_gst_flow_return),
19455 (gst_flow_return_get_type), (register_gst_activate_mode),
19456 (gst_activate_mode_get_type), (register_gst_pad_direction),
19457 (gst_pad_direction_get_type), (register_gst_pad_flags),
19458 (gst_pad_flags_get_type), (register_gst_pad_presence),
19459 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19460 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19461 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19462 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19463 (gst_plugin_flags_get_type), (register_gst_rank),
19464 (gst_rank_get_type), (register_gst_query_type),
19465 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19466 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19467 (gst_tag_flag_get_type), (register_gst_task_state),
19468 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19469 (gst_alloc_trace_flags_get_type),
19470 (register_gst_type_find_probability),
19471 (gst_type_find_probability_get_type), (register_gst_uri_type),
19472 (gst_uri_type_get_type), (register_gst_parse_error),
19473 (gst_parse_error_get_type):
19474 * win32/common/gstenumtypes.h:
19475 * win32/common/gstversion.h:
19476 update visual studio generated files
19478 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19480 * win32/vs6/libgstbase.dsp:
19481 * win32/vs6/libgstelements.dsp:
19482 update project files for new locations
19484 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19489 reinstate and update
19494 * docs/random/LICENSE:
19497 2005-11-30 Edward Hervey <edward@fluendo.com>
19499 * gst/gsttypefind.c: (gst_type_find_register):
19500 * gst/gsttypefind.h:
19501 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19502 (gst_type_find_factory_dispose):
19503 * gst/gsttypefindfactory.h:
19504 Fix memory leak in GstTypeFindFactory.
19506 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19509 * plugins/elements/Makefile.am:
19510 * plugins/elements/gstelements.c:
19511 * plugins/elements/gstqueue.c:
19512 move queue from core to the elements plugin
19514 2005-11-29 Andy Wingo <wingo@pobox.com>
19516 * libs/gst/base/gstbasetransform.h:
19517 * libs/gst/base/gstbasesrc.h:
19518 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19520 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19521 of pointers by which to pad very extensible base classes (like the
19522 ones in libs/gst/base).
19524 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19526 * docs/gst/gstreamer-docs.sgml:
19527 * docs/gst/gstreamer-sections.txt:
19528 * docs/libs/gstreamer-libs-docs.sgml:
19529 * docs/libs/gstreamer-libs-sections.txt:
19530 moving documentation from core to lib
19532 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19534 * check/Makefile.am:
19536 * docs/gst/Makefile.am:
19538 * gst/base/.cvsignore:
19539 * gst/base/Makefile.am:
19541 * gst/base/gstadapter.c:
19542 * gst/base/gstadapter.h:
19543 * gst/base/gstbasesink.c:
19544 * gst/base/gstbasesink.h:
19545 * gst/base/gstbasesrc.c:
19546 * gst/base/gstbasesrc.h:
19547 * gst/base/gstbasetransform.c:
19548 * gst/base/gstbasetransform.h:
19549 * gst/base/gstcollectpads.c:
19550 * gst/base/gstcollectpads.h:
19551 * gst/base/gstpushsrc.c:
19552 * gst/base/gstpushsrc.h:
19553 * gst/base/gsttypefindhelper.c:
19554 * gst/base/gsttypefindhelper.h:
19555 * gst/check/Makefile.am:
19556 * gst/check/gstcheck.c:
19557 * gst/check/gstcheck.h:
19558 * gst/net/Makefile.am:
19559 * gst/net/gstnet.h:
19560 * gst/net/gstnetclientclock.c:
19561 * gst/net/gstnetclientclock.h:
19562 * gst/net/gstnettimepacket.c:
19563 * gst/net/gstnettimepacket.h:
19564 * gst/net/gstnettimeprovider.c:
19565 * gst/net/gstnettimeprovider.h:
19566 * libs/gst/Makefile.am:
19567 * libs/gst/base/Makefile.am:
19568 * libs/gst/base/gstbasetransform.c:
19569 * libs/gst/check/Makefile.am:
19570 * plugins/elements/Makefile.am:
19572 CVS surgery + support to move base, check, and net out of gst
19575 2005-11-29 Andy Wingo <wingo@pobox.com>
19577 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19579 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19582 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19584 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19586 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19588 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19589 padding; reduces object size by about 30%. We don't expect
19590 anything else to go into gstobject.
19592 * gst/gstminiobject.h (struct _GstMiniObject)
19593 (struct _GstMiniObjectClass): Only one pointer of padding; the
19594 payload is only a pointer and two ints anyway. For the class there
19595 are only two methods as well.
19597 * gst/gstelement.h (struct _GstElementClass): Removed
19598 the state_changed signal callback, it is not used.
19600 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19602 * docs/gst/gstreamer.types:
19603 fix includes, though they are a little dinky
19605 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19607 * check/Makefile.am:
19608 look in the right place for elements, a lot more chance of
19611 remove indexers and elements subdirs
19612 * plugins/Makefile.am:
19613 make indexers conditional
19615 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19619 * plugins/elements/Makefile.am:
19620 * plugins/elements/gstcapsfilter.c:
19621 * plugins/elements/gstfilesink.c:
19622 * plugins/elements/gstfilesrc.c:
19623 * plugins/elements/gstidentity.c:
19624 * plugins/indexers/Makefile.am:
19625 do CVS surgery and related build fixery to move elements
19626 and indexers in a new gstreamer/plugins directory, out of the
19629 2005-11-29 Andy Wingo <wingo@pobox.com>
19631 * check/Makefile.am:
19632 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19633 * pkgconfig/gstreamer-net.pc.in:
19634 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19637 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19639 * tools/Makefile.am:
19640 * tools/gst-complete.1.in:
19641 * tools/gst-complete.c:
19642 * tools/gst-compprep.1.in:
19643 * tools/gst-compprep.c:
19644 removing -compprep and -complete
19646 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19648 * gst/gstevent.c: (gst_event_new_new_segment),
19649 (gst_event_parse_new_segment):
19651 fix #320529 - clean up new_segment API and structure.
19652 Let's hope everyone was using the methods, and not the structure.
19654 2005-11-29 Edward Hervey <edward@fluendo.com>
19656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19657 (gst_base_sink_event), (gst_base_sink_do_sync),
19658 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19659 Properly handle non GST_FORMAT_TIME segment
19660 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19661 Properly handle non GST_FORMAT_TIME segment
19662 * gst/gstsegment.c:
19663 This function is valid if the accumulator is 0 and the format
19664 is different from the requested format.
19666 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19668 * docs/gst/gstreamer-sections.txt:
19669 Add gst_query_new_seeking and gst_query_parse_seeking to the
19672 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19674 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19675 Treat a pad alloc with new caps the same as if we were not
19676 negotiated, in order to allow a changing upstream output
19677 to produce a new format of data.
19679 2005-11-29 Edward Hervey <edward@fluendo.com>
19681 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19682 (gst_base_transform_event), (gst_base_transform_eventfunc):
19683 The event virtual method is now properly implemented, with a default
19685 Sub classes should call the parent_class event method. They should
19686 return FALSE if they had a problem handling the given event, or don't
19687 want GstBaseTransform to send that even downstream
19688 * gst/elements/gstidentity.c: (gst_identity_class_init),
19689 (gst_identity_init), (gst_identity_event),
19690 (gst_identity_transform_ip), (gst_identity_set_property),
19691 (gst_identity_get_property):
19692 * gst/elements/gstidentity.h:
19693 Added the single-segment boolean property.
19694 If set to TRUE, it will output a single segment of data, starting from
19695 0, will eat up all incoming newsegment, and modify the timestamp of the
19696 buffers accordingly
19698 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19700 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19701 Don't ref NULL target pad (#322751). Improve docs.
19703 2005-11-29 Michael Smith <msmith@fluendo.com>
19705 * gst/gstregistryxml.c: (load_plugin):
19706 Don't crash if we failed to load a feature from a plugin.
19708 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19710 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19712 use more check API and less GLib API
19714 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19717 don't run checks if we don't have check
19718 * common/check.mak:
19719 remove the registry when running make torture
19720 * docs/gst/gstreamer-sections.txt:
19721 remove second multiply
19722 * gst/gstqueue.c: (gst_queue_loop):
19723 fix a compile warning when disabling debug
19725 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19728 Hey! Let's print the pad name if the pointer != NULL instead
19729 of when it == NULL :-)
19731 2005-11-28 Wim Taymans <wim@fluendo.com>
19733 * check/gst/gstutils.c: (GST_START_TEST):
19734 Updated check, add some scaling accuracy checking code.
19736 * gst/gstutils.c: (gst_util_div128_64),
19737 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19738 (gst_util_uint64_scale_int):
19739 Fix 6 times faster division code. Optimize for common
19740 1/1 and less common X/1 cases.
19742 2005-11-28 Wim Taymans <wim@fluendo.com>
19744 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19747 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19748 (do_linear_regression), (gst_clock_add_observation):
19750 Release lock when the clock cannot be slaved.
19751 Catch the case where the regression returned an invalid denominator.
19753 * gst/gstutils.c: (gst_util_div128_64_iterate),
19754 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19755 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19756 Add protentially more performant non-iterative 128/64 divide function
19757 that unfortunatly does not work yet.
19758 Shortcut the trivial 0/X = 0 case.
19759 Remove the warnings on overflow.
19761 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19763 * gst/gstplugin.c: (gst_plugin_register_func):
19764 everything causing a plugin not to load should be at least a WARNING
19766 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19768 * docs/random/ensonic/dparams.txt:
19769 some TODOs for the next dev cycle
19770 * libs/gst/controller/gstcontroller.c:
19771 (gst_controlled_property_set_interpolation_mode),
19772 (gst_controlled_property_new):
19773 * libs/gst/controller/gstcontroller.h:
19774 use base type to assign acccessor functions
19776 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19778 * check/Makefile.am:
19779 Oops, that should have been top_srcdir
19781 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19783 * check/Makefile.am:
19784 * check/elements/fdsrc.c: (GST_START_TEST):
19785 Use a cmdline define to specify the location of a file to use for
19786 testing, to avoid breaking distcheck.
19788 2005-11-28 Andy Wingo <wingo@pobox.com>
19790 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19792 2005-11-28 Edward Hervey <edward@fluendo.com>
19794 * tools/gst-launch.c: (main):
19795 Clarify the output strings, makes it easier to translate.
19798 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19801 don't try and build net if we don't even have <sys/socket.h>
19803 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19805 * check/Makefile.am:
19806 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19807 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19808 Add tests for fdsrc seekability
19810 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19811 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19812 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19813 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19814 * gst/elements/gstfdsrc.h:
19815 fdsrc should not be a 'live' source.
19816 Implement seeking on seekable fd's.
19818 * gst/gstquery.c: (gst_query_new_seeking),
19819 (gst_query_parse_seeking):
19821 Implement SEEKING query functions:
19822 *_new_seeking and *_parse_seeking
19824 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19826 * gst/gstelement.c: (gst_element_dispose):
19829 * gst/gstiterator.c:
19830 * gst/gststructure.c:
19833 * libs/gst/controller/gstcontroller.c:
19834 (gst_controlled_property_set_interpolation_mode):
19835 * libs/gst/controller/gstcontroller.h:
19836 * libs/gst/controller/gstinterpolation.c:
19837 (interpolate_none_get_enum_value_array):
19838 support controlling enums
19840 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19843 Improve documentation for gst_value_union().
19846 Change return value for union, intersect and subtract functions
19847 from gint to gboolean.
19849 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19851 * gst/gstvalue.c: (gst_value_serialize_any_list),
19852 (gst_value_transform_any_list_string),
19853 (gst_value_deserialize_list), (gst_value_deserialize_array),
19854 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19855 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19856 (gst_value_set_fraction_range_full),
19857 (gst_value_deserialize_fraction_range),
19858 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19859 (gst_value_deserialize_boolean),
19860 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19861 (gst_value_serialize_float), (gst_value_deserialize_float),
19862 (gst_string_wrap), (gst_value_deserialize_string),
19863 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19864 (gst_value_union_int_range_int_range),
19865 (gst_value_intersect_int_range_int_range),
19866 (gst_value_intersect_double_range_double_range),
19867 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19868 (gst_value_subtract_int_range_int_range),
19869 (gst_value_subtract_double_double_range),
19870 (gst_value_subtract_double_range_double_range),
19871 (gst_value_deserialize_fraction):
19873 Use gint, gdouble and gchar in our API instead of int, double and
19874 char (and make usage in gstvalue.c more consistent).
19876 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19878 * check/Makefile.am:
19879 * libs/gst/controller/Makefile.am:
19880 * libs/gst/dataprotocol/Makefile.am:
19881 fix up Makefile.am and remove GST_ENABLE_NEW
19883 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19887 * gst/base/Makefile.am:
19888 * gst/check/Makefile.am:
19889 * gst/elements/Makefile.am:
19890 * gst/net/Makefile.am:
19891 update LDFLAGS use some more
19893 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19895 * common/m4/gst-doc.m4:
19898 2005-11-26 Edward Hervey <edward@fluendo.com>
19900 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19901 This shouldn't issue a g_warning since it returns NULL if it
19902 couldn't find the plugin, and all functions using this behave
19903 properly on a NULL return. Switching to a GST_WARNING.
19905 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19907 * gst/gstbin.c: (gst_bin_handle_message_func):
19908 Don't leak clock messages.
19910 2005-11-25 Wim Taymans <wim@fluendo.com>
19912 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19913 (gst_util_uint64_scale_int):
19914 Optimisations, remove unneeded vars.
19916 2005-11-25 Wim Taymans <wim@fluendo.com>
19918 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19919 Added more checks for the high precision uint64 cases.
19921 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19922 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19923 Implement high precision (guint64 * guint64) / guint64.
19925 2005-11-24 Wim Taymans <wim@fluendo.com>
19927 * gst/base/gstbasesrc.c: (gst_base_src_query):
19928 Fix wrong percentage query.
19930 * gst/gstutils.c: (gst_util_uint64_scale),
19931 (gst_util_uint64_scale_int):
19932 Add some more common cases that can be handled
19933 efficiently to _scale.
19935 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19937 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19938 (gst_mini_object_suite):
19939 don't use check calls from threads; check probably isn't
19940 threadsafe and using a lock to make it threadsafe would
19941 defeat the purpose of this check
19942 * gst/check/gstcheck.c:
19943 * gst/check/gstcheck.h:
19944 use GST_DEBUG some more
19946 2005-11-24 Wim Taymans <wim@fluendo.com>
19948 * gst/gstutils.c: (gst_util_uint64_scale),
19949 (gst_util_uint64_scale_int):
19950 Chain trivial case to _scale_int.
19952 2005-11-24 Wim Taymans <wim@fluendo.com>
19954 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19955 Added test for scaling.
19960 * gst/gstutils.c: (gst_util_uint64_scale_int):
19961 Implemented high precision scaling code.
19963 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19966 do not crash on pad==NULL
19968 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19970 Patch by: Stefan Kost
19972 * common/gtk-doc.mak:
19973 * docs/gst/Makefile.am:
19974 * docs/libs/Makefile.am:
19975 Fix distcheck issues for the libraries docs build
19978 2005-11-24 Michael Smith <msmith@fluendo.com>
19980 * docs/manual/basics-helloworld.xml:
19981 Fix bug #315027: memory leak in example code in docs.
19983 2005-11-24 Michael Smith <msmith@fluendo.com>
19985 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19986 Unlock the PREROLL_LOCK in a failure case.
19988 2005-11-24 Wim Taymans <wim@fluendo.com>
19990 * docs/gst/gstreamer-sections.txt:
19991 * gst/base/gstadapter.h:
19992 * gst/base/gstbasesink.h:
19993 * gst/base/gstbasesrc.h:
19994 * gst/base/gstbasetransform.h:
19995 * gst/base/gstpushsrc.h:
19996 * gst/elements/gstfakesink.h:
19997 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19998 * gst/elements/gstfakesrc.h:
19999 * gst/elements/gstfilesink.h:
20000 * gst/elements/gstfilesrc.h:
20003 * gst/gstbuffer.c: (_gst_buffer_copy):
20006 * gst/gstchildproxy.c:
20008 * gst/gstelement.c:
20009 * gst/gstelementfactory.c:
20010 * gst/gstelementfactory.h:
20012 * gst/gstghostpad.h:
20014 * gst/gstinterface.h:
20015 * gst/gstminiobject.c:
20016 * gst/gstminiobject.h:
20019 * gst/gstpadtemplate.h:
20020 * gst/gstpipeline.h:
20021 * gst/gstpluginfeature.h:
20024 * gst/gsttaglist.c:
20025 * gst/gsttaglist.h:
20026 * gst/gsttagsetter.c:
20027 * gst/gsttagsetter.h:
20030 * gst/gsttypefind.h:
20033 * gst/net/gstnetclientclock.c:
20034 * gst/net/gstnetclientclock.h:
20035 * gst/net/gstnettimepacket.c:
20036 * gst/net/gstnettimeprovider.c:
20037 * gst/net/gstnettimeprovider.h:
20040 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20042 * configure.ac: back to HEAD
20044 === release 0.9.6 ===
20046 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20049 releasing 0.9.6, "Always On Time"
20051 2005-11-23 Wim Taymans <wim@fluendo.com>
20053 * docs/gst/gstreamer-sections.txt:
20054 * gst/glib-compat.c:
20055 * gst/gsttagsetter.c:
20057 * gst/net/gstnetclientclock.c:
20058 * gst/net/gstnettimepacket.h:
20061 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20063 * docs/faq/using.xml:
20064 * docs/libs/tmpl/gstcontrol.sgml:
20065 * docs/manual/advanced-dparams.xml:
20066 * docs/manual/appendix-checklist.xml:
20067 * docs/manual/basics-elements.xml:
20068 * docs/pwg/other-source.xml:
20069 * docs/random/moving-plugins:
20071 * tools/gst-launch.1.in:
20072 remove mentions of sinesrc
20074 2005-11-23 Michael Smith <msmith@fluendo.com>
20076 * docs/gst/gstreamer-sections.txt:
20077 Update for new API and API changes.
20079 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20081 Documentation typo fix.
20082 * gst/net/gstnettimepacket.c:
20083 Documentation fixes for arguments.
20085 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20087 * gst/gststructure.c: (gst_structure_get_fraction),
20088 (gst_structure_parse_value),
20089 (gst_structure_fixate_field_nearest_fraction):
20090 * gst/gststructure.h:
20091 * gst/gstutils.c: (gst_util_uint64_scale_int):
20093 * scripts/update-funcnames:
20095 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20096 Make gst_structure_fixate_field_nearest_fraction take a numerator
20097 and denominator argument instead of a GValue
20098 add gst_structure_get_fraction helper function.
20100 2005-11-23 Wim Taymans <wim@fluendo.com>
20102 * docs/design/part-TODO.txt:
20105 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20106 * gst/net/gstnetclientclock.h:
20107 Use parent fields for timeout and window_size.
20109 2005-11-23 Andy Wingo <wingo@pobox.com>
20111 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20112 rate_num/rate_denom change.
20114 * gst/net/gstnetclientclock.c
20115 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20116 OBJECT_LOCK. Don't call add_observation with the lock.
20118 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20120 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20122 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20123 deal with rate as a fraction whose numerator and denominator are
20124 GstClockTime values.
20125 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20126 master; the other fields are protected by the SLAVE_LOCK.
20127 (do_linear_regression): Note that this must be called with the
20129 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20130 OBJECT_LOCK. Call set_calibration instead of touching the
20131 variables directly.
20132 (gst_clock_set_property, gst_clock_get_property): Protect
20133 master/slave parameters with the SLAVE_LOCK.
20135 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20136 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20137 note that all of the instance variables that add_observation and
20138 the set_master functions use are protected by that lock and not
20140 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20142 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20143 the caller to take the object lock.
20145 2005-11-23 Wim Taymans <wim@fluendo.com>
20147 * gst/gsterror.c: (_gst_core_errors_init):
20149 Add error for clock stuff.
20151 * gst/gstpipeline.c: (gst_pipeline_change_state),
20152 (gst_pipeline_set_clock):
20153 Post clock error when clock cannot be used in a pipeline.
20155 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20157 * docs/gst/gstreamer-sections.txt:
20158 make two symbols from gstinfo private for the docs
20159 * gst/base/gstcollectpads.h:
20161 fix doc typos, update docs
20163 2005-11-22 Wim Taymans <wim@fluendo.com>
20165 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20166 (gst_base_sink_wait), (gst_base_sink_do_sync),
20167 (gst_base_sink_handle_event):
20168 * gst/base/gstbasesink.h:
20169 No need to store the clock, the parent element class already
20172 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20173 Updates for clock_set returning a gboolean
20175 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20176 (gst_clock_id_wait_async), (gst_clock_class_init),
20177 (gst_clock_init), (gst_clock_finalize),
20178 (gst_clock_get_internal_time), (gst_clock_get_time),
20179 (gst_clock_slave_callback), (gst_clock_set_master),
20180 (gst_clock_get_master), (do_linear_regression),
20181 (gst_clock_add_observation), (gst_clock_set_property),
20182 (gst_clock_get_property):
20184 Implement master/slave. When setting a clock as a slave, a
20185 periodic timeout is scheduled to sample master and slave times.
20186 Then the slave clock is recalibrated to match offset and rate
20187 of the master clock.
20188 Update logging a bit.
20189 Add flag so that a clock can state that is cannot be slaved to
20192 * gst/gstelement.c: (gst_element_set_clock):
20193 * gst/gstelement.h:
20194 The set clock returns a gboolean for when an element cannot
20195 deal with the selected clock in the pipeline.
20197 * gst/gstpipeline.c: (gst_pipeline_change_state),
20198 (gst_pipeline_set_clock):
20199 * gst/gstpipeline.h:
20200 Handle the case where the selected clock cannot be set on
20203 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20204 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20205 (gst_net_client_clock_set_property),
20206 (gst_net_client_clock_get_property),
20207 (gst_net_client_clock_observe_times):
20208 * gst/net/gstnetclientclock.h:
20209 Use regression code in GstClock parent, remove duplicated
20212 2005-11-22 Michael Smith <msmith@fluendo.com>
20214 * gst/gstutils.c: (gst_util_clock_time_scale):
20216 * docs/gst/gstreamer-sections.txt:
20217 Rename method to have extra underscore.
20219 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20221 * gst/elements/Makefile.am:
20222 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20223 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20224 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20225 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20226 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20227 * gst/elements/gstfakesrc.h:
20228 * gst/gstqueue.c: (queue_leaky_get_type):
20229 correctly fix GEnumValues so that nick is the short lowercase
20231 * tools/gst-inspect.c: (print_element_properties_info):
20232 also show the nick, since it's useful to use from parse_launch
20236 2005-11-22 Michael Smith <msmith@fluendo.com>
20238 * gst/gstutils.c: (gst_util_clocktime_scale):
20240 * docs/gst/gstreamer-sections.txt:
20241 Add util method for scaling a clocktime by a fraction. Useful
20242 implementation is left as an exercise for the reader.
20244 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20246 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20247 If needed, allocate storage in the destination value during
20250 2005-11-22 Edward Hervey <edward@fluendo.com>
20252 * docs/gst/gstreamer-sections.txt:
20255 * gst/gsturitype.c:
20256 * gst/gsturitype.h:
20257 * gst/gstutils.c: (gst_util_set_object_arg):
20258 * tools/gst-compprep.c: (main):
20259 * tools/gst-inspect.c: (print_element_properties_info):
20260 Removed GstURI, closes bug #321061
20262 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20264 * check/gst/gststructure.c: (GST_START_TEST):
20265 * gst/gststructure.c: (gst_structure_parse_value):
20266 Oops, broke automatic string type parsing.
20267 Add a test to catch it in future.
20269 2005-11-22 Andy Wingo <wingo@pobox.com>
20271 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20272 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20273 Actually rename the function implementations. Grr.
20275 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20277 * check/gst/capslist.h:
20279 * check/gst/gststructure.c: (GST_START_TEST),
20280 (gst_structure_suite):
20281 Test automatic value type detection in gst_structure_from_string.
20282 * gst/gststructure.c: (gst_structure_parse_value):
20283 Add fraction as a type we try and guess automatically in
20284 caps/structure strings.
20286 2005-11-22 Andy Wingo <wingo@pobox.com>
20288 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20290 * gst/gsttagsetter.h:
20291 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20292 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20293 (gst_tag_setter_add_tag_valist)
20294 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20295 _add_values, _add_valist, and _add_valist_values. Since this is an
20296 interface the function suffixes should be more explicit so
20297 language binding don't end up with element.add_valist ->
20298 gst_tag_setter_add_valist, for example. Fixes #322069.
20300 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20302 * check/gst/gstcaps.c: (GST_START_TEST):
20303 Extend caps string tests to check that a caps to string
20304 conversion is reversible and produces the same caps.
20306 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20307 Output "fraction" as the generic type fraction range, so caps
20308 serialisation and deserialisation works.
20309 * check/gst/capslist.h:
20310 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20311 Support 'MIN' and 'MAX' for deserialising fractions.
20313 2005-11-22 Andy Wingo <wingo@pobox.com>
20315 * gst/gstevent.h (gst_event_new_new_segment)
20316 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20317 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20318 Renamed from *_newsegment, *_buffersize, *_notarget.
20320 * scripts/update-funcnames: New script, performs the changes
20323 2005-11-22 Wim Taymans <wim@fluendo.com>
20325 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20326 Make sure the GstFlowReturn is returned.
20328 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20329 (gst_bus_add_signal_watch):
20331 add gst_bus_add_signal_watch_full.
20333 * gst/gstplugin.c: (gst_plugin_load_file):
20334 Small style cleanup.
20336 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20338 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20339 Block the fakesrc srcpad when we send an event, to avoid
20340 contention on the stream_lock causing random test failures.
20342 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20344 * check/gst/gstvalue.c: (GST_START_TEST):
20345 * gst/gstvalue.c: (gst_value_fraction_subtract):
20348 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20351 include "gstchildproxy.h"
20352 * gst/gstchildproxy.h:
20353 * libs/gst/controller/gstcontroller.h:
20354 use G_GNUC_NULL_TERMINATED
20356 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20358 * check/gst/capslist.h:
20359 * check/gst/gstcaps.c: (GST_START_TEST):
20360 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20361 * gst/gststructure.c: (gst_structure_parse_range),
20362 (gst_structure_fixate_field_nearest_fraction):
20363 * gst/gststructure.h:
20364 * gst/gstvalue.c: (gst_value_init_fraction_range),
20365 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20366 (gst_value_collect_fraction_range),
20367 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20368 (gst_value_set_fraction_range_full),
20369 (gst_value_get_fraction_range_min),
20370 (gst_value_get_fraction_range_max),
20371 (gst_value_serialize_fraction_range),
20372 (gst_value_transform_fraction_range_string),
20373 (gst_value_compare_fraction_range),
20374 (gst_value_deserialize_fraction_range),
20375 (gst_value_intersect_fraction_fraction_range),
20376 (gst_value_intersect_fraction_range_fraction_range),
20377 (gst_value_subtract_fraction_fraction_range),
20378 (gst_value_subtract_fraction_range_fraction),
20379 (gst_value_subtract_fraction_range_fraction_range),
20380 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20381 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20382 (gst_value_transform_string_fraction), (_gst_value_initialize):
20384 Implement fraction ranges and extend GstFraction to support
20385 arithmetic subtraction, as well as deserialization from integer
20386 strings such as "100"
20387 Add a testsuite as for int and double range set operations
20389 2005-11-21 Andy Wingo <wingo@pobox.com>
20391 * gst/gsttaglist.h:
20393 * gst/gststructure.h: Add glib-compat.h.
20395 2005-11-21 Wim Taymans <wim@fluendo.com>
20397 * gst/gstbin.c: (gst_bin_change_state_func):
20400 2005-11-21 Wim Taymans <wim@fluendo.com>
20402 * gst/gstsegment.h:
20403 And add a nice define too.
20405 2005-11-21 Wim Taymans <wim@fluendo.com>
20407 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20408 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20409 (gst_segment_set_duration), (gst_segment_set_last_stop),
20410 (gst_segment_set_seek), (gst_segment_set_newsegment),
20411 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20412 (gst_segment_clip):
20413 * gst/gstsegment.h:
20414 Make binding friendly.
20416 2005-11-21 Andy Wingo <wingo@pobox.com>
20418 * gst/gsttagsetter.h:
20419 * gst/gsttaglist.h:
20420 * gst/gststructure.h:
20422 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20425 * gst/gsterror.c (_gst_core_errors_init):
20426 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20429 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20430 (noinst_HEADERS): noinst the -private.
20432 2005-11-21 Michael Smith <msmith@fluendo.com>
20435 * gst/gstregistry.h:
20436 Remove unimplemented declarations for which we can see no sensible
20439 2005-11-21 Andy Wingo <wingo@pobox.com>
20441 * gst/gst.h: Include glib-compat.h.
20443 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20445 * gst/glib-compat.c: Include the public and the private header.
20447 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20451 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20453 * check/gst/gstevent.c (create_custom_events): Check that
20454 FLUSH_STOP is serialized.
20456 * check/elements/identity.c (event_func):
20457 * check/elements/fakesrc.c (event_func): No stream lock, the core
20460 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20461 stream lock taking, yay.
20463 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20464 ensure that core takes the stream lock.
20466 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20469 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20470 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20471 it already. For the flush start we do take it though so we get the
20472 right preroll state change messages.
20474 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20475 the stream lock here, the core does it for us.
20477 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20478 GST_STREAM_GET_LOCK.
20479 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20480 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20481 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20482 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20483 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20484 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20486 * gst/gstpad.c: Update for stream lock name change.
20488 * gst/base/gstbasesink.c: Update for preroll lock name change.
20490 2005-11-21 Wim Taymans <wim@fluendo.com>
20492 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20493 (gst_clock_get_master):
20495 * gst/gstsystemclock.c: (gst_system_clock_init):
20496 Convert Clock flags to object flags.
20497 Added methods to manage master/slave clocks.
20499 2005-11-21 Wim Taymans <wim@fluendo.com>
20501 * check/gst/gstsegment.c: (GST_START_TEST):
20502 * docs/design/part-TODO.txt:
20503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20504 (gst_base_sink_event), (gst_base_sink_do_sync),
20505 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20506 (gst_base_sink_query), (gst_base_sink_change_state):
20507 * gst/base/gstbasesink.h:
20508 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20509 (gst_base_src_default_newsegment),
20510 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20511 (gst_base_src_get_range), (gst_base_src_loop),
20512 (gst_base_src_change_state):
20513 * gst/base/gstbasesrc.h:
20514 * gst/base/gstbasetransform.c:
20515 (gst_base_transform_prepare_output_buf),
20516 (gst_base_transform_event), (gst_base_transform_change_state):
20517 * gst/base/gstbasetransform.h:
20518 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20519 (gst_collect_pads_event):
20520 * gst/base/gstcollectpads.h:
20521 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20522 (gst_fake_src_create):
20523 * gst/elements/gstfakesrc.h:
20524 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20525 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20526 (gst_segment_set_last_stop), (gst_segment_set_seek),
20527 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20528 (gst_segment_to_running_time), (gst_segment_clip):
20529 * gst/gstsegment.h:
20530 More segment updates, replace code in plugins with segment
20533 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20535 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20536 Don't ignore sscanf results
20538 2005-11-21 Andy Wingo <wingo@pobox.com>
20540 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20543 * *.c: Ran scripts/update-macros. Oh yes.
20545 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20546 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20549 * scripts/update-macros: New script. Run it on your files to
20550 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20553 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20555 * docs/gst/Makefile.am:
20556 * docs/gst/gstreamer-docs.sgml:
20557 * docs/gst/gstreamer-sections.txt:
20558 * docs/gst/gstreamer.types:
20560 more docs fixes, add new api to the docs
20562 2005-11-21 Andy Wingo <wingo@pobox.com>
20564 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20565 state_broadcast call.
20567 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20569 2005-11-21 Julien MOUTTE <julien@moutte.net>
20571 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20572 function calls for arrays.
20574 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20576 * docs/random/ensonic/media-device-daemon.txt:
20577 wild idea, can this be done?
20578 * docs/gst/gstreamer-sections.txt:
20583 * gst/gstpluginfeature.c:
20587 doc fixes and additions
20589 2005-11-21 Andy Wingo <wingo@pobox.com>
20591 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20592 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20593 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20594 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20595 private to the basesrc implementation.
20597 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20598 behalf of event function if necessary. It should no longer be
20599 necessary to take the stream lock in pad's event functions. Fixes
20602 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20603 * docs/gst/gstreamer-sections.txt:
20604 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20605 (gst_structure_fixate_field_nearest_double),
20606 (gst_structure_fixate_field_boolean):
20607 * gst/gststructure.h:
20608 * win32/common/libgstreamer.def:
20609 * win32/gstreamer.def:
20611 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20614 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20616 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20617 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20618 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20619 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20620 (gst_fdsrc_uri_handler_init):
20621 * gst/elements/gstfdsrc.h:
20622 Port fd:// URI handler from 0.8 to fdsrc
20624 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20626 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20627 (gst_value_serialize_fourcc):
20629 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20630 consistent with our other format defines (#320324).
20632 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20634 * gst/gstvalue.c: (gst_value_is_fixed):
20635 Revert previous commit. Value lists are by definition
20636 not fixed, as they are a list of possible values.
20638 2005-11-21 Andy Wingo <wingo@pobox.com>
20640 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20641 during the stable series if we need it. Fixes #319178.
20643 * gst/gstevent.c (gst_event_new_filler): Removed.
20645 * check/gst/gstevent.c: Update comment about filler events.
20647 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20649 * gst/gstvalue.c: (gst_value_is_fixed):
20650 Should handle both value arrays and value lists.
20652 2005-11-21 Andy Wingo <wingo@pobox.com>
20654 patch by: Alessandro Dessina <alessandro nnva org>
20656 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20657 functions to access arrays. Fixes #321962.
20659 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20661 * docs/gst/gstreamer.types:
20662 gst_collectpads_get_type => gst_collect_pads_get_type.
20664 * gst/base/gstbasetransform.c:
20665 Remove unused SIGNAL_HANDOFF enum.
20667 2005-11-21 Andy Wingo <wingo@pobox.com>
20669 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20670 the event type (upstream, downstream, serialized). Renamed
20671 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20672 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20673 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20675 * gst/gstevent.c: Update for new CUSTOM event names.
20677 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20680 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20683 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20685 * docs/gst/gstreamer-sections.txt:
20686 * win32/common/libgstbase.def:
20687 * win32/libgstbase.def:
20688 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20689 (gst_collect_pads_class_init), (gst_collect_pads_init),
20690 (gst_collect_pads_finalize), (gst_collect_pads_new),
20691 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20692 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20693 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20694 (gst_collect_pads_start), (gst_collect_pads_stop),
20695 (gst_collect_pads_peek), (gst_collect_pads_pop),
20696 (gst_collect_pads_available), (gst_collect_pads_read),
20697 (gst_collect_pads_flush), (gst_collect_pads_event),
20698 (gst_collect_pads_chain):
20699 * gst/base/gstcollectpads.h:
20700 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20701 unimplemented functions as unimplemented. Add padding to
20702 GstCollectData. (#320766, #320423)
20704 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20706 * gst/gstmessage.c:
20707 Improve docs for DURATION message (usage of duration parameter)
20710 2005-11-20 Wim Taymans <wim@fluendo.com>
20712 * check/Makefile.am:
20713 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20717 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20718 (gst_segment_set_seek), (gst_segment_set_newsegment),
20719 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20720 (gst_segment_clip):
20721 * gst/gstsegment.h:
20722 Added segment helper structure and methods. Not fully implemented
20724 Added segment check.
20726 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20728 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20729 Add a deserialisation test for fractions
20730 * examples/metadata/read-metadata.c: (message_loop),
20731 (make_pipeline), (main):
20732 Fix up metadata reading sample.
20733 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20735 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20736 Don't try and fixate empty caps
20737 * gst/gst_private.h:
20738 Wrap in G_BEGIN_DECLS/G_END_DECLS
20739 * gst/gstvalue.c: (gst_value_collect_fraction),
20740 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20741 (gst_value_transform_string_fraction),
20742 (gst_value_compare_fraction):
20743 Add some extra guards to ensure that we don't end up
20744 with an invalid denominator of 0 in a gstfraction and
20745 that fractions always get reduced.
20747 2005-11-20 Wim Taymans <wim@fluendo.com>
20749 * docs/gst/gstreamer-sections.txt:
20751 * gst/gstelement.c:
20760 2005-11-20 Wim Taymans <wim@fluendo.com>
20762 * docs/design/part-TODO.txt:
20764 Make a proper enum of the flag.
20766 2005-11-19 Wim Taymans <wim@fluendo.com>
20768 * docs/design/part-TODO.txt:
20769 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20770 (gst_format_to_quark), (gst_format_register):
20772 * gst/gstquery.c: (_gst_query_initialize),
20773 (gst_query_type_get_name), (gst_query_type_to_quark),
20774 (gst_query_type_register):
20776 Add type to quark and type to string conversions.
20778 2005-11-19 Andy Wingo <wingo@pobox.com>
20780 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20783 2005-11-19 Wim Taymans <wim@fluendo.com>
20785 * docs/design/part-TODO.txt:
20786 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20787 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20788 (gst_bin_handle_message_func):
20790 Make message handling overridable.
20792 2005-11-19 Andy Wingo <wingo@pobox.com>
20794 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20797 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20799 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20800 is a GstClockTime. Fixes #321710.
20802 * gst/gstclock.h (GstClock): Remove offset property. Add
20803 internal_calibration and external_calibration. Fix padding. Pad
20804 also by GstClockTime so we don't run into problems.
20806 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20807 (gst_clock_get_rate_offset): Remove.
20808 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20811 * gst/gstutils.c (g_static_rec_cond_wait)
20812 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20814 * gst/gstbin.c: Remove terrible continue_state prototype.
20816 * gst/gstelement.h (gst_element_continue_state): Make public.
20818 * gst/gstelement.h:
20819 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20820 by continue_state. Fixes #319389.
20822 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20823 Really fixes #168438. However I don't see anywhere where the
20824 filter function is called... stupid GStreamer...
20826 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20827 don't have a dispose function, so it won't get called when the
20828 object is unreffed, but oh well!
20830 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20831 allows a destroy function to be set so user_data can be freed.
20833 (gst_index_set_filter): Call gst_index_set_filter_full.
20835 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20837 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20838 string should produce an error, given the lack of a way to
20839 represent NULL strings. Fixes #165650.
20842 * gst/gstvalue.c (gst_value_array_append_value)
20843 (gst_value_array_prepend_value, gst_value_array_get_size)
20844 (gst_value_array_get_value): New API, copied from
20845 gst_value_list_*, only operates on arrays.
20846 (gst_value_list_append_value, gst_value_list_prepend_value)
20847 (gst_value_list_concat, gst_value_list_get_size)
20848 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20850 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20851 init_list, because it works on both.
20852 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20853 (gst_value_copy_list_or_array): Renamed from copy_list.
20854 (gst_value_free_list_or_array): Renamed from free_list.
20855 (gst_value_collect_list_or_array): Renamed from collect_list.
20856 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20857 (gst_value_list_or_array_peek_pointer): Renamed from
20859 (_gst_value_array_value_table, _gst_value_list_value_table):
20860 Update value table functions.
20861 (gst_value_compare_list_or_array): Renamed from compare_list.
20863 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20866 * gst/gsttaglist.c:
20867 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20868 GstTagList*. Fixes #143472.
20870 * gst/gststructure.h: Clarify what the foreach/map functions can
20871 or can't do to their arguments.
20873 2005-11-18 Wim Taymans <wim@fluendo.com>
20875 * gst/gstclock.c: (gst_clock_set_calibration),
20876 (gst_clock_get_calibration):
20878 Calibration can be set with internal time equal to current
20881 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20887 2005-11-18 Andy Wingo <wingo@pobox.com>
20890 * pkgconfig/gstreamer-net.pc.in:
20891 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20892 * pkgconfig/Makefile.am: Add net pkgconfig files.
20894 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20897 * gst/gstghostpad.c:
20903 2005-11-18 Andy Wingo <wingo@pobox.com>
20905 * gst/net/gstnetclientclock.c: Turn off debugging.
20907 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20908 times connverge somewhat. Can't make a real test.
20910 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20911 integer arithmetic. Return the minimum of the domain, which can be
20912 set as "internal" for gst_clock_set_calibration.
20913 (gst_net_client_clock_observe_times): Call _set_calibration.
20914 (gst_net_client_clock_new): Call _set_calibration instead of
20917 * check/net/gstnetclientclock.c (test_functioning): Use the right
20921 * gst/gstclock.c (gst_clock_get_calibration)
20922 (gst_clock_set_calibration): New functions, obsolete the ones I
20923 added yesterday. Doh. Precision issues mean we have to extrapolate
20924 from a point in the more recent past than 1970.
20925 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20927 (gst_clock_adjust_unlocked): Use the right calibration data.
20929 2005-11-18 Edward Hervey <edward@fluendo.com>
20931 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20932 Also reset the ->current_* values in READY->PAUSED
20934 2005-11-18 Andy Wingo <wingo@pobox.com>
20936 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20937 Whoops, check the right fd. Also add some debugging.
20938 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20939 (do_linear_regression): Add a crapload of debugging. Subtract off
20940 the minimum values from the input series to discard unneeded bits.
20941 Use only int arithmetic. There is still double arithmetic when
20942 calculating the intercept that needs fixing. Return boolean to
20943 indicate success; FALSE would mean the domain or range is too
20944 great. Still needs fixes.
20946 2005-11-18 Wim Taymans <wim@fluendo.com>
20948 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20949 For the current position in stream time, we need to subtract
20952 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20953 Release lock before calling the callback function of async
20956 2005-11-18 Andy Wingo <wingo@pobox.com>
20958 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20959 Port goes all the way to MAXUINT16.
20961 * gst/net/gstnettimeprovider.c: Make the port range the same as
20962 for the kernel: 0 assigns, otherwise ports are less than
20965 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20968 * check/net/gstnetclientclock.c (test_functioning): Add the start
20971 2005-11-18 Wim Taymans <wim@fluendo.com>
20973 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20974 (gst_bin_remove_func), (bin_bus_handler):
20976 Removing a clock provider from a bin, triggers a clock lost message
20977 so that a new clock will be selected.
20978 Adding a clock to a bin triggers a clock provider message.
20979 Make sure we reselect a clock when we received a clock lost message.
20980 Keep a reference to the element that provided the clock.
20982 2005-11-18 Andy Wingo <wingo@pobox.com>
20984 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20985 the clock initially so it produces values around the base time.
20986 (gst_net_client_clock_class_init): Typo fix.
20987 (gst_net_client_clock_thread): Add note on when the socket gets
20990 2005-11-17 Wim Taymans <wim@fluendo.com>
20992 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20993 Free remote and local time arrays.
20995 2005-11-17 Wim Taymans <wim@fluendo.com>
20997 * gst/net/gstnetclientclock.c: (do_linear_regression),
20998 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20999 Fix compilation, uninitialized vars and a forgotten continue.
21001 2005-11-17 Andy Wingo <wingo@pobox.com>
21003 * check/Makefile.am (check_PROGRAMS):
21004 * check/net/gstnetclientclock.c: Add a most minimal test for the
21005 net client clock. More to come later.
21007 * gst/net/gstnet.h:
21008 * gst/net/Makefile.am: Add netclientclock.
21010 * gst/net/gstnetclientclock.h:
21011 * gst/net/gstnetclientclock.c: New files, implement an untested
21012 GstClock that takes its time from a network time provider.
21013 Implements the algorithm in network-clock.scm.
21015 * tests/network-clock.scm (*window-size*): Rename from
21017 * tests/network-clock.scm (network-time):
21018 * tests/network-clock-utils.scm (q-push): Update callers.
21020 2005-11-17 Wim Taymans <wim@fluendo.com>
21022 * gst/gstbin.c: (gst_bin_provide_clock_func),
21023 (gst_bin_sort_iterator_new):
21024 And unref the child too..
21026 2005-11-17 Wim Taymans <wim@fluendo.com>
21028 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21029 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21030 Refactor the sort iterator so it can be used while holding the
21032 Make clock selection select a clock closest to the source.
21034 2005-11-17 Michael Smith <msmith@fluendo.com>
21036 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21037 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21039 Anonymous structs are a gcc (and some other compilers) extension, so
21040 don't use them. Since this is only for ABI-compatibility, and our
21041 API/ABI freeze is over in a few days, this whole thing will only
21042 last a few days, so don't bother trying to think up a meaningful
21043 name for the struct.
21045 2005-11-17 Andy Wingo <wingo@pobox.com>
21047 * gst/gstclock.h (GstClock): Add rate and offset properties,
21048 preserving ABI stability. Add rate/offset accessors. Will file bug
21049 for the freeze break.
21051 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21052 and offset, trying to keep precision and avoiding
21053 underflow/overflow.
21054 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21055 functions. Make gst_clock_set_time_adjust obsolete.
21056 (gst_clock_set_time_adjust): Note that this function is obsolete.
21057 Will file bug soon.
21059 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21060 greppable by using GST_PADDING-1+1.
21062 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21064 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21066 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21067 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21069 * gst/gstpadtemplate.h:
21070 * gst/gstpluginfeature.h:
21071 Don't use c++ style comments in headers (#321638).
21073 2005-11-16 Andy Wingo <wingo@pobox.com>
21075 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21078 * check/net/gstnettimeprovider.c: Check to see that the time
21079 provider actually provides times. Works, yo!
21081 2005-11-16 Wim Taymans <wim@fluendo.com>
21083 * check/Makefile.am:
21086 * check/elements/fakesrc.c: (GST_START_TEST):
21087 Set element to NULL before disposing it.
21089 2005-11-16 Andy Wingo <wingo@pobox.com>
21091 * gst/net/Makefile.am:
21092 * gst/net/gstnet.h:
21093 * gst/net/gstnettimeprovider.c:
21094 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21095 provider, include it from gstnet.h, and add it to the build.
21097 * gst/net/gstnettimepacket.h:
21098 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21099 sending and receiving.
21101 2005-11-16 Wim Taymans <wim@fluendo.com>
21103 * check/Makefile.am:
21104 Enable valgrind check.
21106 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21107 (gst_fake_src_alloc_buffer):
21110 2005-11-16 Wim Taymans <wim@fluendo.com>
21112 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21113 Call parent finalize too.
21115 2005-11-16 Wim Taymans <wim@fluendo.com>
21117 * check/Makefile.am:
21118 Enable valgrind check that should work fine now.
21120 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21121 * gst/gstqueue.c: (gst_queue_init):
21122 Fix memleaks in pad allocation.
21124 2005-11-16 Andy Wingo <wingo@pobox.com>
21126 * gst/net/Makefile.am:
21127 * gst/net/gstnet.h: New part of core to hold network elements and
21128 objects. Put in core because it exposes API that applications want
21129 to use. The library is named libgstnet-tempname right now because
21130 of the existing libgstnet in gst-plugins-base. Solution is
21131 probably to rename the one in plugins-base; will file a bug for
21134 * gst/net/gstnettimeprovider.c:
21135 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21136 get_time call over the network.
21139 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21141 * check/Makefile.am:
21142 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21143 get additions shortly.
21145 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21147 * gst/gstpad.c: (gst_pad_new_from_static_template):
21149 add gst_pad_new_from_static_template functions
21150 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21151 (gst_check_setup_sink_pad):
21152 * gst/elements/gsttee.c: (gst_tee_init):
21155 2005-11-16 Wim Taymans <wim@fluendo.com>
21157 * gst/gstpad.c: (gst_pad_pause_task):
21158 Removed warning, it's not really an error either.
21160 2005-11-16 Wim Taymans <wim@fluendo.com>
21162 * gst/base/gstbasetransform.c:
21163 (gst_base_transform_prepare_output_buf),
21164 (gst_base_transform_event):
21165 Check if the caps are NULL, this can happen if the element
21166 is shutting down and the pad caps are set to NULL.
21168 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21170 * gst/elements/gsttee.c: (gst_tee_init):
21171 fix pad template leak in tee
21173 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21175 * gst/glib-compat.c: (g_value_dup_gst_object):
21176 * gst/glib-compat.h:
21177 * gst/gstpad.c: (gst_pad_set_property):
21178 use gst_object_ref when setting the pad template; this will
21179 trigger the pad template leaks on GLib 2.6 and the slaves
21181 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21183 * gst/glib-compat.c: (gst_flags_get_first_value):
21184 * gst/glib-compat.h:
21185 * gst/gstregistryxml.c:
21186 remove functions copied from GLib 2.6
21188 2005-11-16 Michael Smith <msmith@fluendo.com>
21191 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21192 do, but only breaks with newer valgrind versions. We're not a
21193 valgrind tool, we have no link-time dependencies on libcoregrind.
21195 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21197 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21199 * gst/gstmessage.h:
21202 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21204 * gst/base/gstbasesrc.c: (gst_base_src_init):
21205 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21206 * gst/gstqueue.c: (gst_queue_init):
21207 * gst/gstregistryxml.c: (load_feature):
21208 Revert all these unrefs, they don't even pass make check !
21210 2005-11-15 Johan Dahlin <johan@gnome.org>
21212 * gst/base/gstbasesrc.c: (gst_base_src_init):
21213 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21214 * gst/gstqueue.c: (gst_queue_init):
21215 Free pad templates, fixes a couple of leaks.
21217 2005-11-15 Daniel Fischer <dan at f3c dot com>
21219 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21221 * gst/gstpad.c: (gst_pad_get_property):
21222 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21223 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21226 2005-11-15 Wim Taymans <wim@fluendo.com>
21231 2005-11-15 Andy Wingo <wingo@pobox.com>
21233 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21235 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21236 using GST_CLOCK_TIME_NONE to disable base time management.
21237 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21238 time if it was NONE before.
21239 (gst_pipeline_change_state): Only munge the base time if
21240 stream_time != GST_CLOCK_TIME_NONE.
21242 * check/gst/gstpipeline.c (test_base_time): Punt around the
21243 problem of the probe not being called, because that's not the
21244 issue I'm looking at. Add a check that setting stream_time to NONE
21245 disables base time management.
21247 2005-11-15 Wim Taymans <wim@fluendo.com>
21249 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21250 segment_stop == -1 at startup.
21252 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21253 (gst_base_transform_change_state):
21254 Init segment values at start.
21256 2005-11-15 Wim Taymans <wim@fluendo.com>
21258 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21259 0 segment values are 0 in any format.
21261 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21262 * gst/base/gstbasetransform.h:
21263 Parse newsegment correctly in basetransform
21265 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21266 Sync to clock using updated segment values.
21268 2005-11-15 Andy Wingo <wingo@pobox.com>
21270 * check/gst/gstpipeline.c (test_base_time): Add check that the
21271 base time and stream time are reset correctly.
21273 2005-11-15 Wim Taymans <wim@fluendo.com>
21275 * docs/design/part-TODO.txt:
21276 Some more TODO items.
21278 2005-11-15 Andy Wingo <wingo@pobox.com>
21280 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21281 error if the user selected "no clock" as the clocking method.
21283 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21284 timestamps with live capture.
21286 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21287 is 0 but we are a live source, timestamp the buffers using the
21290 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21292 * docs/gst/gstreamer-sections.txt:
21294 * gst/gstghostpad.c:
21299 2005-11-14 Wim Taymans <wim@fluendo.com>
21302 add suppressions from Wim's Debian machine
21304 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21307 add suppressions from Andy's AMD64 Ubuntu machine
21309 2005-11-14 Andy Wingo <wingo@pobox.com>
21311 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21312 STATE_LOCK not necessary. Fixes #311489.
21314 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21317 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21318 this function is not implemented.
21320 2005-11-14 Julien MOUTTE <julien@moutte.net>
21322 * gst/base/gstbasetransform.c:
21323 (gst_base_transform_prepare_output_buf):
21324 Ref the source pad caps while we need them.
21327 2005-11-11 Wim Taymans <wim@fluendo.com>
21329 * docs/gst/gstreamer-sections.txt:
21330 Added some docs for GstCollectData.
21332 * gst/base/gstadapter.c:
21333 Some small code example fix.
21335 * gst/base/gstcollectpads.c:
21336 * gst/base/gstcollectpads.h:
21337 Document some more.
21339 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21341 * configure.ac: back to HEAD
21343 === release 0.9.5 ===
21345 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21348 releasing 0.9.5, "Bike Lunch Day"
21350 2005-11-11 Wim Taymans <wim@fluendo.com>
21352 * gst/gstbuffer.c: (_gst_buffer_copy):
21355 * gst/gstcaps.c: (gst_caps_is_equal):
21357 Make _is_equal fast in the trivial cases.
21359 * gst/gstminiobject.c:
21360 * gst/gstminiobject.h:
21361 More docs. Spifify .h file.
21366 2005-11-11 Wim Taymans <wim@fluendo.com>
21368 * gst/base/gstbasetransform.c:
21369 (gst_base_transform_prepare_output_buf),
21370 (gst_base_transform_handle_buffer):
21372 If we're processing a buffer and need to allocate an output
21373 buffer, we cannot accept a format change. If we did get a
21374 format change, we have to alloc a buffer ourselves of the
21377 2005-11-11 Wim Taymans <wim@fluendo.com>
21379 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21380 While checking the flag for reentrancy in the gstcaps function
21381 is nice to detect recursive invocations, it also makes it
21382 impossible to call getcaps from multiple threads, which must be
21383 possible. So, checking for recursive calls has to go.
21385 2005-11-11 Michael Smith <msmith@fluendo.com>
21387 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21388 Don't sync on buffers that fall partially outside our current
21389 segment. Prevents an assertion failure/abort playing some files.
21391 2005-11-10 Andy Wingo <wingo@pobox.com>
21393 * check/gst/gstbin.c (test_message_state_changed_children): Style
21396 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21397 gst_bus_poll with the signal watch. Ensures that poll and a signal
21398 watch see the same messages.
21400 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21401 a poll and a watch at the same time get the same messages.
21403 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21405 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21406 * gst/gstcaps.c: (gst_caps_intersect):
21407 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21408 and it's not needed.
21410 2005-11-10 Wim Taymans <wim@fluendo.com>
21412 * docs/design/part-TODO.txt:
21415 2005-11-10 Wim Taymans <wim@fluendo.com>
21417 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21418 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21419 (gst_base_src_do_sync), (gst_base_src_get_range):
21420 Implement clock sync in base class.
21422 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21424 patch by: Tim-Philipp Müller <tim at centricular dot net>
21426 * gst/gststructure.c: (gst_structure_parse_field),
21427 (gst_structure_from_string):
21428 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21429 so that gst_parse_launch() can deal with spaces in filtered link
21430 caps (fixes #164479)
21431 * check/gst/capslist.h:
21432 * check/gst/gststructure.c: (GST_START_TEST):
21433 add unit tests for this change
21435 2005-11-10 Wim Taymans <wim@fluendo.com>
21437 * docs/gst/gstreamer-sections.txt:
21438 * gst/gstelement.c:
21439 * gst/gstelement.h:
21440 Fix docs, move some STATE macros to private.
21442 2005-11-10 Wim Taymans <wim@fluendo.com>
21444 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21445 Added check for bug #317341
21449 Some more spiffifying.
21451 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21452 Call peer linkfunction if we are a source pad. Totally fixes
21456 Update docs, source pads should call the peer linkfunction
21457 so they can atomically perform the pad link.
21459 2005-11-09 Wim Taymans <wim@fluendo.com>
21463 Uber-spiffy-spiffify some more.
21465 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21467 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21468 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21469 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21470 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21471 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21472 * gst/gstpad.c: (gst_pad_init):
21473 Use GST_DEBUG_FUNCPTR() more extensively.
21475 2005-11-09 Wim Taymans <wim@fluendo.com>
21477 * gst/gstobject.c: (gst_object_class_init):
21479 Documentation fixes.
21481 2005-11-09 Edward Hervey <edward@fluendo.com>
21483 * gst/gsttypefindfactory.c:
21486 2005-11-09 Edward Hervey <edward@fluendo.com>
21488 * gst/base/gsttypefindhelper.c:
21489 * gst/gsttypefind.c:
21490 * gst/gsttypefind.h:
21493 2005-11-09 Wim Taymans <wim@fluendo.com>
21495 * gst/gstiterator.c:
21502 2005-11-09 Wim Taymans <wim@fluendo.com>
21508 2005-11-09 Wim Taymans <wim@fluendo.com>
21510 * docs/gst/gstreamer-sections.txt:
21511 Moved the message async delivery private lock and cond
21512 to the private section.
21514 * gst/gstmessage.c:
21515 * gst/gstmessage.h:
21518 2005-11-09 Edward Hervey <edward@fluendo.com>
21520 * docs/gst/gstreamer-sections.txt:
21523 Document GstURIHandler
21525 2005-11-09 Wim Taymans <wim@fluendo.com>
21527 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21528 (gst_iterator_find_custom):
21529 * gst/gstiterator.h:
21532 2005-11-09 Wim Taymans <wim@fluendo.com>
21535 Document another field.
21537 * gst/gststructure.c:
21538 * gst/gststructure.h:
21541 2005-11-09 Wim Taymans <wim@fluendo.com>
21544 Documented structs.
21546 2005-11-09 Wim Taymans <wim@fluendo.com>
21548 * docs/gst/gstreamer-sections.txt:
21549 Added some new macros.
21556 2005-11-09 Wim Taymans <wim@fluendo.com>
21558 * docs/design/part-TODO.txt:
21559 Some more items for the TODO
21565 2005-11-09 Andy Wingo <wingo@pobox.com>
21567 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21568 to work on something else now tho...
21570 * gst/base/gstadapter.c: More adapter docs.
21572 * gst/elements/gstfilesink.c (gst_file_sink_start)
21573 (gst_file_sink_stop): New functions, replace the state change
21575 (gst_file_sink_class_init): Hook up the start and stop functions.
21576 (gst_file_sink_base_init): Don't set the state change handler any
21577 more. It was a bit ugly too, being set from here...
21578 (gst_file_sink_get_property, gst_file_sink_set_property):
21580 (gst_file_sink_set_location): More robust check that doesn't call
21581 GST_STATE. Ugggggg.
21583 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21585 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21586 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21588 2005-11-08 Wim Taymans <wim@fluendo.com>
21590 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21591 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21592 (gst_base_sink_chain), (gst_base_sink_change_state):
21593 * gst/base/gstbasesink.h:
21594 * gst/base/gstbasesrc.h:
21595 * gst/gstelement.h:
21597 Avoid excessive typechecking in macros.
21599 * gst/gstminiobject.c: (gst_mini_object_get_type),
21600 (gst_mini_object_init), (gst_mini_object_new),
21601 (gst_mini_object_free):
21602 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21603 (gst_object_finalize):
21604 Remove cruft code, optimize alloc_trace.
21606 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21608 * docs/faq/gst-uninstalled:
21609 fix up PS1 for systems that try to reset it
21611 2005-11-07 Wim Taymans <wim@fluendo.com>
21613 * gst/base/gstbasesrc.c: (gst_base_src_init),
21614 (gst_base_src_get_range):
21615 Set the segment_end to -1 initially. Fixed typefind.
21617 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21619 * gst/base/gstadapter.c:
21620 Debug category should be 'adapter', not 'GstAdapter'.
21622 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21623 (gst_collectpads_class_init), (gst_collectpads_init),
21624 (gst_collectpads_peek), (gst_collectpads_pop),
21625 (gst_collectpads_event), (gst_collectpads_chain):
21626 Add debug category and some debugging output. Use boilerplate
21627 macros. Remove some extraneous words from docs.
21629 2005-11-05 Andy Wingo <wingo@pobox.com>
21631 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21634 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21636 * docs/gst/gstreamer-sections.txt:
21639 * gst/gstminiobject.h:
21644 2005-11-04 Wim Taymans <wim@fluendo.com>
21646 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21647 Small update to stop at the configured segment_end
21650 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21652 * gst/gstregistry.c:
21653 * gst/gstregistry.h:
21656 2005-11-04 Edward Hervey <edward@fluendo.com>
21658 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21659 Check if we are doing a segment seek and have arrived at the
21660 end of that segment.
21662 2005-11-04 Wim Taymans <wim@fluendo.com>
21664 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21665 Don't leak a mutex unlock in case of an error.
21670 2005-11-04 Wim Taymans <wim@fluendo.com>
21672 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21674 Get the context to wake up only once.
21676 2005-11-03 Wim Taymans <wim@fluendo.com>
21678 * check/states/sinks.c: (GST_START_TEST):
21679 Uncomment fixed check.
21681 * docs/design/part-TODO.txt:
21684 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21685 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21686 (gst_base_sink_get_position):
21687 If we are going to PLAYING, post the right pending state
21688 when we post the intermediate paused message.
21690 * gst/gstelement.c: (gst_element_continue_state),
21691 (gst_element_set_state_func), (gst_element_change_state):
21692 Don't post state changes that were between the same state
21693 and were not ASYNC.
21695 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21697 * docs/gst/gstreamer-sections.txt:
21700 * gst/gstminiobject.h:
21703 more docs and doc style fixes
21705 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21707 * docs/gst/gstreamer-sections.txt:
21708 * gst/gstelement.c:
21709 * gst/gstminiobject.c:
21712 2005-11-03 Andy Wingo <wingo@pobox.com>
21714 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21715 state-changed messages actually have the right order and the right
21718 2005-11-03 Wim Taymans <wim@fluendo.com>
21720 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21721 Added some more checks. Specifically the case where NO_PREROLL
21722 elements are in the pipeline.
21724 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21725 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21726 (gst_base_sink_get_position):
21727 Post READY->PAUSED state change messages too.
21728 Fix bug where VOID was posted as pending state...
21730 * gst/gstbin.c: (gst_bin_recalc_state):
21731 use _element_continue_state() to continue the state change.
21733 * gst/gstelement.c: (gst_element_continue_state),
21734 (gst_element_commit_state), (gst_element_set_state_func),
21735 (gst_element_change_state), (gst_element_change_state_func):
21736 Lots of state change cleanups, assign the STATE_RETURN in
21737 a new continue_state() function that also propagates the
21738 last return value from a state change to the app.
21739 Update some debug statements with proper category.
21741 2005-11-03 Wim Taymans <wim@fluendo.com>
21743 * docs/design/part-events.txt:
21744 * docs/design/part-gstpipeline.txt:
21745 * docs/design/part-messages.txt:
21746 * docs/design/part-overview.txt:
21747 * docs/design/part-seeking.txt:
21748 * docs/design/part-states.txt:
21749 * docs/design/part-trickmodes.txt:
21750 * docs/manual/advanced-position.xml:
21751 Small docs updates.
21754 People think !! is ugly, this looks better.
21756 * gst/gstpad.c: (gst_pad_set_blocked_async):
21757 Remove !! since it's fixed elsewhere now.
21759 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21761 * gst/gstminiobject.h:
21763 Add !! to _FLAG_IS_SET macros to make the result boolean.
21765 2005-11-03 Edward Hervey <edward@fluendo.com>
21767 * gst/gstpad.c: (gst_pad_set_blocked_async):
21768 comparing a flag and a gboolean rarely returns coherent results...
21769 Added two characters (!!) to make that work correctly.
21771 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21773 * gst/gstbus.c: (gst_bus_class_init):
21776 * gst/gstqueue.c: (gst_queue_loop):
21777 Don't assume a miniobject that isn't a buffer is an
21778 event (it could be that there is a refcounting
21779 problem somewhere and the pointer is stale and
21780 refers to an already destroyed miniobject).
21782 2005-11-03 Julien MOUTTE <julien@moutte.net>
21784 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21786 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21788 * docs/manual/advanced-position.xml:
21789 Update seek example and explanations to current 0.9 API.
21791 * gst/elements/gsttypefindelement.c:
21792 (gst_type_find_element_activate):
21793 Remove FIXME comment now that the found caps
21796 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21798 * gst/gstregistryxml.c: (load_feature):
21799 Add another GST_STR_NULL instance
21801 2005-11-02 Edward Hervey <edward@fluendo.com>
21803 * gst/gstpad.c: (handle_pad_block):
21804 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21806 2005-11-02 Wim Taymans <wim@fluendo.com>
21811 * gst/gstelement.c: (gst_element_commit_state):
21812 Remove unused value.
21814 * gst/gstiterator.c:
21815 Mention that the returned element is reffed in the docs.
21817 2005-11-02 Wim Taymans <wim@fluendo.com>
21819 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21820 (gst_pad_push), (gst_pad_push_event):
21821 Unlock blocked pads when they are flushed.
21823 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21826 * docs/gst/gstreamer-sections.txt:
21829 * gst/gstregistry.c: (gst_registry_scan_path_level):
21830 fix for a nasty little missed situation where an installed plug-in
21831 which was in the cache did not get overridden by an uninstalled one
21832 which was earlier in the plugin path because the newly created plugin
21833 for the uninstalled one (not in the registry) didn't get its
21834 ->registered set to TRUE
21836 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21838 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21839 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21840 (gst_collectpads_is_active), (gst_collectpads_collect),
21841 (gst_collectpads_collect_range), (gst_collectpads_start),
21842 (gst_collectpads_stop), (gst_collectpads_peek),
21843 (gst_collectpads_pop), (gst_collectpads_available),
21844 (gst_collectpads_read), (gst_collectpads_flush):
21845 Guard public API with assertions.
21848 Fix docs for gst_pad_set_link_function().
21850 2005-11-02 Johan Dahlin <johan@gnome.org>
21852 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21853 Unref found_caps after we used it.
21855 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21857 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21858 Don't try to ref NULL.
21860 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21862 * win32/common/config.h.in:
21863 provide a GST_FUNCTION that just gives a string for now
21865 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21867 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21868 (gst_object_flags_get_type), (register_gst_bin_flags),
21869 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21870 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21871 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21872 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21873 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21874 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21875 (gst_clock_flags_get_type), (register_gst_state),
21876 (gst_state_get_type), (register_gst_state_change_return),
21877 (gst_state_change_return_get_type), (register_gst_state_change),
21878 (gst_state_change_get_type), (register_gst_element_flags),
21879 (gst_element_flags_get_type), (register_gst_core_error),
21880 (gst_core_error_get_type), (register_gst_library_error),
21881 (gst_library_error_get_type), (register_gst_resource_error),
21882 (gst_resource_error_get_type), (register_gst_stream_error),
21883 (gst_stream_error_get_type), (register_gst_event_type),
21884 (gst_event_type_get_type), (register_gst_seek_type),
21885 (gst_seek_type_get_type), (register_gst_seek_flags),
21886 (gst_seek_flags_get_type), (register_gst_format),
21887 (gst_format_get_type), (register_gst_index_certainty),
21888 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21889 (gst_index_entry_type_get_type),
21890 (register_gst_index_lookup_method),
21891 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21892 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21893 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21894 (gst_index_flags_get_type), (register_gst_debug_level),
21895 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21896 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21897 (gst_iterator_result_get_type), (register_gst_iterator_item),
21898 (gst_iterator_item_get_type), (register_gst_message_type),
21899 (gst_message_type_get_type), (register_gst_mini_object_flags),
21900 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21901 (gst_pad_link_return_get_type), (register_gst_flow_return),
21902 (gst_flow_return_get_type), (register_gst_activate_mode),
21903 (gst_activate_mode_get_type), (register_gst_pad_direction),
21904 (gst_pad_direction_get_type), (register_gst_pad_flags),
21905 (gst_pad_flags_get_type), (register_gst_pad_presence),
21906 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21907 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21908 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21909 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21910 (gst_plugin_flags_get_type), (register_gst_rank),
21911 (gst_rank_get_type), (register_gst_query_type),
21912 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21913 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21914 (gst_tag_flag_get_type), (register_gst_task_state),
21915 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21916 (gst_alloc_trace_flags_get_type),
21917 (register_gst_type_find_probability),
21918 (gst_type_find_probability_get_type), (register_gst_uri_type),
21919 (gst_uri_type_get_type), (register_gst_parse_error),
21920 (gst_parse_error_get_type):
21921 * win32/common/gstversion.h:
21922 update win32 copies
21924 2005-11-01 Luca Ognibene <luogni@tin.it>
21927 fix docs. popt is dead, long live GOption.
21929 2005-10-31 Wim Taymans <wim@fluendo.com>
21934 2005-10-31 Andy Wingo <wingo@pobox.com>
21938 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21940 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21941 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21942 the possibility of deadlocks here if code calling notify() or
21943 set() has a lock that can be taken in another notify handler (ABBA
21944 with class lock and e.g. python GIL state lock).
21946 2005-10-28 Julien MOUTTE <julien@moutte.net>
21948 * gst/gstbus.c: Doc updates.
21950 2005-10-28 Wim Taymans <wim@fluendo.com>
21952 * docs/design/part-TODO.txt:
21953 * gst/gstiterator.c:
21954 * gst/gstsystemclock.c:
21955 * gst/gstsystemclock.h:
21958 2005-10-28 Edward Hervey <edward@fluendo.com>
21960 * docs/gst/gstreamer-docs.sgml:
21961 * docs/gst/gstreamer-sections.txt:
21962 the GstURIType documentation page is private, it only defines GstURIType
21963 which should be defined in the GstURIHandler page
21965 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21967 * gst/gstbin.c: (gst_bin_class_init):
21970 Documentation updates.
21972 2005-10-28 Wim Taymans <wim@fluendo.com>
21974 * docs/gst/gstreamer-sections.txt:
21977 Documented the clocks.
21979 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21981 * docs/gst/gstreamer-sections.txt:
21982 move some macros to private sections
21983 * gst/gstminiobject.c:
21984 * gst/gstminiobject.h:
21985 add descriptions provided by ds and some more
21987 mark macro as to be removed
21989 2005-10-28 Wim Taymans <wim@fluendo.com>
21991 * docs/design/part-TODO.txt:
21992 Add an item to TODO.
21994 * gst/gstiterator.c: (gst_iterator_fold),
21995 (gst_iterator_find_custom):
21996 * gst/gstiterator.h:
21999 2005-10-28 Wim Taymans <wim@fluendo.com>
22001 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22002 (gst_base_transform_init):
22005 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22006 An EOS event marks the queue as completely filled.
22008 2005-10-27 Wim Taymans <wim@fluendo.com>
22010 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22011 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22012 Some more debugging.
22014 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22015 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22016 (gst_base_transform_event), (gst_base_transform_getrange),
22017 (gst_base_transform_chain):
22018 * gst/base/gstbasetransform.h:
22020 Protect transform and concurrent buffer alloc with a new lock.
22021 Try not to break ABI/API.
22023 2005-10-27 Wim Taymans <wim@fluendo.com>
22025 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22026 (gst_base_src_init), (gst_base_src_query),
22027 (gst_base_src_default_newsegment),
22028 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22029 (gst_base_src_send_event), (gst_base_src_event_handler),
22030 (gst_base_src_pad_get_range), (gst_base_src_loop),
22031 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22032 (gst_base_src_start), (gst_base_src_deactivate),
22033 (gst_base_src_activate_push), (gst_base_src_change_state):
22034 Move some stuff around and cleanup things.
22036 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22038 * gst/base/gstbasesrc.c: (gst_base_src_query):
22039 Add missing break statements.
22041 2005-10-27 Wim Taymans <wim@fluendo.com>
22043 * check/gst/gstbin.c: (GST_START_TEST):
22044 An extra refcount is taken in basesrc.
22046 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22047 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22048 (gst_base_src_loop):
22049 Small cleanups, check for flushing after being unlocked from the
22050 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22051 Don't send out EOS when going to READY.
22053 2005-10-27 Wim Taymans <wim@fluendo.com>
22055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22056 (gst_base_sink_get_position):
22059 * gst/gstbin.c: (message_check), (bin_replace_message),
22060 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22061 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22062 (bin_query_duration_init), (bin_query_duration_fold),
22063 (bin_query_duration_done), (bin_query_generic_fold),
22065 * tools/gst-launch.c: (main):
22068 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22070 * examples/controller/audio-example.c: (main):
22071 * examples/queue/queue.c: (event_loop):
22072 * gst/base/gstbasetransform.h:
22073 * gst/gstelement.c: (gst_element_send_event):
22075 * gst/gstpad.c: (gst_pad_send_event):
22078 changing log priority in error situations
22080 2005-10-25 Wim Taymans <wim@fluendo.com>
22082 * gst/gstbin.c: (message_check), (bin_replace_message),
22083 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22084 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22085 (bin_query_duration_init), (bin_query_duration_fold),
22086 (bin_query_duration_done), (bin_query_generic_fold),
22088 Some doc and debug updates.
22089 Cache previously requested query DURATION for speed. invalidate
22090 cached duration if element posts a DURATION message.
22092 2005-10-25 Wim Taymans <wim@fluendo.com>
22094 * docs/design/part-TODO.txt:
22097 * gst/gstbin.c: (message_check), (bin_replace_message),
22098 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22099 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22100 (bin_query_duration_init), (bin_query_duration_fold),
22101 (bin_query_duration_done), (bin_query_generic_fold),
22103 Handle SEGMENT_START/DONE messages correctly.
22104 More evolved query algorithm that handles duration queries
22107 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22108 (gst_element_get_state_func), (gst_element_abort_state),
22109 (gst_element_commit_state), (gst_element_lost_state):
22110 Some more debugging.
22112 * gst/gstmessage.h:
22115 2005-10-25 Wim Taymans <wim@fluendo.com>
22117 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22118 Don't use invalid stream_time.
22120 * gst/gstevent.c: (gst_event_new_newsegment):
22121 stream_time in newsegment cannot be undefined.
22123 2005-10-24 Wim Taymans <wim@fluendo.com>
22128 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22130 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22132 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22134 * docs/libs/tmpl/gstdparam.sgml:
22135 * docs/libs/tmpl/gstdplinint.sgml:
22136 * docs/libs/tmpl/gstdpman.sgml:
22137 * docs/libs/tmpl/gstdpsmooth.sgml:
22138 * docs/libs/tmpl/gstunitconvert.sgml:
22141 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22146 === release 0.9.4 ===
22148 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22151 releasing 0.9.4, "Tyrannosaurus Rex"
22153 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22155 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22156 (gst_file_sink_get_current_offset):
22157 Use fseeko() and ftello() if available. When falling back on
22158 lseek() to get the current offset, fflush() first to make sure
22159 everything is up-to-date and we get the right offset.
22161 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22164 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22165 * gst/gsterror.c: (_gst_stream_errors_init):
22167 * gst/gstqueue.c: (gst_queue_loop):
22169 remove prematurely added error category and clean up the instances
22171 2005-10-21 Wim Taymans <wim@fluendo.com>
22173 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22174 (gst_base_sink_get_position), (gst_base_sink_query),
22175 (gst_base_sink_change_state):
22176 Simply set the right flag when going to playing, that's all
22177 we need to do instead of calling a function inside the object
22178 lock (that could take the lock as well and deadlock)
22180 2005-10-21 Wim Taymans <wim@fluendo.com>
22182 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22183 (gst_base_src_loop):
22184 Don't warn, the peer element knows what to do best when
22185 the seek failed, it might try something else.
22187 2005-10-21 Wim Taymans <wim@fluendo.com>
22189 * gst/base/gstbasesrc.c: (gst_base_src_init),
22190 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22193 2005-10-21 Wim Taymans <wim@fluendo.com>
22195 * docs/design/part-segments.txt:
22198 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22199 Correctly set caps, even on the subbufer.
22201 2005-10-21 Wim Taymans <wim@fluendo.com>
22203 * docs/gst/gstreamer-docs.sgml:
22204 * docs/gst/gstreamer-sections.txt:
22205 * gst/gstelement.h:
22208 * gst/gstmessage.h:
22211 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22215 And 2% more doc coverage.
22217 2005-10-21 Andy Wingo <wingo@pobox.com>
22219 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22220 position reporting.
22222 2005-10-20 Wim Taymans <wim@fluendo.com>
22224 * gst/gsterror.c: (gst_error_get_message):
22227 * gst/gststructure.c:
22232 2005-10-20 Wim Taymans <wim@fluendo.com>
22237 Another 1% more coverage.
22239 2005-10-20 Wim Taymans <wim@fluendo.com>
22241 * docs/gst/gstreamer-sections.txt:
22242 * gst/gstelement.c: (gst_element_get_state_func),
22243 (gst_element_abort_state), (gst_element_commit_state),
22244 (gst_element_lost_state):
22246 * gst/gstquery.c: (gst_query_set_position),
22247 (gst_query_parse_position), (gst_query_set_duration),
22248 (gst_query_parse_duration), (gst_query_new_convert):
22250 Yay! 1% more docs coverage.
22252 2005-10-20 Wim Taymans <wim@fluendo.com>
22255 * gst/gstquery.c: (gst_query_set_position),
22256 (gst_query_parse_position), (gst_query_set_duration),
22257 (gst_query_parse_duration), (gst_query_new_convert):
22259 * gst/gstutils.c: (gst_element_query_convert):
22261 Docs and consistency fixes.
22263 2005-10-20 Wim Taymans <wim@fluendo.com>
22269 2005-10-20 Wim Taymans <wim@fluendo.com>
22271 * gst/gstbin.c: (message_check), (bin_replace_message),
22272 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22273 (update_degree), (gst_bin_sort_iterator_next),
22274 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22275 Reworked the message handling a bit, cache the messages instead of
22276 only the senders. alows us to do more in the future.
22278 2005-10-20 Wim Taymans <wim@fluendo.com>
22280 * docs/design/part-TODO.txt:
22283 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22284 (gst_base_sink_query):
22285 Don't use clock time to report position when in EOS.
22287 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22289 * tools/gst-inspect.c: (print_interfaces),
22290 (print_element_properties_info), (print_element_info):
22291 Fix interface output with gst-inspect -a; don't print
22292 newlines after double/float properties.
22294 2005-10-20 Wim Taymans <wim@fluendo.com>
22296 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22297 (gst_base_sink_query):
22298 Speed up current position calculation.
22300 * gst/base/gstbasesrc.c: (gst_base_src_query),
22301 (gst_base_src_default_newsegment):
22302 Correctly set stream position in newsegment.
22304 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22305 (update_degree), (gst_bin_sort_iterator_next),
22306 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22307 * gst/gstmessage.c: (gst_message_new_custom):
22308 Clean up debugging info
22310 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22311 (gst_queue_loop), (gst_queue_handle_src_query):
22314 2005-10-19 Wim Taymans <wim@fluendo.com>
22316 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22317 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22318 Fix query handling again.
22320 2005-10-19 Wim Taymans <wim@fluendo.com>
22322 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22323 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22324 * gst/base/gstbasesrc.c: (gst_base_src_query):
22325 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22326 * gst/elements/gsttypefindelement.c:
22327 (gst_type_find_handle_src_query), (find_element_get_length),
22328 (gst_type_find_element_activate):
22331 * gst/gstquery.c: (gst_query_new_position),
22332 (gst_query_set_position), (gst_query_parse_position),
22333 (gst_query_new_duration), (gst_query_set_duration),
22334 (gst_query_parse_duration), (gst_query_set_segment),
22335 (gst_query_parse_segment):
22337 Bundling query position/duration is not a good idea since duration
22338 does not change much and we don't want to recalculate it for every
22339 position query, so they are separated again..
22340 Base value in segment query is not needed.
22342 * gst/gstqueue.c: (gst_queue_handle_src_query):
22343 * gst/gstutils.c: (gst_element_query_position),
22344 (gst_element_query_duration), (gst_pad_query_position),
22345 (gst_pad_query_duration):
22347 Updates for query API change.
22348 Added some docs here and there.
22350 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22352 * check/gst/gstbin.c: (GST_START_TEST):
22353 * check/gst/gstghostpad.c: (GST_START_TEST):
22354 * check/pipelines/cleanup.c: (GST_START_TEST):
22355 wait on thread to die so we can check refcount correctly
22357 2005-10-18 Wim Taymans <wim@fluendo.com>
22359 * check/pipelines/stress.c: (GST_START_TEST):
22360 Make check a little more time consuming.
22362 2005-10-18 Wim Taymans <wim@fluendo.com>
22364 * check/Makefile.am:
22365 * check/pipelines/stress.c: (GST_START_TEST),
22366 (simple_launch_lines_suite), (main):
22367 Small state change torture test.
22369 * docs/design/part-states.txt:
22370 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22371 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22372 (gst_base_sink_change_state):
22373 Never take state lock from streaming thread, clean up ugly
22374 hacks. Unfortunatly core does not yet support nice ways to
22375 async commit state.
22377 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22379 Start state recalc if a STATE_DIRTY message is posted, but only
22380 on the toplevel bin.
22382 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22383 (gst_element_get_state_func), (gst_element_abort_state),
22384 (gst_element_commit_state), (gst_element_lost_state),
22385 (gst_element_set_state_func), (gst_element_change_state):
22386 * gst/gstelement.h:
22387 State variables are now protected with the LOCK, the state
22388 lock is only used to serialize _set_state().
22390 2005-10-18 Wim Taymans <wim@fluendo.com>
22392 * check/gst/gstbin.c: (GST_START_TEST):
22393 * check/gst/gstmessage.c: (GST_START_TEST):
22394 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22395 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22397 * gst/gstelement.c: (gst_element_abort_state),
22398 (gst_element_commit_state), (gst_element_lost_state):
22399 * gst/gstmessage.c: (gst_message_new_state_changed),
22400 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22401 (gst_message_new_segment_done), (gst_message_new_duration),
22402 (gst_message_parse_state_changed),
22403 (gst_message_parse_segment_start),
22404 (gst_message_parse_segment_done), (gst_message_parse_duration):
22405 * gst/gstmessage.h:
22406 * tools/gst-launch.c: (event_loop):
22407 Seriously, this is better than a previous commit as we only need
22408 to notify the fact that an element changed state in a streaming
22409 thread, marking the state of the parents dirty, hence the
22410 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22413 2005-10-18 Wim Taymans <wim@fluendo.com>
22415 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22416 (gst_bin_recalc_func):
22417 * gst/gstelement.c: (gst_element_set_clock),
22418 (gst_element_abort_state), (gst_element_lost_state):
22419 Cleanups, prepare for state change fixes.
22421 2005-10-18 Wim Taymans <wim@fluendo.com>
22424 * gst/gstelement.c: (gst_element_class_init),
22425 (gst_element_set_state), (gst_element_set_state_func):
22426 * gst/gstelement.h:
22427 Pending ABI changes.
22428 GThreadPool in GstBinClass to monitor async state changes.
22429 state_cookie in GstElement to detect concurrent gst/set state.
22430 set_state is now virtual too in case a very complicated element
22431 has to be constructed.
22433 2005-10-18 Wim Taymans <wim@fluendo.com>
22435 * check/gst/gstbin.c: (GST_START_TEST):
22436 * check/gst/gstmessage.c: (GST_START_TEST):
22437 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22438 * gst/gstbin.c: (bin_bus_handler):
22439 * gst/gstelement.c: (gst_element_commit_state),
22440 (gst_element_lost_state):
22441 * gst/gstmessage.c: (gst_message_new_state_changed),
22442 (gst_message_new_segment_start), (gst_message_new_segment_done),
22443 (gst_message_new_duration), (gst_message_parse_state_changed),
22444 (gst_message_parse_segment_start),
22445 (gst_message_parse_segment_done), (gst_message_parse_duration):
22446 * gst/gstmessage.h:
22447 * tools/gst-launch.c: (event_loop):
22448 Make messages future proof.
22449 state-change gets a flag if it was a message comming from the
22451 segment-start/stop can also be specified in other formats.
22452 A message to notify an app that a pipeline changed playback
22454 Also fix a GstMessage leak in -launch
22456 2005-10-18 Andy Wingo <wingo@pobox.com>
22458 * gst/gstelement.c (gst_element_dispose): More helpful message.
22460 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22462 reviewed by: <delete if not using a buddy>
22464 * common/gtk-doc.mak:
22466 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22468 * gst/gstregistry.c: (gst_registry_scan_path_level):
22469 unref a plug-in we get that was already initialized
22471 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22473 * docs/gst/gstreamer-sections.txt:
22474 * docs/libs/gstreamer-libs-sections.txt:
22475 * gst/gstelement.h:
22476 add new api entries
22477 hide internal macro
22479 2005-10-17 Andy Wingo <wingo@pobox.com>
22481 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22484 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22486 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22488 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22489 (gst_element_get_state_func): Better debug message.
22490 (gst_element_commit_state): s/INFO/DEBUG/.
22491 (gst_element_lost_state, gst_element_change_state):
22493 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22494 (gst_message_new_custom): s/INFO/LOG/.
22496 2005-10-17 Michael Smith <msmith@fluendo.com>
22498 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22499 Check if end time is valid using end time, not start time.
22501 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22503 * check/gst-libs/controller.c: (GST_START_TEST),
22504 (gst_controller_suite):
22505 * libs/gst/controller/gstcontroller.c:
22506 (gst_controlled_property_set_interpolation_mode):
22507 * libs/gst/controller/gstcontroller.h:
22508 * libs/gst/controller/gstinterpolation.c:
22509 * testsuite/controller/.cvsignore:
22510 * testsuite/controller/Makefile.am:
22511 * testsuite/controller/interpolator.c:
22512 merge controller testsuites
22514 remove mem-chunk from docs
22516 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22518 * gst/gstmemchunk.c:
22519 * gst/gstmemchunk.h:
22520 * gst/gsttrashstack.c:
22521 * gst/gsttrashstack.h:
22522 out. get out. you're fired. to the Attic !
22524 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22526 * gst/gstcaps.c: (gst_caps_intersect):
22527 fix signedness issues in a (hopefully) correct way
22528 * gst/gstelement.c: (gst_element_pads_activate):
22530 * gst/gstobject.c: (gst_object_set_parent):
22533 2005-10-17 Julien MOUTTE <julien@moutte.net>
22535 * gst/gstvalue.h: Fix prototypes.
22537 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22539 * docs/gst/gstreamer-sections.txt:
22540 * gst/gst.c: (gst_version_string):
22542 * gst/gstversion.h.in:
22543 * win32/common/libgstreamer.def:
22544 add gst_version_string ()
22546 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22550 * gst/gst.c: (init_post):
22551 * win32/common/config.h.in:
22553 * gst/gstcaps.c: (gst_caps_intersect):
22554 use gint64, the range could be bigger than a guint
22556 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22559 document potential problem in 2038
22561 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22563 * gst/gstcaps.c: (gst_caps_intersect):
22564 Fix guint j diving under 0
22566 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22569 * win32/common/config.h:
22570 * win32/common/config.h.in:
22571 check for process.h, declares getpid() on Windows
22573 include process.h if we have it
22574 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22575 * gst/gstmemchunk.h:
22576 fix signedness issues
22577 * win32/common/libgstreamer.def:
22580 2005-10-16 Julien MOUTTE <julien@moutte.net>
22582 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22583 fix. Because of unsigned ints, caps intersection was going nuts and
22584 trying to access structures with G_MAXUINT index. That fixes
22585 videotestsrc ! ffmpegcolorspace ! fakesink
22586 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22589 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22592 use the gettext macro
22593 * gst/elements/gstelements.c:
22595 * gst/indexers/gstindexers.c:
22596 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22597 * win32/common/config.h:
22599 * win32/common/config.h.in:
22600 add the template to generate config.h
22601 * win32/common/gstenumtypes.c:
22602 * win32/common/gstversion.h:
22605 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22607 * gst/gst.c: (gst_version):
22608 * gst/gstversion.h.in:
22611 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22614 Oops, add missing closing bracket.
22616 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22619 use common m4's for argument checking
22621 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22623 * docs/gst/gstreamer-sections.txt:
22625 Add GST_EVENT_TYPE_NAME() macro.
22627 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22630 * gst/gstpluginfeature.c:
22632 privatize more symbols
22634 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22637 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22638 everything that uses GStreamer API should have the includes
22640 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22642 * docs/gst/gstreamer-sections.txt:
22643 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22645 give each value a _get_type, removes the DATA exports
22647 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22651 remove _gst_registry_auto_load, not used anymore
22652 * gst/gstbin.c: (gst_bin_get_type):
22654 * gst/gstelement.c: (gst_element_get_type):
22655 * gst/gstelement.h:
22656 * gst/gstobject.c: (gst_object_get_type):
22658 * gst/gstpad.c: (gst_pad_get_type):
22660 make _get_type functions similar, fixes data export from library
22662 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22665 correctly make conditionals
22666 * gst/elements/Makefile.am:
22667 * gst/elements/gstelements.c:
22668 fix typo causing fdsrc not to build
22670 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22672 * testsuite/Makefile.am:
22673 * testsuite/bytestream/.cvsignore:
22674 * testsuite/bytestream/Makefile.am:
22675 * testsuite/bytestream/filepadsink.c:
22676 * testsuite/bytestream/gstbstest.c:
22677 * testsuite/bytestream/test1.c:
22678 * testsuite/bytestream/testfile1:
22679 * testsuite/caps/normalisation.c:
22680 * testsuite/caps/random.c: (main):
22681 * testsuite/cleanup/.cvsignore:
22682 * testsuite/cleanup/Makefile.am:
22683 * testsuite/cleanup/cleanup1.c:
22684 * testsuite/cleanup/cleanup2.c:
22685 * testsuite/cleanup/cleanup3.c:
22686 * testsuite/cleanup/cleanup4.c:
22687 * testsuite/cleanup/cleanup5.c:
22688 * testsuite/controller/interpolator.c:
22689 * testsuite/debug/printf_extension.c: (main):
22690 * testsuite/elements/tee.c:
22691 * testsuite/negotiation/.cvsignore:
22692 * testsuite/negotiation/Makefile.am:
22693 * testsuite/negotiation/pad_link.c:
22694 * testsuite/pad/Makefile.am:
22695 * testsuite/pad/chainnopull.c:
22696 * testsuite/pad/getnopush.c:
22697 * testsuite/pad/link.c:
22698 * testsuite/refcounting/sched.c: (create_pipeline):
22699 * testsuite/registry/Makefile.am:
22700 * testsuite/registry/gst-print-formats.c:
22701 * testsuite/schedulers/.cvsignore:
22702 * testsuite/schedulers/142183-2.c:
22703 * testsuite/schedulers/142183.c:
22704 * testsuite/schedulers/143777-2.c:
22705 * testsuite/schedulers/143777.c:
22706 * testsuite/schedulers/147713.c:
22707 * testsuite/schedulers/147819.c:
22708 * testsuite/schedulers/147894-2.c:
22709 * testsuite/schedulers/147894.c:
22710 * testsuite/schedulers/Makefile.am:
22711 * testsuite/schedulers/group_link.c:
22712 * testsuite/schedulers/queue_link.c:
22713 * testsuite/schedulers/relink.c:
22714 * testsuite/schedulers/unlink.c:
22715 * testsuite/schedulers/unref.c:
22716 * testsuite/schedulers/useless_iteration.c:
22717 * testsuite/states/bin.c:
22718 clean out/remove some stuff from the testsuite directories
22720 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22723 check for some headers
22724 * gst/elements/Makefile.am:
22725 * gst/elements/gstelements.c:
22726 don't compile fdsrc without sys/socket.h
22727 * gst/indexers/Makefile.am:
22728 * gst/indexers/gstindexers.c: (plugin_init):
22729 don't compile fileindex without mmap
22731 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22738 * check/Makefile.am:
22739 * docs/gst/Makefile.am:
22740 * examples/helloworld/Makefile.am:
22742 * gst/base/Makefile.am:
22743 * gst/check/Makefile.am:
22744 * gst/elements/Makefile.am:
22745 * gst/indexers/Makefile.am:
22746 * gst/parse/Makefile.am:
22747 * libs/gst/controller/Makefile.am:
22748 * libs/gst/dataprotocol/Makefile.am:
22749 * examples/helloworld/helloworld.c: (event_loop):
22750 compile fixes, though it's not being compiled currently
22752 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22754 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22755 Add some simple tests for the new taglist date API.
22757 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22759 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22760 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22761 Beautify 'last-message' output: print 'none' for buffer timestamps
22762 and durations if none is set; improve alignment with next messages.
22764 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22766 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22767 * gst/gstpluginfeature.h:
22768 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22769 * gst/gstregistry.h:
22770 * docs/gst/gstreamer-sections.txt:
22771 Add new API to check plugin feature version requirements.
22773 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22774 Some basic tests for the above.
22776 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22778 * gst/gststructure.c: (gst_structure_to_string):
22779 guard against NULL printf - happens when for example
22780 a message structure with GstClock gets serialized
22782 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22784 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22785 Fix presumable copy'n'pasto.
22787 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22789 * gst/elements/gstfakesrc.h:
22790 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22791 * gst/elements/gsttypefindelement.c:
22792 fix some signedness
22793 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22794 I wonder if this could actually write +2GB files before
22796 2005-10-13 Andy Wingo <wingo@pobox.com>
22798 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22799 Fix Timmeke Waymans bug.
22800 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22801 string of the proper length to gst_caps_from_string. There's a
22802 potential for, before this fix, that this could cause someone
22803 connecting over the network to cause a segfault if the payload is
22804 not NUL-terminated.
22806 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22808 * docs/design/draft-push-pull.txt:
22809 * docs/design/part-overview.txt:
22810 * docs/random/TODO-pre-0.9:
22811 * docs/random/old/ChangeLog.gstreamer:
22812 * gst/base/gstpushsrc.c:
22816 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * gst/glib-compat.c: (gst_flags_get_first_value):
22819 * gst/glib-compat.h:
22820 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22821 (gst_value_compare_double), (gst_value_serialize_flags):
22822 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22825 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22827 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22828 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22830 * tools/gst-launch.c: (event_loop):
22831 print out clock nicely
22833 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22835 * docs/gst/gstreamer-sections.txt:
22836 * gst/gsttaglist.h:
22837 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22838 (gst_tag_list_get_date_index):
22839 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22840 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22842 2005-10-13 Julien MOUTTE <julien@moutte.net>
22844 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22845 (gst_collectpads_chain):
22846 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22849 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22851 * docs/gst/gstreamer-sections.txt:
22854 * tools/gst-inspect.c: (main):
22855 * tools/gst-launch.c: (main):
22856 * tools/gst-run.c: (main):
22857 * tools/gst-xmlinspect.c: (main):
22858 fix GOption context leaks
22861 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22865 * win32/common/config.h:
22867 * win32/vs6/grammar.dsp:
22868 * win32/vs6/libgstelements.dsp:
22869 * win32/vs6/libgstreamer.dsp:
22872 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22875 * gst/base/gstbasesrc.c: (gst_base_src_query):
22876 fix more guint64<->gdouble conversions
22878 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22881 add win32-update target
22882 * win32/common/gstconfig.h:
22883 * win32/common/gstenumtypes.c:
22884 * win32/common/gstenumtypes.h:
22885 * win32/common/gstversion.h:
22886 add files that visual studio can't generate
22888 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22891 add a win32-update target
22894 2005-10-12 Wim Taymans <wim@fluendo.com>
22896 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22897 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22898 * gst/gstelement.c: (gst_element_commit_state),
22899 (gst_element_set_state):
22900 Protect flags with proper lock.
22901 unref provided cached clock in dispose.
22903 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22906 * gst/gstminiobject.h:
22908 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22909 removed unused flags from miniobject
22912 2005-10-12 Wim Taymans <wim@fluendo.com>
22914 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22915 (gst_file_sink_event), (gst_file_sink_render):
22916 Flush before seeking.
22918 2005-10-12 Andy Wingo <wingo@pobox.com>
22920 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22921 always been the case.
22923 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22925 * check/gst/gstbin.c: (GST_START_TEST):
22926 * docs/gst/gstreamer-sections.txt:
22927 * gst/base/gstbasesink.c: (gst_base_sink_init):
22928 * gst/base/gstbasesrc.c: (gst_base_src_init),
22929 (gst_base_src_get_range), (gst_base_src_check_get_range),
22930 (gst_base_src_start), (gst_base_src_stop):
22931 * gst/base/gstbasesrc.h:
22932 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22933 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22934 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22938 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22940 * gst/gstelement.c: (gst_element_is_locked_state),
22941 (gst_element_set_locked_state), (gst_element_commit_state),
22942 (gst_element_set_state):
22943 * gst/gstelement.h:
22944 * gst/gstindex.c: (gst_index_init):
22946 * gst/gstminiobject.h:
22947 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22948 (gst_object_set_parent):
22950 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22951 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22953 * gst/gstpadtemplate.h:
22954 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22955 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22956 * gst/gstpipeline.h:
22957 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22958 (gst_file_index_commit):
22959 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22960 * testsuite/pad/link.c: (gst_test_src_init),
22961 (gst_test_filter_init), (gst_test_sink_init):
22962 * testsuite/states/locked.c: (main):
22963 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22964 moved bitshift from macro to enum definition
22966 2005-10-12 Wim Taymans <wim@fluendo.com>
22968 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22969 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22970 (gst_file_sink_render):
22971 Some more debugging info.
22973 2005-10-12 Wim Taymans <wim@fluendo.com>
22975 * docs/design/part-states.txt:
22976 * tools/gst-launch.c: (main):
22978 Revert non-intentional change.
22980 2005-10-12 Wim Taymans <wim@fluendo.com>
22982 * check/gst/gstbin.c: (GST_START_TEST):
22983 * check/gst/gstelement.c: (GST_START_TEST):
22984 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22985 * check/gst/gstghostpad.c: (GST_START_TEST):
22986 * check/gst/gstpipeline.c: (GST_START_TEST):
22987 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22988 * check/states/sinks.c: (GST_START_TEST):
22989 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22990 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22991 (gst_bin_remove_func), (gst_bin_get_state_func),
22992 (gst_bin_recalc_state), (gst_bin_change_state_func),
22994 * gst/gstelement.c: (gst_element_get_state_func),
22995 (gst_element_get_state), (gst_element_abort_state),
22996 (gst_element_commit_state), (gst_element_set_state),
22997 (gst_element_change_state), (gst_element_change_state_func):
22998 * gst/gstelement.h:
22999 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23000 (gst_pipeline_provide_clock_func):
23001 * gst/gstutils.c: (gst_element_link_pads_filtered):
23002 * tools/gst-launch.c: (main):
23003 * tools/gst-typefind.c: (main):
23004 Use GstClockTime in _get_state() instead of GTimeVal.
23005 Remove old code in gstutils.c
23007 2005-10-12 Andy Wingo <wingo@pobox.com>
23009 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23012 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23013 there is no task. Shouldn't affect any code, as nothing in our
23014 plugins checks this return value.
23015 (gst_pad_stop_task): Also take the stream lock if the pad has no
23016 task. Docs updated.
23018 2005-10-12 Wim Taymans <wim@fluendo.com>
23020 * gst/gstpad.c: (pre_activate), (post_activate),
23021 (gst_pad_activate_pull), (gst_pad_activate_push):
23022 Cleanup activation code. Reset old state if
23025 2005-10-12 Wim Taymans <wim@fluendo.com>
23027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23028 (gst_base_sink_change_state):
23029 No need to prerol after receiving EOS.
23031 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23032 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23033 * gst/elements/gstidentity.c: (gst_identity_event):
23034 Print events more verbosely.
23036 2005-10-12 Wim Taymans <wim@fluendo.com>
23038 * check/Makefile.am:
23039 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23040 * check/states/sinks2.c:
23041 Moved sinks2 testcode in sinks check.
23043 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23044 (gst_bin_remove_func), (gst_bin_recalc_state),
23045 (gst_bin_change_state_func), (bin_bus_handler):
23046 Fix potential race condition when _get_state() iterated over an
23047 ASYNC element right before it posted a state completion.
23050 Do proper cast here.
23052 * gst/gstevent.c: (gst_event_new_newsegment),
23053 (gst_event_parse_newsegment):
23054 A playback rate of 0.0 is not allowed.
23056 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23058 * win32/common/config.h:
23059 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23060 (_trewinddir), (_ttelldir), (_tseekdir):
23061 * win32/common/dirent.h:
23062 * win32/common/gtchar.h:
23063 * win32/common/libgstbase.def:
23064 * win32/common/libgstreamer.def:
23065 * win32/vs6/grammar.dsp:
23066 * win32/vs6/gst_inspect.dsp:
23067 * win32/vs6/gst_launch.dsp:
23068 * win32/vs6/gstreamer.dsw:
23069 * win32/vs6/libgstbase.dsp:
23070 * win32/vs6/libgstelements.dsp:
23071 * win32/vs6/libgstreamer.dsp:
23072 Visual Studio 6 project files, and a new common directory.
23075 2005-10-11 Wim Taymans <wim@fluendo.com>
23077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23078 (gst_base_sink_do_sync), (gst_base_sink_query),
23079 (gst_base_sink_change_state):
23080 * gst/base/gstbasesink.h:
23081 Correctly parse newsegment info.
23083 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23085 * gst/gst.c: (init_post):
23086 split plugin paths correctly
23088 2005-10-11 Wim Taymans <wim@fluendo.com>
23090 * check/gst/gstevent.c: (GST_START_TEST):
23091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23092 (gst_base_sink_change_state):
23093 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23094 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23095 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23096 * gst/gstevent.c: (gst_event_new_newsegment),
23097 (gst_event_parse_newsegment):
23099 Added extra flag to newsegment for future API freeze.
23100 Updated check and base elements.
23102 2005-10-11 Julien MOUTTE <julien@moutte.net>
23104 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23105 (gst_collectpads_add_pad), (gst_collectpads_pop),
23106 (gst_collectpads_event), (gst_collectpads_chain):
23107 * gst/base/gstcollectpads.h: Handle EOS correctly.
23109 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23111 * tools/gst-launch.c: (main):
23112 more null protecting
23114 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23116 * gst/gst-i18n-lib.h:
23117 check for ENABLE_NLS, not GETTEXT_PACKAGE
23118 * gst/gstregistry.c: (gst_registry_add_plugin),
23119 (gst_registry_scan_path_level),
23120 (_gst_registry_remove_cache_plugins):
23121 protect possibly NULL strings
23122 * gst/parse/types.h:
23123 config.h already included before
23124 * tools/gst-inspect.c: (main):
23125 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23126 check for ENABLE_NLS, not GETTEXT_PACKAGE
23127 * tools/gst-launch.c: (main):
23128 check for ENABLE_NLS, not GETTEXT_PACKAGE
23130 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23133 if we don't have glib, fail before testing 2.8
23134 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23135 fix a leak, should fix plugins-base testsuite
23137 2005-10-11 Andy Wingo <wingo@pobox.com>
23139 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23140 take the mode we're going to as an arg. Go head and set the mode
23141 and flushing flags now, so that if the activate function starts a
23142 thread all the flags will be in the right state.
23143 (post_activate): Renamed also. Just handle making sure streaming
23144 finishes for the deactivation case, and setting the deactivated
23146 (gst_pad_set_active): Complain loudly if deactivation fails.
23147 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23148 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23149 remove the terrible hack.
23151 2005-10-11 Wim Taymans <wim@fluendo.com>
23153 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23154 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23155 (gst_bin_recalc_state), (gst_bin_change_state_func),
23156 (gst_bin_dispose), (bin_bus_handler):
23158 Prepare to make current EOS message queue more generic.
23161 * gst/gstevent.c: (gst_event_new_newsegment),
23162 (gst_event_parse_newsegment):
23164 Rename base to stream_time.
23166 * gst/gstmessage.h:
23169 2005-10-11 Wim Taymans <wim@fluendo.com>
23171 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23172 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23173 (gst_bin_change_state_func), (bin_bus_handler):
23175 Work on proper clock selection.
23177 2005-10-11 Edward Hervey <edward@fluendo.com>
23179 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23180 * libs/gst/controller/gstcontroller.h:
23181 Added GList* version of _remove_properties() in order to be able to wrap
23184 2005-10-11 Wim Taymans <wim@fluendo.com>
23186 * docs/design/part-states.txt:
23189 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23190 (gst_bin_change_state_func), (bin_bus_handler):
23191 Doc updates. Don't distribute the same clock over and over again.
23197 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23198 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23199 (gst_pad_send_event):
23201 Make probe emission threadsafe again.
23202 Register quarks and move _get_name() from utils.
23205 * gst/gstpipeline.c: (gst_pipeline_class_init),
23206 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23207 Only redistribute the clock of it changed.
23209 * gst/gstsystemclock.h:
23214 Moved the _flow_get_name() to GstPad.
23216 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23218 * check/gst-libs/gdp.c: (GST_START_TEST):
23219 * check/gst/gstcaps.c: (GST_START_TEST):
23220 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23221 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23222 (gst_dp_packet_from_caps):
23223 fix more valgrind warnings before turning up the heat
23225 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23227 * gst/parse/grammar.y:
23228 some cleanup before the hacking
23230 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23232 * gst/base/gstbasesrc.c: (gst_base_src_query):
23234 * gst/gstutils.c: (gst_guint64_to_gdouble),
23235 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23237 externalize, basesrc uses it
23238 obviously the implementation needs testing
23240 2005-10-10 Wim Taymans <wim@fluendo.com>
23242 * tests/sched/Makefile.am:
23243 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23244 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23246 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23248 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23249 apparently converting from guint64 to double is not implemented
23252 2005-10-10 Wim Taymans <wim@fluendo.com>
23254 * check/Makefile.am:
23255 * check/generic/states.c: (GST_START_TEST):
23256 * check/gst/gstbin.c: (GST_START_TEST):
23257 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23258 * check/states/sinks.c: (GST_START_TEST):
23259 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23261 Check fixes, use API as stated in design docs, remove hacks.
23263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23264 (gst_base_sink_change_state):
23265 Catch stopping our task while we're shutting down.
23267 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23268 (gst_bin_remove_func), (gst_bin_get_state_func),
23269 (gst_bin_recalc_state), (gst_bin_change_state_func),
23272 * gst/gstelement.c: (gst_element_init),
23273 (gst_element_get_state_func), (gst_element_abort_state),
23274 (gst_element_commit_state), (gst_element_lost_state),
23275 (gst_element_set_state), (gst_element_change_state),
23276 (gst_element_change_state_func):
23277 * gst/gstelement.h:
23278 New state change algorithm (see #318116)
23280 * gst/gstpipeline.c: (gst_pipeline_class_init),
23281 (gst_pipeline_init), (gst_pipeline_set_property),
23282 (gst_pipeline_get_property), (do_pipeline_seek),
23283 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23284 * gst/gstpipeline.h:
23285 Remove crude state change hacks.
23288 Remove crude hacks.
23290 * tools/gst-launch.c: (main):
23291 Fixes for state change. Needs some more work to fully use the
23294 2005-10-10 Andy Wingo <wingo@pobox.com>
23296 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23298 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23299 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23302 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23304 * gst/gstiterator.c: (gst_iterator_new):
23305 Fix my previous commit: GTypes passed to gst_iterator_new()
23306 can be fundamental types.
23308 2005-10-10 Wim Taymans <wim@fluendo.com>
23310 * gst/gstelement.c: (gst_element_iterate_pad_list),
23311 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23312 (gst_element_iterate_sink_pads):
23313 Use src/sink pads lists for the respective iterators instead
23316 2005-10-10 Andy Wingo <wingo@pobox.com>
23318 Merged in popt removal + GOption addition patch from Ronald, bug
23321 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23322 GstElement macros around, remove popt-related symbols, add goption
23325 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23327 * docs/gst/Makefile.am:
23328 * docs/libs/Makefile.am: No POPT_CFLAGS.
23330 * examples/manual/Makefile.am:
23331 * docs/manual/basics-init.xml: Doc updates with an example.
23333 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23334 (gst_init), (parse_one_option), (parse_goption_arg):
23335 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23336 bit of hand merging and debugging to get the GOption stuff working
23339 * tests/Makefile.am:
23340 * tools/Makefile.am:
23341 * tools/gst-inspect.c: (main):
23342 * tools/gst-launch.c: (main):
23343 * tools/gst-run.c: (main):
23344 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23346 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23348 * gst/gstiterator.c: (gst_iterator_new):
23349 Add assertions to make sure passed GType is likely to really
23350 be a GType (as the compiler won't catch it if the size and
23351 GType arguments get mixed up, see #318447).
23353 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23355 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23357 * gst/gstbin.c: (gst_bin_iterate_sorted):
23358 Pass GType and size arguments to gst_iterator_new() in the right
23359 order (maybe we should make _new() take the GType as first argument
23360 just like _new_list()?) (#318447).
23363 2005-10-10 Wim Taymans <wim@fluendo.com>
23365 * gst/gstelement.c: (gst_element_finalize):
23366 And free the GStaticRecMutex too
23368 2005-10-10 Andy Wingo <wingo@pobox.com>
23370 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23371 Allocate and free the mutex properly.
23373 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23375 (GstElement): The state_lock is now recursive. Rebuild your
23376 plugins, suckers. Old macros adapted.
23378 * docs/gst/gstreamer-sections.txt: Doc updates.
23381 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23382 (g_static_rec_cond_wait): Ported from state changes patch, while
23383 we wait on bug #317802 to be solved in a well-distributed GLib.
23385 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23386 gst_element_change_state, variable name changes.
23387 (gst_element_change_state): Split out of gst_element_set_state in
23388 preparation for the state change merge. Doesn't pay attention to
23389 the 'transition' argument.
23390 (gst_element_set_state): Updates, hopefully purely cosmetic.
23391 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23392 state change patch.
23393 (gst_element_get_state_func): Renamed from get_state, cosmetic
23396 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23398 * gst/elements/gstelements.c:
23399 * win32/GStreamer.vcproj:
23401 * win32/dirent.c: (_tseekdir):
23402 * win32/gst-inspect.vcproj:
23403 * win32/gst-launch.vcproj:
23404 * win32/gstconfig.h:
23405 * win32/gstelements.vcproj:
23406 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23407 * win32/gstreamer.def:
23408 * win32/msvc71.sln:
23409 updates for the win32 build (patch from Sebastien Moutte)
23411 2005-10-10 Andy Wingo <wingo@pobox.com>
23413 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23414 gst_bin_get_state, cleaned up (but no logic changes).
23415 (bin_element_is_sink): Comment updates.
23416 (sink_iterator_filter): Remove needless cast.
23417 (gst_bin_iterate_sinks): Doc update.
23418 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23419 cleaned up (but no logic changes).
23421 * check/states/sinks.c (test_src_sink): Cleanups from the state
23423 (test_livesrc_sink): Sync on the state.
23425 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23426 the state change patch.
23428 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23431 * check/gst/gstbin.c: Merge in some style fixes and additional
23432 checks from Wim's state change patch.
23434 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23436 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23437 (gst_type_find_helper):
23438 Check whether we have the requested data already in our list of
23439 cached buffers before pulling a new buffer; also make the buffer
23440 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23442 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23447 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23448 don't use long long, it's not portable. Replacing with
23449 gint64 seems to work; let's hope no skeletons fall out of the closet.
23451 2005-10-10 Andy Wingo <wingo@pobox.com>
23453 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23455 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23457 * docs/gst/gstreamer-sections.txt:
23462 * gst/gstmessage.c: (gst_message_parse_state_changed):
23465 more docs, fix compilation
23467 2005-10-09 Philippe Khalaf <burger@speedy.org>
23468 * gst/gstmessage.c:
23469 Fixed a few forgotten variables on previous commit
23471 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23473 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23474 Fix evil typefind crasher: getrange() might return a short
23475 buffer at the end of a file, but gst_type_find_peek() must
23476 either return the full data as requested or NULL, but
23477 never a short buffer.
23479 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23481 * gst/gstmessage.c: (gst_message_new_state_changed),
23482 (gst_message_parse_state_changed):
23483 * gst/gstmessage.h:
23484 don't use "new", it's a C++ keyword
23486 2005-10-08 Wim Taymans <wim@fluendo.com>
23488 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23489 * gst/gstelement.c: (gst_element_post_message):
23490 * gst/gstpipeline.c: (gst_pipeline_change_state):
23491 Small docs and debug updates.
23493 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23495 * docs/gst/gstreamer-sections.txt:
23496 * gst/gstelementfactory.c:
23498 * gst/gsttaglist.c:
23501 2005-10-08 Wim Taymans <wim@fluendo.com>
23503 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23504 (gst_bin_dispose), (bin_bus_handler):
23505 Fix typos, add comments.
23506 Clear EOS list when going to PAUSED from any direction and do it
23507 in a threadsafe way.
23508 Get base time in a threadsafe way too.
23509 Fix confusing debug in the change_state function.
23510 Various other small cleanups.
23512 * gst/gstelement.c: (gst_element_post_message):
23513 Fix very verbose bus posting code.
23515 * gst/gstpipeline.c: (gst_pipeline_class_init),
23516 (gst_pipeline_set_property), (gst_pipeline_get_property),
23517 (gst_pipeline_change_state):
23518 Small ARG_ -> PROP_ cleanup
23520 2005-10-08 Wim Taymans <wim@fluendo.com>
23522 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23523 Do a less CPU demanding EOS check because we can.
23525 2005-10-08 Wim Taymans <wim@fluendo.com>
23527 * libs/gst/dataprotocol/dataprotocol.c:
23528 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23529 (gst_dp_packet_from_event):
23530 * libs/gst/dataprotocol/dataprotocol.h:
23531 * libs/gst/dataprotocol/dp-private.h:
23532 It's about time we bump the version number.
23533 Since event types don't fit in the guint8 anymore describing
23534 the payload type, make payload type 16 bits wide.
23536 2005-10-08 Wim Taymans <wim@fluendo.com>
23538 * docs/design/part-TODO.txt:
23539 * docs/design/part-clocks.txt:
23540 * docs/design/part-events.txt:
23541 * docs/design/part-gstbin.txt:
23542 * docs/design/part-gstelement.txt:
23543 * docs/design/part-gstpipeline.txt:
23544 * docs/design/part-live-source.txt:
23545 * docs/design/part-messages.txt:
23546 * docs/design/part-overview.txt:
23547 * docs/design/part-states.txt:
23550 2005-10-08 Wim Taymans <wim@fluendo.com>
23554 Fix event quark registration.
23555 Add some space between events so we can insert them in the
23558 2005-10-08 Wim Taymans <wim@fluendo.com>
23560 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23561 (gst_base_sink_handle_buffer):
23562 Better log message.
23565 * gst/gstelement.h:
23568 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23569 (gst_queue_set_property), (gst_queue_get_property):
23571 Remove old unused properties.
23573 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23574 * docs/gst/gstreamer-sections.txt:
23575 * gst/gstmessage.c:
23576 * gst/gstmessage.h:
23577 * gst/gstminiobject.c:
23578 * gst/gstminiobject.h:
23582 lots of new docs and doc fixes
23584 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23586 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23588 * gst/gstregistry.c: (gst_registry_lookup_locked),
23589 (gst_registry_scan_path_level):
23590 * gst/gstregistryxml.c: (load_plugin):
23591 Only ever load one plugin for a given plugin basename.
23592 This ensures correct overriding of GST_PLUGIN_PATH over
23593 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23594 system installed plugins.
23596 2005-10-08 Wim Taymans <wim@fluendo.com>
23598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23599 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23600 Prepare for doing QOS.
23602 2005-10-08 Wim Taymans <wim@fluendo.com>
23604 * check/gst/gstbin.c: (GST_START_TEST):
23605 * check/pipelines/cleanup.c: (GST_START_TEST):
23606 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23607 Allow new clock message too.
23609 2005-10-08 Wim Taymans <wim@fluendo.com>
23611 * gst/gstmessage.c: (gst_message_new_error),
23612 (gst_message_new_warning), (gst_message_new_tag),
23613 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23614 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23615 (gst_message_new_segment_start), (gst_message_new_segment_done),
23616 (gst_message_parse_state_changed),
23617 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23618 (gst_message_parse_new_clock):
23619 * gst/gstmessage.h:
23620 Also carry the clock in question.
23622 2005-10-08 Wim Taymans <wim@fluendo.com>
23624 * gst/gstmessage.c: (gst_message_new_custom),
23625 (gst_message_new_eos), (gst_message_new_error),
23626 (gst_message_new_warning), (gst_message_new_tag),
23627 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23628 (gst_message_new_new_clock), (gst_message_new_segment_start),
23629 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23630 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23631 * gst/gstmessage.h:
23633 Added clock related messages.
23635 * gst/gstpipeline.c: (gst_pipeline_change_state):
23636 Post message when the clock changed.
23638 * tools/gst-launch.c: (event_loop):
23641 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23643 * tools/gst-inspect.c: (print_element_properties_info):
23644 Can't pass NULL strings to g_print() on windows.
23646 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23648 * docs/Makefile.am:
23649 * docs/gst/Makefile.am:
23650 * docs/gst/gstreamer-docs.sgml:
23651 * docs/gst/running.xml:
23652 * docs/version.entities.in:
23653 add a chapter on running GStreamer.
23654 document GST_DEBUG and GST_PLUGIN* env vars
23656 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23661 remove PLUGINS_BUILDDIR stuff
23662 * gst/gst.c: (init_post):
23663 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23665 remove, it was condescending and not needed
23667 2005-10-08 Wim Taymans <wim@fluendo.com>
23669 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23670 (gst_base_sink_handle_object), (gst_base_sink_event),
23671 (gst_base_sink_wait), (gst_base_sink_handle_event),
23672 (gst_base_sink_change_state):
23673 * gst/base/gstbasesink.h:
23674 Repost EOS message while going to PLAYING if still EOS.
23675 Make sure that when receiving a FLUSH_START we don't attempt
23676 to sync on the clock anymore.
23678 2005-10-08 Wim Taymans <wim@fluendo.com>
23680 * tools/gst-launch.c: (event_loop):
23681 Better message printout.
23683 2005-10-08 Wim Taymans <wim@fluendo.com>
23685 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23686 (gst_bin_child_proxy_get_children_count):
23687 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23688 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23689 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23690 (gst_child_proxy_set_valist):
23691 * gst/parse/grammar.y:
23692 Make ChildProxy threadsafe and fix mem leaks.
23694 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23696 * gst/gst.c: (init_post):
23697 debug the GST_PLUGIN_ env vars
23699 2005-10-08 Wim Taymans <wim@fluendo.com>
23701 * check/gst/gstbin.c: (GST_START_TEST):
23702 * check/gst/gstmessage.c: (GST_START_TEST):
23703 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23704 * gst/gstelement.c: (gst_element_commit_state),
23705 (gst_element_lost_state):
23706 * gst/gstmessage.c: (gst_message_new_state_changed),
23707 (gst_message_parse_state_changed):
23708 * gst/gstmessage.h:
23709 * tools/gst-launch.c: (event_loop):
23710 Added extra field to STATE_CHANGE message with the pending
23711 state, which will be different from the new state soon.
23713 2005-10-08 Wim Taymans <wim@fluendo.com>
23715 * gst/gstbus.c: (gst_bus_pop):
23717 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23718 Small cleanups and doc updates.
23720 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23722 * gst/gst.c: (init_pre):
23723 * gst/gstbin.c: (gst_bin_add_func):
23724 log distributing clocks and base time
23725 * gst/gstregistry.c: (gst_registry_add_plugin),
23726 (gst_registry_scan_path_level), (gst_registry_scan_path):
23727 clean up the debugging output a little
23728 * gst/gstutils.c: (gst_element_state_get_name):
23729 warn about a memleak (I've actually seen this be used, though
23730 it was probably a bug)
23732 2005-10-07 Wim Taymans <wim@fluendo.com>
23734 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23735 (gst_base_src_init), (gst_base_src_default_newsegment),
23736 (gst_base_src_newsegment), (gst_base_src_do_seek),
23737 (gst_base_src_loop), (gst_base_src_start):
23738 * gst/base/gstbasesrc.h:
23739 Make the newsegment event customizable by subclasses.
23741 2005-10-07 Wim Taymans <wim@fluendo.com>
23743 * gst/gstevent.c: (gst_event_new_buffersize),
23744 (gst_event_parse_buffersize):
23746 New event for future idea.
23748 2005-10-07 Andy Wingo <wingo@pobox.com>
23750 * gst/gstelement.c (gst_element_post_message): Doc update.
23752 * docs/gst/gstreamer-sections.txt: Update.
23754 * gst/gstmessage.c (gst_message_new_application): Made into a
23755 function like honest API calls.
23756 (gst_message_new_element): New message type.
23758 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23760 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23761 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23764 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23765 NO_PREROLL from gst_element_change_state to fall through.
23767 2005-10-07 Wim Taymans <wim@fluendo.com>
23769 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23770 (gst_ghost_pad_do_activate_push):
23771 Activating a ghostpad with no internal pad in push mode
23774 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23777 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23778 Fixes compilation on Windows.
23780 2005-10-07 Michael Smith <msmith@fluendo.com>
23782 * tools/gst-inspect.c:
23783 Print out feature and plugin count at the end when printing out
23786 2005-10-04 Michael Smith <msmith@fluendo.com>
23788 * gst/gsterror.c: (_gst_stream_errors_init):
23789 Add another error string used in a few existing plugins.
23792 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23793 * tools/gst-inspect.c: (print_element_info):
23794 When a feature disappears from a plugin (and the feature exists in
23795 the cached registry file), things went horribly wrong. This isn't a
23796 complete fix, we should actually be removing the 'missing' features
23797 from the features list when we load the actual plugin. That's not
23800 2005-10-04 Johan Dahlin <johan@gnome.org>
23802 * check/gst/gstiterator.c: (GST_START_TEST):
23803 * gst/gstbin.c: (gst_bin_iterate_elements),
23804 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23805 * gst/gstelement.c: (gst_element_iterate_pads):
23806 * gst/gstformat.c: (gst_format_iterate_definitions):
23807 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23808 (gst_iterator_new_list), (gst_iterator_filter):
23809 * gst/gstiterator.h:
23810 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23811 Add a GType to GstIterator, update callsites and tests.
23813 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23815 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23816 give events a chance to be handled by event probes when the pad
23819 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23821 * gst/gstevent.c: (gst_event_type_get_name),
23822 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23824 add string representations for event types
23826 2005-10-06 Wim Taymans <wim@fluendo.com>
23828 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23829 Don't use NULL pointers.
23831 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23833 * gst/gst_private.h:
23835 * gst/gstelement.c:
23837 * gst/gstpluginfeature.c:
23838 widen the debug category in output to fit the biggest one we have
23839 add a bus category and use it
23840 play with the colors
23841 fix up some categories
23843 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23845 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23846 add push activation of sink ghost pads.
23847 Andye, please verify
23849 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23851 * gst/gstutils.c: (gst_element_link_pads):
23852 fix a bug in the case where neither element has a pad
23853 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23854 add a test for that case
23856 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23858 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23859 emit have-data before checking for peers. This allows
23860 for probe handlers to connect elements. This helps autopluggers.
23861 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23863 add six checks, linked/unlinked with no/true/false probe
23865 2005-10-04 Wim Taymans <wim@fluendo.com>
23867 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23868 (gst_fake_sink_event), (gst_fake_sink_preroll),
23869 (gst_fake_sink_render), (gst_fake_sink_change_state):
23870 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23871 (gst_fake_src_get_property), (gst_fake_src_create),
23872 (gst_fake_src_stop):
23873 * gst/elements/gstidentity.c: (gst_identity_stop):
23874 Protect last_message with lock.
23876 2005-10-04 Edward Hervey <edward@fluendo.com>
23879 Added precision in the comments for GST_FORMAT_DEFAULT
23881 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23883 * tools/gst-launch.c: (main):
23884 Don't try to run erroneous pipelines.
23886 2005-10-04 Julien MOUTTE <julien@moutte.net>
23888 * gst/gstbus.c: We don't need this header.
23890 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23893 back to development
23895 === release 0.9.3 ===
23897 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23901 Releasing 0.9.3, "Unregistered"
23903 2005-10-03 Andy Wingo <wingo@pobox.com>
23905 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23906 whereby calling a pad's activatepush() function can start a thread
23907 that starts to push or pull before the pad gets the FLUSHING flag
23908 unset. Hack around it by holding the stream lock until the flag is
23909 set. Need to replace this with a proper solution. Together with
23910 the ghost pad fixes, this fixes mp3 playing/tagreading.
23912 * docs/design/part-gstghostpad.txt: Add a note about activation of
23913 proxy pads outside of ghost pads.
23915 * gst/gstghostpad.c: Implement the ghost pad activation design.
23917 2005-10-02 Andy Wingo <wingo@pobox.com>
23919 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23920 It is volatile, after all.
23922 * docs/design/part-gstghostpad.txt: Flesh out activation with
23925 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23928 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23931 Fix (unused) AM_CONDITIONAL tests.
23933 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23935 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23937 * gst/gstutils.c: (gst_pad_query_convert):
23938 Add assertion that makes sure src_val is >=0, just like
23939 gst_query_new_convert() has. (#315895)
23941 2005-09-30 Edward Hervey <edward@fluendo.com>
23943 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23944 Let's not iterate pads we're not interested in, it avoids getting
23945 sky-high refcounts on sinkpad.
23947 2005-09-30 Wim Taymans <wim@fluendo.com>
23949 * gst/gstelement.c: (gst_element_set_state),
23950 (gst_element_change_state):
23951 Small tweak, element in ASYNC remains ASYNC.
23953 2005-09-30 Wim Taymans <wim@fluendo.com>
23955 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23956 Only error is an error.
23958 * gst/gstbin.c: (gst_bin_change_state):
23961 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23962 Also call pad_block in pad alloc.
23964 * gst/gstutils.c: (gst_flow_get_name):
23967 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23969 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23970 (gst_base_src_get_range):
23971 Fix documentation typos. Add some more debug info.
23973 2005-09-29 David Schleef <ds@schleef.org>
23975 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23976 more end-user friendly.
23977 * tools/gst-inspect.c: (main): Check if command-line argument is
23978 a file and attempt to load that file as a plugin.
23980 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23982 * check/gst/gstbin.c:
23983 * check/states/sinks.c:
23984 fix tests for the new warning
23985 * check/gst/gstpipeline.c:
23986 add a test for pipeline and bus interaction
23987 * gst/gstelement.c:
23988 elements should be NULL if they get disposed; add a warning if not
23990 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23993 for 2.6 refcounting, make debug log more correct by printing
23994 the actual refcounts at the time of swap (Wim)
23996 2005-09-29 Andy Wingo <wingo@pobox.com>
23998 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23999 removes signal watches previously added via
24000 gst_bus_add_signal_watch.
24001 (gst_bus_add_signal_watch): Don't return the source id, just store
24002 it on the bus if there wasn't an id already.
24004 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24005 add_signal_watch and remove_signal_watch.
24007 2005-09-29 Edward Hervey <edward@fluendo.com>
24009 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24010 Better if we actually iterate the list :)
24012 2005-09-29 Wim Taymans <wim@fluendo.com>
24014 * check/gst/gstbin.c: (GST_START_TEST):
24015 Change for new bus API.
24017 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24018 (send_messages), (GST_START_TEST), (gstbus_suite):
24019 Change for new bus signal API.
24021 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24022 (gst_bus_source_prepare), (gst_bus_source_check),
24023 (gst_bus_create_watch), (gst_bus_add_watch_full),
24024 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24025 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24027 Remove support for multiple GSources operating on different
24028 message types as it is too complex and unneeded when using
24030 Added support for receiving signals from the bus.
24032 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24034 * docs/libs/tmpl/gstdataprotocol.sgml:
24035 * docs/manual/advanced-dataaccess.xml:
24036 * gst/elements/gstcapsfilter.c:
24038 rename filter-caps to caps property
24040 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24042 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24043 More robust fraction string parsing.
24045 * docs/pwg/appendix-porting.xml:
24046 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24048 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24050 * gst/gstcaps.c: (gst_caps_do_simplify):
24051 Thou shalt not free a structure and then continue using it
24052 in the next loop iteration.
24054 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24056 Add test case for caps simplification.
24058 2005-09-29 Wim Taymans <wim@fluendo.com>
24060 * check/gst/gstbin.c: (GST_START_TEST):
24063 2005-09-29 Wim Taymans <wim@fluendo.com>
24065 * check/gst/gstbin.c: (GST_START_TEST):
24068 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24069 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24070 (find_element), (gst_bin_sort_iterator_next),
24071 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24072 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24073 (gst_bin_change_state), (gst_bin_dispose):
24074 A bin does not have a bus, it gets the bus from the parent.
24076 * gst/gstelement.c: (gst_element_requires_clock),
24077 (gst_element_provides_clock), (gst_element_is_indexable),
24078 (gst_element_is_locked_state), (gst_element_change_state),
24079 (gst_element_set_bus_func):
24082 * gst/gstpipeline.c: (gst_pipeline_class_init),
24083 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24084 The pipeline provides a bus.
24086 2005-09-28 Johan Dahlin <johan@gnome.org>
24088 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24089 gst_structure_get_enum instead of gst_structure_get_int
24091 * gst/gststructure.c (gst_structure_get_enum): Impl.
24093 * gst/gststructure.h (gst_structure_get_enum): Add
24095 * docs/gst/gstreamer-sections.txt: Ditto
24097 * gst/gstmessage.c (gst_message_new_state_changed): Use
24098 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24099 which does introspection.
24100 Reviewed by Christian Schaller
24102 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24104 * gst/gstinfo.c: (gst_debug_log_default):
24105 don't do dummy g_strdup()s
24106 * libs/gst/controller/gstcontroller.c:
24107 (on_object_controlled_property_changed),
24108 (gst_controlled_property_new), (gst_controller_new_valist),
24109 (gst_controller_new_list),
24110 (gst_controller_remove_properties_valist), (gst_controller_set),
24111 (gst_controller_get), (gst_controller_sync_values),
24112 (gst_controller_get_value_array), (_gst_controller_class_init),
24113 (gst_controller_get_type):
24114 * libs/gst/controller/gstcontroller.h:
24115 * libs/gst/controller/gstinterpolation.c:
24116 (gst_controlled_property_find_timed_value_node):
24117 convert // to /**/ comments
24119 2005-09-28 Wim Taymans <wim@fluendo.com>
24121 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24122 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24123 (gst_bus_sync_signal_handler):
24125 Added async-message and sync-message signals to the bus.
24126 Added helper BusFunc to emit signals for all posted messages.
24128 * gst/gstmessage.c: (gst_message_type_get_name),
24129 (gst_message_type_to_quark), (gst_message_get_type):
24130 * gst/gstmessage.h:
24131 Register quarks for message names.
24133 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24135 * docs/libs/gstreamer-libs-sections.txt:
24136 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24137 (gst_controller_new_list):
24138 * libs/gst/controller/gstcontroller.h:
24139 added another constructor for language bindings
24141 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24143 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24147 * gst/gstinfo.c: (_gst_debug_init):
24148 slightly more readable color for refcount debugging
24150 2005-09-28 Wim Taymans <wim@fluendo.com>
24152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24153 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24154 (find_element), (gst_bin_sort_iterator_next),
24155 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24156 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24157 (gst_bin_change_state), (gst_bin_dispose):
24158 Small doc fixes. get_clock -> provide_clock.
24160 * gst/gstelement.c: (gst_element_class_init),
24161 (gst_element_provides_clock), (gst_element_provide_clock),
24162 (gst_element_get_clock), (gst_element_commit_state),
24163 (gst_element_lost_state):
24164 * gst/gstelement.h:
24165 Make get/set_clock() symetric. Add provide_clock vmethod since
24166 that is actually what this function does.
24168 * gst/gstpipeline.c: (gst_pipeline_class_init),
24169 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24170 (gst_pipeline_get_clock):
24171 get_clock -> provide_clock.
24173 2005-09-28 Andy Wingo <wingo@pobox.com>
24175 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24176 lieu of real docs...
24178 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24180 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24182 * gst/elements/gstcapsfilter.c:
24183 * gst/elements/gstfakesink.c:
24184 * gst/elements/gstfakesrc.c:
24185 * gst/elements/gstfdsink.c:
24186 * gst/elements/gstfdsrc.c:
24187 * gst/elements/gstfilesink.c:
24188 * gst/elements/gstfilesrc.c:
24189 * gst/elements/gstidentity.c:
24190 * gst/elements/gsttee.c:
24191 * gst/elements/gsttypefindelement.c:
24192 Make element details static.
24194 2005-09-28 Wim Taymans <wim@fluendo.com>
24196 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24197 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24198 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24199 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24200 (gst_bin_change_state), (gst_bin_dispose):
24201 Some documentation updates.
24202 Clean up dispose handlers.
24204 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24205 * gst/gstpad.c: (gst_pad_dispose):
24206 Clean up dispose handler.
24208 * gst/gstpipeline.c: (gst_pipeline_change_state):
24209 Removed spurious UNLOCK.
24211 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24213 * docs/gst/gstreamer-sections.txt:
24214 * gst/base/gstbasesrc.h:
24215 * gst/gstelement.h:
24219 * gst/gstpipeline.c:
24220 * gst/gstpipeline.h:
24223 added two new functions to the docs
24224 documents all undocumented GstXXXFlags
24225 completed some incomplete docs
24227 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24229 * gst/gstbin.c: (gst_bin_dispose):
24230 * gst/gstelement.c: (gst_element_dispose):
24231 remove now useless and leaky resurrection code in dispose
24232 * gst/base/gstbasesrc.c: (gst_base_src_init):
24233 * gst/gstelementfactory.c: (gst_element_factory_create):
24234 * gst/gstobject.c: (gst_object_set_parent):
24237 2005-09-27 Wim Taymans <wim@fluendo.com>
24239 * docs/design/part-TODO.txt:
24242 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24243 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24244 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24245 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24246 (gst_bin_change_state):
24247 * gst/gstelement.h:
24248 Remove element variable, we keep element info in the iterator now.
24250 2005-09-27 Andy Wingo <wingo@pobox.com>
24252 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24255 2005-09-27 Wim Taymans <wim@fluendo.com>
24257 * check/gst/gstbin.c: (GST_START_TEST):
24258 Enable check that works now.
24260 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24261 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24262 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24263 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24264 (gst_bin_change_state):
24266 Redid the state change algorithm using a topological sort algo.
24267 Handles all cases correctly.
24268 Exposed iterator for state change order.
24270 * gst/gstelement.h:
24271 Temp storage for state changes. Need to get rid of this soon.
24273 2005-09-27 Wim Taymans <wim@fluendo.com>
24275 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24276 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24277 (link_fold_func), (gst_pad_proxy_setcaps):
24278 Leak fixes, the fold functions need to unref the passed object and
24279 _get_parent_*() returns ref to parent.
24281 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24283 * check/gst/gstbuffer.c: (test_make_writable):
24284 Plug leak in test case and fix 'make check-valgrind'
24286 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24288 * gst/gstbuffer.c: (gst_subbuffer_init):
24289 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24290 works correctly in all circumstances (we could have just copied
24291 the parent buffer's readonly flag, but conceptually it seems
24292 cleaner to mark all subbuffers as read-only). (based on patch
24293 by Alessandro Decina, #314710).
24295 * check/gst/gstbuffer.c: (create_read_only_buffer),
24296 (test_make_writable), (test_subbuffer_make_writable),
24298 Add some tests for gst_buffer_make_writable().
24300 2005-09-27 Wim Taymans <wim@fluendo.com>
24302 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24303 use gst_object_has_ancestor().
24305 * gst/gstobject.c: (gst_object_has_ancestor):
24307 gst_object_has_ancestor() copied from gstbin.c as it is a
24310 * tests/instantiate/create.c: (create_all_elements):
24311 * tests/lat.c: (handoff_src), (handoff_sink):
24312 * tests/sched/runxml.c: (main):
24313 * tests/seeking/seeking1.c: (main):
24314 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24316 Fix compilation of some tests.
24318 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24321 Remove comment. GST_TYPE_G_ERROR is here to stay,
24322 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24323 (#316961, #300610).
24325 2005-09-26 Wim Taymans <wim@fluendo.com>
24327 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24328 Added check that shows error in state change order.
24330 2005-09-26 Wim Taymans <wim@fluendo.com>
24332 * gst/gstbin.c: (gst_bin_change_state):
24333 Make state change function use 3 queues again, we were
24334 adding elements in the wrong order.
24336 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24339 * gst/gstpad.c: (gst_pad_dispose):
24340 Added some debug info first.
24342 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24344 * docs/design/draft-push-pull.txt:
24345 * docs/design/part-events.txt:
24346 * docs/design/part-overview.txt:
24347 * docs/design/part-scheduling.txt:
24348 Replace all _pull_region() with _pull_range()
24350 2005-09-26 Andy Wingo <wingo@pobox.com>
24352 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24354 * check/gst-libs/controller.c: Update for controller api change.
24357 * tests/Makefile.am:
24358 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24359 over by GLib bug 118439.
24361 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24362 routines to a function.
24364 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24366 * libs/gst/controller/gsthelper.c:
24367 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24368 (gst_object_sync_values): Renamed from sink_values. Ugh.
24370 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24372 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24373 Renamed from controller_key, as it is exported.
24375 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24377 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24382 * gst/gstpadtemplate.h:
24385 * gst/gstqueryutils.c:
24386 * gst/gstqueryutils.h:
24387 remove queryutils headers after moving the two used functions
24388 to gstquery. also fixes build problem for gstsiddec
24390 2005-09-26 Michael Smith <msmith@fluendo.com>
24392 * tools/gst-launch.1.in:
24393 Correct documentation in manpage of debug syntax
24395 2005-09-26 Wim Taymans <wim@fluendo.com>
24397 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24398 (gst_base_src_is_seekable), (gst_base_src_change_state):
24399 Some more debugging info.
24401 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24403 * docs/gst/gstreamer-sections.txt:
24404 * gst/base/gstbasetransform.h:
24408 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24410 * docs/gst/.cvsignore:
24411 * docs/gst/tmpl/.cvsignore:
24412 * docs/gst/tmpl/gstpipeline.sgml:
24413 * docs/gst/tmpl/gstplugin.sgml:
24414 * gst/gstpipeline.c:
24417 inlined the last two docs files
24418 removed the tmpl directory from cvs (no more conflicts here!)
24420 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24422 * docs/gst/gstreamer-sections.txt:
24423 * docs/gst/tmpl/.cvsignore:
24424 * docs/gst/tmpl/gstpad.sgml:
24425 * docs/gst/tmpl/gstpadtemplate.sgml:
24427 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24428 (gst_pad_finalize), (gst_pad_set_pad_template):
24430 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24431 (gst_pad_template_class_init), (gst_pad_template_init),
24432 (gst_pad_template_dispose), (name_is_valid),
24433 (gst_static_pad_template_get), (gst_pad_template_new),
24434 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24435 (gst_pad_template_pad_created):
24436 * gst/gstpadtemplate.h:
24437 inlined two more docs
24438 factored gstpadtemplate out of gstpad
24440 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24442 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24443 (test_children_state_change_order_semi_sink):
24444 Fix test case: we can't rely on a fixed state change order when
24445 going from READY => PAUSED because the sink might commit its
24446 new state first when the first buffer created by the source
24447 reaches the sink before the source has finished its change state.
24448 (Test case still fails at times, see #316856, comment 5 onwards)
24450 2005-09-24 Wim Taymans <wim@fluendo.com>
24452 * docs/design/part-events.txt:
24453 * docs/design/part-gstbus.txt:
24454 * docs/design/part-gstpipeline.txt:
24455 * docs/design/part-messages.txt:
24456 * docs/design/part-overview.txt:
24457 * docs/design/part-segments.txt:
24461 * gst/gstelement.c:
24464 * gst/gstiterator.c:
24465 Various documentation updates.
24467 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24470 Well, that's embarassing. Luckily we weren't using
24471 GST_CLOCK_DIFF anywhere.
24473 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24475 * common/gtk-doc.mak:
24476 don't fail on building XML, FC4 slave shows a bunch of doc
24477 missing bits that I don't get
24479 * gst/gstpipeline.c:
24480 * gst/gststructure.c:
24483 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24485 * docs/design/part-gstbin.txt:
24486 * docs/design/part-gstbus.txt:
24488 Add blurb about how the bus goes into flushing mode and
24489 drops all messages when its bin goes from READY into NULL
24492 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24494 * docs/gst/gstreamer-sections.txt:
24495 * gst/gststructure.c: (gst_structure_get_clock_time):
24496 * gst/gststructure.h:
24497 add a method to get a GstClockTime out of a structure
24499 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24501 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24502 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24503 Added test to check state change order in bins (can still be made
24504 to fail here under heavy disk load; bails out with 'Push on pad
24505 fakesink:sink0, but it was not activated in push mode').
24507 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24508 Fix state change order when there is only a semi sink (#316856)
24510 * gst/gstbus.c: (gst_bus_class_init):
24511 Use _class_peek_parent(), not _class_ref(); fix docs to say
24512 'default main context' instead of 'mainloop' where that is
24515 * gst/gstelement.c: (gst_element_commit_state),
24516 (gst_element_set_state):
24517 Fix typos in debug messages
24519 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24522 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24523 * gst/gstpluginfeature.c:
24525 various doc updates
24526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24527 change an assert into an error until it gets fixed properly
24529 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24531 * docs/gst/gstreamer-sections.txt:
24532 * docs/gst/tmpl/.cvsignore:
24533 * docs/gst/tmpl/gstelement.sgml:
24534 * docs/gst/tmpl/gstinfo.sgml:
24535 * docs/gst/tmpl/gstobject.sgml:
24536 * gst/gstelement.c:
24537 * gst/gstelement.h:
24540 * gst/gstobject.c: (gst_object_class_init):
24542 inlined 3 more biiiig doc files and added some missing docs on the fly
24544 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24546 * check/gst/.cvsignore:
24547 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24548 * gst/gstregistryxml.c: (load_plugin),
24549 (gst_registry_xml_save_plugin):
24550 put back source in registry. add checks for find_plugin.
24551 * testsuite/states/bin.c: (assert_state), (empty_bin),
24552 (test_adding_one_element), (main):
24553 * testsuite/states/locked.c: (main):
24554 some compile/run fixes
24556 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24558 * check/gst/gstvalue.c: (GST_START_TEST):
24559 fix leaks in the test itself
24561 2005-09-22 Wim Taymans <wim@fluendo.com>
24563 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24564 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24565 (gst_base_sink_query):
24566 Prepare for more accurate position reporting and query
24569 * gst/gstelement.c: (gst_element_send_event),
24570 (gst_element_set_state):
24573 2005-09-22 Wim Taymans <wim@fluendo.com>
24575 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24576 (gst_query_parse_segment):
24578 More documentation.
24579 Add segment query for future use.
24581 2005-09-22 Wim Taymans <wim@fluendo.com>
24583 * gst/gstbin.c: (gst_bin_add_func):
24584 Some more debug info.
24586 * gst/gstelement.c: (gst_element_send_event):
24587 Simplify send_event
24589 * gst/gstelement.h:
24590 Don't know how flags got broken.
24595 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24597 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24598 Add simplistic test suite for GST_TYPE_DATE serialisation and
24601 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24603 * docs/gst/gstreamer-sections.txt:
24604 * gst/gststructure.c: (gst_structure_set_valist),
24605 (gst_structure_get_date):
24606 * gst/gststructure.h:
24607 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24608 (gst_date_copy), (gst_value_compare_date),
24609 (gst_value_serialize_date), (gst_value_deserialize_date),
24610 (gst_value_transform_date_string),
24611 (gst_value_transform_string_date), (_gst_value_initialize):
24613 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24614 bunch of utility functions along with a hack that checks that
24615 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24616 is required. Part of the grand scheme in #170777.
24618 2005-09-22 Andy Wingo <wingo@pobox.com>
24620 * gst/gstconfig.h.in: Psych out gtk-doc.
24622 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24624 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24626 * tools/gst-inspect.c (print_element_list): Plug some
24627 inconsequential leaks.
24629 * gst/gstregistry.c (gst_registry_get_default): Doc.
24631 * check/gst/gstplugin.c:
24632 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24633 * gst/gstelementfactory.c (gst_element_factory_create):
24634 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24637 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24638 (gst_plugin_feature_load): Doc, don't eat refs.
24640 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24641 (gst_plugin_list_free): Doc.
24642 (gst_plugin_load_file): Doc updates.
24644 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24645 accessors returning refcounted objects, return a ref.
24647 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24648 accessor for caps. IDEMPOTENCE. Oh yes.
24650 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24652 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24654 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24655 (_gst_debug_register_funcptr):
24656 Add mutex to serialise access to the hash table with
24657 the function pointer => function name string mapping;
24658 make that hash table static scope (#316809).
24660 * gst/registries/.cvsignore:
24661 Remove left-over file.
24663 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24665 * docs/pwg/appendix-porting.xml:
24666 And something about newsegment events and caps-on-buffers to
24667 the porting guide (feel free to improve).
24669 2005-09-21 Andy Wingo <wingo@pobox.com>
24671 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24672 data and event probes on the same pad.
24673 (test_buffer_probe_once): Test that removing probes from within
24674 the probe functions works.
24676 2005-09-21 Andy Wingo <wingo@pobox.com>
24678 * check/gst/gstutils.c: New file.
24679 (test_buffer_probe_n_times): A simple buffer probe test. More to
24682 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24683 have-data::buffer, not have-data.
24684 (gst_pad_add_event_probe): Likewise for have-data::event.
24685 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24686 peer' isn't quite right yet though.
24687 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24688 (gst_pad_remove_data_probe): Change to take the guint handler_id
24689 as their arg, not the function+data, which is more glib-like.
24691 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24692 the signal emission to indicate if the data is a buffer or an
24694 (gst_pad_get_type): Initialize buffer and event quarks.
24695 (gst_pad_class_init): have-data is now a detailed signal, yes it
24698 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24700 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24701 * gst/gstutils.c: (gst_util_set_value_from_string),
24702 (gst_util_set_object_arg):
24703 Don't put functional code in g_return_if_fail() or
24704 g_return_val_if_fail() statements, otherwise things will
24705 break when G_DISABLE_CHECKS is defined during compilation.
24707 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24709 * docs/gst/tmpl/.cvsignore:
24710 * docs/gst/tmpl/gstvalue.sgml:
24713 inlied another one and added some obvious docs
24715 2005-09-21 Wim Taymans <wim@fluendo.com>
24717 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24718 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24719 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24720 (gst_fdsrc_get_property), (gst_fdsrc_create):
24721 * gst/elements/gstfdsrc.h:
24722 Properly implement fdsrc. Removed signal and timeout,
24723 better implemented somewhere else.
24725 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24727 * docs/gst/tmpl/.cvsignore:
24728 * docs/gst/tmpl/gstimplementsinterface.sgml:
24729 * gst/gstinterface.c:
24732 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24734 * docs/gst/gstreamer-sections.txt:
24735 * docs/gst/tmpl/.cvsignore:
24736 * docs/gst/tmpl/gstenumtypes.sgml:
24737 remove obsolete doc file
24739 2005-09-21 David Schleef <ds@schleef.org>
24741 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24742 little beer, fix a little leak.
24744 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24746 * docs/gst/gstreamer-docs.sgml:
24747 * docs/gst/gstreamer-sections.txt:
24748 * docs/gst/tmpl/.cvsignore:
24752 * gst/gstelement.h:
24753 * gst/gstindex.c: (gst_index_class_init):
24755 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24756 (gst_index_factory_class_init), (gst_index_factory_init),
24757 (gst_index_factory_finalize), (gst_index_factory_new),
24758 (gst_index_factory_destroy), (gst_index_factory_find),
24759 (gst_index_factory_create), (gst_index_factory_make):
24760 * gst/gstindexfactory.h:
24761 * gst/gstpluginfeature.c:
24762 * gst/gstpluginfeature.h:
24763 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24764 more docs inlined, splitted gstindex.{c,h}
24766 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24768 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24771 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24773 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24774 Set sync to FALSE by default.
24776 2005-09-20 Wim Taymans <wim@fluendo.com>
24778 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24779 (gst_base_sink_init):
24780 Make sync property settable from subclass.
24782 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24783 (gst_fake_sink_change_state):
24784 Set sync to FALSE by default.
24786 2005-09-20 Wim Taymans <wim@fluendo.com>
24788 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24789 * tools/gst-launch.c: (main):
24790 The timeout handler should have lower priority than the source
24791 so we don't timeout before popping a message with 0 timeout.
24792 Dump error messages after failed state change.
24794 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24796 * tools/gst-inspect.c: (print_element_properties_info):
24799 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24801 * check/gst/gstevent.c:
24802 * gst/elements/gstfakesink.c:
24803 * gst/elements/gstfakesink.h:
24804 remove the sync property from fakesink.
24805 has the side effect of setting sync TRUE
24806 for fakesink, which is a change. Anyone who knows how
24807 to fix this nicely in a GObject-y way, feel free.
24809 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24811 * docs/gst/gstreamer-docs.sgml:
24812 remove probe refsection
24814 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24816 * check/Makefile.am:
24817 disable valgrinding the controller test again
24818 * docs/gst/gstreamer-sections.txt:
24819 update for api-changes
24821 2005-09-20 Wim Taymans <wim@fluendo.com>
24823 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24824 (gst_base_sink_set_property), (gst_base_sink_get_property),
24825 (gst_base_sink_do_sync):
24826 * gst/base/gstbasesink.h:
24827 Added sync property to basesink to disable clock sync.
24829 2005-09-20 Andy Wingo <wingo@pobox.com>
24831 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24832 eating the caller's refcount.
24834 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24835 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24838 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24839 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24840 of GLib 2.8 public, so we can know which refcount to check in
24843 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24844 (gst_object_init): Only set the gst refcount if we're going ahead
24845 with the refcount hack.
24847 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24849 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24850 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24851 more leaks plumbed, added more debug-logging
24855 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24857 * gst/gstmessage.c:
24858 remove include of gstmemchunk.h
24860 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24862 * gst/gstclock.c: (_gst_clock_id_free):
24863 Commit from the Political Party For More Atomic CVS Commits,
24864 so that people don't waste too much of their day fishing
24865 out obvious leaks out of massive commits.
24866 Oh, and fix a pretty damn obvious leak in the memchunk
24869 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24871 * check/Makefile.am:
24872 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24873 plug mem-leak, re-add to valgrindable tests
24875 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24878 unbreak the build for those who have chronic arthritis
24879 and typing "make check" is just too taxing on the hands
24881 2005-09-20 Andy Wingo <wingo@pobox.com>
24883 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24884 really want it out, you should fix plugins at the same time.
24886 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24889 * docs/gst/gstreamer-sections.txt:
24891 added missing symbols to api docs
24892 disable ref-count hack if we have glib >= 2.8
24894 2005-09-19 David Schleef <ds@schleef.org>
24896 * docs/gst/Makefile.am: Ignore a few more internal headers
24897 * docs/gst/gstreamer-docs.sgml: Remove old sections
24898 * docs/gst/gstreamer-sections.txt: Remove old sections
24899 * docs/gst/tmpl/gstobject.sgml: update
24900 * docs/gst/tmpl/gstplugin.sgml: update
24901 * docs/gst/tmpl/gstpluginfeature.sgml: update
24902 * docs/random/ds/0.9-suggested-changes: update.
24903 * gst/Makefile.am: remove memchunk and trashstack, since they're
24905 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24906 * gst/gst.h: don't include some headers
24907 * gst/gstchildproxy.c: add gstmarshal.h
24908 * gst/gstclock.c: Don't use memchunks
24909 * gst/gstminiobject.c: Add some docs
24910 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24911 * gst/gstobject.h: same
24912 * gst/gstplugin.c: include gstmacros.h
24913 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24914 * gst/gstquery.c: don't use memchunks
24915 * gst/gstregistry.c: rename gst_registry_deinit()
24916 * gst/gstregistry.h: same
24918 2005-09-19 David Schleef <ds@schleef.org>
24920 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24921 * docs/libs/gstreamer-libs-sections.txt:
24922 * docs/libs/tmpl/gstgetbits.sgml:
24923 * docs/libs/tmpl/gstputbits.sgml:
24925 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24927 * win32/gstenumtypes.c:
24928 * win32/gstenumtypes.h:
24931 2005-09-19 Wim Taymans <wim@fluendo.com>
24933 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24934 Automatically PAUSE and RESUME a pipeline when a flushing seek
24937 2005-09-19 Andy Wingo <wingo@pobox.com>
24939 * gst/gstregistry.h: Spacing fixen.
24941 2005-09-19 Wim Taymans <wim@fluendo.com>
24943 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24944 Handle state change failure more correctly.
24946 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24948 * check/Makefile.am:
24949 * check/pipelines/cleanup.c: (run_pipeline):
24950 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24952 enable cleanup again after fixing the leak
24954 some more info on docs
24956 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24958 * check/Makefile.am:
24959 re-enable tests now that leaks are plugged
24961 * check/gst/gstbin.c:
24962 * check/gst/gstpipeline.c:
24963 add some more tests while fixing leaks
24964 * common/check.mak:
24965 make sure binaries are uptodate when valgrinding/gdbing
24967 * gst/gstelementfactory.c:
24968 remove a ref too many, and add a FIXME for when we get
24969 round to disposing of classes
24971 fix the refcounting when loading a plugin from a file and
24972 the code pretends that the pointer is the same even though
24973 of course it can change
24974 * gst/gstpluginfeature.c:
24975 unref plugins marked cached (a bit confusing as a name)
24976 as the docs state should be done
24977 various doc additions to explain refcounting
24978 * gst/gstregistry.c:
24979 * gst/gstregistryxml.c:
24982 2005-09-19 Wim Taymans <wim@fluendo.com>
24984 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24985 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24986 (send_messages), (GST_START_TEST), (gstbus_suite):
24987 * check/gst/gstpipeline.c: (GST_START_TEST):
24988 * check/pipelines/cleanup.c: (run_pipeline):
24989 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24991 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24992 (gst_bus_source_check), (gst_bus_source_dispatch),
24993 (gst_bus_create_watch), (gst_bus_add_watch_full),
24994 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24996 * tools/gst-launch.c: (event_loop):
24997 * tools/gst-md5sum.c: (event_loop):
24998 GstBusHandler -> GstBusFunc, return value has the same meaning as
24999 any other GSource (FALSE == remove source).
25000 _add_watch() and _add_watch_full() now take a MessageType mask to
25001 only handle specific types of messages.
25002 _poll() returns the GstMessage instead of the message type to avoid
25004 _have_pending() takes a MessageType mask now too.
25005 Added testsuite for multiple bus watches.
25006 Fix testsuites and applications for new bus API.
25008 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25010 * check/Makefile.am:
25011 mark a bunch of the tests as to fix until we fix them
25013 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25015 * common/check.mak:
25016 use GST_PLUGIN settings for valgrind tests as well, so we're
25017 valgrinding the correct thing
25018 * gst/gst.c: (init_post):
25021 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25023 * gst/gst.c: (init_post), (gst_deinit):
25024 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25025 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25026 * gst/gstindex.c: (gst_index_factory_class_init),
25027 (gst_index_factory_finalize):
25028 * gst/gstobject.c: (gst_object_dispose):
25029 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25030 (gst_plugin_load_file), (gst_plugin_desc_free):
25031 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25032 (gst_plugin_feature_finalize):
25033 * gst/gstregistry.c: (gst_registry_class_init),
25034 (gst_registry_init), (gst_registry_finalize),
25035 (gst_registry_get_default), (gst_registry_deinit):
25036 * gst/gstregistry.h:
25037 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25038 various cleanups and memleak plugging. make valgrind is happy now.
25040 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25042 * common/check.mak:
25043 add a check-valgrind target
25045 2005-09-18 David Schleef <ds@schleef.org>
25047 * tools/gst-inspect.c: Revert the GOption code.
25049 2005-09-17 David Schleef <ds@schleef.org>
25051 * check/Makefile.am: Fix environment variables.
25052 * check/gst/gstplugin.c: Fix for API changes.
25053 * tools/gst-inspect.c: Fix for API changes.
25054 * tools/gst-xmlinspect.c: Fix for API changes.
25055 * gst/gstelementfactory.c:
25058 * gst/gstpluginfeature.c:
25059 * gst/gstpluginfeature.h:
25060 * gst/gstregistry.c:
25061 * gst/gstregistry.h:
25062 * gst/gstregistryxml.c:
25063 * gst/gsttypefind.c:
25064 * gst/gsttypefindfactory.c:
25065 * gst/indexers/gstfileindex.c:
25066 * gst/indexers/gstmemindex.c:
25067 * gst/schedulers/Makefile.am:
25068 Change registry to keep track of both plugins and features,
25069 removing the feature tracking from plugins themselves.
25071 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25073 * check/Makefile.am:
25074 * tools/gst-register.1.in:
25075 remove gst-register
25077 2005-09-15 David Schleef <ds@schleef.org>
25079 * check/gst/gstplugin.c:
25080 * gst/gstelementfactory.c:
25082 * gst/gstpluginfeature.c:
25083 * gst/gstregistry.c:
25084 Getting tired of debugging. Disabled all the unreffing of
25085 plugins and features, which fixes the segfaults, but of
25086 course leaks like crazy. At least playbin works.
25088 2005-09-15 David Schleef <ds@schleef.org>
25090 * check/gst/gstplugin.c: (register_check_elements),
25091 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25093 * gst/elements/gsttypefindelement.c: Fix refcounting.
25094 * gst/gsttypefind.c:
25095 * gst/gsttypefindfactory.c:
25096 * gst/gsttypefindfactory.h:
25098 2005-09-15 David Schleef <ds@schleef.org>
25100 * gst/gstindex.c: get refcounting correct.
25101 * gst/gstregistry.c: Handle the case where a feature/plugin is
25104 2005-09-15 David Schleef <ds@schleef.org>
25106 * check/Makefile.am:
25107 * check/gst/gstplugin.c: Add test
25108 * gst/gstplugin.c: Fix problems noticed by testsuite
25110 * gst/gstregistry.c:
25111 * gst/gstregistry.h:
25113 2005-09-15 David Schleef <ds@schleef.org>
25115 * gst/gstplugin.c: Implement semi-decent recounting and locking
25116 in plugins and plugin features.
25118 * gst/gstpluginfeature.c:
25119 * gst/gstpluginfeature.h:
25120 * gst/gstregistry.c:
25122 2005-09-15 Michael Smith <msmith@fluendo.com>
25124 * gst/gstregistry.c: (gst_registry_get_feature_list):
25125 Implement this. Makes oggdemux work; decodebin still broken.
25127 2005-09-14 David Schleef <ds@schleef.org>
25129 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25131 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25132 * gst/check/Makefile.am:
25133 * libs/gst/controller/Makefile.am:
25134 * libs/gst/dataprotocol/Makefile.am:
25136 2005-09-14 David Schleef <ds@schleef.org>
25138 * configure.ac: Remove getbits library. Nothing uses it, and
25139 it should be in something like liboil if someone did want
25141 * libs/gst/Makefile.am:
25142 * libs/gst/getbits/Makefile.am:
25143 * libs/gst/getbits/gbtest.c:
25144 * libs/gst/getbits/getbits.c:
25145 * libs/gst/getbits/getbits.h:
25146 * libs/gst/getbits/gstgetbits_generic.c:
25147 * libs/gst/getbits/gstgetbits_i386.s:
25148 * libs/gst/getbits/gstgetbits_inl.h:
25150 2005-09-14 David Schleef <ds@schleef.org>
25152 * gst/Makefile.am: Dist glib-compat.h
25154 2005-09-14 David Schleef <ds@schleef.org>
25156 * configure.ac: Remove gst/registries, since it's no longer used.
25157 * gst/registries/Makefile.am:
25158 * gst/registries/gstlibxmlregistry.c:
25159 * gst/registries/gstlibxmlregistry.h:
25160 * gst/registries/gstxmlregistry.c:
25161 * gst/registries/gstxmlregistry.h:
25162 * gst/registries/registrytest.c:
25164 2005-09-14 David Schleef <ds@schleef.org>
25166 * gst/glib-compat.h:
25167 * gst/gstregistryxml.c:
25168 Convergence is near. Seriously.
25170 2005-09-14 David Schleef <ds@schleef.org>
25172 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25173 * gst/glib-compat.h:
25174 Attempt #4 to appease the buildbots.
25176 2005-09-14 David Schleef <ds@schleef.org>
25178 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25181 2005-09-14 David Schleef <ds@schleef.org>
25183 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25186 2005-09-14 David Schleef <ds@schleef.org>
25188 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25191 2005-09-14 David Schleef <ds@schleef.org>
25193 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25194 * gst/glib-compat.h: Add some functions that are in newer versions
25195 of glib than we care to require.
25196 * gst/gstregistryxml.c: Use them.
25198 2005-09-14 David Schleef <ds@schleef.org>
25200 * po/POTFILES.in: remove gst-register.c
25202 2005-09-14 David Schleef <ds@schleef.org>
25204 * docs/gst/gstreamer-docs.sgml:
25205 * docs/gst/gstreamer-sections.txt:
25206 * docs/gst/gstreamer.types:
25207 * docs/gst/tmpl/gstelement.sgml:
25208 * docs/gst/tmpl/gstplugin.sgml:
25209 * docs/gst/tmpl/gstpluginfeature.sgml:
25210 Documentation updates for registry changes.
25212 2005-09-14 David Schleef <ds@schleef.org>
25214 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25215 because we don't require glib-2.8.
25217 2005-09-14 David Schleef <ds@schleef.org>
25219 * gst/gstregistryxml.c: Added. Essentially moved out of the
25220 registries directory.
25222 2005-09-14 David Schleef <ds@schleef.org>
25224 * check/Makefile.am:
25225 * check/generic/states.c:
25229 * gst/gst_private.h:
25230 * gst/gstelementfactory.c:
25235 * gst/gstpluginfeature.c:
25236 * gst/gstpluginfeature.h:
25237 * gst/gstregistry.c:
25238 * gst/gstregistry.h:
25239 * gst/gstregistrypool.c: remove
25240 * gst/gstregistrypool.h: remove
25241 * gst/gsttypefind.c:
25242 * gst/gsttypefindfactory.c:
25244 * tools/Makefile.am:
25245 * tools/gst-compprep.c:
25246 * tools/gst-inspect.c:
25247 * tools/gst-register.c: remove
25248 * tools/gst-xmlinspect.c:
25249 Registry rewrite. Changes registry from being a file created
25250 by a tool into a simple cache file created automatically by
25251 libgstreamer. Removed gst-register (because it's no longer
25252 needed). Remove registry pools, because we only have one
25253 registry implementation (XML). Fix up other subsystems as
25256 2005-09-13 Michael Smith <msmith@fluendo.com>
25258 * gst/gstconfig.h.in:
25259 Don't Use windows linking attributes for MinGW. Fixes #316157
25261 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25263 * gst/gstutils.c: (set_state_async_thread_func),
25264 (gst_element_set_state_async):
25265 Apparently people think it's better if this function doesn't
25266 try to set the state to whatever state was asked for on the first
25267 call to this function for any object. Seriously.
25269 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25271 * check/gst/gstpipeline.c: (GST_START_TEST):
25272 * docs/gst/gstreamer-sections.txt:
25273 * gst/gstutils.c: (set_state_async_thread_func),
25274 (gst_element_set_state_async):
25276 add a "gst_element_set_state_async" method that
25277 sets the state and starts a thread to make sure the state
25278 change completes as best as it can
25280 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25282 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25283 codify design+behaviour in testsuite after discussion
25285 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25287 * docs/gst/tmpl/gstelement.sgml:
25288 * docs/manual/appendix-quotes.xml:
25290 * gst/gstelement.c: (gst_element_set_state):
25293 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25295 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25296 (gst_base_transform_prepare_output_buf),
25297 (gst_base_transform_handle_buffer):
25298 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25299 (gst_capsfilter_prepare_buf):
25300 Remove the requirement for sub-classes to call the parent
25301 implementation of prepare_output_buffer with a wrapper function.
25303 * gst/gsttaglist.h:
25304 * gst/gsttagsetter.h:
25305 Fix #define wrapper
25307 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25309 * docs/gst/gstreamer-sections.txt:
25312 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25314 * docs/gst/gstreamer-sections.txt:
25315 * docs/gst/tmpl/gstelement.sgml:
25316 * docs/gst/tmpl/gstplugin.sgml:
25317 * gst/gstminiobject.c:
25319 docs now stop throwing warnings
25321 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25323 * docs/gst/gstreamer-sections.txt:
25324 * docs/gst/gstreamer.types:
25325 * docs/gst/tmpl/gstpad.sgml:
25326 * docs/gst/tmpl/gsttypes.sgml:
25327 * gst/base/gstadapter.h:
25328 * gst/base/gstbasesink.h:
25329 * gst/base/gstbasesrc.h:
25335 * gst/gstelement.h:
25337 * gst/gstmessage.h:
25339 * gst/gststructure.c:
25340 * gst/registries/gstlibxmlregistry.h:
25341 various documentation fixes
25343 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25345 * docs/gst/gstreamer-sections.txt:
25346 * docs/gst/tmpl/gstvalue.sgml:
25347 rearrange gstvalue section
25348 * gst/gstutils.c: (gst_element_state_get_name):
25350 * gst/gstvalue.c: (_gst_value_initialize):
25354 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25356 * check/gst-libs/controller.c:
25357 Header include fix.
25358 * gst/base/gstbasetransform.c:
25359 (gst_base_transform_default_prepare_buf),
25360 (gst_base_transform_handle_buffer):
25361 * gst/base/gstbasetransform.h:
25362 Some more basetransform changes and fixes to enable sub-classes
25363 that modify buffer metadata only.
25364 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25365 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25366 (gst_capsfilter_prepare_buf):
25367 If the output pad has fixed allowed caps and input buffers
25368 don't have any, set the fixed caps on outgoing buffers.
25370 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25371 * check/elements/identity.c: (GST_START_TEST):
25372 Make the error a little clearer when the test fails because
25373 identity made a copy of the buffer.
25374 * docs/gst/gstreamer-sections.txt:
25375 New symbols in gstbasetransform.h
25376 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25377 (gst_base_transform_init), (gst_base_transform_transform_size),
25378 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25379 (gst_base_transform_default_prepare_buf),
25380 (gst_base_transform_get_unit_size),
25381 (gst_base_transform_buffer_alloc),
25382 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25383 (gst_base_transform_change_state),
25384 (gst_base_transform_set_passthrough),
25385 (gst_base_transform_set_in_place),
25386 (gst_base_transform_is_in_place):
25387 * gst/base/gstbasetransform.h:
25388 Change BaseTransform to separate in_place operate from same_caps
25389 output. in_place implies that the element can perform the transform
25390 on incoming buffers in-place, even if the caps on the output are
25392 Sub-class elements can now implement special buffer allocation
25393 methods for outgoing buffers if they wish to.
25394 Big documentation addition.
25395 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25396 * gst/elements/gstelements.c:
25397 Changes for basetransform modifications.
25398 * gst/elements/Makefile.am:
25399 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25400 Compile fix. Extra debug output.
25402 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25404 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25406 add tests for valid pad naming
25407 * gst/check/gstcheck.c: (gst_check_log_message_func),
25408 (gst_check_log_critical_func):
25410 remove printing of code, it is fragile when the code contains
25411 % and the line number is enough info
25412 * gst/check/gstcheck.h:
25413 * gst/gstpad.c: (gst_pad_template_new):
25416 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25419 say what CHECK flags we use
25420 * docs/libs/gstreamer-libs.types:
25421 * libs/gst/controller/Makefile.am:
25422 * libs/gst/controller/gst-controller.c:
25423 * libs/gst/controller/gst-controller.h:
25424 * libs/gst/controller/gst-helper.c:
25425 * libs/gst/controller/gst-interpolation.c:
25426 * libs/gst/controller/gstcontroller.c:
25427 * libs/gst/controller/gsthelper.c:
25428 * libs/gst/controller/gstinterpolation.c:
25429 * tools/gst-inspect.c: (print_plugin_info):
25430 we don't use dashes in header names
25432 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25434 * check/Makefile.am:
25435 * check/gst/.cvsignore:
25436 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25437 (gst_pipeline_suite), (main):
25438 adding a test for pipelines and state changes
25439 * gst/gstutils.c: (get_state_func):
25441 * gstreamer.spec.in:
25444 2005-09-08 Michael Smith <msmith@fluendo.com>
25446 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25447 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25448 (gst_file_src_is_seekable), (gst_file_src_get_size),
25449 (gst_file_src_start):
25450 * gst/elements/gstfilesrc.h:
25451 Various fixes for unseekable, unmmapable, and non-normal files, so
25452 that fallback to read() rather than mmap() works.
25453 * gst/gstevent.c: (gst_event_new_newsegment):
25454 Allow newsegment events with segment_start == segment_end, as will
25455 correctly happen if you use filesrc on a zero-size file, for
25458 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25460 * gst/gstplugin.c: (gst_plugin_load_file):
25461 Call g_module_close when we don't load the module
25463 * gst/registries/gstlibxmlregistry.c:
25464 (gst_xml_registry_get_property):
25465 Port leak fix from 0.8
25467 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25469 * docs/gst/gstreamer-docs.sgml:
25470 * docs/gst/tmpl/.cvsignore:
25471 * docs/gst/tmpl/gsttrace.sgml:
25472 * docs/gst/tmpl/gsttrashstack.sgml:
25475 * gst/gstelement.h:
25477 * gst/gstmessage.c:
25478 * gst/gstmessage.h:
25481 * gst/gsttaginterface.c:
25482 * gst/gsttaginterface.h:
25483 * gst/gsttaglist.c:
25484 * gst/gsttaglist.h:
25485 * gst/gsttagsetter.c:
25486 * gst/gsttagsetter.h:
25489 * gst/gsttrashstack.c:
25490 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25491 inlined docs for gsttrace, gsttrashstack
25493 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25496 * gst/elements/gstbufferstore.h:
25497 * gst/elements/gsttypefindelement.c:
25498 * gst/elements/gsttypefindelement.h:
25500 * gst/gsttypefind.c:
25501 * gst/gsttypefind.h:
25502 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25503 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25504 (gst_type_find_factory_dispose),
25505 (gst_type_find_factory_unload_thyself),
25506 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25507 (gst_type_find_factory_get_caps),
25508 (gst_type_find_factory_get_extensions),
25509 (gst_type_find_factory_call_function):
25510 * gst/gsttypefindfactory.h:
25511 * gst/registries/gstlibxmlregistry.c:
25512 * gst/registries/gstxmlregistry.c:
25513 splitted gsttypefind into gsttypefind, gsttypefindfactory
25515 2005-09-07 Andy Wingo <wingo@pobox.com>
25517 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25518 condition whereby the pad's task function is entered before the
25519 pad_mode variable was set.
25521 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25523 * gst/gstpad.c: (gst_pad_alloc_buffer):
25524 Catch misbehaving pad_alloc functions that don't
25525 set up caps and do it for them.
25527 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25529 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25530 test for pipe!=NULL
25531 * docs/gst/tmpl/.cvsignore:
25532 * docs/gst/tmpl/gstmemchunk.sgml:
25533 * docs/gst/tmpl/gstparse.sgml:
25534 * docs/gst/tmpl/gsttaglist.sgml:
25535 * docs/gst/tmpl/gsttagsetter.sgml:
25536 * docs/gst/tmpl/gsttypefind.sgml:
25537 * docs/gst/tmpl/gsttypefindfactory.sgml:
25538 * gst/gstmemchunk.c:
25541 * gst/gsttaginterface.c:
25542 * gst/gsttypefind.c:
25543 * gst/gsttypefind.h:
25546 === release 0.9.2 ===
25548 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25553 releasing 0.9.2, "South"
25555 2005-09-05 Andy Wingo <wingo@pobox.com>
25557 * gst/registries/gstxmlregistry.h:
25558 * gst/registries/gstxmlregistry.c: Um... resurrect...
25560 * gst/registries/gstxmlregistry.h:
25561 * gst/registries/gstxmlregistry.c: and update to newer API.
25562 Incidentally they should be a bit faster now that they don't have
25565 2005-09-05 Andy Wingo <wingo@pobox.com>
25567 * gst/registries/gstxmlregistry.h:
25568 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25569 replaced by the libxml registry a while back
25571 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25573 * docs/gst/tmpl/gstplugin.sgml:
25574 * gst/elements/gstelements.c:
25576 * gst/gstplugin.c: (gst_plugin_register_func),
25577 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25578 (gst_plugin_get_source):
25580 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25581 (gst_xml_registry_save_plugin):
25582 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25583 (gst_xml_registry_save_plugin):
25584 * tools/gst-inspect.c: (print_plugin_info):
25585 add a "source" plugin description field, to represent the source
25586 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25587 will set it to PACKAGE, which is automake's idea of the name of
25588 the source project.
25590 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25595 * docs/Makefile.am:
25596 * docs/faq/Makefile.am:
25597 * docs/gst/tmpl/gstelement.sgml:
25598 * docs/gst/tmpl/gsttypes.sgml:
25599 * docs/htmlinstall.mak:
25600 * docs/manual/Makefile.am:
25601 * docs/pwg/Makefile.am:
25602 reorganize doc build a little
25603 split out docbook and gtk-doc stuff
25604 have two separate --enable's and enable them through autogen
25605 but disable by default in configure (to be similar to other
25607 * gstreamer.spec.in:
25608 clean up docs install
25626 translation updates
25628 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25630 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25633 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25634 (gst_fake_sink_change_state):
25635 Make state change function thread-safe.
25637 * gst/gstpad.c: (gst_pad_alloc_buffer):
25638 Set offset on generic buffer allocated by fallback.
25640 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25642 * docs/gst/gstreamer-sections.txt:
25643 * docs/gst/tmpl/gstelement.sgml:
25645 * libs/gst/controller/gst-controller.c:
25646 (gst_controlled_property_set_interpolation_mode),
25647 (gst_controlled_property_new),
25648 (gst_controller_find_controlled_property):
25649 run the wingo-magic script against the docs
25651 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25653 * docs/gst/gstreamer-docs.sgml:
25654 * docs/gst/gstreamer-sections.txt:
25655 * docs/gst/tmpl/.cvsignore:
25656 * docs/gst/tmpl/gstelementdetails.sgml:
25657 * docs/gst/tmpl/gstelementfactory.sgml:
25660 * gst/gstelementfactory.c:
25661 * gst/gstelementfactory.h:
25662 merged elementdetails docs into elementfactory docs
25665 2005-09-02 Andy Wingo <wingo@pobox.com>
25667 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25668 consider this enum an enum and not a flags.
25670 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25672 * docs/gst/gstreamer-docs.sgml:
25673 * docs/gst/tmpl/.cvsignore:
25674 * docs/gst/tmpl/gstghostpad.sgml:
25675 * docs/gst/tmpl/gstiterator.sgml:
25676 * docs/gst/tmpl/gstmacros.sgml:
25677 * docs/gst/tmpl/gstrealpad.sgml:
25678 * docs/gst/tmpl/gstregistry.sgml:
25679 * docs/gst/tmpl/gstregistrypool.sgml:
25680 * docs/gst/tmpl/gststructure.sgml:
25681 * docs/gst/tmpl/gstsystemclock.sgml:
25682 * docs/gst/tmpl/gsttrace.sgml:
25683 * gst/gstghostpad.c:
25685 * gst/gstmemchunk.c:
25686 * gst/gstmemchunk.h:
25688 * gst/gstregistry.c:
25689 * gst/gstregistrypool.c:
25690 * gst/gststructure.c:
25691 * gst/gstsystemclock.c:
25694 2005-09-02 Andy Wingo <wingo@pobox.com>
25696 * gst/gstelement.h (GstState): Renamed from GstElementState,
25697 changed to be a normal enum instead of flags.
25698 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25699 munged to be GST_STATE_CHANGE_*.
25700 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25701 work with the new state representation.
25702 (GstStateChange): New enumeration of possible state transitions.
25703 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25704 (GstElementClass::change_state): Pass the GstStateChange along as
25705 an argument. Helps language bindings, so they don't have to use
25706 tricky lock-needing macros like GST_STATE_CHANGE ().
25708 * scripts/update-states (file): New script. Run it on a file to
25709 update it for state naming and API changes. Updates files in
25712 * All files updated for the new API.
25714 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25716 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25717 * gst/gstutils.c: (gst_util_set_value_from_string),
25718 (gst_util_set_object_arg):
25719 fix a bunch of unchecked return values
25720 * tools/gst-complete.c: (main):
25721 * gstreamer.spec.in:
25724 2005-09-01 Wim Taymans <wim@fluendo.com>
25726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25727 (gst_base_sink_event), (gst_base_sink_do_sync),
25728 (gst_base_sink_handle_event):
25729 * gst/base/gstbasesink.h:
25730 Handle newsegments more correctly.
25735 * gst/gstevent.c: (gst_event_new_newsegment):
25736 A newsegment cannot have a start_time of -1
25738 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25740 * win32/gstenumtypes.c:
25741 * win32/gstenumtypes.h:
25744 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25746 * libs/gst/controller/gst-controller.c:
25747 (gst_controlled_property_set_interpolation_mode),
25748 (gst_controlled_property_new):
25749 fixed boolean again
25751 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25753 * docs/faq/gst-uninstalled:
25758 * gst/gstutils.c: (gst_element_link_filtered):
25760 add gst_element_link_filtered
25762 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25764 * docs/gst/gstreamer-docs.sgml:
25765 * docs/gst/gstreamer-sections.txt:
25766 * docs/gst/tmpl/.cvsignore:
25767 * docs/gst/tmpl/gsterror.sgml:
25768 * docs/gst/tmpl/gstfilter.sgml:
25769 * docs/gst/tmpl/gsturihandler.sgml:
25770 * docs/gst/tmpl/gsturitype.sgml:
25771 * docs/gst/tmpl/gstutils.sgml:
25772 * docs/gst/tmpl/gstxml.sgml:
25777 * gst/gsturitype.c:
25780 inlined more docs, fixed double id-ref
25782 2005-08-31 Wim Taymans <wim@fluendo.com>
25784 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25785 (gst_base_transform_handle_buffer):
25786 Passthrough elements don't need the caps as they don't care.
25788 2005-08-31 Wim Taymans <wim@fluendo.com>
25790 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25791 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25792 Don't leak refcounts on buffers.
25794 2005-08-31 Wim Taymans <wim@fluendo.com>
25796 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25797 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25798 (gst_base_transform_chain), (gst_base_transform_change_state):
25799 * gst/base/gstbasetransform.h:
25800 Handle the case where we are not negotiated more gracefully.
25802 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25804 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25805 (gst_file_src_map_region):
25806 Set READONLY flag on mmap'ed buffers, otherwise
25807 gst_buffer_make_writable() won't work properly (#314708).
25809 2005-08-31 Wim Taymans <wim@fluendo.com>
25811 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25812 passthrough elements can even do inplace on non writable
25813 buffers (as they don't touch them).
25815 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25817 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25818 (gst_test_mono_source_set_property),
25819 (gst_test_mono_source_class_init), (GST_START_TEST),
25820 (gst_controller_suite):
25821 more tests (hehe I have the most)
25823 describe popping messages whenusing mulltiple sources
25824 * libs/gst/controller/gst-controller.c:
25825 (gst_controlled_property_set_interpolation_mode),
25826 (gst_controlled_property_new):
25827 * libs/gst/controller/gst-controller.h:
25828 * libs/gst/controller/gst-interpolation.c:
25829 implement boolean properties
25831 2005-08-31 Wim Taymans <wim@fluendo.com>
25833 * gst/gstminiobject.c: (gst_mini_object_ref):
25834 Cannot assert that the refcount has to be positive
25835 since a disposed object can be resurrected.
25837 2005-08-31 Wim Taymans <wim@fluendo.com>
25839 * gst/gstpad.c: (gst_pad_init):
25840 Revert change, need to first fix badly behaving
25843 2005-08-30 Wim Taymans <wim@fluendo.com>
25845 * check/elements/fakesrc.c: (setup_fakesrc):
25846 * check/elements/identity.c: (setup_identity):
25847 Activate pads before using them.
25849 2005-08-30 Wim Taymans <wim@fluendo.com>
25851 * gst/base/gstadapter.c: (gst_adapter_flush):
25852 Flushing out 0 bytes is ok for this function.
25854 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25855 no newsegment gives a warning and sets the start/stop to
25858 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25859 (gst_base_transform_set_passthrough):
25862 * gst/gstminiobject.c: (gst_mini_object_ref):
25863 Check refcount here too.
25865 * gst/gstpad.c: (gst_pad_init):
25866 Pads are initially flushing and refusing data.
25868 * gst/gstutils.c: (gst_element_link_pads_filtered):
25869 When adding a capsfilter element make sure it has the
25870 same state as the parent bin.
25872 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25874 * docs/gst/tmpl/.cvsignore:
25875 * docs/gst/tmpl/gstformat.sgml:
25876 * docs/gst/tmpl/gstversion.sgml:
25880 * gst/gstversion.h.in:
25881 more docs and two more inlined
25883 2005-08-30 Wim Taymans <wim@fluendo.com>
25885 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25886 Don't sync to clock.
25888 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25890 * docs/gst/gstreamer-sections.txt:
25891 ultral33t func10ns deserve to appear in the docs actually
25892 * docs/gst/tmpl/.cvsignore:
25893 * docs/gst/tmpl/gstcompat.sgml:
25894 * docs/gst/tmpl/gstconfig.sgml:
25895 * gst/check/gstcheck.c:
25897 * gst/gstconfig.h.in:
25900 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25902 * docs/gst/tmpl/.cvsignore:
25903 * docs/gst/tmpl/gstquery.sgml:
25904 * docs/gst/tmpl/gstutils.sgml:
25907 inlined and extended docs
25909 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25911 * check/gst-libs/controller.c: (GST_START_TEST),
25912 (gst_controller_suite):
25914 * docs/gst/tmpl/gstutils.sgml:
25915 * docs/libs/gstreamer-libs-sections.txt:
25916 * docs/libs/tmpl/gstdataprotocol.sgml:
25918 * examples/controller/audio-example.c: (main):
25919 controller example works now
25922 * tools/gst-inspect.c: (print_element_properties_info):
25923 show param spec flags
25925 2005-08-29 Andy Wingo <wingo@pobox.com>
25927 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25929 2005-08-28 Andy Wingo <wingo@pobox.com>
25931 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25932 as having two arguments instead of just one. Allows superclasses
25933 to access information on subclasses -- see the terrible for() loop
25934 in gtype.c:g_type_create_instance for the reason why. All callers
25937 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25939 * docs/design/part-messages.txt:
25941 * docs/gst/tmpl/.cvsignore:
25942 * docs/gst/tmpl/gstcaps.sgml:
25943 * docs/gst/tmpl/gstclock.sgml:
25949 * gst/gstmessage.c:
25950 added descriptions for bus and message
25951 inline caps and clock docs
25953 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25955 * gst/gstmessage.c:
25956 * gst/gstmessage.h:
25959 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25961 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25964 2005-08-26 Andy Wingo <wingo@pobox.com>
25966 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25967 element_set_state's return val.
25968 (test_2_elements): Add test that's been disabled for months.
25970 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25971 can-activate-pull properties.
25973 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25974 can-activate-pull properties. Implement is_seekable so fakesrc can
25975 operate in pull mode.
25977 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25979 (gst_base_sink_activate, gst_base_sink_activate_pull)
25980 (gst_base_sink_activate_push): Make activation mode choosing work.
25982 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25983 is right. Make pull mode work. Post an eos before pausing in pull
25985 (gst_base_sink_change_state): Pay attention to the core's
25986 change_state() return val.
25988 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25989 has-getrange properties. Cleanups.
25991 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25992 has_getrange and replace with can_activate_pull and
25995 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25996 locking comments. Remove has_loop, has_chain and replace with
25997 can_activate_pull and can_activate_push.
25999 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26002 * examples/Makefile.am:
26003 * examples/metadata/Makefile.am:
26004 * examples/metadata/read-metadata.c: (message_loop),
26005 (have_pad_handler), (make_pipeline), (print_tag), (main):
26006 Add metadata reading example that loops over a list of filenames,
26007 dumping any tags found.
26009 * gst/gstbus.c: (gst_bus_dispose):
26010 * gst/gstelement.c: (gst_element_dispose):
26011 Release a few potentially-held references in dispose.
26013 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26015 * docs/gst/tmpl/gstminiobject.sgml:
26016 do *not* add tmpl/*.sgml files to CVS!
26018 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26020 * libs/gst/bytestream/.cvsignore:
26021 * libs/gst/bytestream/Makefile.am:
26022 * libs/gst/bytestream/adapter.c:
26023 * libs/gst/bytestream/adapter.h:
26024 * libs/gst/bytestream/bytestream.c:
26025 * libs/gst/bytestream/bytestream.h:
26026 * libs/gst/bytestream/filepad.c:
26027 * libs/gst/bytestream/filepad.h:
26028 removing obsolete files
26030 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26032 * docs/gst/gstreamer-docs.sgml:
26033 * docs/libs/gstreamer-libs-docs.sgml:
26034 disabed additional index entries again, as this makes docs-gen just
26035 slow and they aren't useful yet
26036 * docs/libs/gstreamer-libs-sections.txt:
26037 little -section.txt cleanup for libs
26039 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26041 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26042 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26043 fix up some debugging
26044 (gst_base_transform_get_unit_size),
26045 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26046 (gst_base_transform_handle_buffer):
26047 * gst/base/gstbasetransform.h:
26048 handle and store timed NEWSEGMENT events so that subclasses that
26049 calculate time by counting samples have a segment_start time they
26050 need to add to their timestamps - see audioresample
26052 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26055 removed ';' from the end of macro defs
26056 * docs/gst/gstreamer-docs.sgml:
26057 * docs/gst/gstreamer-sections.txt:
26058 * docs/gst/tmpl/.cvsignore:
26060 * gst/gstelement.c: (gst_element_class_init),
26061 (gst_element_set_state), (activate_pads),
26062 (gst_element_save_thyself):
26063 * gst/gstevent.c: (gst_event_new_newsegment):
26065 * gst/gstiterator.c:
26066 * gst/gstiterator.h:
26069 * gst/gstutils.c: (gst_pad_query_convert):
26071 fixed parameter name mismatches between source, header and docs
26072 added some more docs, resolved the last batch of unused elements in
26073 docs (now someone needs to doc them)
26075 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26077 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26078 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26079 don't walk through the plugins backwards. Where is all this
26080 reversed logic coming from ?
26082 2005-08-25 Wim Taymans <wim@fluendo.com>
26084 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26085 (gst_base_transform_transform_size),
26086 (gst_base_transform_configure_caps),
26087 (gst_base_transform_get_unit_size),
26088 (gst_base_transform_buffer_alloc),
26089 (gst_base_transform_change_state):
26090 * gst/base/gstbasetransform.h:
26091 Cache caps unit_size.
26092 Make sure we cannot negotiate up and downstream at the
26095 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26097 * gst/gst.c: (init_pre), (init_post):
26098 register the installed plugin path after the env var
26099 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26100 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26101 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26102 directories, so the tests can prefer uninstalled over installed
26104 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26106 * gst/base/gstbasetransform.h:
26111 2005-08-25 Wim Taymans <wim@fluendo.com>
26113 * gst/gstbin.c: (bin_bus_handler):
26114 Be a bit more conservative about the posted message.
26116 * gst/gstbus.c: (gst_bus_post):
26117 Some cleanups, warn wrong return values.
26119 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26121 * check/gst/gstbin.c: (GST_START_TEST):
26122 * gst/gstbin.c: (bin_bus_handler):
26123 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26124 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26125 (gst_message_new_warning), (gst_message_new_tag),
26126 (gst_message_new_state_changed), (gst_message_new_segment_start),
26127 (gst_message_new_segment_done), (gst_message_new_custom):
26128 * gst/gstmessage.h:
26129 * tools/gst-launch.c: (event_loop):
26130 * tools/gst-md5sum.c: (event_loop):
26131 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26133 2005-08-25 Wim Taymans <wim@fluendo.com>
26135 * check/generic/states.c: (GST_START_TEST):
26136 Cleanup can be done at the end.
26138 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26139 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26140 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26141 Oh boy.. Thanks for finding this, Thomas.
26143 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26145 * docs/gst/gstreamer.types:
26146 added missing types
26148 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26150 * docs/gst/gstreamer-docs.sgml:
26151 * docs/gst/gstreamer-sections.txt:
26152 * docs/gst/tmpl/.cvsignore:
26154 * gst/gstiterator.c:
26156 * gst/registries/gstxmlregistry.h:
26157 added missing classes and symbols (123 more to go)
26158 removed removed symbols from section file
26159 fixed many doc-comments
26161 2005-08-24 Wim Taymans <wim@fluendo.com>
26163 * check/generic/states.c: (GST_START_TEST):
26164 Make sure all tasks are stopped.
26166 * check/gst/gstbin.c: (GST_START_TEST):
26167 Unref after usage for proper valgrinding.
26169 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26170 Really wait for the task to stop before destroying the
26173 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26174 (gst_queue_src_activate_push):
26175 Small cleanups. Don't stop the task when we did not start
26178 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26179 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26180 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26183 Protect the stream lock with the object lock.
26184 Disallow setting the stream lock when running.
26185 Add cleanup_all to wait for the threadpool to finish.
26186 Remove code to autoallocate a mutex if none was provided.
26187 Add _join() to wait for a task to stop.
26188 Protect the thread pool with a global lock.
26190 2005-08-24 Wim Taymans <wim@fluendo.com>
26192 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26193 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26194 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26195 * gst/base/gstbasesink.h:
26196 Handle newsegment events correctly.
26197 Drop buffers out of the segment range.
26199 2005-08-22 Andy Wingo <wingo@pobox.com>
26201 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26202 macro, implements an interface and gstimplementsinterface for a
26205 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26207 * check/Makefile.am:
26208 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26209 add a test that does a bunch of state changes on elements
26210 needs some fixing for valgrind
26211 * check/states/sinks.c: (gst_object_suite):
26214 add prototype for gst_caps_is_equal_fixed
26216 * gst/gstregistrypool.c:
26219 2005-08-24 Andy Wingo <wingo@pobox.com>
26221 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26222 convert a negative value. Doesn't make much sense. Mostly this is
26223 here to force callers to ensure -1 maps to -1.
26225 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26227 * docs/pwg/advanced-types.xml:
26228 Well done to Michael for catching my deliberate introduction
26229 of this spelling mistake.
26230 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26231 * gst/gstelement.h:
26232 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26233 unlink pads before removing the element from the bin.
26235 2005-08-24 Andy Wingo <wingo@pobox.com>
26237 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26238 the same thing as GST_DEBUG=*:4.
26239 (parse_debug_level, parse_debug_category): New helper parsers.
26241 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26243 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26244 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26245 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26246 (gst_base_transform_buffer_alloc),
26247 (gst_base_transform_handle_buffer):
26248 use gboolean return values and pointers to size so we can use the
26249 full GST_BUFFER_SIZE range (guint) for buffer sizes
26250 use GstPadDirection for transform_caps
26251 * gst/base/gstbasetransform.h:
26252 rename get_size to get_unit_size since that's what it is
26253 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26254 use GstPadDirection for transform_caps
26255 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26257 cleanup and debugging
26259 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26261 * gst/gstelement.c: (gst_element_class_init),
26262 (gst_element_set_state), (activate_pads),
26263 (gst_element_save_thyself):
26264 * tools/gst-compprep.c: (main):
26265 * tools/gst-inspect.c: (print_element_properties_info):
26266 * tools/gst-xmlinspect.c: (print_element_properties):
26267 Fixed long standing mem-leak
26269 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26271 * check/gst/gstbin.c: (GST_START_TEST):
26272 * gst/gstbin.c: (bin_bus_handler):
26273 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26274 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26275 (gst_message_new_warning), (gst_message_new_tag),
26276 (gst_message_new_state_changed), (gst_message_new_segment_start),
26277 (gst_message_new_segment_done), (gst_message_new_custom):
26278 * gst/gstmessage.h:
26279 * tools/gst-launch.c: (event_loop):
26280 * tools/gst-md5sum.c: (event_loop):
26281 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26282 that applications can sensibly post custom messages with references
26283 to their own objects.
26285 2005-08-24 Andy Wingo <wingo@pobox.com>
26287 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26290 2005-08-24 Wim Taymans <wim@fluendo.com>
26292 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26293 (gst_base_transform_transform_caps),
26294 (gst_base_transform_transform_size),
26295 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26296 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26297 (gst_base_transform_handle_buffer):
26298 * gst/base/gstbasetransform.h:
26299 Many fixes and new features added by Thomas. Can now also do
26300 transforms with variable sizes and a custom fixate_caps function.
26302 2005-08-24 Wim Taymans <wim@fluendo.com>
26304 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26308 Cast to ClockTime before formatting to time.
26313 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26315 * check/gst-libs/controller.c: (GST_START_TEST),
26316 (gst_controller_suite):
26317 * docs/gst/tmpl/gstcaps.sgml:
26318 * docs/gst/tmpl/gstghostpad.sgml:
26319 * docs/gst/tmpl/gstquery.sgml:
26320 * docs/gst/tmpl/gstutils.sgml:
26321 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26322 (gst_object_sink_values), (gst_object_get_value_arrays),
26323 (gst_object_get_value_array):
26324 gracefully handle helper method calls to objects that are not beeing
26325 controlled, added test case for that
26327 2005-08-23 Wim Taymans <wim@fluendo.com>
26329 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26330 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26331 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26332 (gst_event_parse_qos), (gst_event_new_seek),
26333 (gst_event_parse_seek):
26335 Some more debugging output and doc cleanups.
26337 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26338 Fix possible deadlock.
26340 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26342 * docs/gst/gstreamer-docs.sgml:
26343 * docs/gst/gstreamer-sections.txt:
26344 * docs/gst/gstreamer.types:
26345 * docs/gst/tmpl/.cvsignore:
26348 * gst/gstelement.c:
26350 added 100 symbols from gstreamer-unused.txt to the right sections
26351 fixed more broken comments
26352 added GstBus to docs
26354 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26356 * docs/gst/gstreamer-sections.txt:
26357 * docs/gst/tmpl/.cvsignore:
26358 * docs/gst/tmpl/gstbin.sgml:
26359 * docs/gst/tmpl/gstbuffer.sgml:
26360 * gst/base/gstbasesrc.c:
26361 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26364 * tools/gst-launch.1.in:
26365 inlined more doc comments, added missing comments and fixed comments
26368 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26370 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26374 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26376 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26377 * gst/gststructure.h:
26378 add a fixate function for booleans; add a FIXME that these func
26379 names should probably be gst_structure_fixate_*
26381 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26383 * docs/gst/gstreamer-docs.sgml:
26384 * docs/gst/gstreamer-sections.txt:
26386 * gst/gstbin.c: (gst_bin_get_type),
26387 (gst_bin_child_proxy_get_child_by_index),
26388 (gst_bin_child_proxy_get_children_count),
26389 (gst_bin_child_proxy_init):
26390 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26391 (gst_child_proxy_get_child_by_index),
26392 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26393 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26394 (gst_child_proxy_get), (gst_child_proxy_set_property),
26395 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26396 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26397 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26398 * gst/gstchildproxy.h:
26399 * gst/parse/grammar.y:
26400 * tools/gst-inspect.c: (print_interfaces),
26401 (print_element_properties_info), (print_element_info):
26402 ported gstchildproxy over from 0.8
26403 ported gst-inspect fixes and enhancements over from 0.8
26405 2005-08-22 Wim Taymans <wim@fluendo.com>
26407 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26408 (gst_base_transform_handle_buffer):
26409 Also call the transform function if we have ANY caps.
26411 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26414 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26416 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26417 Don't pretend to handle seek events if the source is not seekable
26419 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26421 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26422 Remove extra parameter to debug output
26424 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26425 (gst_base_src_do_seek), (gst_base_src_activate_push):
26426 Fix seek event handling.
26428 * gst/gstpipeline.c: (gst_pipeline_change_state):
26429 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26430 (gst_queue_src_activate_push):
26431 Don't start the src pad task on FLUSH_STOP if the pad
26435 2005-08-22 Wim Taymans <wim@fluendo.com>
26437 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26438 Added check for gst_static_caps_get() refcounting.
26440 2005-08-22 Wim Taymans <wim@fluendo.com>
26442 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26443 Make _static_caps_get() refcounting sane.
26445 * gst/gstelement.c: (gst_element_set_state):
26446 Add g_return_val_if_fail() to protect against segfaults.
26448 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26450 * docs/gst/tmpl/gstevent.sgml:
26453 inlined remaining docs, added missing doc comments
26455 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26457 * check/gst/gstbin.c: (GST_START_TEST):
26458 since we don't know when preroll is done, use refcount range
26460 * gst/check/gstcheck.h:
26461 add macro for checking refcount range
26463 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26465 * check/Makefile.am:
26466 clean up environment for when registry gets built versus
26467 when actual tests are run; valgrind seems to not report
26468 leaks if GST_PLUGIN_PATH is set to some specific values
26469 * check/gst/gstbin.c: (GST_START_TEST):
26470 add more refcounting checks; maybe this exposes a
26472 * common/check.mak:
26473 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26474 * gst/check/gstcheck.h:
26475 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26476 (gst_bin_change_state):
26477 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26478 add/fix debugging/whitespace
26480 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26482 * check/gst/gstevent.c: (event_probe), (test_event),
26484 Er, don't call gst_bin_watch_for_state_change you idiot.
26486 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26488 * check/Makefile.am:
26489 Use CHECK_CFLAGS and CHECK_LIBS
26490 * check/gst/gstevent.c: (event_probe), (test_event),
26493 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26494 (gst_base_src_start), (gst_base_src_stop),
26495 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26496 (gst_base_src_change_state):
26497 Sprinkle gst_base_src_stop liberally around error paths to fix
26498 problems reusing a source after failed state changes.
26499 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26500 (helper_find_suggest), (gst_type_find_helper):
26501 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26503 * docs/gst/tmpl/gstevent.sgml:
26504 Migrate part of the docs from the SGML file. Wait for ensonic to
26505 tell me how I did it wrong ;)
26506 * tools/gst-typefind.c: (main):
26507 Extra robustness to state changes between files.
26509 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26511 * check/Makefile.am:
26512 don't valgrind the controller test - it's leaking - Stefan, HELP
26513 * gst/check/gstcheck.c: (gst_check_message_error),
26514 (gst_check_chain_func), (gst_check_setup_element),
26515 (gst_check_teardown_element), (gst_check_setup_src_pad),
26516 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26517 (gst_check_teardown_sink_pad):
26518 * gst/check/gstcheck.h:
26519 add a bunch of methods to set up elements, and src and sink pads
26520 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26521 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26524 * gst/gstmessage.c:
26526 whitespace/doc fixes
26528 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26530 * gst/gstelement.h:
26531 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26532 be handled by the application and not always printed as well
26534 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26536 * check/Makefile.am:
26538 * gst/check/gstcheck.c: (gst_check_message_error):
26539 * gst/check/gstcheck.h:
26540 add a fail_unless_equals_int
26541 add fail_unless for error messages
26543 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26545 * check/Makefile.am:
26547 * common/Makefile.am:
26548 * common/check.mak:
26550 factor out some of the common stuff so we can use it
26552 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26554 * check/Makefile.am:
26555 * check/gst/gstiterator.c: (GST_START_TEST):
26556 * check/gst/gstsystemclock.c: (GST_START_TEST),
26557 (gst_systemclock_suite):
26558 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26560 valgrind more tests
26562 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26564 * check/elements/.cvsignore:
26565 * check/elements/gstfakesrc.c:
26566 rename to name of element
26567 * check/elements/identity.c: (chain_func), (event_func),
26568 (setup_identity), (cleanup_identity), (GST_START_TEST),
26569 (identity_suite), (main):
26570 add a test for identity
26571 * check/Makefile.am:
26572 * pkgconfig/Makefile.am:
26573 * pkgconfig/gstreamer-check.pc.in:
26574 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26578 move the check stuff to a library that gets installed
26579 * check/gst-libs/controller.c: (GST_START_TEST):
26580 * check/gst-libs/gdp.c:
26581 * check/gst/gst.c: (GST_START_TEST):
26582 * check/gst/gstbin.c:
26583 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26584 * check/gst/gstbus.c:
26585 * check/gst/gstcaps.c: (GST_START_TEST):
26586 * check/gst/gstelement.c:
26587 * check/gst/gstghostpad.c:
26588 * check/gst/gstiterator.c:
26589 * check/gst/gstmessage.c:
26590 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26591 * check/gst/gstobject.c:
26592 * check/gst/gstpad.c: (GST_START_TEST):
26593 * check/gst/gststructure.c: (GST_START_TEST):
26594 * check/gst/gstsystemclock.c: (GST_START_TEST),
26595 (gst_systemclock_suite):
26596 * check/gst/gsttag.c: (gst_tag_suite):
26597 * check/gst/gstvalue.c:
26598 * check/pipelines/cleanup.c:
26599 * check/pipelines/simple_launch_lines.c:
26600 * check/states/sinks.c:
26601 change include statement
26603 * docs/gst/gstreamer-sections.txt:
26604 * docs/gst/tmpl/gstpad.sgml:
26605 document more pad stuff
26606 * gst/gstminiobject.c: (gst_mini_object_ref),
26607 (gst_mini_object_unref):
26610 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26612 * docs/gst/tmpl/gst.sgml:
26614 eliminate another tmpl file, fix spelling in the long-description
26616 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26618 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26619 (test_event), (timediff), (gstevents_suite):
26620 Should fix build on 64-bit arch's
26622 2005-08-18 Andy Wingo <wingo@pobox.com>
26624 Make sure that when a pipeline goes to PLAYING, that data has
26625 actually hit the sink.
26627 * check/states/sinks.c (test_sink): A sink that doesn't get any
26628 data shouldn't return SUCCESS for going to either PLAYING or
26629 PAUSED. Test also the return values on the way back down.
26631 * gst/gstelement.c (gst_element_set_state): When changing the
26632 state of an element currently changing state asynchronously, go to
26633 lost-state after commiting the pending state. Makes future calls
26634 to get_state continue to return ASYNC.
26636 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26637 ASYNC when going to PLAYING if we still don't have preroll, as can
26638 happen with live sources.
26640 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26642 * docs/pwg/advanced-types.xml:
26643 Hack long paragraph into 2 chunks as a workaround for buggy
26644 jadetex version in sid and breezy that loops infinitely and
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 Provide more error margin in clock measurements to allow for
26652 g_get_current_time inaccuracies.
26654 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26656 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26657 (test_event), (timediff), (gstevents_suite):
26658 Fix error message output so I might be able to tell why the
26659 test works here but fails on the build farm.
26661 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26663 * check/Makefile.am:
26664 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26665 (test_event), (timediff), (gstevents_suite), (main):
26668 * docs/design/part-seeking.txt:
26669 Spelling correction
26671 * docs/gst/tmpl/gstevent.sgml:
26672 * docs/gst/tmpl/gstfakesrc.sgml:
26675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26676 Treat a buffer-without-newsegment the same as a receiving
26677 a newsegment not in time format, and disable syncing to the clock
26680 * gst/gstbus.c: (gst_bus_set_sync_handler):
26681 Assert if anyone tries to replace the existing sync_handler for bus,
26682 as only the owner should be setting it.
26685 Have a fixed set of custom event enums with events identified by
26686 their structure name (as in 0.8), rather than a free-for-all
26687 allowing collisions between enum values from different plugins.
26689 * gst/gstpad.c: (gst_pad_class_init):
26692 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26693 Handle out-of-band downstream events from the sending thread.
26695 2005-08-17 Andy Wingo <wingo@pobox.com>
26697 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26698 play-timeout==0 to mean no timeout at all. In that case, don't
26699 bother with a get_state or a warning, just return directly, even
26702 * gst/base/gstbasetransform.c: Debug changes.
26705 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26706 ensure bins post state change messages. A bit of a hack but I can't
26707 think of a way to avoid it.
26709 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26711 2005-08-16 Andy Wingo <wingo@pobox.com>
26713 * gst/base/gstadapter.h:
26714 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26715 peek() but you own the data. Not terribly efficient atm.
26717 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26719 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26720 (gst_element_found_tags):
26722 Add two utility functions for tag handling.
26724 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26726 * docs/manual/advanced-dataaccess.xml:
26727 * docs/manual/basics-helloworld.xml:
26728 Fix docs to use _bin_add() before _link(), which fixes the examples
26729 with recent core versions (reported by Madhan Raj M
26730 <raj_madan@rediffmail.com>, #313199).
26732 2005-08-16 Wim Taymans <wim@fluendo.com>
26734 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26735 Added subtract checks.
26737 * docs/design/part-events.txt:
26738 Some more docs about newsegment
26740 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26743 * gst/gstcaps.c: (gst_caps_to_string):
26744 Add comments, cleanups.
26746 * gst/gstelement.c: (gst_element_save_thyself):
26749 * gst/gstvalue.c: (gst_value_collect_int_range),
26750 (gst_string_unwrap), (gst_value_union_int_int_range),
26751 (gst_value_union_int_range_int_range),
26752 (gst_value_intersect_int_int_range),
26753 (gst_value_intersect_int_range_int_range),
26754 (gst_value_intersect_double_double_range),
26755 (gst_value_intersect_double_range_double_range),
26756 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26757 (gst_value_subtract_int_range_int),
26758 (gst_value_subtract_double_range_double),
26759 (gst_value_subtract_double_range_double_range),
26760 (gst_value_subtract_from_list), (gst_value_subtract_list),
26761 (gst_value_can_compare), (gst_value_compare_fraction):
26762 Cleanups, add comments, remove unneeded asserts.
26764 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26766 * tools/gst-launch.c: (event_loop):
26767 don't convert NULL structures to strings
26769 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26771 * docs/gst/gstreamer-sections.txt:
26772 made some defines private
26773 * docs/gst/tmpl/gstconfig.sgml:
26774 * docs/gst/tmpl/gstqueue.sgml:
26775 * docs/gst/tmpl/gsttaglist.sgml:
26776 * docs/gst/tmpl/gsttypes.sgml:
26777 * docs/gst/tmpl/gstutils.sgml:
26778 * docs/pwg/appendix-porting.xml:
26779 * gst/base/gstbasesink.h:
26780 * gst/base/gstbasesrc.c:
26781 * gst/base/gstbasesrc.h:
26782 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26783 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26784 * gst/gstelement.c: (gst_element_class_init):
26785 * gst/gstpad.c: (gst_pad_class_init):
26786 * gst/gstqueue.c: (gst_queue_class_init):
26787 * gst/gstxml.c: (gst_xml_class_init):
26788 documented all undocumented signal inline
26789 * libs/gst/controller/gst-controller.h:
26792 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26794 * docs/pwg/appendix-porting.xml:
26795 Document _set_link_function -> _set_setcaps_function.
26797 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26799 * check/Makefile.am:
26800 add a .check target for running the check
26801 * check/gst-libs/controller.c: (GST_START_TEST):
26803 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26804 complete checks for gstbuffer; would be nice if I could get the
26805 gcov stuff to work so I can see if I actually completed gstbuffer.c
26806 * check/gstcheck.h:
26807 add ASSERT_BUFFER_REFCOUNT
26809 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26811 * docs/gst/gstreamer-sections.txt:
26812 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26814 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26815 spew out a warning if a tag that is already registered
26816 is re-registered, unless it is re-registered with a
26817 different type (#308438).
26819 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26821 * docs/pwg/appendix-porting.xml:
26822 * docs/pwg/building-state.xml:
26823 Add some paragraphs about state changes in 0.9 to the PWG
26824 and the porting guide, in particular about the new meaning
26825 of GST_STATE_PAUSED and how to write state change functions
26826 with concurrent access by multiple threads in mind.
26828 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26830 * docs/gst/gstreamer-docs.sgml:
26831 * docs/libs/gstreamer-libs-docs.sgml:
26832 added deprecation and since indexes
26833 * libs/gst/controller/gst-controller.c:
26834 * libs/gst/controller/gst-helper.c:
26838 2005-08-11 Wim Taymans <wim@fluendo.com>
26840 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26841 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26842 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26843 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26844 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26845 (gst_ghost_pad_set_target):
26846 Actually implement (re)setting the target on a ghostpad
26847 as described in the docs.
26849 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26851 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26852 Check whether GST_DEBUG_NO_COLOR environment variable is
26853 set and disable coloured debug output if that is the case.
26855 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26857 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26858 (gst_type_find_helper):
26859 The memory returned by gst_type_find_peek() needs to
26860 stay valid until the end of a typefind function, and
26861 typefind functions may keep results from different
26862 offsets around, so we can't just unref the buffer from
26863 the previous _peek(), but have to save all buffers
26864 returned by _peek() until typefinding is done and only
26867 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26869 * docs/gst/gstreamer-sections.txt:
26871 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26873 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26875 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26876 Fix a pretty good memleak.
26878 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26880 * gst/gstiterator.h:
26881 Fix wrong include and 'make distcheck'.
26883 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26885 * gst/gstbin.c: (bin_bus_handler):
26886 Use gst_element_post_message() instead.
26888 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26890 * gst/base/gstadapter.h:
26891 * gst/base/gstbasesink.h:
26892 * gst/base/gstbasesrc.h:
26893 * gst/base/gstbasetransform.h:
26894 * gst/base/gstcollectpads.h:
26895 * gst/base/gstpushsrc.h:
26896 * gst/gstiterator.h:
26897 Add padding to our base elements' class and instance structs and
26898 to GstIterator (you will need to rebuild all plugins and apps!)
26900 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26902 * gst/gstbin.c: (bin_bus_handler):
26903 Make default message forwarding from child->bus to bin->bus
26904 threadsafe and make it not emit warnings if the parent has no bus.
26906 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26908 * gst/gstelement.c: (activate_pads):
26909 On paused->ready, set pad->caps to NULL, as is the documented
26910 behaviour in this state change. Fixes playback of series of
26911 media files when visualization is enabled in Totem.
26913 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26915 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26916 Allow NULL as filter-caps (which means "any").
26918 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26920 * docs/libs/gstreamer-libs-sections.txt:
26921 * libs/gst/controller/gst-controller.c:
26922 * libs/gst/controller/gst-controller.h:
26923 * libs/gst/controller/gst-helper.c:
26924 adding more entries to the docs and fix small doc-bugs
26926 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26928 * docs/gst/gstreamer-docs.sgml:
26929 * docs/gst/gstreamer-sections.txt:
26930 * docs/gst/gstreamer.types:
26931 * docs/gst/tmpl/gstbasesink.sgml:
26932 * docs/gst/tmpl/gstbasesrc.sgml:
26933 * docs/gst/tmpl/gstbasetransform.sgml:
26934 * docs/gst/tmpl/gstfakesrc.sgml:
26935 * gst/base/gstcollectpads.c:
26936 * gst/base/gstcollectpads.h:
26937 * libs/gst/controller/gst-controller.c:
26938 * libs/gst/controller/gst-controller.h:
26939 * libs/gst/controller/gst-helper.c:
26940 * libs/gst/controller/gst-interpolation.c:
26941 * libs/gst/controller/lib.c:
26942 added long/short desc for controller docs
26943 added collectpads base class docs
26944 added correct includes to base-class docs
26946 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26948 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26949 (gst_test_mono_source_set_property),
26950 (gst_test_mono_source_class_init), (GST_START_TEST),
26951 (gst_controller_suite):
26952 * docs/gst/gstreamer-docs.sgml:
26953 * docs/gst/gstreamer-sections.txt:
26954 * docs/gst/gstreamer.types:
26955 * docs/libs/gstreamer-libs-docs.sgml:
26956 * docs/libs/gstreamer-libs-sections.txt:
26957 * gst/base/gstadapter.c:
26958 * libs/gst/controller/gst-controller.c:
26959 (gst_controlled_property_new), (gst_controlled_property_free),
26960 (gst_controller_new_valist),
26961 (gst_controller_remove_properties_valist),
26962 (gst_controller_sink_values), (_gst_controller_finalize):
26963 * libs/gst/controller/gst-controller.h:
26964 * libs/gst/controller/gst-helper.c:
26965 (gst_object_control_properties), (gst_object_uncontrol_properties),
26966 (gst_object_get_controller), (gst_object_set_controller),
26967 (gst_object_sink_values), (gst_object_get_value_arrays),
26968 (gst_object_get_value_array):
26969 more tests (and fixes) for the controller
26970 more docs for the controller
26971 integrated companies docs for the adapter
26973 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26975 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26976 (GST_START_TEST), (fakesrc_suite):
26977 add tests for sizetype
26979 2005-08-04 Andy Wingo <wingo@pobox.com>
26981 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26982 fixes buffer_alloc proxying among other things.
26984 * gst/base/gstbasetransform.c:
26985 * gst/base/gstbasetransform.h:
26986 Revert patch to gstbasetransform from 7-28 removing
26989 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26990 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26991 Semantics changed, should return not the size of the output buffer
26992 but the byte size of a buffer with a given caps.
26994 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26996 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26997 out) are not the pad caps until setcaps finishes.
26998 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26999 not-in-place case as well. Deal with changing from in-place to
27000 not-in-place within calling pad_alloc_buffer. Still a bit
27001 concerned about the overhead here...
27003 2005-08-03 Andy Wingo <wingo@pobox.com>
27005 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27006 fixating is an error.
27008 2005-08-04 Edward Hervey <edward@fluendo.com>
27010 * gst/base/gstadapter.h:
27011 Added gst_adapter_get_type() to the header
27013 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27015 * check/Makefile.am:
27016 * check/gst-libs/controller.c:
27017 * libs/gst/controller/gst-controller.c:
27018 (gst_controller_new_valist):
27019 added check test suite for the controller
27020 * gst/base/gstpushsrc.c:
27023 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27025 * docs/gst/Makefile.am:
27026 * docs/gst/gstreamer-docs.sgml:
27027 * docs/gst/gstreamer-sections.txt:
27028 * docs/gst/gstreamer.types:
27029 * docs/gst/tmpl/gstfakesrc.sgml:
27031 * gst/base/gstbasesink.c:
27032 * gst/base/gstbasesink.h:
27033 * gst/base/gstbasesrc.c:
27034 * gst/base/gstbasesrc.h:
27035 * gst/base/gstbasetransform.c:
27036 * gst/base/gstpushsrc.c:
27037 * gst/base/gstpushsrc.h:
27038 add short/long description docs to base classes
27039 add pushsrc to the docs
27040 remove consolidated doc fragments
27042 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27045 * docs/libs/Makefile.am:
27046 * docs/libs/gstreamer-libs-docs.sgml:
27047 * docs/libs/gstreamer-libs-sections.txt:
27048 * docs/libs/gstreamer-libs.types:
27049 * examples/Makefile.am:
27050 * examples/controller/.cvsignore:
27051 * examples/controller/Makefile.am:
27052 * examples/controller/audio-example.c: (main):
27053 * libs/gst/Makefile.am:
27054 * libs/gst/controller/.cvsignore:
27055 * libs/gst/controller/Makefile.am:
27056 * libs/gst/controller/gst-controller.c:
27057 (on_object_controlled_property_changed), (gst_timed_value_compare),
27058 (gst_timed_value_find),
27059 (gst_controlled_property_set_interpolation_mode),
27060 (gst_controlled_property_new), (gst_controlled_property_free),
27061 (gst_controller_find_controlled_property),
27062 (gst_controller_new_valist), (gst_controller_new),
27063 (gst_controller_remove_properties_valist),
27064 (gst_controller_remove_properties), (gst_controller_set),
27065 (gst_controller_set_from_list), (gst_controller_unset),
27066 (gst_controller_get), (gst_controller_get_all),
27067 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27068 (gst_controller_get_value_array),
27069 (gst_controller_set_interpolation_mode),
27070 (_gst_controller_finalize), (_gst_controller_init),
27071 (_gst_controller_class_init), (gst_controller_get_type):
27072 * libs/gst/controller/gst-controller.h:
27073 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27074 (g_object_uncontrol_properties), (g_object_get_controller),
27075 (g_object_set_controller), (g_object_sink_values),
27076 (g_object_get_value_arrays), (g_object_get_value_array):
27077 * libs/gst/controller/gst-interpolation.c:
27078 (gst_controlled_property_find_timed_value_node),
27079 (interpolate_none_get), (interpolate_trigger_get),
27080 (interpolate_trigger_get_value_array):
27081 * libs/gst/controller/lib.c: (gst_controller_init):
27082 * pkgconfig/Makefile.am:
27083 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27084 * pkgconfig/gstreamer-control.pc.in:
27085 * testsuite/Makefile.am:
27086 * testsuite/controller/.cvsignore:
27087 * testsuite/controller/Makefile.am:
27088 * testsuite/controller/interpolator.c: (main):
27089 added controller code
27090 removed dparam pc files
27092 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27093 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27094 (gst_collectpads_stop):
27095 Broadcast the condition when shutting down, to make sure we wake all
27096 threads up. Shut down pads on finalize, for safety.
27098 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27099 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27100 (gst_base_transform_handle_buffer),
27101 (gst_base_transform_change_state):
27102 Handle PAUSED->READY->PAUSED transition after negotiation
27104 * gst/gstmessage.c: (gst_message_init):
27105 Extra piece of debug for new messages.
27107 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27110 * docs/gst/tmpl/gstbasesrc.sgml:
27111 * docs/gst/tmpl/gstelement.sgml:
27112 * docs/gst/tmpl/gstevent.sgml:
27113 * docs/gst/tmpl/gstfakesrc.sgml:
27114 * docs/gst/tmpl/gstformat.sgml:
27115 * docs/gst/tmpl/gstghostpad.sgml:
27116 * docs/gst/tmpl/gstpad.sgml:
27117 * docs/gst/tmpl/gstquery.sgml:
27118 * docs/gst/tmpl/gststructure.sgml:
27119 * docs/gst/tmpl/gsttaglist.sgml:
27120 * docs/gst/tmpl/gstvalue.sgml:
27121 * docs/libs/gstreamer-libs-docs.sgml:
27122 * docs/libs/gstreamer-libs-sections.txt:
27123 * docs/libs/gstreamer-libs.types:
27124 * libs/gst/Makefile.am:
27125 * libs/gst/control/.cvsignore:
27126 * libs/gst/control/Makefile.am:
27127 * libs/gst/control/control.c:
27128 * libs/gst/control/control.h:
27129 * libs/gst/control/dparam.c:
27130 * libs/gst/control/dparam.h:
27131 * libs/gst/control/dparam_smooth.c:
27132 * libs/gst/control/dparam_smooth.h:
27133 * libs/gst/control/dparamcommon.h:
27134 * libs/gst/control/dparammanager.c:
27135 * libs/gst/control/dparammanager.h:
27136 * libs/gst/control/dplinearinterp.c:
27137 * libs/gst/control/dplinearinterp.h:
27138 * libs/gst/control/unitconvert.c:
27139 * libs/gst/control/unitconvert.h:
27140 * testsuite/Makefile.am:
27141 * testsuite/dynparams/.cvsignore:
27142 * testsuite/dynparams/Makefile.am:
27143 * testsuite/dynparams/dparamstest.c:
27144 * tools/Makefile.am:
27145 * tools/gst-inspect.c: (print_element_info), (main):
27146 * tools/gst-xmlinspect.c: (print_element_info), (main):
27147 deactivate and remove dparams (libgstcontrol)
27149 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27151 * gst/elements/gsttypefindelement.c:
27152 (gst_type_find_element_have_type), (gst_type_find_element_init),
27153 (stop_typefinding), (gst_type_find_element_handle_event),
27154 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27155 * gst/elements/gsttypefindelement.h:
27156 Set caps on all outgoing buffers, not just the first one.
27158 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27160 * gst/elements/gsttypefindelement.c:
27161 (gst_type_find_element_have_type),
27162 (gst_type_find_element_check_set_buffer_caps),
27163 (gst_type_find_element_init), (stop_typefinding),
27164 (gst_type_find_element_handle_event),
27165 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27166 * gst/elements/gsttypefindelement.h:
27167 Set caps on first outgoing buffer when we've found the type.
27169 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27171 * docs/gst/gstreamer-docs.sgml:
27172 * docs/gst/gstreamer-sections.txt:
27173 * docs/gst/tmpl/gstscheduler.sgml:
27174 * docs/gst/tmpl/gstschedulerfactory.sgml:
27175 Remove some old cruft from docs.
27177 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27180 Fix inline docs for GstPadLinkReturn.
27182 * gst/gststructure.c: (gst_structure_has_name):
27183 * gst/gststructure.h:
27184 * docs/gst/gstreamer-sections.txt:
27185 New API: gst_structure_has_name().
27187 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27190 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27191 and _LARGEFILE_SOURCE in config.h as required. Do not
27192 export those flags in our .pc files any longer (#142209).
27194 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27196 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27197 (gst_file_sink_do_seek), (gst_file_sink_event),
27198 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27199 Redo seek/tell calls with large file support in mind; add some
27200 debugging messages; add log message that tells us when large
27201 file support is unavailable or not enabled for some reason.
27203 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27204 Add log message that tells us when large file support
27205 is unavailable or not enabled for some reason.
27207 2005-07-29 Wim Taymans <wim@fluendo.com>
27209 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27210 Added test for removing an element with ghostpad from a bin.
27211 Fixed test as current implementation does the right thing.
27213 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27214 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27215 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27216 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27217 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27218 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27219 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27220 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27221 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27222 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27223 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27224 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27225 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27226 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27227 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27228 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27229 * gst/gstghostpad.h:
27230 Clean up ghostpads, remove properties for internal stuff.
27233 Prepare for switching targets, not all use cases work yet.
27235 2005-07-29 Wim Taymans <wim@fluendo.com>
27237 * docs/design/part-gstghostpad.txt:
27240 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27241 (gst_bin_remove_func):
27242 Unlinking pads while holding the bin LOCK is not a good
27245 * gst/gstpad.c: (gst_pad_class_init),
27246 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27247 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27248 No prob setting template after creating the pad.
27250 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27252 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27253 (gst_bus_peek), (gst_bus_source_dispatch),
27254 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27255 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27256 gst_bus_poll may be called from other threads. Handle
27257 this nicely by not making poll_data disappear off the
27258 stack once gst_bus_poll returns.
27259 gst_bus_peek now increments the refcount on the returned
27262 2005-07-29 Wim Taymans <wim@fluendo.com>
27264 * docs/design/part-gstghostpad.txt:
27265 Overview of current GhostPad datastructures and use
27266 cases for changing the target.
27268 2005-07-28 Wim Taymans <wim@fluendo.com>
27270 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27271 Added checks for hierarchy consistency whan adding linked
27274 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27275 Added check to test element scheduling without bin/pipeline.
27277 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27278 First add elements to bin, then link.
27280 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27281 (gst_bin_remove_func):
27282 Unlink pads from elements added/removed from bin to maintain
27283 hierarchy consistency.
27285 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27287 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27288 (gst_base_transform_handle_buffer):
27289 * gst/base/gstbasetransform.h:
27290 Remove broken delay_configure (fixes renegotiation of software
27291 scaling pipelines); remove some leftover printf()s.
27293 2005-07-28 Wim Taymans <wim@fluendo.com>
27295 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27296 Added some more tests for wrong hierarchy
27298 * docs/design/part-overview.txt:
27301 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27304 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27305 (gst_element_dispose):
27306 Some more cleanups.
27308 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27309 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27310 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27311 (gst_pad_set_caps), (gst_pad_send_event):
27312 Check for correct hierarchy when linking pads. Moving to
27313 strict requirement for ghostpads when linking elements in
27317 Clean ups. Added WRONG_HIERARCHY return value.
27319 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27321 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27322 Better debug if no transform is possible.
27324 2005-07-27 Wim Taymans <wim@fluendo.com>
27326 * docs/random/wtay/network-transp:
27327 Some old doc I had.
27329 2005-07-27 Wim Taymans <wim@fluendo.com>
27331 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27332 (gst_dp_event_from_packet):
27333 Fix serialization of seek events.
27335 2005-07-27 Wim Taymans <wim@fluendo.com>
27337 * check/gst-libs/gdp.c: (GST_START_TEST):
27338 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27339 Fix compilation and fix event serialization.
27341 2005-07-27 Wim Taymans <wim@fluendo.com>
27344 * docs/design/part-TODO.txt:
27345 * docs/design/part-events.txt:
27348 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27349 (gst_base_sink_event), (gst_base_sink_do_sync),
27350 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27351 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27352 (gst_base_src_do_seek), (gst_base_src_event_handler),
27353 (gst_base_src_loop):
27354 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27355 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27356 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27357 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27358 (gst_base_transform_set_passthrough),
27359 (gst_base_transform_is_passthrough):
27360 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27361 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27367 * gst/gstelement.c: (gst_element_seek):
27368 * gst/gstelement.h:
27369 Update gst_element_seek.
27371 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27372 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27373 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27374 (gst_event_new_eos), (gst_event_new_newsegment),
27375 (gst_event_parse_newsegment), (gst_event_new_tag),
27376 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27377 (gst_event_parse_qos), (gst_event_new_seek),
27378 (gst_event_parse_seek), (gst_event_new_navigation):
27380 Make GstEvent use GstStructure. Add parsing code, make sure the
27381 API is sufficiently generic.
27382 Mark possible directions of events and serialization.
27384 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27385 (_gst_message_copy), (gst_message_new_segment_start),
27386 (gst_message_new_segment_done), (gst_message_new_custom),
27387 (gst_message_parse_segment_start),
27388 (gst_message_parse_segment_done):
27391 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27392 (gst_pad_set_caps), (gst_pad_send_event):
27393 Update for new events.
27394 Catch events sent in wrong directions.
27396 * gst/gstqueue.c: (gst_queue_link_src),
27397 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27398 (gst_queue_handle_src_query):
27403 Remove event code from this file.
27405 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27406 (gst_dp_event_from_packet):
27409 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27411 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27412 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27413 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27414 Make debugging actually useful.
27416 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27418 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27419 (gst_pad_fixate_caps):
27420 Implement default fixation once again, so that gst_pad_fixate()
27421 actually does anything at all. This probably needs to be some
27422 sort of a last resort, and use profile-based fixation first, but
27423 since that doesn't exist yet, this is the best we have. Fixes
27424 visualization in Totem.
27426 2005-07-22 Wim Taymans <wim@fluendo.com>
27428 * docs/design/part-events.txt:
27431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27432 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27433 (gst_base_sink_activate_pull):
27434 Some more comments.
27436 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27437 (gst_fake_src_create):
27438 Fix handoff marshall.
27440 * gst/elements/gstidentity.c: (gst_identity_class_init),
27441 (gst_identity_transform_ip):
27442 We're a real inplace element.
27444 * gst/gstbus.c: (gst_bus_post):
27445 Added some comments.
27447 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27448 * tests/muxing/case1.c: (main):
27449 * tests/sched/dynamic-pipeline.c: (main):
27450 * tests/sched/interrupt1.c: (main):
27451 * tests/sched/interrupt2.c: (main):
27452 * tests/sched/interrupt3.c: (main):
27453 * tests/sched/runxml.c: (main):
27454 * tests/sched/sched-stress.c: (main):
27455 * tests/seeking/seeking1.c: (event_received), (main):
27456 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27458 * tests/threadstate/threadstate3.c: (main):
27459 * tests/threadstate/threadstate4.c: (main):
27460 * tests/threadstate/threadstate5.c: (main):
27463 2005-07-21 Wim Taymans <wim@fluendo.com>
27465 * docs/design/part-seeking.txt:
27466 Some small additions.
27468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27469 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27470 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27471 * gst/base/gstbasesink.h:
27472 discont values are gint64, handle the math correctly.
27474 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27475 Make the basesrc report error if the source pad is not linked.
27477 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27478 (gst_queue_loop), (gst_queue_handle_src_query),
27479 (gst_queue_src_activate_push):
27480 Make queue collect data even if the srcpad is not linked.
27481 Start pushing out data as soon as it is linked.
27483 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27485 Added gst_flow_get_name() to ease error reporting.
27487 2005-07-20 Wim Taymans <wim@fluendo.com>
27489 * gst/gstmessage.c: (gst_message_new_segment_start),
27490 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27491 (gst_message_parse_segment_done):
27492 * gst/gstmessage.h:
27493 Added a bunch of messages for advanced seeking.
27495 * gst/parse/grammar.y:
27496 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27497 (gst_dpman_state_changed):
27498 Fix some new-pad -> pad-added signals
27500 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27502 * docs/manual/appendix-porting.xml:
27503 * docs/pwg/appendix-porting.xml:
27504 Document new-pad/state-change signal renames and the FixedList
27507 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27509 * docs/manual/advanced-autoplugging.xml:
27510 * docs/manual/basics-helloworld.xml:
27511 * docs/manual/basics-pads.xml:
27512 * docs/random/ds/0.9-suggested-changes:
27513 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27514 * gst/gstelement.h:
27518 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27519 (gst_structure_parse_array), (gst_structure_parse_value):
27520 * gst/gstvalue.c: (gst_type_is_fixed),
27521 (gst_value_list_prepend_value), (gst_value_list_append_value),
27522 (gst_value_list_get_size), (gst_value_list_get_value),
27523 (gst_value_transform_array_string), (gst_value_serialize_array),
27524 (gst_value_deserialize_array), (gst_value_intersect_array),
27525 (gst_value_is_fixed), (_gst_value_initialize):
27527 GstElement::new-pad -> pad-added, GstElement::state-change ->
27528 state-changed, GstValueFixedList -> GstValueArray, add format and
27529 flags as their own arguments in gst_element_seek() (should improve
27530 "bindeability"), remove function generators since they don't work
27531 under a whole bunch of compilers (they were deprecated already
27534 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27536 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27537 (_gst_debug_register_funcptr):
27539 Fix illegal cast on some platforms (#309253).
27541 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27543 * gst/gstmessage.c: (gst_message_new_custom):
27544 * gst/gstmessage.h:
27545 Add _new_custom, make _new_application a macro to _new_custom.
27547 2005-07-20 Wim Taymans <wim@fluendo.com>
27549 * gst/base/gstbasesrc.c: (gst_base_src_init),
27550 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27551 * gst/base/gstbasesrc.h:
27552 Add a gboolean to decide when to push out a discont.
27554 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27555 (gst_queue_loop), (gst_queue_handle_src_query),
27556 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27557 (gst_queue_set_property), (gst_queue_get_property):
27560 * tests/threadstate/threadstate1.c: (main):
27561 Make a thread test compile and run... very silly..
27564 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27566 * docs/manual/appendix-porting.xml:
27567 Mention removal of libgstgconf-0.9.la and existence of gconf
27570 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27572 * docs/pwg/advanced-clock.xml:
27573 * docs/pwg/appendix-porting.xml:
27574 * docs/pwg/intro-preface.xml:
27575 * docs/pwg/other-base.xml:
27576 * docs/pwg/other-manager.xml:
27577 * docs/pwg/other-nton.xml:
27578 * docs/pwg/other-ntoone.xml:
27579 * docs/pwg/other-oneton.xml:
27580 * docs/pwg/pwg.xml:
27581 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27582 demuxer), remove n-to-n (was never written), fix some code examples
27583 and links and update the porting section to include all this.
27585 2005-07-19 Wim Taymans <wim@fluendo.com>
27587 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27588 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27589 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27590 (gst_queue_src_activate_push), (gst_queue_change_state),
27591 (gst_queue_get_property):
27593 Propagate GstFlowReturn more intelligently upstream and output
27594 an ERROR/EOS when streaming stopped due to fatal error.
27596 2005-07-19 Wim Taymans <wim@fluendo.com>
27598 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27599 Don't block forever for the state change to complete, the
27600 pipeline already did with a sensible timeout.
27602 2005-07-19 Wim Taymans <wim@fluendo.com>
27604 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27605 Make sure we never call the create function is we
27608 2005-07-19 Andy Wingo <wingo@pobox.com>
27610 * gst/parse/parse.l: Attempt to solve bug #172815.
27612 2005-07-19 Wim Taymans <wim@fluendo.com>
27614 * docs/design/part-clocks.txt:
27615 * docs/design/part-events.txt:
27616 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27617 Small docs updates.
27618 Only update the seeking values when we are not
27621 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27623 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27624 Oops, ignore the result of gst_pad_push_event here.
27626 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27628 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27629 (gst_base_src_activate_push):
27630 Send discont event from the loop function, as pads
27631 aren't activated yet in the activate_push handler.
27633 * gst/gstbin.c: (bin_bus_handler):
27634 Don't leak element name.
27636 2005-07-18 Andy Wingo <wingo@pobox.com>
27638 * configure.ac: Use AS_LIBTOOL_TAGS.
27640 2005-07-18 Wim Taymans <wim@fluendo.com>
27642 * docs/gst/gstreamer.types:
27643 Remove deleted types.
27645 2005-07-18 Wim Taymans <wim@fluendo.com>
27647 * check/elements/gstfakesrc.c: (GST_START_TEST):
27650 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27651 (init_popt_callback):
27653 * gst/gst_private.h:
27654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27655 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27658 * gst/gstconfig.h.in:
27659 * gst/gstelement.c: (gst_element_class_init),
27660 (gst_element_set_base_time), (gst_element_get_base_time),
27661 (iterator_fold_with_resync), (gst_element_change_state),
27662 (gst_element_dispose), (gst_element_get_bus):
27663 * gst/gstelement.h:
27664 * gst/gstelementfactory.h:
27665 * gst/gsterror.c: (_gst_core_errors_init):
27668 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27670 * gst/gstinfo.c: (_gst_debug_init):
27671 * gst/gstmessage.c: (_gst_message_copy):
27672 * gst/gstmessage.h:
27673 * gst/gstminiobject.h:
27676 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27677 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27680 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27681 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27682 (gst_pipeline_get_last_stream_time):
27683 * gst/gstpipeline.h:
27684 * gst/gstpluginfeature.h:
27686 * gst/gstscheduler.c:
27687 * gst/gstscheduler.h:
27688 * gst/gststructure.h:
27689 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27690 (gst_task_finalize), (gst_task_func), (gst_task_create),
27691 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27692 (gst_task_stop), (gst_task_pause):
27694 * gst/gsttypefind.h:
27696 * gst/registries/gstlibxmlregistry.c: (load_feature),
27697 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27698 * gst/registries/gstxmlregistry.c:
27699 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27700 * gst/schedulers/threadscheduler.c:
27701 * libs/gst/control/dparammanager.h:
27702 * tools/gst-inspect.c: (print_element_list),
27703 (print_plugin_features), (print_element_features):
27704 * tools/gst-xmlinspect.c: (print_element_list),
27705 (print_plugin_info), (main):
27706 Removed plugable schedulers.
27707 Removed Scheduler/Manager from elements.
27708 Removed gsttypes.h, rearranged includes.
27709 Removed dependency pad<->element, element<>pipeline, and
27710 various others, fix includes.
27711 implement gst_pad_get_parent() with gst_object_get_parent()
27712 Make GstTask sefcontained.
27713 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27715 Fix endless loop in iterator_fold_with_resync.
27718 2005-07-18 Wim Taymans <wim@fluendo.com>
27724 2005-07-18 Wim Taymans <wim@fluendo.com>
27727 No more cothreads.h
27729 2005-07-18 Wim Taymans <wim@fluendo.com>
27733 Let's remove these.
27735 2005-07-18 Wim Taymans <wim@fluendo.com>
27737 * docs/design/part-dynamic.txt:
27738 * docs/design/part-events.txt:
27739 * docs/design/part-seeking.txt:
27740 Some more docs in the works.
27742 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27743 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27744 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27745 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27746 (gst_base_transform_handle_buffer),
27747 (gst_base_transform_sink_activate_push),
27748 (gst_base_transform_src_activate_pull),
27749 (gst_base_transform_set_passthrough),
27750 (gst_base_transform_is_passthrough):
27753 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27756 * gst/gstevent.c: (gst_event_finalize):
27759 * gst/gstutils.c: (gst_element_unlink),
27760 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27761 (gst_pad_proxy_setcaps):
27763 Add _get_parent_element() to get a pads parent as an element.
27765 2005-07-18 Wim Taymans <wim@fluendo.com>
27767 * check/gst/gstbin.c: (GST_START_TEST):
27770 2005-07-18 Wim Taymans <wim@fluendo.com>
27772 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27773 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27774 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27775 (gst_base_sink_event), (gst_base_sink_do_sync),
27776 (gst_base_sink_chain), (gst_base_sink_loop),
27777 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27778 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27780 Fix logic for returning ASYNC when not prerolled.
27782 2005-07-18 Wim Taymans <wim@fluendo.com>
27784 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27785 Fix nasty refcount bug.
27787 2005-07-16 Philippe Khalaf <burger@speedy.org>
27789 * gst/elements/gstfdsrc.c:
27790 * gst/elements/gstfdsrc.h:
27791 * gst/elements/gstelements.c:
27792 * gst/elements/Makefile.am:
27793 Ported fdsrc to 0.9.
27795 2005-07-16 Wim Taymans <wim@fluendo.com>
27797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27798 (gst_base_sink_do_sync):
27801 2005-07-16 Wim Taymans <wim@fluendo.com>
27803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27804 (gst_base_sink_event), (gst_base_sink_get_times),
27805 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27806 * gst/base/gstbasesink.h:
27807 Store and use discont values when syncing buffers as described
27810 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27811 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27812 (gst_base_src_activate_push):
27813 Push discont event when starting.
27815 * gst/elements/gstidentity.c: (gst_identity_transform):
27818 * gst/gstbin.c: (gst_bin_change_state):
27819 Small cleanups in base_time distribution.
27821 * gst/gstelement.c: (gst_element_set_base_time),
27822 (gst_element_get_base_time), (gst_element_change_state):
27823 * gst/gstelement.h:
27824 Added methods for the base_time of the element.
27827 * gst/gstpipeline.c: (gst_pipeline_send_event),
27828 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27829 (gst_pipeline_get_last_stream_time):
27830 * gst/gstpipeline.h:
27832 Handle seeking as described in design doc, remove stream_time
27834 Cleanups clock and stream_time selection code. Added accessors
27835 for the stream_time.
27838 2005-07-16 Andy Wingo <wingo@pobox.com>
27840 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27843 2005-07-16 Wim Taymans <wim@fluendo.com>
27845 * check/gst/gstbin.c: (GST_START_TEST):
27846 Make elements silent as the deep_notify refs the
27847 parent, which might make the test fail.
27849 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27850 Don't hold the lock for too long.
27852 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27854 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27855 Don't unref the caps we passed to gst_caps_make_writable() after
27856 passing them. gst_caps_make_writable() will do that for us.
27858 2005-07-15 Andy Wingo <wingo@pobox.com>
27860 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27863 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27864 own marshalling function for the handoff signal. Properly type the
27865 buffer as a buffer. Fixes some warnings. Should do a more general
27867 (gst_identity_class_init): Plug into the right marshaller.
27869 2005-07-15 Wim Taymans <wim@fluendo.com>
27871 * docs/design/part-TODO.txt:
27872 * docs/design/part-clocks.txt:
27873 * docs/design/part-element-sink.txt:
27874 * docs/design/part-events.txt:
27875 * docs/design/part-gstpipeline.txt:
27876 Updated docs, mostly DISCONT related.
27878 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27880 * docs/pwg/building-pads.xml:
27881 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27883 2005-07-15 Andy Wingo <wingo@pobox.com>
27885 * tools/gst-typefind.c: Update, add copyright block.
27887 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27888 Normalize and truncate caps before fixation.
27891 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27892 discards all but the first structure from its argument.
27894 2005-07-15 Wim Taymans <wim@fluendo.com>
27896 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27897 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27898 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27899 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27900 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27901 (gst_base_transform_chain), (gst_base_transform_change_state),
27902 (gst_base_transform_set_passthrough),
27903 (gst_base_transform_is_passthrough):
27904 * gst/base/gstbasetransform.h:
27905 Make passthrough work using the bufferpools.
27906 Changed API a bit, subclasses have to write into a buffer
27907 provided by the base class.
27908 More debug info in nego functions.
27910 * gst/elements/gstidentity.c: (gst_identity_init),
27911 (gst_identity_transform):
27912 Port to new base class.
27914 2005-07-15 Wim Taymans <wim@fluendo.com>
27916 * gst/gstmessage.c: (gst_message_new_state_changed):
27917 * tools/gst-launch.c: (event_loop), (main):
27918 Totally dump messages in -launch with the -m option.
27919 Fix message name for State messages,
27921 2005-07-14 Wim Taymans <wim@fluendo.com>
27923 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27924 Post error messages on errors.
27926 2005-07-14 Wim Taymans <wim@fluendo.com>
27928 * gst/gstcaps.c: (gst_caps_do_simplify):
27932 Define error for stream stopped.
27934 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27935 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27936 Do proper return values.
27938 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27939 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27940 (gst_pad_get_range):
27941 Better return values.
27944 Reorganise return values, add macro to check for fatal errors.
27946 * gst/gstqueue.c: (gst_queue_chain):
27947 Return proper GstFlowReturn values,
27949 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27951 * docs/gst/gstreamer-sections.txt:
27952 * docs/gst/gstreamer.types:
27953 * docs/gst/tmpl/gst.sgml:
27954 * docs/gst/tmpl/gstbasesink.sgml:
27955 * docs/gst/tmpl/gstbasesrc.sgml:
27956 * docs/gst/tmpl/gstbasetransform.sgml:
27957 * docs/gst/tmpl/gstbin.sgml:
27958 * docs/gst/tmpl/gstbuffer.sgml:
27959 * docs/gst/tmpl/gstcaps.sgml:
27960 * docs/gst/tmpl/gstclock.sgml:
27961 * docs/gst/tmpl/gstcompat.sgml:
27962 * docs/gst/tmpl/gstconfig.sgml:
27963 * docs/gst/tmpl/gstelement.sgml:
27964 * docs/gst/tmpl/gstelementdetails.sgml:
27965 * docs/gst/tmpl/gstelementfactory.sgml:
27966 * docs/gst/tmpl/gstenumtypes.sgml:
27967 * docs/gst/tmpl/gsterror.sgml:
27968 * docs/gst/tmpl/gstevent.sgml:
27969 * docs/gst/tmpl/gstfakesink.sgml:
27970 * docs/gst/tmpl/gstfakesrc.sgml:
27971 * docs/gst/tmpl/gstfilesink.sgml:
27972 * docs/gst/tmpl/gstfilesrc.sgml:
27973 * docs/gst/tmpl/gstfilter.sgml:
27974 * docs/gst/tmpl/gstformat.sgml:
27975 * docs/gst/tmpl/gstghostpad.sgml:
27976 * docs/gst/tmpl/gstimplementsinterface.sgml:
27977 * docs/gst/tmpl/gstindex.sgml:
27978 * docs/gst/tmpl/gstindexfactory.sgml:
27979 * docs/gst/tmpl/gstinfo.sgml:
27980 * docs/gst/tmpl/gstiterator.sgml:
27981 * docs/gst/tmpl/gstmacros.sgml:
27982 * docs/gst/tmpl/gstmemchunk.sgml:
27983 * docs/gst/tmpl/gstminiobject.sgml:
27984 * docs/gst/tmpl/gstobject.sgml:
27985 * docs/gst/tmpl/gstpad.sgml:
27986 * docs/gst/tmpl/gstpadtemplate.sgml:
27987 * docs/gst/tmpl/gstparse.sgml:
27988 * docs/gst/tmpl/gstpipeline.sgml:
27989 * docs/gst/tmpl/gstplugin.sgml:
27990 * docs/gst/tmpl/gstpluginfeature.sgml:
27991 * docs/gst/tmpl/gstquery.sgml:
27992 * docs/gst/tmpl/gstqueue.sgml:
27993 * docs/gst/tmpl/gstregistry.sgml:
27994 * docs/gst/tmpl/gstregistrypool.sgml:
27995 * docs/gst/tmpl/gstscheduler.sgml:
27996 * docs/gst/tmpl/gstschedulerfactory.sgml:
27997 * docs/gst/tmpl/gststructure.sgml:
27998 * docs/gst/tmpl/gstsystemclock.sgml:
27999 * docs/gst/tmpl/gsttaglist.sgml:
28000 * docs/gst/tmpl/gsttagsetter.sgml:
28001 * docs/gst/tmpl/gsttrace.sgml:
28002 * docs/gst/tmpl/gsttrashstack.sgml:
28003 * docs/gst/tmpl/gsttypefind.sgml:
28004 * docs/gst/tmpl/gsttypefindfactory.sgml:
28005 * docs/gst/tmpl/gsttypes.sgml:
28006 * docs/gst/tmpl/gsturihandler.sgml:
28007 * docs/gst/tmpl/gsturitype.sgml:
28008 * docs/gst/tmpl/gstutils.sgml:
28009 * docs/gst/tmpl/gstvalue.sgml:
28010 * docs/gst/tmpl/gstversion.sgml:
28011 * docs/gst/tmpl/gstxml.sgml:
28012 * docs/libs/tmpl/gstcontrol.sgml:
28013 * docs/libs/tmpl/gstdataprotocol.sgml:
28014 * docs/libs/tmpl/gstdparam.sgml:
28015 * docs/libs/tmpl/gstdplinint.sgml:
28016 * docs/libs/tmpl/gstdpman.sgml:
28017 * docs/libs/tmpl/gstdpsmooth.sgml:
28018 * docs/libs/tmpl/gstgetbits.sgml:
28019 * docs/libs/tmpl/gstunitconvert.sgml:
28020 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28021 (gst_push_src_base_init), (gst_push_src_class_init),
28022 (gst_push_src_init), (gst_push_src_create):
28023 * gst/base/gstpushsrc.h:
28024 * gst/elements/gstelements.c:
28025 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28026 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28027 (gst_fake_sink_init), (gst_fake_sink_set_property),
28028 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28029 (gst_fake_sink_event), (gst_fake_sink_preroll),
28030 (gst_fake_sink_render), (gst_fake_sink_change_state):
28031 * gst/elements/gstfakesink.h:
28032 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28033 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28034 (gst_fake_src_base_init), (gst_fake_src_class_init),
28035 (gst_fake_src_init), (gst_fake_src_event_handler),
28036 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28037 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28038 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28039 (gst_fake_src_create_buffer), (gst_fake_src_create),
28040 (gst_fake_src_start), (gst_fake_src_stop):
28041 * gst/elements/gstfakesrc.h:
28042 * gst/elements/gstfilesink.c: (_do_init),
28043 (gst_file_sink_base_init), (gst_file_sink_class_init),
28044 (gst_file_sink_init), (gst_file_sink_dispose),
28045 (gst_file_sink_set_location), (gst_file_sink_set_property),
28046 (gst_file_sink_get_property), (gst_file_sink_open_file),
28047 (gst_file_sink_close_file), (gst_file_sink_query),
28048 (gst_file_sink_event), (gst_file_sink_render),
28049 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28050 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28051 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28052 * gst/elements/gstfilesink.h:
28053 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28054 (gst_file_src_class_init), (gst_file_src_init),
28055 (gst_file_src_finalize), (gst_file_src_set_location),
28056 (gst_file_src_set_property), (gst_file_src_get_property),
28057 (gst_file_src_map_region), (gst_file_src_map_small_region),
28058 (gst_file_src_create_mmap), (gst_file_src_create_read),
28059 (gst_file_src_create), (gst_file_src_is_seekable),
28060 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28061 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28062 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28063 (gst_file_src_uri_handler_init):
28064 * gst/elements/gstfilesrc.h:
28065 more autistic cleanliness in functions/names/defines
28067 2005-07-13 Andy Wingo <wingo@pobox.com>
28069 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28070 source couldn't negotiate.
28072 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28076 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28077 function. I am channeling Hades. Put your boots on suckers!!!
28079 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28081 * testsuite/caps/Makefile.am:
28082 * testsuite/caps/value_compare.c:
28083 * testsuite/caps/value_intersect.c:
28084 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28085 move two testsuite apps over to the check dir
28087 2005-07-12 Wim Taymans <wim@fluendo.com>
28089 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28090 Added more debug info in the negotiate process.
28092 * gst/gstmessage.h:
28093 Prepare for segment playback.
28095 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28101 * tools/gst-launch.c: (main):
28102 NULL pipeline on errors.
28104 2005-07-12 Andy Wingo <wingo@pobox.com>
28106 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28107 not it comes from a malloc region. Make sure our copy gets freed.
28109 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28111 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28112 * check/gst/gstmessage.c: (GST_START_TEST):
28113 * check/gst/gststructure.c: (GST_START_TEST),
28114 (gst_structure_suite), (main):
28116 * gst/gstelement.c: (gst_element_message_full):
28117 clean up GError and debug string now that they get copied
28118 * gst/gstmessage.c: (gst_message_new_error),
28119 (gst_message_new_warning), (gst_message_parse_error),
28120 (gst_message_parse_warning):
28121 use GST_TYPE_G_ERROR for structure_new, and take copies of
28122 arguments, so that we don't mess up refcounting
28124 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28126 * check/Makefile.am:
28127 add per-test valgrind targets
28128 * check/gst-libs/gdp.c: (GST_START_TEST),
28129 (gst_data_protocol_suite), (main):
28132 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28134 * check/Makefile.am:
28135 instate more valgrindable tests
28136 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28137 (GST_START_TEST), (fakesrc_suite):
28138 * check/gst/gstpad.c: (GST_START_TEST):
28139 * check/gst/gststructure.c: (GST_START_TEST):
28141 * docs/gst/tmpl/gstminiobject.sgml:
28142 * gst/gstpad.c: (gst_pad_finalize):
28143 fix the static mutex leak
28145 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28147 * check/Makefile.am:
28148 add two more tests for valgrinding
28149 * check/gst/gstvalue.c: (GST_START_TEST):
28150 test refcount of deserialized buffer, found a leak
28151 * docs/gst/gstreamer-docs.sgml:
28152 * docs/gst/gstreamer-sections.txt:
28153 * docs/gst/gstreamer.types:
28154 * docs/gst/tmpl/gstminiobject.sgml:
28155 add miniobject to docs
28156 * gst/gstminiobject.c:
28158 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28159 (gst_string_unwrap):
28160 fix a hard-to-find invalid write for one of the tests
28161 fix a leak for deserialized buffers
28163 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28165 * docs/pwg/advanced-events.xml:
28166 * docs/pwg/advanced-request.xml:
28167 * docs/pwg/advanced-scheduling.xml:
28168 * docs/pwg/appendix-porting.xml:
28169 * docs/pwg/building-boiler.xml:
28170 * docs/pwg/intro-preface.xml:
28171 * docs/pwg/other-ntoone.xml:
28172 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28173 of example code and explanation for pad activation, loop() and
28174 getrange() functions and a bit more. Remove old comments pointing
28176 * examples/pwg/Makefile.am:
28177 Add loop/getrange examples.
28179 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28182 check for valgrind binary + some fixes
28184 valgrind suppressions for the tests
28185 * check/Makefile.am:
28186 add a valgrind: target that valgrinds the unit tests
28187 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28188 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28189 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28190 * check/gst/gstghostpad.c:
28192 * check/gst/gstdata.c:
28194 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28195 (thread_unref), (gst_mini_object_suite), (main):
28197 * gst/gst.c: (gst_deinit):
28199 add a method to clean up.
28200 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28201 (gst_system_clock_obtain):
28202 allow for disposing the system clock.
28203 * tools/gst-launch.c: (main):
28206 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28208 * docs/gst/tmpl/gstbasesrc.sgml:
28209 * docs/gst/tmpl/gstfakesrc.sgml:
28210 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28211 (gst_base_src_init), (gst_base_src_set_property),
28212 (gst_base_src_get_property), (gst_base_src_get_range),
28213 (gst_base_src_start):
28214 * gst/base/gstbasesrc.h:
28215 add num-buffers property
28216 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28217 (gst_fakesrc_init), (gst_fakesrc_set_property),
28218 (gst_fakesrc_get_property), (gst_fakesrc_create),
28219 (gst_fakesrc_start):
28220 remove num-buffers property
28222 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28224 * docs/gst/gstreamer-sections.txt:
28225 * docs/gst/tmpl/gstbasesink.sgml:
28226 * docs/gst/tmpl/gstbasesrc.sgml:
28227 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28228 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28229 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28230 (gst_base_sink_set_property), (gst_base_sink_get_property),
28231 (gst_base_sink_handle_object), (gst_base_sink_event),
28232 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28233 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28234 (gst_base_sink_loop), (gst_base_sink_deactivate),
28235 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28236 (gst_base_sink_change_state):
28237 * gst/base/gstbasesink.h:
28238 * gst/base/gstbasesrc.h:
28239 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28240 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28241 (gst_filesink_init):
28242 more macro splitting
28244 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28246 * gst/gstelement.c: (gst_element_get_bus):
28248 * tools/gst-launch.c: (check_intr), (event_loop):
28251 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28253 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28256 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28258 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28259 (gst_base_src_finalize):
28260 add finalize method and clean up properly
28261 * gst/gstpipeline.c: (gst_pipeline_dispose):
28264 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28266 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28268 add more things to check
28269 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28270 * gst/gstelement.c:
28273 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28275 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28276 (GST_START_TEST), (fakesrc_suite):
28277 * check/gst-libs/gdp.c: (GST_START_TEST):
28278 * check/gst/gst.c: (GST_START_TEST):
28279 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28280 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28281 * check/gst/gstbus.c: (GST_START_TEST):
28282 * check/gst/gstcaps.c: (GST_START_TEST):
28283 * check/gst/gstdata.c: (GST_START_TEST):
28284 * check/gst/gstelement.c: (GST_START_TEST):
28285 * check/gst/gstghostpad.c: (GST_START_TEST):
28286 * check/gst/gstiterator.c: (GST_START_TEST):
28287 * check/gst/gstmessage.c: (GST_START_TEST):
28288 * check/gst/gstobject.c: (GST_START_TEST):
28289 * check/gst/gstpad.c: (GST_START_TEST):
28290 * check/gst/gststructure.c: (GST_START_TEST):
28291 * check/gst/gstsystemclock.c: (GST_START_TEST),
28292 (gst_systemclock_suite):
28293 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28294 * check/gst/gstvalue.c: (GST_START_TEST):
28295 * check/pipelines/cleanup.c: (GST_START_TEST):
28296 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28297 * check/states/sinks.c: (GST_START_TEST):
28298 * check/gstcheck.c: (gst_check_init):
28299 * check/gstcheck.h:
28300 add debugging category
28301 use GST_START_TEST now, so we add a debug line
28303 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28305 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28306 add test for state change message on a bin
28307 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28309 * gst/gstbin.c: (gst_bin_init):
28310 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28311 * gst/gstelement.c: (gst_element_post_message),
28312 (gst_element_set_state):
28313 * gst/gstelementfactory.c: (gst_element_factory_create):
28314 * gst/gstmessage.c: (gst_message_new):
28315 * gst/gstscheduler.c:
28316 various debugging additions and cleanups
28318 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28320 * check/Makefile.am:
28321 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28323 adding tests for elements
28324 * gst/gstelement.c: (gst_element_dispose):
28326 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28328 * gst/registries/gstlibxmlregistry.c: (load_feature):
28329 plug more leaks. A simple gst_init() now is leakfree, yay.
28331 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28333 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28334 (gst_xml_registry_load):
28335 plug another memleak
28337 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28340 use GST_SET_ERROR_CFLAGS
28341 * docs/faq/cvs.xml:
28342 change to ERROR_CFLAGS
28344 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28347 make GST_ERROR_CFLAGS overridable and re-enable Werror
28348 * docs/faq/cvs.xml:
28349 add a note about error CFLAGS
28350 * docs/gst/tmpl/gstfakesrc.sgml:
28351 * gst/elements/gstfakesrc.c:
28352 comment out some unused code
28353 * gst/gst.c: (split_and_iterate):
28354 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28358 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28360 * common/Makefile.am:
28361 * common/gtk-doc.mak:
28362 * docs/gst/Makefile.am:
28363 factor out gtk-doc.mak
28365 2005-07-07 Wim Taymans <wim@fluendo.com>
28367 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28368 (gst_thread_scheduler_dispose):
28369 Unlock the STREAM_LOCK completely.
28371 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28373 * check/Makefile.am:
28374 * check/elements/.cvsignore:
28375 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28376 (START_TEST), (fakesrc_suite), (main):
28377 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28378 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28379 (gst_fakesrc_create), (gst_fakesrc_start):
28380 * gst/elements/gstfakesrc.h:
28381 adding a first element test
28383 2005-07-07 Andy Wingo <wingo@pobox.com>
28385 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28388 2005-07-07 Wim Taymans <wim@fluendo.com>
28394 2005-07-07 Wim Taymans <wim@fluendo.com>
28396 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28397 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28398 Allow subclasses to implement their own negotiation.
28400 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28402 * docs/design/part-gstbin.txt:
28403 * docs/design/part-gstpipeline.txt:
28404 Update design notes to reflect the movement of
28405 responsibility for bus handling from GstPipeline to
28408 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28411 Remove unnecessary queue2/3/4 examples.
28413 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28415 * examples/Makefile.am:
28416 * examples/helloworld/helloworld.c: (event_loop), (main):
28417 * examples/queue/queue.c: (event_loop), (main):
28418 * examples/queue2/queue2.c: (main):
28419 Update a couple of the examples to work again.
28421 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28422 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28423 Spelling corrections and extra debug.
28425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28426 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28427 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28429 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28430 (gst_pipeline_change_state):
28431 * gst/gstpipeline.h:
28432 Move the bus handler for children to the GstBin, and create a
28433 separate bus for receiving messages from children to the one the
28434 bus sends 'upwards' on.
28436 2005-07-06 Wim Taymans <wim@fluendo.com>
28439 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28440 (gst_base_sink_handle_object), (gst_base_sink_loop),
28441 (gst_base_sink_change_state):
28442 * gst/base/gstbasesink.h:
28443 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28444 (gst_base_src_init), (gst_base_src_setcaps),
28445 (gst_base_src_getcaps), (gst_base_src_loop),
28446 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28447 (gst_base_src_start), (gst_base_src_change_state):
28448 * gst/base/gstbasesrc.h:
28449 Make basesrc negotiate.
28450 Handle the case where preroll fails in basesink.
28453 2005-07-06 Wim Taymans <wim@fluendo.com>
28455 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28456 Implement the fixate function.
28457 Clean up acceptcaps.
28459 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28461 * docs/pwg/building-filterfactory.xml:
28462 * docs/pwg/pwg.xml:
28463 Remove never-written filter-factory chapter; I'll add the various
28464 base classes to part 4 ("other element types") later on.
28466 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28468 * docs/pwg/advanced-negotiation.xml:
28469 * docs/pwg/building-boiler.xml:
28470 * docs/pwg/building-pads.xml:
28471 * docs/pwg/pwg.xml:
28472 * examples/pwg/Makefile.am:
28473 Add a chapter on caps negotiation, simplify the original code
28474 samples a bit w.r.t. caps negotiation, add link to the advanced
28475 section. Add a bunch of examples showing different use cases of
28476 different types of caps negotiation. Upstream renegotiation isn't
28477 fully documented yet since nobody knows how that works.
28479 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28481 * check/gst/gstpad.c:
28482 * check/gstcheck.c:
28483 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28484 if pad has no parent, return NULL as list of internal links
28486 2005-07-05 Andy Wingo <wingo@pobox.com>
28488 * gst/elements/gstfilesrc.c:
28489 * gst/elements/gstfakesrc.c:
28490 * gst/base/gstpushsrc.c:
28491 * gst/base/gstbasesrc.h:
28492 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28494 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28497 better report generation target (lcov needs a patch)
28499 2005-07-05 Andy Wingo <wingo@pobox.com>
28501 * gst/elements, testsuite: Null if we got it...
28503 2005-07-05 Wim Taymans <wim@fluendo.com>
28506 * libs/gst/dataprotocol/Makefile.am:
28507 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28508 * libs/gst/dataprotocol/dataprotocol.h:
28509 * pkgconfig/Makefile.am:
28510 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28511 * pkgconfig/gstreamer-dataprotocol.pc.in:
28512 Ported dataprotol to 0.9.
28513 Added pkgconfig files.
28515 2005-07-05 Andy Wingo <wingo@pobox.com>
28517 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28518 Default to returning TRUE for the case when tranform_caps returns
28519 a fixed caps, like for identity or volume.
28521 * check/gst/gstbus.c (pound_bus_with_messages):
28522 * check/gst/gstmessage.c (START_TEST):
28523 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28524 message API change.
28526 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28527 logic weaks here: always run transform_caps, trying passthrough
28528 operation only if the original caps intersects with the transform.
28530 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28531 source and sink caps.
28533 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28534 Intersect the peer caps with the pad template before going into
28536 (gst_base_transform_transform_caps): More debugging.
28538 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28541 2005-07-04 Edward Hervey <edward@fluendo.com>
28545 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28548 2005-07-04 Andy Wingo <wingo@pobox.com>
28550 * check/gst/gstpad.c: Only set explicit caps on pads.
28552 2005-07-01 Andy Wingo <wingo@pobox.com>
28554 * tests/network-clock.scm: Commentary update.
28556 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28557 Didn't really make sense, not implementable with basetransform,
28559 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28560 attempt at implementing the sync property, needs an unlock method.
28562 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28563 New func, by default returns the same caps (the identity
28565 (gst_base_transform_getcaps): Uses transform_caps to return
28566 something sensible.
28567 (gst_base_transform_setcaps): Complicated logic to get caps on
28568 both pads, even if they are different, and to call set_caps once
28569 for every time both pads get their caps set.
28570 (gst_base_transform_handle_buffer): Give the ref to the transform
28571 function. Allows in-place modification of the buffer.
28573 * gst/base/gstbasetransform.h (transform_caps): New class method.
28574 Given caps on one side, what can I do on the other.
28575 (set_caps): Take two caps, one for each side of the element.
28578 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28579 caps in place. This is safe because we can check the mutability of
28580 the caps, and a good idea because fixate functions are just called
28581 as a matter of last resort. (Not actually implemented.)
28582 (gst_pad_set_caps): If the caps we're setting is actually the same
28583 as the existing pad caps, just update the pointer without calling
28584 setcaps. Assert that caps is either NULL or fixed, as per the
28587 * gst/gstghostpad.c: Update for fixate changes.
28589 2005-07-02 Andy Wingo <wingo@pobox.com>
28592 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28593 two refcounts makes it immutable, which is enough. Doc more.
28595 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28597 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28598 Put the mini_object into GValue as a mini_object,
28599 not a gpointer, since that's how we declared
28602 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28604 * examples/pwg/Makefile.am:
28605 Fix buildbot again.
28607 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28609 * docs/pwg/building-testapp.xml:
28611 * examples/pwg/Makefile.am:
28614 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28617 * examples/Makefile.am:
28618 * examples/pwg/Makefile.am:
28619 * examples/pwg/extract.pl:
28620 Enable building the PWG examples.
28621 * docs/pwg/advanced-interfaces.xml:
28622 Add URI interface stub.
28623 * docs/pwg/advanced-types.xml:
28624 * docs/pwg/other-autoplugger.xml:
28625 * docs/pwg/appendix-porting.xml:
28626 * docs/pwg/pwg.xml:
28627 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28628 * docs/pwg/building-boiler.xml:
28629 * docs/pwg/building-chainfn.xml:
28630 * docs/pwg/building-pads.xml:
28631 * docs/pwg/building-props.xml:
28632 * docs/pwg/building-state.xml:
28633 * docs/pwg/building-testapp.xml:
28634 Update the building-*.xml parts for 0.9 changes. All examples
28635 code blocks compile in examples/pwg/*.
28637 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28639 * docs/manual/advanced-autoplugging.xml:
28640 * docs/manual/appendix-checklist.xml:
28641 * docs/manual/appendix-integration.xml:
28642 * docs/manual/highlevel-components.xml:
28643 Fix playbin/decodebin examples, update docs a bit, mention bus
28644 instead of signals in various places, mention kmplayer and
28645 kaffeine since they have a working GStreamer backend in the KDE
28648 2005-06-30 Wim Taymans <wim@fluendo.com>
28651 * docs/design/draft-ghostpads.txt:
28652 * docs/design/draft-push-pull.txt:
28653 * docs/design/draft-query.txt:
28654 * docs/design/part-TODO.txt:
28655 * docs/design/part-query.txt:
28656 Added CHANGES-0.9 doc, updated status of other docs.
28661 2005-06-30 Wim Taymans <wim@fluendo.com>
28663 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28664 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28665 (gst_base_sink_change_state):
28666 * gst/base/gstbasesink.h:
28667 Some tweaks, only EOS and a buffer complete a preroll.
28669 2005-06-30 Andy Wingo <wingo@pobox.com>
28671 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28672 activate_push down to the internal pad as well.
28674 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28676 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28678 * gst/gsttaginterface.c:
28679 Some documentation fixes (#307394 and #307397).
28681 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28683 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28685 * gst/gstvalue.c: (gst_value_intersect_list):
28686 Fix memleak (#309125).
28688 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28690 * docs/manual/advanced-dataaccess.xml:
28691 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28692 * docs/manual/basics-pads.xml:
28693 Add reference for filtered caps to above chapter.
28695 2005-06-30 Wim Taymans <wim@fluendo.com>
28697 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28698 (gst_bin_change_state):
28700 Lame attempt at making the state change function a bit
28703 2005-06-30 Wim Taymans <wim@fluendo.com>
28705 * docs/design/part-clocks.txt:
28706 * docs/design/part-element-sink.txt:
28707 * docs/design/part-events.txt:
28708 * docs/design/part-preroll.txt:
28709 * docs/design/part-states.txt:
28710 Some more tweeks and additions to the docs.
28712 2005-06-30 Wim Taymans <wim@fluendo.com>
28714 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28715 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28716 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28717 (gst_pad_check_pull_range), (gst_pad_get_range),
28718 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28720 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28721 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28722 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28723 (gst_pad_remove_buffer_probe):
28724 Removed atomic operations, use existing LOCK.
28725 Move exception handling out of main code path.
28727 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28729 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28730 (silly_return_true_function), (gst_pad_class_init),
28731 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28732 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28733 (gst_pad_send_event):
28734 Fix accumulator, add default value by using _emitv() instead
28735 of _emit() for signal emission.
28737 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28739 * docs/manual/advanced-dataaccess.xml:
28740 * examples/manual/Makefile.am:
28742 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28745 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28747 * gst/elements/gstfilesink.c: (gst_filesink_render):
28748 Simplify code so that we don't have to handle short
28749 writes and return GST_FLOW_ERROR if an error occured.
28751 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28753 * docs/gst/gstreamer-docs.sgml:
28754 Remove probes more.
28756 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28758 * docs/gst/gstreamer-sections.txt:
28759 * docs/gst/tmpl/gstpad.sgml:
28760 * docs/gst/tmpl/gstprobe.sgml:
28762 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28763 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28764 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28765 (gst_pad_push_event), (gst_pad_send_event):
28767 * gst/gstutils.c: (gst_pad_add_data_probe),
28768 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28769 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28770 (gst_pad_remove_buffer_probe):
28772 Remove old probes, add new g-signal-based probes and some utility
28775 2005-06-29 Edward Hervey <edward@fluendo.com>
28777 * gst/gstelementfactory.c:
28780 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28781 the definition to the header file.
28783 2005-06-29 Andy Wingo <wingo@pobox.com>
28785 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28786 plugins from the source directory.
28788 2005-06-29 Wim Taymans <wim@fluendo.com>
28790 * docs/gst/tmpl/gstbuffer.sgml:
28791 * docs/gst/tmpl/gstclock.sgml:
28792 Some fixings for blantently wrong text.
28794 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28796 * check/Makefile.am:
28797 * gst/gst.c: (add_path_func), (init_pre):
28798 * gst/gstregistry.c: (gst_registry_add_path):
28799 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28800 only scan the GST_PLUGIN_PATH locations, and not add
28803 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28805 * docs/gst/gstreamer-sections.txt:
28806 * docs/gst/tmpl/gstbasesrc.sgml:
28807 * gst/gstelement.c:
28808 * gst/gstelement.h:
28813 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28815 * docs/manual/advanced-autoplugging.xml:
28816 Fix autoplugging example.
28818 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28820 * docs/manual/advanced-autoplugging.xml:
28821 * docs/manual/mime-world.fig:
28822 Try to get autoplugging working, fix type detection. Fix text
28823 in hello-world image.
28825 2005-06-29 Wim Taymans <wim@fluendo.com>
28827 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28828 (gst_base_sink_change_state):
28832 map SIGNAL and BROADCAST to the right function.
28835 Remove redundant braces.
28837 * gst/gstpad.c: (gst_pad_set_caps):
28838 Don't call setcaps function when reseting caps to NULL.
28840 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28841 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28842 (gst_system_clock_id_unschedule):
28843 Use BROADCAST as this is what we do.
28845 2005-06-29 Wim Taymans <wim@fluendo.com>
28847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28848 We are actually prerolling before commiting the state
28851 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28853 * docs/manual/advanced-clocks.xml:
28854 * docs/manual/advanced-interfaces.xml:
28855 * docs/manual/advanced-metadata.xml:
28856 * docs/manual/advanced-position.xml:
28857 * docs/manual/advanced-schedulers.xml:
28858 * docs/manual/advanced-threads.xml:
28859 * docs/manual/appendix-porting.xml:
28860 * docs/manual/basics-bins.xml:
28861 * docs/manual/basics-bus.xml:
28862 * docs/manual/basics-elements.xml:
28863 * docs/manual/basics-helloworld.xml:
28864 * docs/manual/basics-pads.xml:
28865 * docs/manual/highlevel-components.xml:
28866 * docs/manual/manual.xml:
28867 * docs/manual/thread.fig:
28868 Update (until threads/scheduling) Application Development Manual;
28869 remove GstThread, add GstBus, add simple porting checklist, add
28870 documentation for tag writing, clocks, make all examples until this
28871 part compile and run.
28872 * examples/manual/Makefile.am:
28873 Update from changes to Application Development Manual; add bus
28874 example, remove thread example.
28876 2005-06-28 Wim Taymans <wim@fluendo.com>
28878 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28879 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28880 (gst_bus_source_dispatch):
28881 Add debugging messages.
28882 Make internal methods static.
28883 Handle the case where the bus is flushed in the handler.
28885 * gst/gstelement.c: (gst_element_get_bus):
28886 Fix refcount in _get_bus();
28888 * gst/gstpipeline.c: (gst_pipeline_change_state),
28889 (gst_pipeline_get_clock_func):
28890 Clock refcounting fixes.
28891 Handle the case where preroll timed out more gracefully.
28893 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28894 Clean up the internal thread in dispose. This is needed
28895 for subclasses that actually get disposed.
28897 * gst/schedulers/threadscheduler.c:
28898 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28899 (gst_thread_scheduler_dispose):
28900 Free thread pool in dispose.
28902 2005-06-28 Andy Wingo <wingo@pobox.com>
28904 * tests/network-clock-utils.scm (debug, print-event): New utils.
28906 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28907 (*packet-loss*): Unified loss probability.
28908 (network-time): Report out-of-band events.
28910 * tests/plot-data: Add support for out-of-band events. Hack it
28911 into this script instead of passing it down the pipe; should fix
28914 2005-06-28 Wim Taymans <wim@fluendo.com>
28916 * docs/gst/gstreamer.types:
28917 * docs/gst/tmpl/gstbasesrc.sgml:
28918 * docs/gst/tmpl/gstpad.sgml:
28921 2005-06-28 Wim Taymans <wim@fluendo.com>
28923 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28924 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28925 (gst_proxy_pad_do_fixatecaps):
28926 Correctly proxy the check_pull_range function.
28928 2005-06-28 Andy Wingo <wingo@pobox.com>
28930 * tests/network-clock.scm: Removed need for slib.
28932 2005-06-28 Wim Taymans <wim@fluendo.com>
28934 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28935 (gst_basesink_preroll_queue_flush):
28936 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28937 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28938 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28939 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28940 (gst_proxy_pad_set_property):
28943 * gst/gstqueue.c: (gst_queue_init):
28944 The deprecated pad loop function is removed now.
28946 2005-06-28 Andy Wingo <wingo@pobox.com>
28948 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28949 New parameters, simulate network packet loss.
28951 * tests/network-clock-utils.scm: Initialize the RNG.
28953 2005-06-28 Wim Taymans <wim@fluendo.com>
28955 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28956 (gst_basesink_event), (gst_basesink_deactivate):
28957 Flushing the preroll queue always needs to unlock the waiters.
28959 2005-06-28 Edward Hervey <edward@fluendo.com>
28961 * gst/gstpipeline.c: (gst_pipeline_send_event):
28962 Wheen a seek was successful on a pipeline, set the stream_time to the
28963 seek offset in order to have a synchronized stream_time.
28965 2005-06-28 Wim Taymans <wim@fluendo.com>
28967 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28968 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28969 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28970 (gst_proxy_pad_do_fixatecaps):
28971 Call wrapper function instead of just calling the function
28972 pointers. This takes care of any locking and whatmore.
28974 2005-06-28 Wim Taymans <wim@fluendo.com>
28976 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28977 (gst_pad_pull_range):
28979 CONNECTED -> LINKED.
28981 2005-06-28 Andy Wingo <wingo@pobox.com>
28983 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28984 source-munging commit!!!
28986 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28987 (gst_object_sink): Take gpointer arguments, not GstObject --
28988 avoids casts. Like GLib.
28990 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28993 2005-06-27 Andy Wingo <wingo@pobox.com>
28995 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28998 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28999 returns a sorted copy of the trace list.
29000 (gst_alloc_trace_print_live): New API, only prints traces with
29001 live objects. Sort the list.
29002 (gst_alloc_trace_print_all): Sort the list.
29003 (gst_alloc_trace_print): Align columns.
29005 * gst/elements/gstttypefindelement.c:
29006 * gst/elements/gsttee.c:
29007 * gst/base/gstbasesrc.c:
29008 * gst/base/gstbasesink.c:
29009 * gst/base/gstbasetransform.c:
29010 * gst/gstqueue.c: Adapt for pad activation changes.
29012 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29014 (gst_pipeline_dispose): Drop ref on sched.
29016 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29017 (gst_pad_activate_default): Push mode by default.
29018 (pre_activate_switch, post_activate_switch): New stubs, things to
29019 do before and after switching activation modes on pads.
29020 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29021 the pad's activate function to choose which mode to activate.
29022 Shortcut on deactivation and call the right function directly.
29023 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29025 (gst_pad_activate_push): New API, same for push mode.
29026 (gst_pad_set_activate_function)
29027 (gst_pad_set_activatepull_function)
29028 (gst_pad_set_activatepush_function): Setters for new API.
29030 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29031 Trace all miniobjects.
29032 (gst_mini_object_make_writable): Unref the arg if we copy, like
29033 gst_caps_make_writable.
29035 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29037 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29038 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29039 Adapt for new pad API.
29041 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29043 * gst/gstelement.h:
29044 * gst/gstelement.c (gst_element_iterate_src_pads)
29045 (gst_element_iterate_sink_pads): New API functions.
29047 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29048 should fold into gstiterator.c in some form.
29049 (gst_element_pads_activate): Simplified via use of fold and
29050 delegation of decisions to gstpad->activate.
29052 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29055 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29056 class once in init, like gstmessage. Didn't run into this issue
29057 but it seems correct. Don't initialize a trace, gstminiobject does
29060 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29061 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29063 (assert_live_count): New util function, uses alloc traces to check
29066 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29067 To be modified when unlink drops the internal pad.
29069 2005-06-27 Wim Taymans <wim@fluendo.com>
29071 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29072 (gst_bin_change_state):
29073 Cleanup the get_state() function a little, make sure it
29074 iterates the same set of elements.
29075 Added stub iterate_state_order().
29077 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29079 * docs/gst/gstreamer-docs.sgml:
29080 * docs/gst/gstreamer-sections.txt:
29081 * docs/gst/gstreamer.types:
29082 * docs/gst/tmpl/gstbasesink.sgml:
29083 * docs/gst/tmpl/gstbasesrc.sgml:
29084 * docs/gst/tmpl/gstbasetransform.sgml:
29085 * docs/gst/tmpl/gstelement.sgml:
29086 * docs/gst/tmpl/gstiterator.sgml:
29087 * gst/base/gstbasesrc.c:
29088 * gst/base/gstbasesrc.h:
29089 * gst/base/gstbasetransform.h:
29090 * gst/gstelement.c:
29091 * gst/gstiterator.h:
29092 adding basetransform and iterator docs
29094 2005-06-27 Andy Wingo <wingo@pobox.com>
29096 * docs/design/part-activation.txt: Notes on how activation should
29097 work -- not quite implemented yet.
29099 2005-06-25 Wim Taymans <wim@fluendo.com>
29101 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29102 At least get the chain function correct, needs more
29105 2005-06-25 Wim Taymans <wim@fluendo.com>
29107 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29108 (gst_basesink_handle_object), (gst_basesink_event),
29109 (gst_basesink_do_sync), (gst_basesink_handle_event),
29110 (gst_basesink_change_state):
29112 Right, two problems here: ghostpads don't take locks and
29113 glib _rec_mutex_lock_full() with depth==0 still locks.
29114 Catch illegal locking and g_warn them.
29116 2005-06-25 Wim Taymans <wim@fluendo.com>
29118 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29119 Have to check for completion now...
29121 2005-06-25 Wim Taymans <wim@fluendo.com>
29123 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29124 (gst_basesink_handle_object), (gst_basesink_event),
29125 (gst_basesink_do_sync), (gst_basesink_handle_event),
29126 (gst_basesink_change_state):
29128 Unlock STREAM_LOCK whatever the recursion was.
29130 2005-06-25 Wim Taymans <wim@fluendo.com>
29132 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29133 (gst_basesink_preroll_queue_empty),
29134 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29135 (gst_basesink_event), (gst_basesink_do_sync),
29136 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29137 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29138 (gst_basesink_change_state):
29139 Reworked the base sink, handle event and buffer serialisation
29140 correctly and removed possible deadlock.
29141 Handle EOS correctly.
29143 2005-06-25 Wim Taymans <wim@fluendo.com>
29145 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29146 (gst_pipeline_change_state):
29147 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29148 Allow elements to post EOS in the state change function.
29149 Fix up -launch, make it exit the poll loop when the
29150 pipeline actually changed state.
29151 Fix up warning parsing in -launch.
29153 2005-06-25 Wim Taymans <wim@fluendo.com>
29155 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29156 (gst_tee_sink_activate):
29157 Core takes STREAM_LOCK for us now.
29159 2005-06-25 Wim Taymans <wim@fluendo.com>
29161 * gst/gstelement.c: (gst_element_get_state_func),
29162 (gst_element_set_state):
29163 * gst/gstelement.h:
29164 * gst/gstmessage.c: (gst_message_parse_error),
29165 (gst_message_parse_warning):
29166 Keep track of current target state while performing a state
29167 change so that subclasses can do something interesting.
29168 Fix parsing of warning/error messages when GError is NULL.
29170 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29172 * docs/gst/Makefile.am:
29173 * docs/gst/gstreamer-docs.sgml:
29174 * docs/gst/gstreamer-sections.txt:
29175 * docs/gst/gstreamer.types:
29176 * docs/gst/tmpl/gstbasesink.sgml:
29177 * docs/gst/tmpl/gstbasesrc.sgml:
29178 * docs/gst/tmpl/gstbin.sgml:
29179 * docs/gst/tmpl/gstcompat.sgml:
29180 * docs/gst/tmpl/gstfakesink.sgml:
29181 * docs/gst/tmpl/gstfakesrc.sgml:
29182 * docs/gst/tmpl/gstfilesink.sgml:
29183 * docs/gst/tmpl/gstfilesrc.sgml:
29184 * docs/gst/tmpl/gstindex.sgml:
29185 * docs/manual/appendix-quotes.xml:
29186 * gst/base/gstbasesrc.h:
29187 * gst/elements/gstfakesrc.h:
29188 * gst/gstmessage.h:
29189 start pulling in base classes and elements in our docs
29191 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29193 * docs/gst/Makefile.am:
29194 * docs/libs/Makefile.am:
29195 fixed make distcheck with gtk-doc 1.3
29197 2005-06-23 Wim Taymans <wim@fluendo.com>
29199 * gst/gstelement.c: (gst_element_get_state_func),
29200 (gst_element_set_state), (gst_element_change_state):
29201 When the state did not change, also report NO_PREROLL
29204 2005-06-23 Wim Taymans <wim@fluendo.com>
29206 * gst/gstpad.c: (gst_pad_event_default):
29207 * gst/gstqueue.c: (gst_queue_loop):
29208 No unsafe task pausing please.
29210 2005-06-23 Wim Taymans <wim@fluendo.com>
29212 * gst/schedulers/threadscheduler.c:
29213 (gst_thread_scheduler_task_start),
29214 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29215 Ref the task before pushing it on the threadpool. This
29216 makes sure that we have a ref when the threadfunction is
29219 2005-06-23 Andy Wingo <wingo@pobox.com>
29221 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29222 offset is greater than the file's size.
29224 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29225 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29226 * gst/gstobject.c (gst_object_class_init): Make the class lock
29227 recursive. Wim won't let me drop deep_notify. Decodebin works
29228 again, whoopdy doo.
29230 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29231 internal pad, and hacks accordingly. Doesn't do it on the target
29232 pad because we change its caps. Probably catches all cases of
29234 (gst_ghost_pad_set_property): Connect to notify::caps as
29237 * tests/network-clock.scm (plot-simulation): Pipe data to the
29238 elite python skript.
29240 * tests/network-clock-utils.scm (define-parameter): New macro,
29241 defines a parameter that can be set via the command line.
29242 (set-parameter!, parse-parameter-arguments): Command line args
29245 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29248 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29250 * gst/elements/gsttypefindelement.c:
29251 (gst_type_find_element_handle_event):
29252 Don't restart typefinding on a discont.
29253 * gst/gstelement.c: (gst_element_set_state):
29254 Debug spelling fix.
29255 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29256 Allow changing mode of an active pad.
29257 Debug output fixes.
29258 * gst/registries/gstlibxmlregistry.c: (load_feature):
29259 Don't cast a static pad template to a normal pad template.
29261 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29263 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29264 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29265 remove gst_strtoll completely, since it didn't actually do
29266 anything more than what g_ascii_strtoull already does.
29267 check for range errors when deserializing
29268 do a cast for the unsigned cases; but further fixing needs
29269 a decision on what the interpretation of "(int)" and
29270 deserialization should be for values that fall outside the
29271 type's boundaries (ie, refuse, or interpret as casting)
29273 2005-06-23 Wim Taymans <wim@fluendo.com>
29275 * check/Makefile.am:
29276 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29277 * docs/design/part-live-source.txt:
29278 * docs/design/part-states.txt:
29279 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29280 (gst_basesrc_set_live), (gst_basesrc_is_live),
29281 (gst_basesrc_get_range), (gst_basesrc_activate),
29282 (gst_basesrc_change_state):
29283 * gst/base/gstbasesrc.h:
29284 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29285 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29286 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29287 * gst/gstelement.c: (gst_element_get_state_func),
29288 (gst_element_set_state):
29289 * gst/gstelement.h:
29291 * tools/gst-launch.c: (event_loop), (main):
29292 Added support for live sources and other elements that
29294 Updated design docs, added live-source design doc.
29295 Implemented live source functionality in basesrc
29296 Fix error condition in _bin_get_state()
29297 Implement live source handling in -launch.
29298 Added check for live sources.
29299 Fixed case in GstBin where elements were changed state
29303 2005-06-23 Andy Wingo <wingo@pobox.com>
29305 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29306 borken refcounting.
29308 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29309 gst_caps_replace takes care of this for us.
29311 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29312 gst_pad_set_caps on the target, not just its setcaps() function.
29314 * tests/network-clock.scm:
29315 * tests/network-clock-utils.scm: A network clock simulator.
29316 Something of an algorithmic testbed before doing something in C.
29318 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29320 * check/Makefile.am:
29321 * check/gst/capslist.h:
29322 copy over from 0.8, and add two with bitmasks specified with
29324 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29325 add test to parse everything from capslist.h
29326 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29328 add test for structure deserialization
29329 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29330 add tests for deserialization of strings to int types
29331 * gst/gststructure.c: (gst_structure_nth_field_name):
29332 * gst/gststructure.h:
29333 add a way to get the name of a field referenced by index
29334 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29335 instead of checking if the resulting long long lies between
29336 min and max, we check if the long long would fit into
29337 a number of bytes for the final type.
29338 This fixes cases where a string represents 2^32 - 1, which
29339 when cast to int would be the (valid) -1, but is bigger than
29342 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29344 * gst/parse/grammar.y:
29345 add a log line for type deserialization
29347 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29349 * check/gst/gstvalue.c: (START_TEST):
29350 * gst/gstvalue.c: (gst_value_deserialize):
29351 return long long, not int, so gint64 deserialization actually
29352 works. Is there any flag that makes the compiler check this ?
29355 2005-06-22 Wim Taymans <wim@fluendo.com>
29358 Added convenience macros for setting buffers in GValue.
29360 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29362 * check/gst/.cvsignore:
29363 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29364 add a test deserializing int64, and comment part out because
29367 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29369 * check/Makefile.am:
29370 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29371 * testsuite/Makefile.am:
29372 * testsuite/caps/Makefile.am:
29373 * testsuite/caps/value_serialize.c:
29374 * testsuite/test_gst_init.c:
29375 move a value_serialize test over
29377 2005-06-20 Wim Taymans <wim@fluendo.com>
29382 * gst/gstvalue.c: (gst_value_compare_buffer),
29383 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29384 (gst_value_compare_flags), (gst_value_serialize_flags),
29385 (gst_value_deserialize_flags), (_gst_value_initialize):
29386 Fix serialisation of buffers, they are not boxed types anymore
29388 2005-06-20 Wim Taymans <wim@fluendo.com>
29390 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29391 Testcase to show error in buffer-on-caps serialisation.
29393 2005-06-20 Andy Wingo <wingo@pobox.com>
29395 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29396 will be adding to later.
29398 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29399 if its socks fill with rocks.
29400 (gst_system_clock_obtain): Set the name on object construction.
29401 Avoid double-checked locking.
29403 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29405 * gst/gsturi.c: (gst_element_make_from_uri):
29406 Fix potential endless loop.
29408 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29410 * check/Makefile.am:
29412 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29414 move over from testsuite dir and clean up
29417 * testsuite/Makefile.am:
29418 * testsuite/tags/.cvsignore:
29419 * testsuite/tags/Makefile.am:
29420 * testsuite/tags/merge.c:
29421 remove testsuite/tags
29423 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29425 * docs/gst/gstreamer-sections.txt:
29426 * docs/gst/tmpl/gstenumtypes.sgml:
29427 * win32/gstenumtypes.c:
29428 clean up documentation build a little
29430 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29432 * check/gstcheck.h:
29433 add macros for checking refcounts on objects and caps
29434 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29435 add some more unit tests
29436 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29437 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29438 fix leaked refcounts (I hope :)) so unittest works
29442 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29444 * configure.ac: back to HEAD
29446 === release 0.9.1 ===
29448 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29454 2005-06-17 Andy Wingo <wingo@pobox.com>
29456 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29457 assert; it's always possible that the pad gets deactivated in
29458 between the checks in gstpad.c and the implementation. Rely on
29459 finish_preroll() to return a FLUSHING or similar instead of on the
29462 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29463 clock and post an EOS message if we come out of finish_preroll in
29466 2005-06-16 David Schleef <ds@schleef.org>
29468 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29469 (gst_capsfilter_set_property): Allow NULL as possible value
29470 for filter_caps property, indicating GST_CAPS_ANY.
29472 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29474 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29476 * gst/schedulers/Makefile.am:
29478 * gstreamer.spec.in:
29481 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29483 * gstreamer.spec.in:
29486 2005-06-08 Andy Wingo <wingo@pobox.com>
29488 * gst/gstutils.c: RPAD fixes all around.
29489 (gst_element_link_pads): Refcounting fixes.
29491 * tools/gst-inspect.c:
29492 * tools/gst-xmlinspect.c:
29494 * gst/base/gsttypefindhelper.c:
29495 * gst/base/gstbasesink.c:
29496 * gst/gstqueue.c: RPAD fixes.
29498 * gst/gstghostpad.h:
29499 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29500 pads. The tricky thing is they provide both source and sink
29501 interfaces, since they proxy the internal pad for the external
29502 pad, and vice versa. Implement with lower-level ProxyPad objects,
29503 with the interior proxy pad as a child of the exterior ghost pad.
29504 Should write a doc on this.
29506 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29507 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29510 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29511 pads are real pads. No ghost pads in this file. Not documenting
29512 the myriad s/RPAD/PAD/ and REALIZE fixes.
29513 (gst_pad_class_init): Add properties for "direction" and
29514 "template". Both are construct-only, so they can't change during
29515 the life of the pad. Fixes properly deriving from GstPad.
29516 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29517 derived objects, just set properties when creating the objects via
29519 (gst_pad_get_parent): Implement as a function, return NULL if the
29520 parent is not an element.
29521 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29522 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29524 * gst/gstobject.c (gst_object_class_init): Make name a construct
29525 property. Don't set it in the object init.
29527 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29528 with UNKNOWN direction.
29529 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29530 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29531 (gst_element_remove_pad): Remove ghost-pad special cases.
29532 (gst_element_pads_activate): Remove rpad cruft.
29534 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29535 catch the pad's-parent-not-an-element case.
29537 * gst/gst.h: Include gstghostpad.h.
29539 * gst/gst.c (init_post): No more real, ghost pads.
29541 * gst/Makefile.am: Add gstghostpad.[ch].
29543 * check/Makefile.am:
29544 * check/gst/gstbin.c:
29545 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29546 into a bin creates ghost pads, and that the refcounts are right.
29547 Partly moved from gstbin.c.
29549 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29551 * check/gst-libs/.cvsignore:
29552 * check/gst/.cvsignore:
29553 * check/pipelines/.cvsignore:
29555 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29556 (START_TEST), (cleanup_suite), (main):
29557 add some tests related to cleanup after running pipelines
29559 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29561 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29562 add a testsuite for GstBuffer
29564 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29566 * gst/gstminiobject.h:
29567 add defines for accessing the refcount
29569 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29571 * Makefile.am: added support for html unit test coverage reports
29573 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29575 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29576 Free existing caps if the capsfilter changes. Add a FIXME about
29577 setting those caps on the pads.
29579 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29580 Before adding a ghost pad to a parent bin, check that there isn't
29581 already one for the element on the bin. Prevents infinite recursion
29582 when using decodebin in parse pipelines. Andy says he'll rewrite the
29583 way this works anyway, so ignore the hack.
29585 2005-06-02 Andy Wingo <wingo@pobox.com>
29587 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29588 file size, pass it on to the type find helper.
29590 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29591 segment_start and segment_end properly according to the seek
29592 method. Segment_end is still a bit flaky because offset can be
29593 negative for CUR and END cases, but it takes -1 as an "unset"
29596 2005-06-02 Wim Taymans <wim@fluendo.com>
29598 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29599 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29600 (gst_basesink_activate):
29601 * gst/base/gstbasesink.h:
29602 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29603 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29604 (gst_pad_query), (gst_pad_start_task):
29606 * gst/gstqueue.c: (gst_queue_bufferalloc),
29607 (gst_queue_handle_sink_event), (gst_queue_chain):
29608 Bufferalloc: return GstFlowReturn to more accuratly report
29609 why allocation failed.
29611 2005-06-02 Wim Taymans <wim@fluendo.com>
29613 * gst/gstpipeline.c: (gst_pipeline_send_event):
29614 Take snapshot of state without blocking.
29616 2005-06-02 Wim Taymans <wim@fluendo.com>
29618 * docs/design/part-TODO.txt:
29619 * docs/design/part-caps.txt:
29620 * docs/design/part-clocks.txt:
29621 * docs/design/part-negotiation.txt:
29622 * docs/design/part-preroll.txt:
29625 2005-05-30 Wim Taymans <wim@fluendo.com>
29627 * gst/elements/gstidentity.c: (gst_identity_event),
29628 (gst_identity_transform), (gst_identity_get_property):
29629 Protect last_message property as it is accessed from
29632 2005-05-30 Wim Taymans <wim@fluendo.com>
29634 * gst/gstelement.c: (gst_element_init),
29635 (gst_element_pads_activate), (gst_element_change_state):
29636 Slicker pad activation code.
29638 2005-05-30 Wim Taymans <wim@fluendo.com>
29641 * gst/gstelement.h:
29642 * gst/gstelementfactory.h:
29644 Move elementfactory methods to separate .h file.
29646 2005-05-30 Wim Taymans <wim@fluendo.com>
29648 * docs/design/part-overview.txt:
29649 * gst/gstsystemclock.h:
29650 Small typo fixes, doc updates.
29652 2005-05-30 Wim Taymans <wim@fluendo.com>
29654 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29655 (init_popt_callback):
29656 Remove cpu-opt flag.
29658 2005-05-30 Wim Taymans <wim@fluendo.com>
29660 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29661 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29663 Avoid typechecking in places where not needed.
29664 Added accessor for malloc_data.
29666 2005-05-30 Wim Taymans <wim@fluendo.com>
29668 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29669 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29670 (gst_pad_configure_sink), (gst_pad_configure_src),
29671 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29672 (gst_pad_start_task):
29673 Propagate errors from _set_caps() in configure_src/sink
29674 functions instead of returning TRUE.
29675 FLUSH events can travel up and downstream
29678 2005-05-30 Wim Taymans <wim@fluendo.com>
29680 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29681 (gst_basesink_activate):
29682 Handle EOS in preroll.
29684 2005-05-30 Wim Taymans <wim@fluendo.com>
29686 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29687 (gst_queue_loop), (gst_queue_handle_src_event):
29688 Remove old pieces of code
29689 Flushing the queue in an upstream event is a very bad idea.
29691 2005-05-26 Andy Wingo <wingo@pobox.com>
29693 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29694 gst_value_set_mini_object so as to add a ref on the object (which
29695 will be removed when the value is unset).
29697 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29698 arg type in ::handoff.
29700 * gst/gstelement.c (gst_element_change_state): Also deactivate
29701 pads in READY->NULL, just in case the element didn't make it to
29702 PAUSED. Wingo tested, Wim approved.
29704 2005-05-26 Wim Taymans <wim@fluendo.com>
29706 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29707 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29708 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29709 A flushing pad cannot be used to alloc_buffer from.
29711 2005-05-26 Wim Taymans <wim@fluendo.com>
29713 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29714 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29715 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29716 (gst_bus_create_watch), (gst_bus_add_watch_full):
29718 Implement a real GSource and use g_main_context_wakeup() to
29719 signal new messages instead of the socketpair.
29721 2005-05-25 Wim Taymans <wim@fluendo.com>
29723 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29724 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29725 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29726 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29727 (gst_pad_send_event), (gst_pad_start_task):
29728 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29729 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29730 (gst_queue_sink_activate), (gst_queue_src_activate),
29731 (gst_queue_change_state):
29733 Fix state changes for non sinks. We now change sinks, then elements
29734 with unconnected srcpads, then the rest.
29735 More efficient queue unlocking in flush and state changes.
29736 Set the pad activate mode even if it does not have an activate
29739 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29741 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29742 Don't go in pull mode for non-seekable sources.
29743 * gst/elements/gsttypefindelement.h:
29744 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29745 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29746 (free_entry), (stop_typefinding),
29747 (gst_type_find_element_handle_event), (find_peek),
29748 (gst_type_find_element_chain), (do_pull_typefind),
29749 (gst_type_find_element_change_state):
29750 Allow typefinding (w/o seeking) in push-mode, simplified version
29751 of what was in 0.8.
29752 * gst/gstutils.c: (gst_buffer_join):
29754 gst_buffer_join() from 0.8.
29756 2005-05-25 Wim Taymans <wim@fluendo.com>
29758 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29759 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29760 (gst_pad_send_event), (gst_pad_start_task):
29761 Disable attempt at mode switching until it is figured out.
29763 2005-05-25 Wim Taymans <wim@fluendo.com>
29765 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29766 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29767 (gst_basesink_finish_preroll), (gst_basesink_chain),
29768 (gst_basesink_loop), (gst_basesink_activate),
29769 (gst_basesink_change_state):
29770 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29771 (gst_basesrc_get_range), (gst_basesrc_loop),
29772 (gst_basesrc_activate):
29773 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29774 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29775 (gst_real_pad_init), (gst_real_pad_set_property),
29776 (gst_real_pad_get_property), (gst_pad_set_active),
29777 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29778 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29779 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29780 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29781 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29782 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29783 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29784 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29785 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29786 (gst_pad_stop_task):
29788 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29789 (gst_queue_loop), (gst_queue_src_activate):
29790 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29791 (gst_task_get_state):
29793 * gst/schedulers/threadscheduler.c:
29794 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29795 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29797 Remove ACTIVE pad flag, use FLUSHING everywhere
29798 Added _pad_chain(), _pad_get_range() to call chain/getrange
29800 Add locks around IS_FLUSHING when reading.
29801 Take STREAM lock in chain(), get_range() functions so plugins
29802 don't need to take it anymore.
29806 2005-05-25 Wim Taymans <wim@fluendo.com>
29808 * tools/gst-launch.c: (event_loop):
29809 Unref message after using its contents instead of
29812 2005-05-24 Wim Taymans <wim@fluendo.com>
29814 * docs/design/draft-ghostpads.txt:
29815 * docs/design/draft-push-pull.txt:
29816 * docs/design/draft-query.txt:
29817 * docs/design/part-overview.txt:
29818 Docs updates, added general overview doc.
29820 2005-05-21 David Schleef <ds@schleef.org>
29822 * docs/gst/tmpl/old/GstBin.sgml:
29823 * docs/gst/tmpl/old/GstBuffer.sgml:
29824 * docs/gst/tmpl/old/GstCaps.sgml:
29825 * docs/gst/tmpl/old/GstClock.sgml:
29826 * docs/gst/tmpl/old/GstCompat.sgml:
29827 * docs/gst/tmpl/old/GstData.sgml:
29828 * docs/gst/tmpl/old/GstElement.sgml:
29829 * docs/gst/tmpl/old/GstEvent.sgml:
29830 * docs/gst/tmpl/old/GstIndex.sgml:
29831 * docs/gst/tmpl/old/GstStructure.sgml:
29832 * docs/gst/tmpl/old/GstTag.sgml:
29833 * docs/gst/tmpl/old/cothreads.sgml:
29834 * docs/gst/tmpl/old/cothreads_compat.sgml:
29835 * docs/gst/tmpl/old/gettext.sgml:
29836 * docs/gst/tmpl/old/gobject2gtk.sgml:
29837 * docs/gst/tmpl/old/grammar.tab.sgml:
29838 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29839 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29840 * docs/gst/tmpl/old/gst_private.sgml:
29841 * docs/gst/tmpl/old/gstaggregator.sgml:
29842 * docs/gst/tmpl/old/gstarch.sgml:
29843 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29844 * docs/gst/tmpl/old/gstbufferstore.sgml:
29845 * docs/gst/tmpl/old/gstdata_private.sgml:
29846 * docs/gst/tmpl/old/gstdisksink.sgml:
29847 * docs/gst/tmpl/old/gstdisksrc.sgml:
29848 * docs/gst/tmpl/old/gstelementfactory.sgml:
29849 * docs/gst/tmpl/old/gstextratypes.sgml:
29850 * docs/gst/tmpl/old/gstfakesink.sgml:
29851 * docs/gst/tmpl/old/gstfakesrc.sgml:
29852 * docs/gst/tmpl/old/gstfdsink.sgml:
29853 * docs/gst/tmpl/old/gstfdsrc.sgml:
29854 * docs/gst/tmpl/old/gstfilesink.sgml:
29855 * docs/gst/tmpl/old/gstfilesrc.sgml:
29856 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29857 * docs/gst/tmpl/old/gstidentity.sgml:
29858 * docs/gst/tmpl/old/gstindexfactory.sgml:
29859 * docs/gst/tmpl/old/gstmarshal.sgml:
29860 * docs/gst/tmpl/old/gstmd5sink.sgml:
29861 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29862 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29863 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29864 * docs/gst/tmpl/old/gstpipefilter.sgml:
29865 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29866 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29867 * docs/gst/tmpl/old/gstshaper.sgml:
29868 * docs/gst/tmpl/old/gstspider.sgml:
29869 * docs/gst/tmpl/old/gstspideridentity.sgml:
29870 * docs/gst/tmpl/old/gststatistics.sgml:
29871 * docs/gst/tmpl/old/gsttee.sgml:
29872 * docs/gst/tmpl/old/gsttimecache.sgml:
29873 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29874 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29875 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29876 * docs/gst/tmpl/old/types.sgml:
29877 I didn't intend to add these or check them in.
29879 2005-05-19 David Schleef <ds@schleef.org>
29881 * configure.ac: Use -no-common everywhere. In a sane world, it
29882 would be the default in libtool, because without it, you can't
29883 build DLLs on Windows.
29884 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29885 * docs/gst/gstreamer-sections.txt:
29886 * docs/gst/tmpl/gstcpu.sgml:
29887 * docs/gst/tmpl/gstdata.sgml:
29888 * docs/gst/tmpl/gstthread.sgml:
29890 2005-05-19 David Schleef <ds@schleef.org>
29892 * gst/gstminiobject.c: (gst_value_set_mini_object),
29893 (gst_value_take_mini_object), (gst_value_get_mini_object):
29894 * gst/gstminiobject.h: Add GValue set/get functions.
29896 2005-05-19 Wim Taymans <wim@fluendo.com>
29898 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29899 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29900 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29902 * gst/gstbus.c: (gst_bus_post):
29903 * gst/gstelement.c: (gst_element_get_random_pad):
29904 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29905 Make subbufer unref the parent in finalize.
29906 some more debugging info.
29909 2005-05-19 Wim Taymans <wim@fluendo.com>
29911 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29912 (gst_basesink_init), (gst_basesink_finalize),
29913 (gst_basesink_activate), (gst_basesink_change_state):
29914 Don't free preroll queue too early.
29916 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29920 Hi, I'm outdated. Please shoot me.
29922 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29924 * gst/gstpipeline.c: (gst_pipeline_send_event):
29925 Do not access variables after they have been deleted.
29927 2005-05-19 Wim Taymans <wim@fluendo.com>
29929 * tools/gst-inspect.c: (print_plugin_features):
29930 A plugin feature does unfortunatly not use the
29933 2005-05-18 Wim Taymans <wim@fluendo.com>
29935 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29936 Port _span() functions to new subbuffers.
29938 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29940 * gst/gstbin.c: (gst_bin_add_func):
29941 Fix clock settery in bins when adding kids after the clock has
29944 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29946 * gst/elements/gstidentity.c: (gst_identity_class_init):
29947 Workaround until signals support GstMiniObject.
29949 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29952 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29954 2005-05-18 Wim Taymans <wim@fluendo.com>
29956 * gst/base/Makefile.am:
29957 * gst/base/gstadapter.c: (gst_adapter_base_init),
29958 (gst_adapter_class_init), (gst_adapter_init),
29959 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29960 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29961 (gst_adapter_flush), (gst_adapter_available),
29962 (gst_adapter_available_fast):
29963 * gst/base/gstadapter.h:
29964 Ported and added adapter to the base classes.
29966 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29969 * gst/gstmessage.c:
29970 Make sure the class is reffed/unreffed once before threads can be
29971 used. Fixes #304551.
29973 2005-05-17 Wim Taymans <wim@fluendo.com>
29975 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29976 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29977 * gst/gstminiobject.c: (gst_mini_object_get_type),
29978 (gst_mini_object_free):
29979 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29980 (gst_pad_push), (gst_pad_push_event):
29981 * gst/gstqueue.c: (gst_queue_change_state):
29982 Don't queue buffers in basesink when we are flushing.
29983 Unref buffer when flushing in basesink.
29984 Flush queue when going to READY
29985 Unref buffer when _push() returns an error.
29986 Don't free MiniObject instance when refcount is incremented
29987 in _finalize() so that we can recover objects.
29989 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29991 * docs/manual/advanced-schedulers.xml:
29992 * docs/manual/appendix-checklist.xml:
29993 * docs/pwg/advanced-clock.xml:
29994 * docs/pwg/advanced-interfaces.xml:
29995 * docs/pwg/advanced-request.xml:
29996 * docs/pwg/advanced-types.xml:
29997 * docs/pwg/intro-preface.xml:
29998 * examples/plugins/example.c: (gst_example_get_type),
29999 (gst_example_class_init), (gst_example_chain),
30000 (gst_example_set_property), (gst_example_get_property),
30001 (gst_example_change_state), (plugin_init):
30002 * examples/plugins/example.h:
30005 2005-05-17 Wim Taymans <wim@fluendo.com>
30007 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30008 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30009 * gst/gstqueue.c: (gst_queue_change_state):
30010 Clear queue when going to READY.
30011 Remove IN_SETCAPS flag too.
30013 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30015 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30016 Remove implicit cast from gboolean to GstElementStateReturn;
30017 make sure we still return failure in paused => ready case if
30018 the parent class fails to change state and our own stop
30021 2005-05-17 Wim Taymans <wim@fluendo.com>
30023 * tools/gst-launch.c: (event_loop):
30024 Message was unreffed too soon.
30026 2005-05-16 Andy Wingo <wingo@pobox.com>
30028 * gst/gstbin.c (sink_iterator_filter): Err... um...
30030 * check/gst/gstbin.c (test_ghost_pads): New test for the
30031 ghosting-if-elements-not-in-same-bin behavior.
30033 2005-05-16 David Schleef <ds@schleef.org>
30035 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30036 accessing refcount directly.
30038 2005-05-15 David Schleef <ds@schleef.org>
30040 * check/Makefile.am: remove GstData checks
30041 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30042 * gst/Makefile.am: add miniobject, remove data
30043 * gst/gst.h: add miniobject, remove data
30044 * gst/gstdata.c: remove
30045 * gst/gstdata.h: remove
30046 * gst/gstdata_private.h: remove
30047 * gst/gsttypes.h: remove GstEvent and GstMessage
30048 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30049 * gst/gstmarshal.list: change BOXED -> OBJECT
30051 Implement GstMiniObject.
30052 * gst/gstminiobject.c:
30053 * gst/gstminiobject.h:
30055 Modify to be subclasses of GstMiniObject.
30056 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30057 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30058 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30059 (gst_subbuffer_get_type), (gst_subbuffer_init),
30060 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30063 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30064 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30065 (_gst_event_copy), (gst_event_new):
30067 * gst/gstmessage.c: (_gst_message_initialize),
30068 (gst_message_get_type), (gst_message_class_init),
30069 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30070 (gst_message_new), (gst_message_new_error),
30071 (gst_message_new_warning), (gst_message_new_tag),
30072 (gst_message_new_state_changed), (gst_message_new_application):
30073 * gst/gstmessage.h:
30074 * gst/gstprobe.c: (gst_probe_perform),
30075 (gst_probe_dispatcher_dispatch):
30077 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30078 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30079 (_gst_query_copy), (gst_query_new):
30081 Update elements for GstData -> GstMiniObject changes
30083 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30084 (gst_queue_chain), (gst_queue_loop):
30085 * gst/elements/gstbufferstore.c:
30086 (gst_buffer_store_add_buffer_func),
30087 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30088 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30089 (gst_fakesink_render):
30090 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30091 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30092 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30093 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30094 (gst_filesrc_create_read):
30095 * gst/elements/gstidentity.c: (gst_identity_class_init):
30096 * gst/elements/gsttypefindelement.c:
30097 (gst_type_find_element_src_event), (free_entry_buffers),
30098 (gst_type_find_element_handle_event):
30099 * libs/gst/dataprotocol/dataprotocol.c:
30100 (gst_dp_header_from_buffer):
30101 * libs/gst/dataprotocol/dataprotocol.h:
30102 * libs/gst/dataprotocol/dp-private.h:
30104 2005-05-15 David Schleef <ds@schleef.org>
30106 * gst/elements/gstelements.c: Don't include headers that were
30109 2005-05-15 David Schleef <ds@schleef.org>
30111 * gst/elements/Makefile.am: Remove some elements that don't
30112 need to be in the core (or even exist at all).
30113 * gst/elements/gstaggregator.c:
30114 * gst/elements/gstaggregator.h:
30115 * gst/elements/gstmd5sink.c:
30116 * gst/elements/gstmd5sink.h:
30117 * gst/elements/gstmultifilesrc.c:
30118 * gst/elements/gstmultifilesrc.h:
30119 * gst/elements/gstpipefilter.c:
30120 * gst/elements/gstpipefilter.h:
30121 * gst/elements/gstshaper.c:
30122 * gst/elements/gstshaper.h:
30123 * gst/elements/gststatistics.c:
30124 * gst/elements/gststatistics.h:
30125 * po/POTFILES.in: Remove above files.
30127 2005-05-14 Andy Wingo <wingo@pobox.com>
30129 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30130 so as to get the refs right.
30131 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30132 unreffing objects that don't pass the filter.
30134 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30135 gst_element_set_bus.
30136 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30137 normal cases, this will destroy the bus.
30139 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30142 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30145 2005-05-13 Andy Wingo <wingo@pobox.com>
30147 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30148 gst_pad_link, call pad_link_maybe_ghosting,
30149 (pad_link_maybe_ghosting): Links pads, making sure that the
30150 elements being linked are in the same bin.
30151 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30152 Helpers for pad_link_maybe_ghosting.
30154 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30157 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30159 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30161 * docs/design/part-element-source.txt:
30164 2005-05-12 Wim Taymans <wim@fluendo.com>
30166 * gst/base/gstbasesink.c: (gst_basesink_init),
30167 (gst_basesink_activate):
30168 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30169 (gst_basesrc_is_seekable):
30170 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30171 (bin_element_is_sink), (gst_bin_change_state):
30172 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30173 * gst/gstelement.h:
30174 Identify sinks by their flag to avoid overly complicated
30176 Do state changes even for elements not reachable from the
30178 BaseSink is a sink now :)
30179 Some more debugging info in the basesrc.
30182 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30184 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30185 Implement _query on a bin, similar to _send_event.
30187 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30189 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30190 Discont event offset format should be GST_FORMAT_BYTES,
30191 not GST_FORMAT_TIME.
30193 2005-05-12 Wim Taymans <wim@fluendo.com>
30195 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30196 Same fix as Ronald's but without the signal.
30198 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30200 * gst/gstutils.c: (gst_element_query_position):
30201 No, an element is not a pad.
30203 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30205 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30206 (gst_bin_get_state):
30207 If a child is removed from a bin while we remove the child from
30208 the bin and while we're retrieving its state, signal this to the
30209 get_state function so we abort the wait (instead of waiting for
30210 a timeout) and can immediately re-iterate over all other elements.
30212 2005-05-12 Wim Taymans <wim@fluendo.com>
30214 * gst/base/Makefile.am:
30215 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30216 (gst_basesrc_start):
30217 * gst/base/gstbasesrc.h:
30218 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30219 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30220 (gst_pushsrc_init), (gst_pushsrc_create):
30221 * gst/base/gstpushsrc.h:
30222 Added is_seekable to BaseSrc
30223 Added simple PushSrc.
30225 2005-05-11 Wim Taymans <wim@fluendo.com>
30227 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30228 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30229 (gst_element_link_pads), (gst_element_query_position),
30230 (gst_element_query_convert), (intersect_caps_func),
30231 (gst_pad_query_position), (gst_pad_query_convert):
30232 Fix refcounting in utils function.
30233 No point in trying to activate a pad when it's added, it could
30234 be added from the state change function and then we deadlock, the
30235 element has to decide what to do.
30237 2005-05-10 Andy Wingo <wingo@pobox.com>
30239 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30240 *all* the arguments.
30242 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30243 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30244 lock (according to the docs -- if this is wrong change the docs).
30246 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30247 flush messages in the NULL state.
30249 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30250 message immediately and return.
30251 (gst_bus_set_flushing): New function. If a bus is flushing, it
30252 flushes out any queued messages and immediately unrefs new
30253 messages. This is so when an element goes to NULL, all of the
30254 unhandled messages coming from it can be freed, and their
30255 references to the element dropped. In other words: message source
30256 ref considered harmful :P
30258 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30259 we're finished with it.
30261 * gst/gstmessage.c (gst_message_new_state_changed):
30263 2005-05-10 Wim Taymans <wim@fluendo.com>
30265 * gst/gstvalue.c: (gst_value_compare_flags),
30266 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30267 (_gst_value_initialize):
30268 Added flags serialize/deserialize/compare code.
30270 2005-05-09 Andy Wingo <wingo@pobox.com>
30272 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30273 Intersect the peer's caps with our caps.
30275 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30277 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30278 * gst/elements/gsttypefindelement.c: (find_peek):
30279 Handle negative offsets better. Fixes decodebin.
30281 2005-05-09 Wim Taymans <wim@fluendo.com>
30283 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30284 (gst_base_transform_event):
30285 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30286 Implement accept_caps.
30287 Fix silly lock/unlock mismatch in base class.
30289 2005-05-09 Wim Taymans <wim@fluendo.com>
30291 * docs/design/draft-push-pull.txt:
30292 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30293 * gst/elements/gstfilesink.c: (gst_filesink_init),
30294 (gst_filesink_query):
30295 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30296 (gst_type_find_handle_src_query), (find_element_get_length):
30297 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30298 * gst/gstelement.h:
30299 * gst/gstmessage.c:
30300 * gst/gstmessage.h:
30301 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30302 (gst_real_pad_get_caps_unlocked),
30303 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30304 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30305 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30306 (gst_real_pad_dispose), (gst_real_pad_finalize),
30307 (gst_pad_load_and_link), (gst_pad_save_thyself),
30308 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30309 (gst_pad_check_pull_range), (gst_pad_pull_range),
30310 (gst_pad_template_get_type), (gst_pad_template_class_init),
30311 (gst_pad_template_init), (gst_pad_template_dispose),
30312 (name_is_valid), (gst_static_pad_template_get),
30313 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30314 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30315 (gst_pad_get_element_private), (gst_pad_start_task),
30316 (gst_pad_pause_task), (gst_pad_stop_task),
30317 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30318 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30319 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30320 (gst_ghost_pad_new):
30322 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30323 (gst_query_new_position), (gst_query_set_position),
30324 (gst_query_parse_position), (gst_query_new_convert),
30325 (gst_query_set_convert), (gst_query_parse_convert):
30327 * gst/gstqueryutils.c:
30328 * gst/gstqueryutils.h:
30329 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30330 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30331 (gst_queue_handle_src_query):
30332 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30333 (gst_element_query_position), (gst_element_query_convert),
30334 (intersect_caps_func), (gst_pad_query_position),
30335 (gst_pad_query_convert):
30337 * tools/gst-inspect.c: (print_pad_info):
30338 * tools/gst-xmlinspect.c: (print_element_info):
30339 Remove old query functions. Ported old code.
30340 Added position/convert helper functions to gstutils.
30341 Reordered gstpad.c code, grouping relevant things.
30342 Remove gst_message_new(), always need to speficy a specific
30346 2005-05-09 Andy Wingo <wingo@pobox.com>
30348 * gst/gstiterator.h: Add some includes.
30350 * gst/gstqueryutils.h: Include more headers.
30353 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30354 some uses of gst_pad_query.
30356 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30357 NULL out parameters.
30358 (gst_query_new_position): New proc, allocates a new position
30361 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30362 gstqueryutils.c to the build.
30364 * gst/gststructure.c (gst_structure_set_valist): Implement with
30365 the generic G_VALUE_COLLECT.
30367 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30369 * gst/Makefile.am: (gst_headers):
30370 Added gstqueryutils.h to the list of headers to install, that was
30371 a 'nachty' move wingo :)
30373 2005-05-06 Andy Wingo <wingo@pobox.com>
30376 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30377 GstData, init a memchunk.
30378 (standard_definitions): Add a few query types, deprecate a few.
30379 (gst_query_get_type): New proc.
30380 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30382 (gst_query_new_application, gst_query_get_structure): New public
30385 * docs/design/draft-query.txt: Removed LINKS from the query types,
30386 because all the rest can be dispatched to other pads -- seemed
30387 ugly to have a query that couldn't be dispatched. internal_links
30388 is fine as a pad method.
30390 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30391 in gstpad.c, but maintain binary compatibility for the moment.
30392 Will fix before 0.9 is out.
30394 * gst/gstqueryutils.c:
30395 * gst/gstqueryutils.h: New files, implement 3 methods for each
30396 query type: parse_query, parse_response, and set. Probably need an
30399 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30401 * gst/elements/gstfilesink.c (gst_filesink_query2):
30402 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30403 query_types, and formats methods.
30405 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30406 (gst_pad_set_query2_function): New functions.
30407 (gst_real_pad_init): Set query2_default as the default query2
30408 function. Basically just dispatches to internally linked pads.
30412 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30413 without using the atomic operations. Only one thread can possibly
30414 be accessing the data at this point. Changed so as to avoid
30415 gst_atomic operations.
30417 2005-05-06 Wim Taymans <wim@fluendo.com>
30419 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30420 Also set caps if we use the fallback buffer alloc.
30422 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30424 * docs/gst/Makefile.am:
30425 * docs/gst/gstreamer-docs.sgml:
30426 * docs/gst/gstreamer-sections.txt:
30427 * docs/gst/tmpl/gstatomic.sgml:
30428 * docs/gst/tmpl/gstmemchunk.sgml:
30429 * testsuite/elements/struct_i386.h:
30430 * win32/GStreamer.vcproj:
30432 Purge GstAtomic stuff from docs and win32 makefiles as well
30434 2005-05-06 Wim Taymans <wim@fluendo.com>
30436 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30437 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30438 * gst/gstpad.c: (gst_pad_peer_get_caps):
30439 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30440 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30441 (gst_queue_src_activate), (gst_queue_change_state):
30443 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30444 (intersect_caps_func):
30445 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30446 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30447 Some fixes for the peer_get_caps() change.
30449 2005-05-06 Wim Taymans <wim@fluendo.com>
30451 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30452 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30453 (gst_basesink_activate):
30454 Actually do something with error codes returned from the push
30457 2005-05-06 Wim Taymans <wim@fluendo.com>
30459 * docs/design/part-element-sink.txt:
30460 * docs/design/part-element-source.txt:
30461 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30462 (gst_basesink_event), (gst_basesink_activate):
30463 * gst/base/gstbasesink.h:
30464 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30465 (gst_basesrc_activate):
30466 * gst/base/gstbasesrc.h:
30467 * gst/gstelement.c: (gst_element_pads_activate):
30468 Some more documentation.
30469 Fixed scheduling decision in _pads_activate().
30471 2005-05-05 Andy Wingo <wingo@pobox.com>
30473 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30476 2005-05-05 Wim Taymans <wim@fluendo.com>
30478 * gst/base/Makefile.am:
30479 * gst/base/gstbasesink.h:
30480 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30481 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30482 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30483 (gst_collectpads_class_init), (gst_collectpads_init),
30484 (gst_collectpads_finalize), (gst_collectpads_new),
30485 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30486 (find_pad), (gst_collectpads_remove_pad),
30487 (gst_collectpads_is_active), (gst_collectpads_collect),
30488 (gst_collectpads_collect_range), (gst_collectpads_start),
30489 (gst_collectpads_stop), (gst_collectpads_peek),
30490 (gst_collectpads_pop), (gst_collectpads_available),
30491 (gst_collectpads_read), (gst_collectpads_flush),
30492 (gst_collectpads_chain):
30493 * gst/base/gstcollectpads.h:
30494 * gst/elements/Makefile.am:
30495 * gst/elements/gstelements.c:
30496 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30497 (gst_fakesink_get_times), (gst_fakesink_event),
30498 (gst_fakesink_preroll), (gst_fakesink_render):
30499 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30500 (gst_filesink_init), (gst_filesink_set_location),
30501 (gst_filesink_open_file), (gst_filesink_close_file),
30502 (gst_filesink_pad_query), (gst_filesink_event),
30503 (gst_filesink_render), (gst_filesink_change_state):
30504 * gst/elements/gstfilesink.h:
30505 Added object to help in making collect pad based elements.
30507 Make event function in sink baseclass return gboolean.
30509 2005-05-05 Wim Taymans <wim@fluendo.com>
30511 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30512 (gst_bin_get_by_name):
30514 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30515 (gst_clock_finalize):
30516 * gst/gstdata.c: (gst_data_replace):
30518 * gst/gstelement.c: (gst_element_request_pad),
30519 (gst_element_pads_activate):
30520 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30521 (gst_object_unref):
30522 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30523 (gst_pad_set_checkgetrange_function),
30524 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30525 (gst_pad_check_pull_range), (gst_pad_pull_range),
30526 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30527 (gst_pad_pause_task), (gst_pad_stop_task):
30528 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30529 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30530 Fix name lookup in GstBin.
30531 Added _data_replace() function and _buffer_replace()
30532 Use finalize method to clean up clock.
30533 Fix refcounting on request pads.
30534 Fix pad schedule mode error.
30535 Some more object refcounting debug info,
30538 2005-05-04 Andy Wingo <wingo@pobox.com>
30540 * check/Makefile.am:
30541 * docs/gst/tmpl/gstatomic.sgml:
30542 * docs/gst/tmpl/gstplugin.sgml:
30543 * gst/base/gstbasesink.c: (gst_basesink_activate):
30544 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30545 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30546 (gst_basesrc_query), (gst_basesrc_set_property),
30547 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30548 (gst_basesrc_activate):
30549 * gst/base/gstbasesrc.h:
30550 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30551 (gst_base_transform_src_activate):
30552 * gst/elements/gstelements.c:
30553 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30554 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30555 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30556 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30557 (gst_type_find_element_checkgetrange),
30558 (gst_type_find_element_activate):
30559 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30560 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30561 (gst_caps_load_thyself):
30562 * gst/gstelement.c: (gst_element_pads_activate),
30563 (gst_element_save_thyself), (gst_element_restore_thyself):
30564 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30565 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30567 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30568 (gst_xml_parse_file), (gst_xml_parse_memory),
30569 (gst_xml_get_element), (gst_xml_make_element):
30570 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30571 (_file_index_id_save_xml), (gst_file_index_commit):
30572 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30573 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30575 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30576 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30577 * tools/gst-complete.c: (main):
30578 * tools/gst-compprep.c: (main):
30579 * tools/gst-inspect.c: (print_element_properties_info):
30580 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30581 * tools/gst-xmlinspect.c: (print_element_properties):
30584 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30586 * gst/gstplugin.c: (gst_plugin_check_module),
30587 (gst_plugin_check_file), (gst_plugin_load_file):
30588 apply patch from #172526 to make register work on MacOSX
30590 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30592 * docs/gst/tmpl/gstconfig.sgml:
30593 * gst/gstconfig.h.in:
30594 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30595 * testsuite/debug/printf_extension.c: (main):
30596 Do not use GST_PTR_FORMAT on pointers to types with
30597 sizeof < sizeof(gpointer). Fixes test on 64-bit
30598 * testsuite/elements/property.h:
30599 use correct printf format
30601 2005-05-02 Wim Taymans <wim@fluendo.com>
30603 * docs/design/draft-push-pull.txt:
30604 * docs/design/draft-query.txt:
30605 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30606 (gst_basesrc_start):
30607 Added draft for new query API.
30608 Added draft for better selecting scheduling methods.
30609 Make basesrc ignore length if the subclass does not support
30612 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30615 possible fixes for automake-1.5 - _LIBADD is reserved
30617 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30619 * docs/faq/Makefile.am:
30620 * docs/manual/Makefile.am:
30621 * docs/manuals.mak:
30622 * docs/pwg/Makefile.am:
30624 possible fixes for automake-1.5
30626 2005-04-28 Wim Taymans <wim@fluendo.com>
30628 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30629 (gst_basesink_pad_getcaps), (gst_basesink_init),
30630 (gst_basesink_do_sync):
30631 * gst/gstclock.c: (gst_clock_entry_new):
30632 * gst/gstevent.c: (gst_event_discont_get_value):
30633 * gst/gstpipeline.c: (pipeline_bus_handler),
30634 (gst_pipeline_change_state):
30635 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30636 Better debugging of clocking info.
30637 Allow NULL values when getting discont values.
30639 2005-04-27 Wim Taymans <wim@fluendo.com>
30641 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30642 * check/gst/gstpad.c: (gst_pad_suite):
30643 Increase timeout for checks.
30645 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30647 * check/Makefile.am:
30648 fix the broken rule for cleanup. Apparently this rule is
30649 only needed on FC2, so maybe this warrants further autotool
30652 2005-04-26 Wim Taymans <wim@fluendo.com>
30654 * gst/gsttrashstack.h:
30655 Ooohh. a nasty one! After having a failed pop() from the stack,
30656 it's possible that the stack is empty. In that case, don't
30657 follow the NULL pointer.
30659 2005-04-25 Wim Taymans <wim@fluendo.com>
30661 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30662 (gst_pad_set_checkgetrange_function),
30663 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30664 (gst_pad_check_pull_range), (gst_pad_pull_range),
30665 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30666 (gst_pad_pause_task), (gst_pad_stop_task):
30667 * gst/gstplugin.c: (gst_plugin_load):
30669 Remove gst_library_load as it does more harm than good with
30670 the new g_module flags.
30671 Revert bogus caps template check in pad linking, pad caps
30672 are important when linking not the template, which is more
30673 general than the current caps.
30675 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30677 * gst/autoplug/.cvsignore:
30678 * gst/autoplug/Makefile.am:
30679 * gst/autoplug/gstsearchfuncs.c:
30680 * gst/autoplug/gstsearchfuncs.h:
30681 * gst/autoplug/gstspider.c:
30682 * gst/autoplug/gstspider.h:
30683 * gst/autoplug/gstspideridentity.c:
30684 * gst/autoplug/gstspideridentity.h:
30685 * gst/autoplug/spidertest.c:
30688 2005-04-25 Wim Taymans <wim@fluendo.com>
30690 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30691 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30692 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30693 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30695 Added stubs for unimplemented functions.
30697 2005-04-24 David Schleef <ds@schleef.org>
30699 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30702 2005-04-24 David Schleef <ds@schleef.org>
30704 Convert everything from GstAtomicInt to g_atomic_int_*, and
30709 * gst/gstatomic_impl.h:
30717 * gst/gstdata_private.h:
30721 * gst/gstmessage.c:
30724 * gst/gststructure.c:
30725 * gst/gststructure.h:
30726 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30729 2005-04-24 David Schleef <ds@schleef.org>
30731 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30732 make the regressions tests work. Remove some code that is no
30734 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30735 Disable warning for pads without templates.
30737 2005-04-24 David Schleef <ds@schleef.org>
30739 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30740 functions that handle filtered links.
30741 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30743 * gst/gstutils.c: Fix/remove utility functions that handle
30746 * gst/gstvalue.c: Add serialization/deserialization of caps
30747 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30748 requires fixing so that the filter caps notation creates
30749 a capsfilter element and sets the filter_caps property. I
30750 think everyone probably wants to keep the shorthand notation.
30751 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30752 * docs/gst/tmpl/gstpad.sgml:
30754 * gst/elements/gstelements.c: Register capsfilter element.
30755 * gst/Makefile.am: fix spacing
30756 * docs/random/ds/0.9-suggested-changes: random
30758 2005-04-23 David Schleef <ds@schleef.org>
30760 * gst/elements/Makefile.am:
30761 * gst/elements/gstcapsfilter.c: New element that acts like an
30762 identity, but filters caps. Will eventually replace filtered
30763 caps in pad linking.
30764 * gst/gstutils.c: (gst_element_create_all_pads): New function
30765 to create all the ALWAYS pads that are registered with an
30766 element class. This functionality should eventually be
30767 merged in with GstElement initialization.
30769 * testsuite/trigger/README: part of trigger test code that should
30770 have been checked in a long time ago.
30772 2005-04-23 David Schleef <ds@schleef.org>
30774 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30775 needed with new versions of libtool (nobody will confirm this),
30776 and hard to carry around.
30777 * gst/autoplug/Makefile.am:
30778 * gst/base/Makefile.am:
30779 * gst/elements/Makefile.am:
30780 * gst/indexers/Makefile.am:
30781 * gst/schedulers/Makefile.am:
30782 * libs/gst/bytestream/Makefile.am:
30783 * libs/gst/control/Makefile.am:
30784 * libs/gst/dataprotocol/Makefile.am:
30785 * libs/gst/getbits/Makefile.am:
30787 2005-04-21 Wim Taymans <wim@fluendo.com>
30789 * docs/design/draft-push-pull.txt:
30790 * docs/design/part-MT-refcounting.txt:
30791 * docs/design/part-TODO.txt:
30792 * docs/design/part-caps.txt:
30793 * docs/design/part-events.txt:
30794 * docs/design/part-gstbus.txt:
30795 * docs/design/part-gstpipeline.txt:
30796 * docs/design/part-messages.txt:
30797 * docs/design/part-push-pull.txt:
30798 * docs/design/part-query.txt:
30801 2005-04-21 Wim Taymans <wim@fluendo.com>
30803 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30804 (gst_message_new), (gst_message_new_error),
30805 (gst_message_new_warning), (gst_message_new_tag),
30806 (gst_message_new_state_changed), (gst_message_new_application),
30807 (gst_message_get_structure):
30808 * gst/gstmessage.h:
30809 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30810 (gst_structure_copy_conditional):
30811 Use parent refcount in GstMessage to ensure GstStructure
30813 Cleaned up headers a bit.
30816 2005-04-20 Wim Taymans <wim@fluendo.com>
30818 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30819 (gst_basesink_pad_getcaps), (gst_basesink_init),
30820 (gst_basesink_chain_unlocked):
30821 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30822 (gst_type_find_helper):
30823 * gst/elements/gsttypefindelement.c:
30824 (gst_type_find_element_have_type), (gst_type_find_element_init),
30825 (stop_typefinding), (gst_type_find_element_handle_event),
30826 (find_suggest), (gst_type_find_element_chain),
30827 (gst_type_find_element_checkgetrange),
30828 (gst_type_find_element_getrange), (do_typefind),
30829 (gst_type_find_element_activate):
30830 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30831 (gst_buffer_default_free), (gst_buffer_default_copy),
30832 (gst_buffer_set_caps):
30833 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30834 (gst_caps_replace):
30835 * gst/gstmessage.c: (gst_message_new),
30836 (gst_message_new_state_changed):
30837 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30838 (gst_pad_set_checkgetrange_function),
30839 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30840 (gst_pad_set_caps), (gst_pad_check_pull_range),
30841 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30843 * gst/gsttypefind.c: (gst_type_find_register):
30844 Make gst_caps_replace() work like other _replace() functions.
30845 Use _caps_replace() where possible.
30846 Make sure _message_new() initialises its field.
30847 Add gst_static_pad_template_get_caps()
30850 2005-04-18 Andy Wingo <wingo@pobox.com>
30852 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30853 on the peer, not the pad. I think that was a typo. Pass an extra
30854 arg to see if random access is possible. Activate the pads as
30855 PULL_RANGE if possible.
30857 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30859 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30860 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30863 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30865 * docs/faq/using.xml:
30866 Add note on gstreamer-properties (#154996).
30868 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30870 * docs/random/bbb/optional-properties:
30871 Some analysis on optional properties.
30873 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30875 * docs/gst/tmpl/gstelementfactory.sgml:
30876 * gst/gstelement.h:
30877 * gst/gstelementfactory.c: (gst_element_factory_init),
30878 (gst_element_factory_cleanup), (gst_element_register),
30879 (__gst_element_factory_add_static_pad_template),
30880 (gst_element_factory_get_static_pad_templates),
30881 (gst_element_factory_can_src_caps),
30882 (gst_element_factory_can_sink_caps):
30883 * gst/registries/Makefile.am:
30884 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30885 (gst_xml_registry_class_init), (gst_xml_registry_init),
30886 (gst_xml_registry_new), (gst_xml_registry_set_property),
30887 (gst_xml_registry_get_property), (get_time), (make_dir),
30888 (gst_xml_registry_get_perms_func),
30889 (plugin_times_older_than_recurse), (plugin_times_older_than),
30890 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30891 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30892 (add_to_char_array), (read_string), (read_uint), (read_enum),
30893 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30894 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30895 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30896 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30897 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30898 (gst_xml_registry_rebuild):
30899 * gst/registries/gstlibxmlregistry.h:
30900 * tools/gst-compprep.c: (main):
30901 * tools/gst-inspect.c: (print_pad_templates_info):
30902 * tools/gst-xmlinspect.c: (print_element_info):
30903 Use libxml2 for registry parsing, use staticpadtemplates in
30904 elementfactories. Makes gst_init() +/- 10x faster.
30906 2005-04-12 Wim Taymans <wim@fluendo.com>
30908 * gst/base/Makefile.am:
30909 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30910 (gst_basesink_pad_getcaps), (gst_basesink_init),
30911 (gst_basesink_event), (gst_basesink_change_state):
30912 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30913 (gst_basesrc_init), (gst_basesrc_query),
30914 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30915 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30916 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30917 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30918 (gst_basesrc_stop), (gst_basesrc_activate),
30919 (gst_basesrc_change_state):
30920 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30921 (helper_find_suggest), (gst_type_find_helper):
30922 * gst/base/gsttypefindhelper.h:
30923 * gst/elements/Makefile.am:
30924 * gst/elements/gstelements.c:
30925 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30926 (gst_fakesink_get_times), (gst_fakesink_event),
30927 (gst_fakesink_preroll), (gst_fakesink_render):
30928 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30929 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30930 (gst_fakesrc_get_property), (gst_fakesrc_create),
30931 (gst_fakesrc_start), (gst_fakesrc_stop):
30932 * gst/elements/gstfakesrc.h:
30933 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30934 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30935 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30936 (gst_filesrc_create_read), (gst_filesrc_create),
30937 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30938 (gst_filesrc_start):
30939 * gst/elements/gsttypefindelement.c:
30940 (gst_type_find_element_have_type), (gst_type_find_element_init),
30941 (start_typefinding), (stop_typefinding), (push_buffer_store),
30942 (gst_type_find_element_handle_event),
30943 (gst_type_find_element_chain),
30944 (gst_type_find_element_checkgetrange),
30945 (gst_type_find_element_getrange), (do_typefind),
30946 (gst_type_find_element_activate),
30947 (gst_type_find_element_change_state):
30948 * gst/elements/gsttypefindelement.h:
30949 * gst/gstpipeline.c: (pipeline_bus_handler):
30950 Added typefind helper.
30951 Small preroll fix in the base sink.
30952 Disable typefind code in basesrc.
30953 Crude port of typefindelement.
30957 2005-04-11 Wim Taymans <wim@fluendo.com>
30959 * check/gst/gstbus.c: (gstbus_suite):
30960 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30961 * check/gstcheck.h:
30962 Fix up the timeout so that the test does not fail.
30964 2005-04-06 Wim Taymans <wim@fluendo.com>
30967 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30968 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30969 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30970 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30971 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30972 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30973 (gst_basesrc_stop), (gst_basesrc_activate),
30974 (gst_basesrc_change_state), (basesrc_find_peek),
30975 (basesrc_find_suggest), (gst_basesrc_type_find):
30976 * gst/base/gstbasesrc.h:
30977 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30978 (gst_filesrc_class_init), (gst_filesrc_init),
30979 (gst_filesrc_finalize), (gst_filesrc_set_location),
30980 (gst_filesrc_set_property), (gst_filesrc_get_property),
30981 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30982 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30983 (gst_filesrc_create_read), (gst_filesrc_create),
30984 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30985 * gst/elements/gstfilesrc.h:
30986 * gst/gstelement.c: (gst_element_get_state_func),
30987 (gst_element_lost_state), (gst_element_pads_activate):
30988 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30989 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30990 (gst_pad_pull_range):
30992 More work on the generic source base class, implement seeking,
30994 Make filesrc extend the base source class.
30995 Added gst_pad_set_checkgetrange_function to GstPad.
30997 2005-04-06 Andy Wingo <wingo@pobox.com>
30999 * pkgconfig/gstreamer-base.pc.in:
31000 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31002 * pkgconfig/Makefile.am:
31003 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31005 2005-04-04 Wim Taymans <wim@fluendo.com>
31007 * gst/base/Makefile.am:
31009 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31010 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31011 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31012 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31013 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31014 (gst_basesrc_base_init), (gst_basesrc_class_init),
31015 (gst_basesrc_init), (gst_basesrc_get_formats),
31016 (gst_basesrc_get_query_types), (gst_basesrc_query),
31017 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31018 (gst_basesrc_set_property), (gst_basesrc_get_property),
31019 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31020 (gst_basesrc_loop), (gst_basesrc_activate),
31021 (gst_basesrc_change_state):
31022 * gst/base/gstbasesrc.h:
31023 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31024 (gst_fakesrc_class_init), (gst_fakesrc_init),
31025 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31026 (gst_fakesrc_get_property), (gst_fakesrc_create):
31027 * gst/elements/gstfakesrc.h:
31028 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31029 (gst_filesrc_open_file), (gst_filesrc_loop),
31030 (gst_filesrc_activate), (filesrc_find_peek),
31031 (gst_filesrc_type_find):
31032 Made base source class, make fakesrc extend it.
31033 Add comments to basesink class.
31034 Some filesrc cleanup.
31036 2005-03-31 David Schleef <ds@schleef.org>
31038 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31039 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31040 expected to link against libgstreamer.
31041 * gst/base/Makefile.am: link against libgstreamer
31042 * gst/elements/Makefile.am: same
31044 2005-03-31 Andy Wingo <wingo@pobox.com>
31046 * tests/instantiate/Makefile.am:
31047 * tests/instantiate/caps.c: Add test to test speed of caps copy
31050 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31051 GMemChunk to be fair.
31053 * gst/gsttrashstack.h: Remove warning about using the fallback
31054 trash stack implementation, it's still faster than malloc.
31056 2005-03-30 Andy Wingo <wingo@pobox.com>
31058 * tests/complexity.c: Add a copyright.
31060 2005-03-31 Wim Taymans <wim@fluendo.com>
31062 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31063 (gst_base_transform_class_init), (gst_base_transform_init),
31064 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31065 (gst_base_transform_get_property),
31066 (gst_base_transform_sink_activate),
31067 (gst_base_transform_src_activate),
31068 (gst_base_transform_change_state):
31069 * gst/base/gstbasetransform.h:
31070 * gst/elements/gstidentity.c: (gst_identity_class_init),
31071 (gst_identity_event), (gst_identity_check_perfect),
31072 (gst_identity_transform), (gst_identity_start),
31073 (gst_identity_stop):
31074 Added start/stop methods to transform base class so subclasses
31075 don't need to deal with state changes even.
31077 2005-03-31 Wim Taymans <wim@fluendo.com>
31079 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31080 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31082 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31083 (gst_pad_pull_range):
31084 Added rate to the discont event to prepare for variable speed
31085 and reverse playback.
31087 2005-03-29 David Schleef <ds@schleef.org>
31090 * testsuite/trigger/Makefile.am:
31091 * testsuite/trigger/trigger.c: A little example program to show
31092 how trigger-based elements can work.
31094 2005-03-29 Wim Taymans <wim@fluendo.com>
31096 * gst/base/Makefile.am:
31098 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31099 (gst_basesink_base_init), (gst_basesink_class_init),
31100 (gst_basesink_pad_getcaps), (gst_basesink_init),
31101 (gst_basesink_activate), (gst_basesink_change_state):
31102 * gst/base/gstbasesink.h:
31103 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31104 (gst_base_transform_base_init), (gst_base_transform_finalize),
31105 (gst_base_transform_class_init), (gst_base_transform_init),
31106 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31107 (gst_base_transform_event), (gst_base_transform_getrange),
31108 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31109 (gst_base_transform_set_property),
31110 (gst_base_transform_get_property),
31111 (gst_base_transform_sink_activate),
31112 (gst_base_transform_src_activate),
31113 (gst_base_transform_change_state):
31114 * gst/base/gstbasetransform.h:
31115 * gst/elements/gstidentity.c: (gst_identity_finalize),
31116 (gst_identity_class_init), (gst_identity_init),
31117 (gst_identity_event), (gst_identity_check_perfect),
31118 (gst_identity_transform), (gst_identity_set_property),
31119 (gst_identity_get_property), (gst_identity_change_state):
31120 * gst/elements/gstidentity.h:
31121 * gst/gstelement.c: (gst_element_get_state_func),
31122 (gst_element_lost_state), (gst_element_pads_activate):
31123 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31124 (gst_pad_check_pull_range), (gst_pad_pull_range):
31126 Simplify pad activation.
31127 Added function to check if pull_range can be performed.
31128 Error out when pulling inactive or flushing pads.
31129 Removed const from refcounted types as it does not make sense.
31130 Simplify pad templates in basesink
31131 Added base class for simple 1-to-1 transforms.
31132 Make identity subclass the base transform.
31134 2005-03-29 Andy Wingo <wingo@pobox.com>
31136 * docs/libs/gstreamer-libs-overrides.txt:
31137 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31138 really don't understand what's going on, but like whatever. I want
31141 * docs/gst/Makefile.am:
31142 * docs/libs/Makefile.am: Dist the overrides files.
31144 * check/Makefile.am (clean-local): Remove .libs directories.
31146 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31147 elements to EXTRA_DIST, so po/ files are happy.
31149 * po/POTFILES.in: Er, remove it here.
31151 * po/POTFILES: Remove gstspider.c.
31153 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31155 * docs/libs/gstreamer-libs-docs.sgml:
31156 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31159 * tests/complexity.c (main): Set the length of the preroll queue
31160 on the sinks to prevent a lockup.
31162 * libs/gst/dataprotocol/Makefile.am:
31163 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31164 the same as the one in check/gst-libs/gdp.c.
31166 * po/, docs/gst/: Commit automatic changes to docs and po files.
31168 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31169 the versioned libgstbase.
31171 * check/Makefile.am: Depend on an unversioned gst-register, seems
31172 to make autoconf happier.
31174 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31176 2005-03-28 Wim Taymans <wim@fluendo.com>
31179 * docs/design/part-gstelement.txt:
31180 * docs/design/part-negotiation.txt:
31181 * docs/design/part-preroll.txt:
31182 * docs/design/part-scheduling.txt:
31183 * docs/design/part-states.txt:
31185 * gst/base/Makefile.am:
31187 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31188 (gst_basesink_base_init), (gst_basesink_class_init),
31189 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31190 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31191 (gst_basesink_set_pad_functions),
31192 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31193 (gst_basesink_set_property), (gst_basesink_get_property),
31194 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31195 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31196 (gst_basesink_preroll_queue_push),
31197 (gst_basesink_preroll_queue_empty),
31198 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31199 (gst_basesink_event), (gst_basesink_get_times),
31200 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31201 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31202 (gst_basesink_loop), (gst_basesink_activate),
31203 (gst_basesink_change_state):
31204 * gst/base/gstbasesink.h:
31205 * gst/elements/Makefile.am:
31206 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31207 (gst_fakesink_class_init), (gst_fakesink_init),
31208 (gst_fakesink_set_property), (gst_fakesink_get_property),
31209 (gst_fakesink_get_times), (gst_fakesink_event),
31210 (gst_fakesink_preroll), (gst_fakesink_render),
31211 (gst_fakesink_change_state):
31212 * gst/elements/gstfakesink.h:
31213 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31214 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31215 * gst/gstelement.c: (gst_element_add_pad),
31216 (gst_element_get_state_func), (gst_element_abort_state),
31217 (gst_element_commit_state), (gst_element_lost_state),
31218 (gst_element_set_state), (gst_element_pads_activate):
31219 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31220 * gst/gstpipeline.c: (gst_pipeline_send_event),
31221 (gst_pipeline_change_state):
31222 Added state change code.
31223 Added/updated docs.
31224 Added sink base class, make fakesink extend the base class.
31225 Small cleanups in GstPipeline.
31227 2005-03-26 David Schleef <ds@schleef.org>
31229 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31230 is broken and should be implemented in a different library.
31231 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31232 * gst/gst.h: remove gstcpu.h
31233 * gst/gstcpu.c: remove
31234 * gst/gstcpu.h: remove
31235 * gst/Makefile.am.future: Remove this file. It's ancient.
31237 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31239 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31240 (gst_bin_send_event):
31241 Add default event/set_manager handlers. The set_manager handler
31242 takes care that the manager is distributed over kids that were
31243 already in the bin before the manager was set. The event handler
31244 is a utility virtual function that sends the event over all sinks,
31245 so that gst_element_send_event (bin, event); has the expected
31247 * gst/gstpad.c: (gst_pad_event_default):
31248 Re-install default event handling for discontinuities, so that
31249 seeking works without requiring hacks in applications or extra
31251 * gst/gstpipeline.c: (gst_pipeline_class_init),
31252 (gst_pipeline_send_event):
31253 Half hack, half utility: set a pipeline to PAUSED for seek events,
31254 since that is the only way we can guarantee a/v sync. Means that
31255 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31256 and it "just works".
31258 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31260 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31261 Lock/unlock mismatch.
31263 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31265 * docs/faq/gst-uninstalled:
31266 add gst-plugins-base
31267 * docs/gst/Makefile.am:
31268 don't error out until docs are fixed
31269 * docs/gst/gstreamer.types:
31272 2005-03-22 Wim Taymans <wim@fluendo.com>
31274 * check/Makefile.am:
31275 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31276 * gst/gststructure.c: (gst_structure_set_valist),
31277 (gst_structure_copy_conditional):
31278 Activated more tests.
31279 Added message test.
31280 Added G_TYPE_POINTER to GstStructure.
31283 2005-03-22 Wim Taymans <wim@fluendo.com>
31285 * docs/design/part-TODO.txt:
31286 * docs/design/part-events.txt:
31287 * docs/design/part-gstbin.txt:
31288 * docs/design/part-gstbus.txt:
31289 * docs/design/part-gstpipeline.txt:
31290 * docs/design/part-messages.txt:
31292 * gst/gstmessage.c:
31295 2005-03-21 Wim Taymans <wim@fluendo.com>
31297 * gst/gstbus.c: (gst_bus_post):
31298 Fix copy-and-paste error.
31300 2005-03-21 Wim Taymans <wim@fluendo.com>
31302 * check/Makefile.am:
31304 * gst/elements/Makefile.am:
31305 * gst/elements/gstelements.c:
31306 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31307 (gst_fakesink_event), (gst_fakesink_chain):
31308 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31309 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31310 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31311 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31312 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31313 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31314 (gst_fakesrc_loop), (gst_fakesrc_activate),
31315 (gst_fakesrc_change_state):
31316 * gst/elements/gstfakesrc.h:
31317 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31318 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31319 (gst_filesrc_open_file), (gst_filesrc_loop),
31320 (gst_filesrc_activate), (gst_filesrc_change_state),
31321 (filesrc_find_peek), (filesrc_find_suggest),
31322 (gst_filesrc_type_find):
31323 * gst/elements/gstidentity.c: (gst_identity_finalize),
31324 (gst_identity_class_init), (gst_identity_init),
31325 (gst_identity_proxy_getcaps), (identity_queue_push),
31326 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31327 (gst_identity_getrange), (gst_identity_chain),
31328 (gst_identity_sink_loop), (gst_identity_src_loop),
31329 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31330 (gst_identity_set_property), (gst_identity_get_property),
31331 (gst_identity_change_state):
31332 * gst/elements/gstidentity.h:
31333 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31334 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31335 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31336 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31337 (gst_tee_sink_activate):
31338 * gst/elements/gsttee.h:
31339 * gst/gst.c: (gst_register_core_elements), (init_post):
31341 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31342 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31343 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31344 (gst_bin_change_state):
31346 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31347 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31348 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31349 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31350 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31351 (bus_watch_callback), (bus_watch_destroy),
31352 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31353 (poll_timeout), (gst_bus_poll):
31357 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31358 (gst_element_post_message), (gst_element_message_full),
31359 (gst_element_get_state_func), (gst_element_get_state),
31360 (gst_element_abort_state), (gst_element_commit_state),
31361 (gst_element_lost_state), (gst_element_set_state),
31362 (gst_element_pads_activate), (gst_element_change_state),
31363 (gst_element_dispose), (gst_element_set_manager_func),
31364 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31365 (gst_element_set_manager), (gst_element_get_manager),
31366 (gst_element_set_bus), (gst_element_get_bus),
31367 (gst_element_set_scheduler), (gst_element_get_scheduler):
31368 * gst/gstelement.h:
31369 * gst/gstevent.c: (gst_event_new_segment_seek),
31370 (gst_event_new_flush):
31372 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31373 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31374 (gst_message_new_eos), (gst_message_new_error),
31375 (gst_message_new_warning), (gst_message_new_tag),
31376 (gst_message_new_state_changed), (gst_message_new_application),
31377 (gst_message_get_structure), (gst_message_parse_tag),
31378 (gst_message_parse_state_changed), (gst_message_parse_error),
31379 (gst_message_parse_warning):
31380 * gst/gstmessage.h:
31381 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31382 (gst_real_pad_set_property), (gst_pad_set_active),
31383 (gst_pad_is_active), (gst_pad_set_blocked_async),
31384 (gst_pad_set_blocked), (gst_pad_is_blocked),
31385 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31386 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31387 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31388 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31389 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31390 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31391 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31392 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31393 (gst_pad_set_caps), (gst_pad_configure_sink),
31394 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31395 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31396 (gst_real_pad_dispose), (gst_real_pad_finalize),
31397 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31398 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31399 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31401 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31402 (pipeline_bus_handler), (gst_pipeline_change_state),
31403 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31404 * gst/gstpipeline.h:
31406 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31407 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31408 (gst_queue_link_src), (gst_queue_bufferalloc),
31409 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31410 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31411 (gst_queue_loop), (gst_queue_handle_src_event),
31412 (gst_queue_handle_src_query), (gst_queue_src_activate),
31413 (gst_queue_change_state):
31415 * gst/gstscheduler.c: (gst_scheduler_init),
31416 (gst_scheduler_dispose), (gst_scheduler_create_task),
31417 (gst_scheduler_factory_create):
31418 * gst/gstscheduler.h:
31419 * gst/gststructure.c: (gst_structure_get_type),
31420 (gst_structure_copy_conditional):
31421 * gst/gststructure.h:
31422 * gst/gsttaginterface.h:
31423 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31424 (gst_task_init), (gst_task_dispose), (gst_task_create),
31425 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31431 * gst/schedulers/Makefile.am:
31432 * gst/schedulers/cothreads_compat.h:
31433 * gst/schedulers/entryscheduler.c:
31434 * gst/schedulers/faircothreads.c:
31435 * gst/schedulers/faircothreads.h:
31436 * gst/schedulers/fairscheduler.c:
31437 * gst/schedulers/gstbasicscheduler.c:
31438 * gst/schedulers/gstoptimalscheduler.c:
31439 * gst/schedulers/gthread-cothreads.h:
31440 * gst/schedulers/threadscheduler.c:
31441 (gst_thread_scheduler_task_get_type),
31442 (gst_thread_scheduler_task_class_init),
31443 (gst_thread_scheduler_task_init),
31444 (gst_thread_scheduler_task_start),
31445 (gst_thread_scheduler_task_stop),
31446 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31447 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31448 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31449 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31451 * libs/gst/Makefile.am:
31452 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31453 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31454 (gst_file_pad_parent_set):
31455 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31456 (gst_dp_event_from_packet):
31457 * tests/complexity.c: (main):
31458 * tests/mass_elements.c: (main):
31459 * testsuite/states/locked.c: (message_received), (main):
31460 * testsuite/states/parent.c: (main):
31461 * tools/gst-inspect.c: (print_element_flag_info),
31462 (print_implementation_info), (print_pad_info):
31463 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31465 * tools/gst-md5sum.c: (event_loop), (main):
31466 * tools/gst-typefind.c: (main):
31467 * tools/gst-xmlinspect.c: (print_element_info):
31469 Added GstBus for mainloop integration.
31470 Added GstMessage for sending notifications on the bus.
31471 Added GstTask as an abstraction for pipeline entry points.
31473 Removed Schedulers.
31474 Simplified GstQueue for multithreaded core.
31475 Made _link threadsafe, removed old capsnego.
31476 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31477 Added pad blocking functions.
31478 Reworked scheduling functions in GstPad to prepare for
31479 scheduling updates soon.
31480 Moved events out of data stream.
31481 Simplified GstEvent types.
31482 Added return values to push/pull.
31483 Removed clocking from GstElement.
31484 Added prototypes for state change function for next merge.
31485 Removed iterate from bins and state change management.
31486 Fixed some elements, disabled others for now.
31487 Fixed -inspect and -launch.
31488 Added check for GstBus.
31490 2005-03-10 Wim Taymans <wim@fluendo.com>
31492 * docs/design/part-MT-refcounting.txt:
31493 * docs/design/part-clocks.txt:
31494 * docs/design/part-gstelement.txt:
31495 * docs/design/part-gstobject.txt:
31496 * docs/design/part-standards.txt:
31497 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31498 (gst_bin_remove_func), (gst_bin_remove):
31502 * testsuite/clock/clock1.c: (main):
31503 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31505 * testsuite/dlopen/loadgst.c: (do_test):
31506 * testsuite/refcounting/bin.c: (add_remove_test1),
31507 (add_remove_test2), (main):
31508 * testsuite/refcounting/element.c: (main):
31509 * testsuite/refcounting/element_pad.c: (main):
31510 * testsuite/refcounting/pad.c: (main):
31511 * tools/gst-launch.c: (sigint_handler_sighandler):
31512 * tools/gst-typefind.c: (main):
31514 Added doc about clock.
31515 removed gst_bin_iterate_recurse_up(), marked methods
31517 Fix more testsuites.
31519 2005-03-09 Wim Taymans <wim@fluendo.com>
31521 * gst/gstpad.c: (gst_pad_get_direction),
31522 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31523 (gst_pad_collect_valist):
31524 * testsuite/bins/interface.c: (main):
31525 * testsuite/caps/audioscale.c: (test_caps):
31526 * testsuite/caps/caps.c: (test1), (test2), (test3):
31527 * testsuite/caps/deserialize.c: (main):
31528 * testsuite/caps/enumcaps.c: (main):
31529 * testsuite/caps/filtercaps.c: (main):
31530 * testsuite/caps/intersect2.c: (main):
31531 * testsuite/caps/random.c: (main):
31532 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31533 * testsuite/caps/sets.c: (check_caps):
31534 * testsuite/caps/simplify.c: (check_caps), (main):
31535 * testsuite/caps/subtract.c: (check_caps):
31536 Fix _pad_get_direction wrt ghostpads.
31537 Fix caps testsuite.
31539 2005-03-09 Wim Taymans <wim@fluendo.com>
31541 * check/Makefile.am:
31542 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31543 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31544 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31546 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31547 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31548 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31549 (bin_element_is_sink), (gst_bin_iterate_sinks),
31550 (gst_bin_iterate_all_by_interface):
31552 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31553 (gst_element_change_state), (gst_element_dispose),
31554 (gst_element_finalize), (gst_element_set_loop_function):
31555 * gst/gstelement.h:
31556 * gst/gstiterator.c: (find_custom_fold_func):
31557 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31558 (gst_pad_collectv), (gst_pad_collect_valist),
31559 (gst_pad_template_new):
31560 * gst/gstpipeline.c: (gst_pipeline_class_init),
31561 (gst_pipeline_dispose), (gst_pipeline_set_property),
31562 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31563 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31564 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31566 * gst/schedulers/entryscheduler.c:
31567 * gst/schedulers/gstbasicscheduler.c:
31568 (gst_basic_scheduler_cothreaded_chain),
31569 (gst_basic_scheduler_chain_add_element):
31570 * testsuite/bins/interface.c: (main):
31572 Added GstSystemClock test.
31573 Implemented clock distribution code in GstBin.
31574 Implemented iterate sinks method for future use.
31575 Rearranged gstelement.h
31576 Fix GstIterator comparison bug.
31577 Moved some code to GstPipeline, mostly clocking related.
31579 2005-03-09 Wim Taymans <wim@fluendo.com>
31582 * gst/gst_private.h:
31583 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31584 (gst_bin_remove_func), (gst_bin_remove),
31585 (gst_bin_get_by_name_recurse_up):
31586 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31587 (gst_clock_id_compare_func), (gst_clock_id_wait),
31588 (gst_clock_id_wait_async), (gst_clock_init),
31589 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31590 * gst/gstelement.h:
31591 * gst/gstinfo.c: (_gst_debug_init):
31593 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31594 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31596 Bump version number, we're now 0.9.0
31597 Add future debugging category.
31598 Fix NULL _unref() in _get_by_name_recurse_up
31599 Rearrange gstpad.h.
31602 2005-03-08 Wim Taymans <wim@fluendo.com>
31604 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31605 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31606 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31607 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31608 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31609 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31610 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31611 * gst/elements/gstidentity.c: (gst_identity_class_init):
31612 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31613 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31614 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31615 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31616 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31618 * gst/gstelement.c: (gst_element_class_init),
31619 (gst_element_base_class_init), (gst_element_init),
31620 (gst_element_get_random_pad), (gst_element_wait_state_change),
31621 (gst_element_change_state), (gst_element_dispose),
31622 (gst_element_finalize), (gst_element_set_loop_function):
31623 * gst/gstelement.h:
31624 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31625 * gst/gstthread.c: (gst_thread_class_init),
31626 (gst_thread_release_children_locks), (gst_thread_change_state):
31627 * gst/schedulers/gstbasicscheduler.c:
31628 (gst_basic_scheduler_loopfunc_wrapper),
31629 (gst_basic_scheduler_chain_wrapper),
31630 (gst_basic_scheduler_src_wrapper),
31631 (gst_basic_scheduler_remove_element):
31632 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31633 Remove threadsafe properties. Fix elements because GObject
31634 complains when installing a property before declaring a
31635 set/get_property handler.
31636 Rearrange gstelement.h file, use STATE macros for state locks.
31637 Free mutexes in the finalize method instead of dispose.
31639 2005-03-08 Wim Taymans <wim@fluendo.com>
31641 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31642 * gst/gstthread.c: (gst_thread_release_children_locks):
31643 Added parentage check.
31644 Fix build og GstThread again.
31646 2005-03-08 Wim Taymans <wim@fluendo.com>
31648 * docs/design/part-MT-refcounting.txt:
31649 * docs/design/part-conventions.txt:
31650 * docs/design/part-gstobject.txt:
31651 * docs/design/part-relations.txt:
31652 * docs/design/part-standards.txt:
31653 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31654 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31655 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31656 (gst_bin_iterate_all_by_interface):
31659 * gst/gstelement.c: (gst_element_class_init),
31660 (gst_element_change_state), (gst_element_set_loop_function):
31661 * gst/gstelement.h:
31662 * gst/gstiterator.c:
31663 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31664 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31665 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31666 (gst_object_set_parent), (gst_object_unparent),
31667 (gst_object_check_uniqueness):
31669 Docs updates, clean up some headers.
31671 2005-03-07 Wim Taymans <wim@fluendo.com>
31673 * check/.cvsignore:
31674 * check/Makefile.am:
31675 * check/gst-libs/.cvsignore:
31676 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31677 * check/gst/.cvsignore:
31678 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31679 (START_TEST), (gstbus_suite), (main):
31680 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31681 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31682 (gst_data_suite), (main):
31683 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31684 (add_fold_func), (gstiterator_suite), (main):
31685 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31686 (thread_name_object), (thread_name_object_default),
31687 (gst_object_name_compare), (gst_object_suite), (main):
31688 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31689 (gst_pad_suite), (main):
31690 * check/gstcheck.c: (gst_check_log_message_func),
31691 (gst_check_log_critical_func), (gst_check_init):
31692 * check/gstcheck.h:
31693 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31694 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31697 2005-03-07 Wim Taymans <wim@fluendo.com>
31699 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31700 (gst_list_iterator_next), (gst_list_iterator_resync),
31701 (gst_list_iterator_free), (gst_iterator_new_list),
31702 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31703 (gst_iterator_free), (gst_iterator_push), (filter_next),
31704 (filter_resync), (filter_uninit), (filter_free),
31705 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31706 (gst_iterator_foreach), (find_custom_fold_func),
31707 (gst_iterator_find_custom):
31708 * gst/gstiterator.h:
31709 Added missing files.
31711 2005-03-07 Wim Taymans <wim@fluendo.com>
31715 * docs/design/part-MT-refcounting.txt:
31716 * docs/design/part-conventions.txt:
31717 * docs/design/part-gstobject.txt:
31718 * docs/design/part-relations.txt:
31719 * examples/mixer/mixer.c: (main):
31720 * examples/thread/thread.c: (eos), (main):
31722 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31723 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31724 (gst_spider_plug_from_srcpad):
31725 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31726 (gst_spider_identity_change_state),
31727 (gst_spider_identity_sink_loop_type_finding):
31728 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31729 * gst/elements/gstidentity.c: (gst_identity_init):
31730 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31731 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31732 * gst/elements/gsttypefindelement.c: (free_entry):
31735 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31736 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31737 (gst_bin_set_index), (gst_bin_set_element_sched),
31738 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31739 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31740 (gst_bin_iterate_elements), (iterate_child_recurse),
31741 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31742 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31743 (compare_interface), (gst_bin_get_by_interface),
31744 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31746 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31747 (gst_buffer_default_free), (gst_buffer_default_copy),
31748 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31749 (gst_buffer_create_sub):
31751 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31752 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31753 (gst_caps_unref), (gst_static_caps_get),
31754 (gst_caps_remove_and_get_structure), (gst_caps_append),
31755 (gst_caps_append_structure), (gst_caps_remove_structure),
31756 (gst_caps_copy_nth), (gst_caps_set_simple),
31757 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31758 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31759 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31760 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31761 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31762 (gst_caps_structure_figure_out_union),
31763 (gst_caps_switch_structures), (gst_caps_do_simplify),
31764 (gst_caps_replace), (gst_caps_from_string),
31765 (gst_caps_copy_conditional):
31767 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31768 (_gst_clock_id_free), (gst_clock_id_unref),
31769 (gst_clock_id_compare_func), (gst_clock_id_wait),
31770 (gst_clock_id_wait_async), (gst_clock_class_init),
31771 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31772 (gst_clock_get_time), (gst_clock_set_time_adjust),
31773 (gst_clock_set_property), (gst_clock_get_property):
31776 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31777 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31779 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31780 (gst_element_requires_clock), (gst_element_provides_clock),
31781 (gst_element_set_clock), (gst_element_clock_wait),
31782 (gst_element_wait), (gst_element_set_time_delay),
31783 (gst_element_is_indexable), (gst_element_add_pad),
31784 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31785 (pad_compare_name), (gst_element_get_static_pad),
31786 (gst_element_request_pad), (gst_element_get_request_pad),
31787 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31788 (gst_element_class_get_pad_template_list),
31789 (gst_element_class_get_pad_template), (gst_element_error_func),
31790 (gst_element_get_random_pad), (gst_element_get_event_masks),
31791 (gst_element_send_event), (gst_element_seek),
31792 (gst_element_get_query_types), (gst_element_query),
31793 (gst_element_get_formats), (gst_element_convert),
31794 (gst_element_is_locked_state), (gst_element_set_locked_state),
31795 (gst_element_sync_state_with_parent), (gst_element_change_state),
31796 (gst_element_finalize), (gst_element_yield),
31797 (gst_element_interrupt), (gst_element_set_scheduler),
31798 (gst_element_get_scheduler), (gst_element_set_loop_function):
31799 * gst/gstelement.h:
31801 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31802 (gst_format_get_by_nick), (gst_format_get_details),
31803 (gst_format_iterate_definitions):
31805 * gst/gstindex.c: (gst_index_gtype_resolver):
31808 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31809 (gst_mem_chunk_free):
31810 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31811 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31812 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31813 (gst_object_dispatch_properties_changed),
31814 (gst_object_set_name_default), (gst_object_set_name),
31815 (gst_object_get_name), (gst_object_set_name_prefix),
31816 (gst_object_get_name_prefix), (gst_object_set_parent),
31817 (gst_object_get_parent), (gst_object_unparent),
31818 (gst_object_check_uniqueness), (gst_object_save_thyself),
31819 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31820 (gst_object_set_property), (gst_object_get_property),
31821 (gst_object_get_path_string):
31823 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31824 (gst_real_pad_init), (gst_real_pad_get_property),
31825 (gst_pad_custom_new), (gst_pad_get_direction),
31826 (gst_pad_set_active), (gst_pad_is_active),
31827 (gst_pad_set_event_function), (gst_pad_is_linked),
31828 (gst_pad_link_free), (gst_pad_link_intersect),
31829 (gst_pad_link_fixate), (gst_pad_set_caps),
31830 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31831 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31832 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31833 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31834 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31835 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31836 (gst_pad_realize), (gst_pad_get_allowed_caps),
31837 (gst_real_pad_dispose), (gst_real_pad_finalize),
31838 (gst_pad_collectv), (gst_pad_collect_valist),
31839 (gst_pad_template_dispose), (gst_pad_template_new),
31840 (gst_pad_get_internal_links):
31842 * gst/gstpipeline.c: (gst_pipeline_dispose),
31843 (gst_pipeline_change_state):
31844 * gst/gstpipeline.h:
31846 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31847 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31848 * gst/gstpluginfeature.h:
31849 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31850 * gst/gstquery.c: (_gst_query_type_initialize),
31851 (gst_query_type_register), (gst_query_type_get_by_nick),
31852 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31854 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31855 * gst/gstscheduler.c: (gst_scheduler_add_element),
31856 (gst_scheduler_factory_create):
31857 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31858 (gst_structure_free), (gst_structure_set_name),
31859 (gst_structure_id_set_value), (gst_structure_set_value),
31860 (gst_structure_set_valist), (gst_structure_remove_field),
31861 (gst_structure_remove_fields),
31862 (gst_structure_remove_fields_valist),
31863 (gst_structure_remove_all_fields), (gst_structure_foreach),
31864 (gst_structure_map_in_place),
31865 (gst_caps_structure_fixate_field_nearest_int),
31866 (gst_caps_structure_fixate_field_nearest_double):
31867 * gst/gststructure.h:
31868 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31869 (gst_system_clock_init), (gst_system_clock_dispose),
31870 (gst_system_clock_async_thread),
31871 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31872 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31873 * gst/gstsystemclock.h:
31874 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31875 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31876 * gst/gsttaginterface.c:
31877 * gst/gstthread.c: (gst_thread_dispose),
31878 (gst_thread_release_children_locks), (gst_thread_change_state),
31879 (gst_thread_main_loop):
31880 * gst/gsttrashstack.h:
31881 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31883 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31884 (gst_element_request_pad), (gst_element_get_pad_from_template),
31885 (gst_element_request_compatible_pad),
31886 (gst_element_get_compatible_pad_filtered),
31887 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31888 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31889 (gst_element_link_many), (gst_element_link),
31890 (gst_element_link_pads), (gst_element_unlink_pads),
31891 (gst_element_unlink_many), (gst_element_unlink),
31892 (gst_pad_can_link_filtered), (gst_pad_can_link),
31893 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31894 (gst_object_default_error), (gst_bin_add_many),
31895 (gst_bin_remove_many), (gst_element_populate_std_props),
31896 (gst_element_class_install_std_props), (gst_buffer_merge),
31897 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31898 (link_fold_func), (gst_pad_proxy_setcaps):
31900 * gst/gstvalue.c: (gst_value_deserialize_string):
31901 * gst/parse/grammar.y:
31902 * gst/schedulers/gstbasicscheduler.c:
31903 (gst_basic_scheduler_cothreaded_chain),
31904 (gst_basic_scheduler_chain_recursive_add),
31905 (gst_basic_scheduler_pad_link):
31906 * gst/schedulers/gstoptimalscheduler.c:
31907 (get_group_schedule_function),
31908 (gst_opt_scheduler_state_transition),
31909 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31910 * libs/gst/bytestream/bytestream.c:
31911 * libs/gst/dataprotocol/dataprotocol.c:
31912 (gst_dp_header_from_buffer):
31915 * tests/threadstate/threadstate2.c: (eos):
31916 * tools/gst-compprep.c: (main):
31917 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31918 (print_pad_info), (print_children_info):
31919 * tools/gst-launch.c: (idle_func), (main):
31920 * tools/gst-md5sum.c: (idle_func), (main):
31921 * tools/gst-xmlinspect.c: (print_element_info):
31922 First THREADED backport attempt, focusing on adding locks and
31923 making sure the API is threadsafe. Needs more work. More docs
31926 2005-02-24 Andy Wingo <wingo@pobox.com>
31928 * tests/bench-complexity.scm:
31929 * tests/complexity.gnuplot: New files, good for running complexity
31932 * tests/Makefile.am:
31933 * tests/complexity.c: New test, sets up N elements, at each level
31934 teeing into M streams per element. Eeeenteresting.
31936 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31937 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31938 running bench-mass_elements.scm.
31940 * tests/bench-mass_elements.scm: New script, runs mass_elements
31941 for various numbers of identities, outputting the results to a
31942 file. Requires guile 1.6. Just for testing.
31944 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31946 * gst/schedulers/fairscheduler.c:
31947 compile with debug disabled
31949 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31952 hunting season on 0.9 is now OPEN