1 2008-11-21 Michael Smith <msmith@songbirdnest.com>
3 * plugins/elements/gstfilesrc.c:
4 Check for localhost in URI was backwards, fix it. Fixes unit test.
6 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
8 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
10 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
11 Add beginnings of a more optimized acceptcaps function than the default
14 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
16 * gst/gstpad.c: (gst_pad_accept_caps):
17 Avoid getting the acceptcaps function too early.
19 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
21 * tools/gst-launch.c: (event_loop):
22 Make gst-launch handle LATENCY messages and make it recalculate the
25 2008-11-20 Michael Smith <msmith@songbirdnest.com>
27 * plugins/elements/gstfilesrc.c:
28 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
29 out own slightly incorrect version. Fixes use of some paths on
32 2008-11-20 Michael Smith <msmith@songbirdnest.com>
34 * gst/gstregistrybinary.c:
35 In win32 codepath, if we fail to write the registry, create the
36 directory for it and try again, matching the behaviour in non-win32
39 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
41 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
42 Changing the render delay changes the latency and so we must post a
45 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
49 Add GstQueryType for custom queries instead of having to use the
50 not-so-very-convenient registration infrastructure to register new
53 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
55 Patch by: Andrew Feren <acferen at yahoo dot com>
57 * gst/gstobject.c: (gst_object_default_deep_notify):
58 Unref the GEnumClass after usage again. Fixes bug #561501.
60 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
62 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
63 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
64 (gst_bin_change_state_func):
66 Add do-latency signal with the old default fallback implementation. This
67 allows for custom latency calculations for when the default is not
69 API: GstBin::do-latency signal.
71 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
73 * win32/common/libgstreamer.def:
74 Add new symbols to .def file.
76 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
78 * docs/gst/gstreamer-sections.txt:
79 * gst/gstbin.c: (gst_bin_recalculate_latency),
80 (gst_bin_change_state_func):
82 Add method to recalculate and redistribute the latency on a bin.
83 API: gst_bin_recalculate_latency().
85 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
88 Document the free_func.
90 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
92 * libs/gst/controller/gstinterpolation.c:
93 * libs/gst/controller/gstlfocontrolsource.c:
94 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
95 as it is mapped to a cast on non-win32 platforms.
97 2008-11-17 Stefan Kost <ensonic@users.sf.net>
99 * libs/gst/controller/gstcontroller.c:
100 * libs/gst/controller/gstcontrollerprivate.h:
101 Keep last-value and only call set_property if value has changed. This
102 supresses all the g_object_notifies we would trigger otherwise. It
103 also allows the user to chage the value while there is no controller
106 2008-11-17 Stefan Kost <ensonic@users.sf.net>
109 Don't crash if either of the string GValues is empty.
111 2008-11-17 Andy Wingo <wingo@pobox.com>
113 * tools/gst-inspect.c (print_all_uri_handlers): New function,
114 prints a summary of what URI schemes are supported by what
116 (main): Plumb in support for --uri-handlers or -u, and fix the
117 argc check for -a and -u.
119 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
122 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
123 conversion functions.
125 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
127 * gst/gstbuffer.c: (gst_buffer_finalize):
128 Avoid costly typechecking for trivially correct pointers.
130 * gst/gstpoll.c: (gst_poll_wait):
131 Add some G_LIKELY here and there.
133 * libs/gst/base/gstadapter.c: (gst_adapter_push):
136 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
138 * docs/random/wtay/poll-timeout:
141 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
143 * tests/old/testsuite/caps/intersection.c: (main):
144 * tests/old/testsuite/plugin/loading.c: (main):
145 Remove references to deprecated API g_mem_chunk*.
148 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
150 * tools/gst-inspect.c: (main):
151 Add --plugin option. Fixes #560301.
153 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
155 * docs/random/wtay/poll-timeout:
156 Quick braindump for a possible (not totally verified) atomic case.
158 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
160 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
161 (gst_registry_binary_initialize_magic),
162 (gst_registry_binary_write_cache),
163 (gst_registry_binary_check_magic):
164 * gst/gstregistrybinary.h:
165 Don't write and check a CRC for the binary registry file. It's
166 guaranteed that the registry is completely written (it's first written
167 to a temporary file and then moved) and if the registry was corrupted
168 by some hardware failure we would have bigger problems.
170 Bump binary registry version to 0.10.21.1 for this as it's an
171 incompatible change and to ensure that the registry gets rebuild
174 This saves some milliseconds for reading/writing the registry.
177 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
179 * docs/random/wtay/poll-timeout:
180 Some pseudo code for how we could implement clock timeouts with GstPoll.
182 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
184 * plugins/elements/gstfilesink.c:
185 Update Author string to match others.
187 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
189 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
190 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
191 being fixed and inline the trivial check.
193 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
195 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
196 (gst_caps_merge_structure), (gst_caps_get_structure),
197 (gst_caps_copy_nth), (gst_caps_set_simple),
198 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
199 (gst_caps_is_equal_fixed), (gst_caps_intersect),
200 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
201 (gst_caps_to_string):
202 Callgrind micro optimisations.
203 Avoid array bounds checks and force inline of trivial function.
205 * gst/gstobject.c: (gst_object_set_name_default):
206 -1 is equivalent to letting glib to the strlen but then there is more
207 room for optimisations and it's not our fault.
209 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
210 no need to clear the array, we're cool.
212 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
213 The most common _is_fixed() check is done on fundamental glib base
214 types so we check this first instead of doing a huge amount of
215 useless GST_TYPE_ARRAY calls.
217 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
220 Add a SKIP seek flag for use with advanced trickmodes.
221 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
223 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
225 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
226 No need to memset, we can clear the value ourselves.
228 * gst/gstvalue.c: (gst_type_is_fixed),
229 (gst_value_get_compare_func):
230 Some optimisations from a few callgrind sessions:
231 When checking if a type is fixed, check for trivial fundamental types
232 first before checking types for which we need to get the type followed
233 by the heavy duty type checks, this reduces the amount of
234 g_type_fundamental() calls a lot.
235 When getting the compare function, first check for our registered types.
236 If that fails, do the heavy duty g_type_is_a() checks, reduces the
237 amount of g_type_is_a() considerably.
239 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
241 * docs/design/part-TODO.txt:
242 Mumble something about removing GstXML.
244 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
246 * gst/gstbin.c: (gst_bin_handle_message_func):
247 Get the seqnum before we dispose the message.
249 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
251 * docs/design/part-TODO.txt:
252 Refer to the framestepping document.
254 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
256 * gst/gstbin.c: (bin_handle_async_start),
257 (gst_bin_handle_message_func), (gst_bin_query):
258 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
259 (gst_base_sink_event), (gst_base_sink_change_state):
260 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
261 (gst_base_src_loop), (gst_base_src_change_state):
262 Copy seqnums from events to messages so that they can all be related
265 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
267 * tools/gst-launch.c: (event_loop):
268 Print the message seqnums.
270 2008-11-04 Andy Wingo <wingo@pobox.com>
272 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
274 2008-11-04 Andy Wingo <wingo@pobox.com>
276 Add sequence numbers to events and messages. See #559250.
278 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
282 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
283 events with a new sequence number, and copy it when copying.
284 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
285 an event's sequence number.
288 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
289 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
292 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
294 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
296 * docs/manual/advanced-position.xml:
297 * docs/manual/basics-bins.xml:
298 * docs/manual/basics-bus.xml:
299 * docs/manual/basics-pads.xml:
300 * docs/manual/intro-gstreamer.xml:
301 * docs/manual/intro-preface.xml:
302 Some Application Development Manual fixes thanks to
303 Andrew Feren. Fixes #558459.
305 2008-11-03 Stefan Kost <ensonic@users.sf.net>
307 * gst/gstregistrybinary.c:
308 Don't bother with the GTimer if we don't output the results.
310 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
312 Patch by: David Schleef <ds@schleef.org>
314 * libs/gst/net/Makefile.am:
315 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
317 2008-10-31 Stefan Kost <ensonic@users.sf.net>
319 * gst/gstregistrybinary.c:
320 Oh my, studip, stupid me. Remove double stat() call.
322 2008-10-31 Stefan Kost <ensonic@users.sf.net>
325 Use g_unlink instead of unlink.
327 * gst/gststructure.c:
336 Formatting & whitespaces.
338 2008-10-31 Stefan Kost <ensonic@users.sf.net>
340 * plugins/elements/gstidentity.c:
341 Doc typo. Use return value of parent_class->event.
343 * plugins/elements/gsttypefindelement.c:
344 Chain up at the end for consistency.
346 2008-10-30 Stefan Kost <ensonic@users.sf.net>
349 * docs/gst/gstreamer-docs.sgml:
350 * docs/gst/gstreamer-sections.txt:
351 * docs/gst/running.xml:
352 * docs/libs/gstreamer-libs-docs.sgml:
353 Change to xinclude based build - its faster and easier to maintain.
355 2008-10-30 Stefan Kost <ensonic@users.sf.net>
357 * gst/gstregistrybinary.c:
358 * gst/gstregistryxml.c:
359 Use g_unlink() as none of these are directories.
361 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
363 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
366 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
368 * libs/gst/base/gstbasetransform.c:
369 (gst_base_transform_find_transform), (gst_base_transform_getrange):
370 If we have a fixate function, call it even if we already have fixed caps
371 because the subclass might add some caps. Makes audioconvert add a
372 default channel layout.
374 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
376 * libs/gst/base/gstbasetransform.c:
377 (gst_base_transform_prepare_output_buffer),
378 (gst_base_transform_getrange):
379 Clear the output buffer variable.
380 Cleanups to the error path in the getrange function.
383 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
385 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
386 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
387 Use gst_buffer_try_new_and_alloc() and handle errors instead of
388 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
391 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
393 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
394 Set the last_stop to a more meaningful position when configuring the
395 segment. ie. the start/stop of the segment or clipped against the
396 updated segment boundaries.
398 * tests/check/gst/gstsegment.c: (GST_START_TEST):
399 Add some unit tests for the last_stop.
401 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
403 * libs/gst/base/gstbytereader.c:
404 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
407 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
409 * docs/gst/gstreamer-sections.txt:
411 API: Move float endianness conversion macros from libgstfloatcast
412 to core as it's useful in general, even in core. Fixes bug #555196.
413 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
414 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
415 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
417 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
418 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
419 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
420 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
422 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
424 * docs/libs/gstreamer-libs-sections.txt:
425 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
426 (gst_byte_reader_peek_data):
427 * libs/gst/base/gstbytereader.h:
428 * win32/common/libgstbase.def:
429 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
430 to get a pointer to the data at the current position and have
433 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
436 Fix a bug in the output of the configure script summary
437 when --gst-disable-registry is supplied
439 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
441 * libs/gst/base/gstbitreader.c:
442 * libs/gst/base/gstbytereader.c:
443 Fix the names of 2 functions in the docs strings.
445 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
447 * libs/gst/base/gstbasetransform.c:
448 (gst_base_transform_prepare_output_buffer),
449 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
450 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
451 refcount problems as seen in banshee and maybe also in farsight2.
452 Remove atomic int now that we need to take the lock anyways.
454 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
456 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
457 (gst_base_sink_default_prepare_seek_segment),
458 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
459 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
460 (gst_base_sink_query):
461 Implement more seeking in pull mode.
462 Use pad convert functions to convert position to the requested format.
463 Fix position/duration reporting in pull mode.
464 Implement position and duration reporting in other formats than time.
466 * libs/gst/base/gstbasesink.h:
467 Add member to keep track of when the segment is playing.
469 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
471 * gst/gstpad.c: (gst_pad_configure_src):
472 When we use gst_pad_alloc_buffer() without wanting to set the caps we
473 also don't need to check if the caps are compatible because the caller
474 presumably is going to perform its own custom checks. Fixes some cases
475 where basetransform elements would error out when it was not needed.
477 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
479 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
482 * libs/gst/base/gstbasetransform.c:
483 (gst_base_transform_handle_buffer),
484 (gst_base_transform_reconfigure):
487 * win32/common/libgstbase.def:
490 2008-10-19 Stefan Kost <ensonic@users.sf.net>
492 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
493 Remove duplicated assignment and log a message in failure case.
495 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
497 Patch by: Dig Ge <dig.ge.cn at gmail com>
499 * tests/examples/helloworld/helloworld.c: (main):
500 Fix copy'n'paste bug in hello world example (#556900).
502 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
504 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
505 (gst_base_sink_query):
506 Query the total number of bytes when activating the pad in pull mode.
507 Implement duration query in pull mode by using the installed pad convert
508 function to convert from bytes to the requested format.
510 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
512 * docs/libs/gstreamer-libs-sections.txt:
513 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
514 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
515 (gst_base_sink_event), (gst_base_sink_perform_seek),
516 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
517 (gst_base_sink_send_event), (gst_base_sink_change_state):
518 * libs/gst/base/gstbasesink.h:
519 Add method to commit the state in subclasses.
520 Refactor the flush_start and flush_stop code because we need it for
521 flushing while seeking too.
522 Implement the beginnings of seeking in pull mode.
523 Use the segment last_stop field for the pulling offset.
524 Fix the pause method in pull mode.
525 Configure the segment to BYTES for pull mode.
526 API: GstBaseSink::gst_base_sink_do_preroll()
528 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
530 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
533 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
535 * gst/gstquark.c: (_priv_gst_quarks_initialize):
536 Fix printf format warning.
538 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
540 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
541 Fix flow aggregation of tee. Error out immediately for all flow returns
542 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
543 and return OK if at least one pad is linked.
545 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
546 and otherwise returned the flow return of the last pad, which is wrong.
548 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
549 (GST_START_TEST), (tee_suite):
550 Add unit tests for the flow aggregation.
552 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
554 * docs/design/part-TODO.txt:
555 Remove item from the todo list because it was fixed with the latency
556 state change rewrites.
558 * docs/design/part-seeking.txt:
559 * docs/design/part-segments.txt:
562 * gst/gstevent.c: (gst_event_new_new_segment_full),
563 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
564 (gst_event_parse_buffer_size), (gst_event_new_qos),
565 (gst_event_parse_qos), (gst_event_new_seek),
566 (gst_event_parse_seek), (gst_event_new_latency),
567 (gst_event_parse_latency):
568 Use quarks to construct and parse events.
570 * gst/gstquark.c: (_priv_gst_quarks_initialize):
572 Add some more quarks to the table.
573 Emit a warning when the quark tables are not in sync.
575 * tests/check/gst/gstbus.c: (GST_START_TEST):
578 2008-10-13 Stefan Kost <ensonic@users.sf.net>
580 * plugins/elements/Makefile.am:
581 * plugins/indexers/Makefile.am:
582 Don't install static libs for plugins. Fixes #550851 for core.
584 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
586 * gst/gstbus.c: (gst_bus_source_finalize),
587 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
588 (gst_bus_enable_sync_message_emission),
589 (gst_bus_disable_sync_message_emission),
590 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
591 Fix deadlock, g_source_get_id() cannot be called in finalize.
592 Keep track of the watch source by keeping a pointer to the source object
594 Use the bus lock to protect access to the pointer to the current
597 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
599 Base on Patch by: Olivier Crete <tester at tester dot ca>
601 * gst/gstbus.c: (gst_bus_source_finalize),
602 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
603 Only allow one bus watch to be set at a time. This is necessary
604 because the dispatcher pops the message from the bus and the second
605 watcher will then get NULL or the next message (and the first won't
606 get this next message then, etc). If more than one "watcher" is
607 required signal watches should be used. Fixes bug #526044.
609 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
611 * tools/gst-launch.c:
612 Change the printing of the 'buffering...' output to avoid putting
613 a \r in a translateable string (flagged by the TP).
615 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
618 Clarify that the save_thyself() and restore_thyself() virtual
619 functions of GstObject need to be overriden, not
620 gst_object_(save|restore)_thyself() which is impossible.
623 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
625 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
626 Revert a patch from 21 months ago that broke caps negotiation in pull
627 mode. Basically, having a buffer pass over a pad will trigger the
628 setcaps function when caps change, just like in push mode.
630 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
632 * docs/design/part-negotiation.txt:
633 Update the docs some more.
635 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
636 If we pull a buffer with non-trivial caps, suggest those caps with the
639 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
641 * docs/design/part-TODO.txt:
642 Add another limitation of pad-blocking with segment seeks not pushing
645 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
647 * win32/common/libgstbase.def:
648 * win32/common/libgstreamer.def:
649 Add new symbols to the win32 defs files
651 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
653 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
654 (gst_bin_handle_message_func):
655 The message src can be NULL, don't try to print the object names in that
658 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
659 Add some more debug info.
661 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
664 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
667 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
669 * docs/design/part-negotiation.txt:
672 * docs/libs/gstreamer-libs-sections.txt:
673 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
674 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
675 (gst_base_sink_init), (gst_base_sink_set_blocksize),
676 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
677 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
678 (gst_base_sink_loop), (gst_base_sink_pad_activate),
679 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
680 (gst_base_sink_change_state):
681 * libs/gst/base/gstbasesink.h:
682 Add blocksize property and methods to control the amount of data
684 Negotiate first before activating upstream in pull mode so that they can
685 negotiate themselves.
686 When we operate in pull mode, we only accept the caps that we
688 Make the sink go ASYNC to PAUSED, like all other sinks.
689 API: GstBaseSink::gst_base_sink_set_blocksize()
690 API: GstBaseSink::gst_base_sink_get_blocksize()
691 API: GstBaseSink::blocksize
693 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
694 (gst_base_src_set_live), (gst_base_src_is_live),
695 (gst_base_src_set_format), (gst_base_src_query_latency),
696 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
697 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
698 (gst_base_src_set_property), (gst_base_src_get_property):
699 * libs/gst/base/gstbasesrc.h:
700 Add typechecking in public API functions.
701 Add methods to control the blocksize in subclasses.
702 API: GstBaseSrc::gst_base_src_set_blocksize()
703 API: GstBaseSrc::gst_base_src_get_blocksize()
705 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
707 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
708 (buffer_probe), (event_probe), (GST_START_TEST):
709 We now see 3 events go through our pad, since basesink now sends
710 upstream latency events.
712 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
714 * gst/gstpipeline.c: (gst_pipeline_change_state):
715 Release the object lock before trying to flush the bus.
717 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
719 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
720 Forward LATENCY events upstreams so that elements know about the total
721 pipeline latency. Fixes #555307.
723 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
725 * plugins/elements/gstqueue.c:
726 Allow through queries when we don't know how
727 to adjust them (not TIME or BYTES), as otherwise it's
728 not possible to query the current position in order
729 to seek in other formats at all.
731 2008-10-08 Andy Wingo <wingo@pobox.com>
733 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
735 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
739 Unbreak -good build, private is a reserved c++ keyword.
741 2008-10-08 Andy Wingo <wingo@pobox.com>
743 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
744 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
745 removal: re-add GST_GHOST_PAD_CAST to the header.
747 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
748 (GstGhostPadClass): Publically expose these structures so as to
749 allow easy subclassing from C. Hide the member data behind a
750 private opaque data pointer.
752 * gst/gstghostpad.c: Adapt to store instance data in the type
753 instance's private data region, not in the public struct.
755 2008-10-08 Andy Wingo <wingo@pobox.com>
757 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
758 template via g_object_get(), be sure to unref it.
760 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
762 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
764 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
765 If we can't get a cache file don't try to save something to it.
766 Dereferencing NULL pointers usually isn't a good idea.
768 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
770 * tests/check/Makefile.am:
771 * tests/check/gst/gstabi.c:
772 * tests/check/gst/struct_sparc.h:
773 * tests/check/libs/libsabi.c:
774 * tests/check/libs/struct_sparc.h:
777 * tests/check/gst/gstvalue.c: (GST_START_TEST):
778 Cast signed integer to unsigned to avoid a compiler warning.
780 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
782 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
783 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
784 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
785 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
786 (gst_byte_reader_peek_int24_be):
787 Use new GST_READ_UINT24_(LE|BE) macros.
789 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
791 * docs/gst/gstreamer-sections.txt:
793 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
794 as it's too easy to break the ISO C strict aliasing rules with simple
795 casts to the corresponding type and this would introduce hard to debug
796 bugs. Fixes bug #545714.
798 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
800 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
802 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
803 * gst/gstghostpad.c: (gst_ghost_pad_construct):
804 Add 'Since' bits to gtk-doc chunks for new API.
806 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
808 * docs/gst/gstreamer-sections.txt:
811 2008-10-06 Andy Wingo <wingo@pobox.com>
813 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
814 that will be called on the malloc_data to free it. Basically a way
815 to avoid subclassing when all you need is a different free
816 function, i.e. free() instead of g_free().
818 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
819 calling the free function.
820 (gst_buffer_init): Initialize the free function to g_free.
822 2008-10-06 Andy Wingo <wingo@pobox.com>
825 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
826 finishes the initialization of ghost pad. Useful for language
827 bindings and subclassers of GstGhostPad. Fixes #539108.
828 (gst_ghost_pad_new_full): Use the new constructor.
830 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
832 Base on Patch by: Olivier Crete <tester at tester dot ca>
834 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
835 (gst_bin_remove_func), (update_degree),
836 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
837 Keep track of pads that are being linked/unlinked and resync the state
840 * gst/gstpad.c: (gst_pad_get_direction),
841 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
842 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
843 (gst_pad_link_prepare), (gst_pad_link),
844 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
845 (gst_pad_check_pull_range), (gst_pad_get_range),
846 (gst_pad_pull_range):
847 Some code cleanups, use macros to check pad direction.
848 Don't need to take the lock on the pad direction.
849 Post structure change when pads are linked/unlinked.
850 Change some checks into _return_if_fail().
852 * tests/check/gst/gstbin.c:
853 (test_link_structure_change_state_changed_sync_cb),
854 (GST_START_TEST), (gst_bin_suite):
855 Add testcase for pad link/unlinke resync during a state change.
858 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
860 * docs/gst/gstreamer-sections.txt:
861 * gst/gstmessage.c: (gst_message_new_structure_change),
862 (gst_message_parse_structure_change):
864 Implement STRUCTURE_CHANGED messages. These messages will be used to
865 signal the parent bin of link/unlink operations that could require a
866 resync when doing a state change. See ##510354.
867 API: gst_message_new_structure_change()
868 API: gst_message_parse_structure_change()
870 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
874 Add some more quarks for new message. See #510354.
876 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
878 * docs/libs/gstreamer-libs-docs.sgml:
879 * docs/libs/gstreamer-libs-sections.txt:
880 * libs/gst/base/Makefile.am:
881 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
882 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
883 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
884 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
885 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
886 (gst_bit_reader_skip_to_byte):
887 * libs/gst/base/gstbitreader.h:
888 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
889 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
890 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
891 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
892 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
893 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
894 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
895 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
896 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
897 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
898 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
899 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
900 * libs/gst/base/gstbytereader.h:
901 * tests/check/Makefile.am:
902 * tests/check/libs/bitreader.c: (GST_START_TEST),
903 (gst_bit_reader_suite):
904 * tests/check/libs/bytereader.c: (GST_START_TEST),
905 (gst_byte_reader_suite):
906 API: Add bit reader and byte reader classes, including documentation
907 and an extensive unit test suite. Fixes bug #553554.
909 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
911 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
912 (gst_base_sink_query):
913 Improve position reporting while flushing and other intermediate state
914 changes. Fixes #553874.
916 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
918 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
920 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
921 Original patch by : Simon Descaries
922 Fix small refount leak in caps compatibility check.
925 2008-10-06 Stefan Kost <ensonic@users.sf.net>
927 * docs/pwg/advanced-request.xml:
928 Fix 0.8 api usage in example. Fixes #554561
930 * docs/pwg/appendix-porting.xml:
931 Change 0.9 to 0.10 here.
933 2008-10-06 Stefan Kost <ensonic@users.sf.net>
935 * docs/manual/basics-data.xml:
936 Change "event-event interaction" to "element-element interaction".
937 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
940 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
943 Back to development -> 0.10.21.1
945 === release 0.10.21 ===
947 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
950 releasing 0.10.21, "Take These Things From Me"
952 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
955 0.10.20.4 pre-release
957 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
959 * libs/gst/base/gstbasetransform.c:
960 * plugins/elements/gstcapsfilter.c:
961 * tests/check/Makefile.am:
962 * tests/check/elements/.cvsignore:
963 * tests/check/elements/capsfilter.c:
964 Fix assertion in basetransform when the subclass chooses not to
965 allocate a buffer in prepare_buffer(), and make capsfilter error out
966 cleanly if requested to apply caps that don't completely specify the
967 buffer. Fixes #551509
969 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
971 * libs/gst/base/gstbasetransform.c:
972 (gst_base_transform_prepare_output_buffer):
973 Take new caps ref because our old one might have been gone when the
974 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
976 2008-09-15 Stefan Kost <ensonic@users.sf.net>
979 Do not probe availability of check unit test library when cross
980 compiling, as test would not work anyway. Also cleanup verbose output
981 of the check test. Fixes #551952.
983 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
985 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
987 * gst/gstelement.c: (gst_element_sync_state_with_parent):
988 Avoid leaking the parent ref when we fail changing the state of the
989 element using gst_element_sync_state_with_parent(). Fixes #551978.
991 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
993 * docs/manual/intro-motivation.xml::
994 Remove some bits that no longer apply, update others (#551642).
996 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
999 0.10.20.2 pre-release
1007 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1009 * win32/common/config.h.in:
1010 Add GST_DATADIR, hard-code cpu to x86.
1012 * win32/common/libgstreamer.def:
1015 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1018 Fix Since: markers for new geo tags.
1020 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1023 Fix actual tag name define after renaming from altitude to elevation.
1025 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1027 * gst/gstpad.c: (add_unref_pad_to_list),
1028 (gst_pad_get_internal_links_default):
1029 Add fallback when calling the deprecated function on an element that
1030 implements the new internal_link handler.
1032 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1034 * docs/gst/gstreamer-sections.txt:
1037 Add new tags for geo location and clarify purpose of existing location
1040 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1042 Patch by: Olivier Crete <tester at tester dot ca>
1044 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1045 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1046 Use thread-safe internal links iterator. Fixes #549504.
1048 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1050 Based on patch by: Olivier Crete <tester at tester dot ca>
1052 * docs/gst/gstreamer-sections.txt:
1053 * win32/common/libgstreamer.def:
1054 * gst/gstpad.c: (gst_pad_init),
1055 (gst_pad_set_iterate_internal_links_function),
1056 (int_link_iter_data_free), (iterate_pad),
1057 (gst_pad_iterate_internal_links_default),
1058 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1060 Add threadsafe replacement functions for getting internal links of an
1061 element. Deprecate the old internal links functions.
1062 API:GstPad::gst_pad_set_iterate_internal_links_function()
1063 API:GstPad::GstPadIterIntLinkFunction
1064 API:GstPad::gst_pad_iterate_internal_links()
1065 API:GstPad::gst_pad_iterate_internal_links_default()
1067 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1068 (gst_proxy_pad_init):
1069 Implement threadsafe internal links.
1071 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1072 Unit test for internal links on tee. See #549504.
1074 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1076 * tests/check/Makefile.am:
1077 libs/transform1 test requires libs/test_transform.c
1079 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1081 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1082 Die evil deadlock, die !
1084 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1086 * gst/gstutils.c: (gst_element_get_compatible_pad):
1087 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1088 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1089 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1090 not steal the refcount of the given caps as stated.
1092 REVERT THIS COMMIT ONCE FIXED !
1093 REVERT THIS COMMIT ONCE FIXED !
1094 REVERT THIS COMMIT ONCE FIXED !
1095 REVERT THIS COMMIT ONCE FIXED !
1096 REVERT THIS COMMIT ONCE FIXED !
1097 REVERT THIS COMMIT ONCE FIXED !
1099 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1101 * gst/gstiterator.c:
1102 * gst/gstiterator.h:
1103 After 3 years it's about time to revise the documentation of the
1106 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1108 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1109 Make the internal links function less thread-unsafe and add some
1110 comments, dunno why.
1112 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1114 * gst/gst_private.h:
1115 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1116 build with --disable-gst-debug.
1118 2008-08-28 David Schleef <ds@schleef.org>
1120 * gst/gstpadtemplate.c: Revert last change, since it breaks
1121 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1122 but shouldn't be enabled until we've released fixed versions
1123 of -good and -ffmpeg.
1125 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1128 Put the gst_object_get_name() back in.
1130 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1132 * gst/gstpadtemplate.c:
1133 The old behaviour was that gst_pad_template_new() takes ownership of
1134 the caps. As we now call g_object_new() which calls g_object_set() and
1135 which copies the caps, we have to unref them to not leak them. Fixes
1136 make valgrid for me.
1138 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1141 Don't segfault on input like "tel:+1-123-555-1234".
1143 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1146 Due to popular request also include ObjectType in
1147 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1149 2008-08-26 David Schleef <ds@schleef.org>
1151 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1152 src_val must be positive, because that's not a requirement.
1153 This causes problems with converting negative granulepos
1155 * gst/gstquery.c: Same, gst_query_new_convert().
1157 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1159 * gst/gstclock.c: (gst_clock_add_observation):
1160 Add some more debugging to the clock slaving code.
1162 * win32/common/libgstbase.def:
1163 Add new basetransform method.
1165 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1167 * gst/gstbin.c: (gst_bin_element_set_state):
1168 Take the (recursive) state lock between getting the locked state of an
1169 element and changing the element state. This allows the application to
1170 lock an element's state and then change its state without races.
1172 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1174 * gst/gstbin.c: (gst_bin_element_set_state):
1175 When an element is in the locked state we still want to update the
1176 base_time of the element.
1178 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1180 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1181 Use the result from gst_pad_set_caps() instead of assuming the element
1182 always accepted the caps computed by the default negotiate function.
1184 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1186 * docs/libs/gstreamer-libs-sections.txt:
1187 * libs/gst/base/gstbasetransform.c:
1188 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1189 (gst_base_transform_chain), (gst_base_transform_suggest),
1190 (gst_base_transform_reconfigure):
1191 * libs/gst/base/gstbasetransform.h:
1192 Implement method for reconfiguring basetransform.
1193 API: GstBaseTransform::gst_base_transform_reconfigure()
1195 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1197 patch by: Murray Cumming <murrayc@murrayc.com>
1200 Mention that this is just like gst_buffer_merge() but with extra
1201 unreffing for C coders. Advise language bindings not to wrap it.
1204 Also fix file comment.
1206 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1208 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1210 * plugins/elements/gstfakesink.c:
1211 * plugins/elements/gstfakesrc.c:
1212 Call super::event() when not handling it. Fixes #544855.
1214 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1216 Patch by: Alessandro Decina <alessandro@nnva.org>
1217 * plugins/elements/gstfilesrc.c:
1218 Use 64 bit variants of stat functions on win32, to enable support
1219 of large files there.
1222 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1224 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1225 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1226 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1227 (gst_base_sink_get_position), (gst_base_sink_change_state):
1228 Improve position reporting in the flushing state.
1229 Also report the position when we are not yet prerolled but we
1230 have a newsegment event. Fixes #543444.
1231 Improve the pull-based negotiation code.
1233 * tests/check/elements/fakesink.c: (GST_START_TEST),
1235 Add testcase for position reporting while flushing in PAUSED and
1238 * tests/check/generic/sinks.c: (GST_START_TEST):
1239 Update unit-test, we can now query the position as soon as we receive a
1242 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1244 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1246 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1247 When the subclass event handler releases the PREROLL_LOCK, we could be
1248 in the flushing state and we have to ignore the event. Fixes #548394.
1250 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1252 * tools/gst-launch.1.in:
1253 Document GST_REGISTRY_UPDATE environment variable.
1255 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1257 * libs/gst/base/gstbasetransform.c:
1258 (gst_base_transform_prepare_output_buffer):
1259 If the element is configured in passthrough mode but the
1260 prepare_output_buffer gave us a new output buffer, discard that buffer
1261 and reuse the input buffer.
1263 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1265 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1267 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1268 (gst_tee_request_new_pad), (gst_tee_release_pad),
1269 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1270 * plugins/elements/gsttee.h:
1271 Protect pad_alloc with a new lock so that we can be sure that nothing is
1272 performing a pad_alloc when removing the pad. Fixes #547835.
1274 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1275 (buffer_alloc_harness_teardown), (app_thread_func),
1276 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1277 Added testcase for shutdown race.
1279 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1284 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1286 * libs/gst/base/gstbasetransform.c:
1287 (gst_base_transform_prepare_output_buffer),
1288 (gst_base_transform_buffer_alloc):
1289 Go over the buffer_alloc function again and make sure we always end up
1290 allocating a buffer.
1292 Avoid doing pad alloc when we have a pending suggestion because we
1293 cannot yet deal with changing caps in that case. Fixes #547728
1295 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1297 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1299 * docs/manual/advanced-clocks.xml:
1300 * docs/manual/clocks.png:
1301 * docs/manual/diagrams-clocks.svg:
1302 Add one more image showing different times together with a describing
1303 paragraph. Fixes #547729.
1305 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1307 * win32/common/libgstbase.def:
1310 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1312 * libs/gst/base/gstbasetransform.c:
1313 (gst_base_transform_transform_caps),
1314 (gst_base_transform_prepare_output_buffer),
1315 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1316 Don't overwrite the outsize when calculating the expected size of a new
1317 buffer because we still need it in case we cannot process the new
1319 When converting the size of the new buffer to an upstream size, actually
1320 use the expected size of the buffer, not some other random value.
1321 Use an atomic int to signal that a new upstream caps suggestion is
1323 When we can convert the current buffer to a new format, check if the
1324 buffer size is of the expected size and allocate a new buffer of the
1325 expected size when this is not the case. Fixes #546883.
1327 * tests/check/libs/transform1.c: (GST_START_TEST):
1328 remove ifdeffed code from the unit test.
1330 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1332 * pkgconfig/gstreamer-uninstalled.pc.in:
1333 * pkgconfig/gstreamer.pc.in:
1334 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1335 called gstcontroller-0.10.
1337 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1339 * gst/gstchildproxy.h:
1341 Remove double interface from doc-string.
1343 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1345 * libs/gst/base/gstbasesrc.c:
1346 * libs/gst/base/gstbasetransform.c:
1347 Fix headings in docs and gtk-doc warnings.
1349 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1351 * gst/gstregistrybinary.c:
1352 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1356 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1358 * libs/gst/base/gstbasetransform.c:
1359 (gst_base_transform_buffer_alloc):
1360 Fix a "may be used unitialized" warning.
1362 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1364 * docs/gst/gstreamer-sections.txt:
1366 Document preset-iface vmethods.
1368 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1370 * docs/manual/advanced-interfaces.xml:
1371 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1372 only used to discover devices.
1374 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1376 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1378 * gst/gst.c: (init_pre):
1379 Make sure gettext returns translations in UTF-8 encoding rather
1380 than in the current locale encoding (#546822).
1382 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1384 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1387 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1388 Improve unit test subset tests and add a testcase for the subset failure
1391 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1392 Improve subtraction unit test.
1394 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1396 * plugins/elements/gsttee.c:
1397 Unlock, instead of locking again.
1399 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1402 Clarify the docs a bit more.
1404 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1406 * tests/examples/metadata/read-metadata.c:
1407 Don't leak old taglist.
1409 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1411 Patch by: Olivier Crete <tester at tester dot ca>
1413 * gst/gststructure.c:
1414 (gst_structure_fixate_field_nearest_fraction):
1415 Avoid overflows in fixation code when dealing with MAXINT values, which
1416 v4l2src seems to do.
1419 * tests/check/gst/gststructure.c: (GST_START_TEST):
1420 Make a unit test to check the fix.
1422 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1424 * plugins/elements/gstcapsfilter.c: (copy_func),
1425 (gst_capsfilter_set_property):
1426 Use new caps suggestion feature of basetransform to request a caps
1427 negotiation upstream.
1429 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1431 * docs/libs/gstreamer-libs-sections.txt:
1433 API: GstBaseTransform::gst_base_transform_suggest()
1435 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1436 (gst_base_transform_init), (gst_base_transform_transform_caps),
1437 (gst_base_transform_transform_size),
1438 (gst_base_transform_configure_caps),
1439 (gst_base_transform_can_transform),
1440 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1441 (gst_base_transform_prepare_output_buffer),
1442 (gst_base_transform_buffer_alloc),
1443 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1444 (gst_base_transform_chain), (gst_base_transform_activate),
1445 (gst_base_transform_set_passthrough),
1446 (gst_base_transform_is_passthrough),
1447 (gst_base_transform_set_in_place),
1448 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1449 (gst_base_transform_set_qos_enabled),
1450 (gst_base_transform_is_qos_enabled),
1451 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1452 (gst_base_transform_reconfigure):
1453 * libs/gst/base/gstbasetransform.h:
1454 Rewrite of basetransform to perform negotiation outside of the
1455 buffer_alloc functions. Fixes #545853.
1457 * tests/check/libs/transform1.c: (GST_START_TEST),
1461 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1463 * tests/check/gst/gstpreset.c:
1464 Only run preset tests when $HOME is writable. Preliminary fix for
1467 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1469 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1470 (gst_bin_change_state_func), (bin_handle_async_done),
1471 (gst_bin_handle_message_func):
1472 Fix race for bins that simulate ASYNC state changes by inserting
1473 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1474 pending ASYNC messages even when the bin does not have ASYNC children.
1475 We note detect this behaviour because we will receive an ASYNC message
1476 that is originating from the bin itself.
1477 Fixes races with decodebin2 state changes.
1479 * tests/check/gst/gstbin.c: (GST_START_TEST):
1480 Add some more debug.
1482 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1484 * gst/gsttaglist.c: (_gst_tag_initialize):
1487 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1490 Argh. actually save the text before committing. Now adds
1491 gst_tag_merge_strings_with_comma() to gst_tag_register().
1493 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1497 Do as tim pointed out and actually register the new tag. Also improve
1498 te docs and use gst_tag_merge_strings_with_comma() method to allow
1499 retriving all keywords merged in one list.
1501 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1504 * docs/gst/gstreamer.types:
1505 Revert 'accidential' change of the configure option removal. We still
1506 need to generate the types file in configure --disable-load-save.
1508 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1510 * docs/gst/gstreamer-sections.txt:
1512 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1514 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1516 * gst/gstpadtemplate.c:
1517 (gst_pad_template_class_init), (gst_static_pad_template_get),
1518 (gst_pad_template_new), (gst_pad_template_pad_created),
1519 (gst_pad_template_set_property), (gst_pad_template_get_property):
1520 Add "name-template", "direction", "presence" and "caps" properties,
1521 so that gst_pad_template_new() is just a thin wrapper around
1522 g_object_new(), which is better for bindings. (Fixes: #539772)
1524 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1527 Be more liberal in what URIs we accept.
1528 Do not unescape bits of the URI for no apparent reason before passing to
1529 the element. Fixes #545352.
1531 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1533 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1536 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1538 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1541 * docs/gst/gstreamer-sections.txt:
1542 * docs/gst/gstreamer.types:
1543 * docs/gst/gstreamer.types.in:
1546 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1547 * gst/gstconfig.h.in:
1548 * gst/gstelement.c: (gst_element_get_index):
1549 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1550 (gst_registry_binary_load_feature),
1551 (gst_registry_binary_read_cache):
1552 * gst/gstregistryxml.c: (load_feature),
1553 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1554 * plugins/Makefile.am:
1556 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1557 (print_plugin_features), (print_element_features):
1558 * tools/gst-xmlinspect.c: (print_event_masks),
1559 (print_element_info):
1560 * win32/common/gstconfig.h:
1561 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1563 Disabling the indexers and URI handler code will only reduce the
1564 required amount of memory by a very small amount but on the other hand
1565 requires much more maintaince work. Apart from that many places of
1566 code are broken when disabling them.
1568 Disabling the enum types doesn't reduce the required amount of memory
1569 by more than a few bytes and makes it hard to fix bugs like #539772,
1570 i.e. use the enums as GObject properties.
1572 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1574 * docs/design/part-TODO.txt:
1575 Add some thoughts and problems with upstream renegotiation.
1577 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1579 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1580 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1581 Remove silly redundant debug.
1582 Add some more debug info.
1583 Clarify the docs regarding new caps received from pad_alloc.
1585 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1587 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1588 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1589 Make setting the caps more threadsafe.
1591 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1593 * docs/design/part-element-transform.txt:
1596 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1598 * plugins/elements/gstqueue.c: (gst_queue_init),
1599 (gst_queue_acceptcaps):
1600 Add and use a custom acceptcaps function instead of falling back to the
1601 potentially less optimized default implementation.
1603 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1605 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1606 Only sanity-check the buffer size if requested_caps == buffer_caps
1607 (ie. don't take pad caps into account, they're not relevant here)
1609 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1611 * plugins/elements/gsttee.c:
1612 * plugins/elements/gsttee.h:
1613 Reverting as not everything is clear yet. Needs some general design
1616 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1619 ChangeLog surgery for tee commit.
1621 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1623 * docs/gst/gstreamer-sections.txt:
1624 Cleanup section-file.
1626 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1628 * plugins/elements/gsttee.c:
1629 * plugins/elements/gsttee.h:
1630 Relay tag events in tee. Fixes parts of #474016.
1631 Downgrades 3 reoccurring debugs to log.
1633 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1636 * libs/gst/Makefile.am:
1637 Build the net library if we have winsock2.
1639 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1641 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1643 * docs/manual/advanced-threads.xml:
1644 * docs/manual/diagrams-pipelines.svg:
1645 * docs/manual/hello-world.png:
1646 * docs/manual/linked-elements.png:
1647 * docs/manual/mime-world.png:
1648 * docs/manual/queue.png:
1649 * docs/manual/thread-buffering.png:
1650 * docs/manual/thread-synchronizing.png:
1651 Replace one diagram with two separate ones and updates others.
1654 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1657 Fix link in documentation.
1659 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1662 Fix confusing documentation.
1664 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1666 * libs/gst/base/gstbasesrc.h:
1667 revert the changes to the header file for the ABI.
1669 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1671 * libs/gst/base/gstbasesrc.c:
1672 * libs/gst/base/gstbasesrc.h:
1673 Don't cache the seekable status.
1676 2008-07-24 Rene Stadler <mail@renestadler.de>
1678 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1679 code to close the pipeline graph. This prevents the program from
1680 printing internal data flow errors.
1682 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1684 * docs/manual/basics-bus.xml:
1685 Correct typo. Fixes bug #544320.
1687 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1690 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1691 Add check (taken from -base) for winsock, adds WIN32_LIBS
1693 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1695 Define GST_EXPORTS when building libgstreamer (only used on win32)
1696 * gst/gst_private.h:
1698 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1699 for symbols that we need to export in both these files.
1701 Include gst_private.h higher up to avoid some compile problems on win32.
1703 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1708 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1711 Previous commit was wrong NULL caps does not exist
1712 and indicate an error, so also add a FIXME to
1713 gst_caps_is_equal where NULL caps are accepted.
1715 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1718 Allow passing of NULL to gst_caps_union
1720 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1722 * gst/gstghostpad.c:
1723 Add in doc that gst_ghost_pad_set_target can accept
1724 NULL to clear target
1726 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1729 * gst/gstregistry.c:
1730 GstRegistryPool doesn't exist; don't refer to it in docs.
1731 Don't refer to functions that don't exist in docs, it's
1734 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1737 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1739 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1741 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1743 * docs/pwg/building-testapp.xml:
1744 Don't use an undeclared variable in the example program.
1747 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1749 * gst/gstdebugutils.c:
1750 Squeeze ghost-pad links and remove <> from classname labels to save
1751 more horizontal space.
1753 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1755 * gst/gstdebugutils.c:
1756 Give request and sometimes pads a different shpe style. Condense the
1757 graphs a little more.
1759 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1762 Don't require flex and bison if the parser is disabled.
1764 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1766 * libs/gst/controller/gstinterpolationcontrolsource.c:
1767 (_list_find_sorted_custom):
1768 Don't use declarations after statements.
1770 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1772 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1773 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1774 of the the child-added / -removed signals as GstChildProxy
1775 only supports GstObjects.
1777 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1779 * gst/gstdebugutils.c:
1782 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1784 Patch by: Alessandro Decina <alessandro at nnva dot org>
1787 Fix "ignored return value" compiler warning with newer glibc.
1789 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1791 * gst/gstchildproxy.c:
1792 Fix copy&paste error in gst_child_proxy_removed() documentation.
1794 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1796 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1797 Print error debug message if plugin description fields that should
1800 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1801 Don't crash if the string to serialise is NULL (it really should
1802 not be, but apparently this used to work with the xml registry ...).
1804 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1806 * tools/gst-plot-timeline.py:
1807 Fix parsing of log messages
1809 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1811 * win32/common/libgstbase.def::
1812 Sort alphabetically so make check-exports doesn't barf.
1814 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1817 Use gst_format_get_name() to improve debug output.
1820 Remove #ifdef'ed code. Add TODO comment.
1823 Add debug output to ease spotting format != segment.format assertions.
1825 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1827 * tests/check/libs/gdp.c: (gst_dp_suite):
1828 Also enable the GDP unit test again on PPC now that the bug
1831 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1833 * libs/gst/dataprotocol/dataprotocol.c:
1834 Don't write to the same region of memory as a uint64 and uint16
1835 as this breaks strict aliasing rules and apparantly breaks on PPC
1836 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1838 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1840 * libs/gst/controller/gstinterpolationcontrolsource.c:
1841 Optimize list handling. Use own find function. Exploit that fact that
1842 the list is sorted. Also pass back the node before, so that we can
1843 insert quickly. Have a fast path for append.
1845 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1847 * docs/design/draft-framestep.txt:
1848 * docs/design/part-negotiation.txt:
1851 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1854 Show configuration sumary after configure run. Based on patch by
1855 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1857 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1859 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1861 * docs/manual/advanced-autoplugging.xml:
1862 * docs/manual/advanced-threads.xml:
1863 * docs/manual/basics-bins.xml:
1864 * docs/manual/basics-elements.xml:
1865 * docs/manual/basics-helloworld.xml:
1866 * docs/manual/basics-pads.xml:
1867 Add scale factor for pdf output.
1869 * docs/manual/intro-basics.xml:
1870 Switched sections "pads" and "bins" and added a pipeline diagram.
1872 * docs/manual/intro-gstreamer.xml:
1873 Added more info on gstreamer.
1875 * docs/manual/intro-motivation.xml:
1876 Commented out the whole section "current problem", which sounds
1877 historical and somehow osolete; it could be turned in a positive
1878 way and reused to improve the design principles.
1880 * docs/manual/intro-preface.xml:
1881 - Update URLs to library.gnome.org.
1882 - Do not mention GTK+ in preliminary reading (irrelevant).
1883 - Mention Plugin Writer's Manual and further reading only in the
1885 - Added a list of most relevant GObject/glib topics.
1887 * docs/manual/Makefile.am:
1888 * docs/manual/bin-element-ghost.fig:
1889 * docs/manual/bin-element-ghost.png:
1890 * docs/manual/bin-element-noghost.fig:
1891 * docs/manual/bin-element-noghost.png:
1892 * docs/manual/bin-element.fig:
1893 * docs/manual/bin-element.png:
1894 * docs/manual/filter-element-multi.fig:
1895 * docs/manual/filter-element-multi.png:
1896 * docs/manual/filter-element.fig:
1897 * docs/manual/filter-element.png:
1898 * docs/manual/gstreamer-overview.png:
1899 * docs/manual/hello-world.fig:
1900 * docs/manual/hello-world.png:
1901 * docs/manual/linked-elements.fig:
1902 * docs/manual/linked-elements.png:
1903 * docs/manual/mime-world.fig:
1904 * docs/manual/mime-world.png:
1905 * docs/manual/queue.fig:
1906 * docs/manual/queue.png:
1907 * docs/manual/simple-player.png:
1908 * docs/manual/sink-element.fig:
1909 * docs/manual/sink-element.png:
1910 * docs/manual/src-element.fig:
1911 * docs/manual/src-element.png:
1912 * docs/manual/diagrams-general.svg:
1913 * docs/manual/diagrams-pipelines.svg:
1914 Removed .fig, added .png counterpart.
1918 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1920 * plugins/elements/gstmultiqueue.c:
1921 * plugins/elements/gstmultiqueue.h:
1922 revert extra-size-buffers stuff, caused some race conditions
1923 and extra-size-buffers is not used anymore. Docs needs some updates
1925 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1927 * win32/common/config.h:
1928 * win32/common/gstenumtypes.c:
1929 * win32/common/gstenumtypes.h:
1930 * win32/common/gstversion.h:
1933 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1935 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1936 (GST_DEBUG_BIN_TO_DOT_FILE):
1937 Add missing Since' markers to gtk-doc blurbs.
1939 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1941 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1942 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1943 (set_caps_1), (set_caps_ct1), (transform_ct1),
1944 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1945 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1946 (transform_size_ct2), (buffer_alloc_ct2):
1947 Add some more tests with switching caps in buffer_alloc.
1949 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1951 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1952 (gst_test_trans_class_init), (result_sink_chain),
1953 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1954 (gst_test_trans_push), (gst_test_trans_pop):
1955 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1956 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1957 (set_caps_1), (set_caps_ct1), (transform_ct1),
1958 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1959 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1960 (transform_size_ct2), (buffer_alloc_ct2),
1961 (gst_basetransform_suite):
1962 More tests, prepare for tests with switching caps in buffer_alloc.
1964 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1966 * plugins/elements/gstmultiqueue.c:
1967 * plugins/elements/gstmultiqueue.h:
1968 Fix dead-lock in underrun_cb
1970 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1972 * docs/design/part-states.txt:
1973 Fix device open/close docs.
1975 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1978 Mention bugnumber for last commit.
1980 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1982 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1984 * docs/manual/manual.xml:
1985 - Reorganised the previous "introduction" bundle into Foreword,
1986 Introduction, and About GStreamer. The two first are <preface>
1987 docbook elements. The later is the first part of the book.
1988 - added intro-gstreamer.xml (content partially from
1990 - moved appendix-win32.xml into appendix-integration.xml
1992 * docs/manual/intro-preface.xml: gstreamer section moved...
1993 * docs/manual/intro-gstreamer.xml: ...here. new file.
1995 * docs/manual/appendix-win32.xml: removed file. Content moved...
1996 * docs/manual/appendix-integration.xml: ...here.
1998 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1999 * docs/manual/appendix-checklist.xml: ...here.
2003 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2005 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2007 * docs/manual/basics-helloworld.xml:
2008 * docs/manual/hello-world.fig:
2009 - Explicitely include glib.h.
2010 - Do not use global variables.
2011 - Use g_printerr() instead of g_print().
2012 - Minor formating/renaming to increase readibility.
2013 - Renamed new_pad() to on_pad_added()
2014 - Improved explenatory comments.
2015 - renamed ogg parser to ogg demuxer
2016 - Use "autoaudiosink" instead of "alsasink".
2019 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2022 Remove cvs conflict marker.
2024 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2027 Document that for plgin-docs we extraxt he short-desc from the element
2030 * docs/design/part-states.txt:
2031 Tell that devices should be closed in PAUSED -> READY.
2033 * docs/manual/README:
2034 Document how tests in the manual are handled.
2039 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2041 * gst/gstbin.c: (bin_query_latency_fold):
2042 Only care about latency min and max when the sink is actually a live
2045 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2047 * docs/design/part-block.txt:
2050 * docs/design/part-element-transform.txt:
2051 Add notes about why transform needs to know input/output sizes.
2052 Add some issues that need to be solved.
2053 Add some more use cases.
2055 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2056 (gst_test_trans_class_init), (result_sink_chain),
2057 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2058 (gst_test_trans_push), (gst_test_trans_pop):
2059 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2060 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2061 (set_caps_1), (set_caps_ct1), (transform_ct1),
2062 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2063 (gst_basetransform_suite):
2064 Add suport for different pad templates and buffer-alloc.
2065 Add more checks for caps and buffer-alloc.
2066 Add checks for proxy buffer alloc.
2067 Add unit test for copy transform.
2069 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2071 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2073 * docs/manual/appendix-integration.xml:
2074 * docs/manual/appendix-licensing.xml:
2075 * docs/manual/basics-elements.xml:
2076 * docs/manual/basics-helloworld.xml:
2077 * docs/manual/basics-pads.xml:
2078 * docs/manual/highlevel-components.xml:
2079 * docs/manual/highlevel-xml.xml:
2080 * docs/manual/intro-basics.xml:
2081 * docs/manual/intro-preface.xml:
2082 Typo and formatting fixes (#538594).
2084 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2086 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2087 Fix some memory leaks and uses of object instances that we don't
2090 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2092 * plugins/elements/gstmultiqueue.c:
2093 Add functionality to extra-size-buffers property.
2095 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2097 * plugins/elements/gstmultiqueue.c:
2098 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2099 activate the pads if they are added in STATE_NULL.
2101 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2103 * docs/libs/gstreamer-libs-sections.txt:
2105 * libs/gst/check/gstcheck.c:
2106 * libs/gst/check/gstcheck.h:
2107 API: gst_check_teardown_pad_by_name
2109 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2111 * libs/gst/check/gstcheck.c:
2112 * libs/gst/check/gstcheck.h:
2113 Also setup request pads and allow setup pads by name (#537812)
2114 API: gst_check_setup_src_pad_by_name
2115 API: gst_check_setup_sink_pad_by_name
2117 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2119 * tests/check/gst/gstbuffer.c:
2120 * tests/check/pipelines/parse-launch.c:
2121 Use HAVE_VALGRIND_H some more.
2123 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2125 * scripts/cvs-update.sh:
2126 Pass arguments to make.
2127 Run autoregen.sh if Makefile is not there.
2129 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2133 Don't assume that <valgrind/valgrind.h> exists just because
2134 the binary is there.
2136 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2138 * tests/check/Makefile.am:
2139 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2140 (gst_test_trans_class_init), (gst_test_trans_init),
2141 (gst_test_trans_set_data), (result_sink_chain),
2142 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2143 (gst_test_trans_pop):
2144 * tests/check/libs/transform1.c: (GST_START_TEST),
2145 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2146 Add some test basetransform element and the beginnings of various
2149 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2151 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2152 Increase code readability.
2153 Don't try to compare buffer offsets when ther are invalid.
2155 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2157 * docs/design/Makefile.am:
2158 Dist some more design docs.
2160 * docs/random/moving-plugins:
2161 Small addition: good plugins mustn't have functional code
2162 within assertion macros.
2164 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2166 * docs/design/draft-framestep.txt:
2167 Some ideas about a framestep API
2169 * docs/design/part-element-transform.txt:
2170 Start design and use cases for basetransform in order to get it
2173 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2176 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2177 be in UTF-8 encoding.
2179 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2182 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2184 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2186 * plugins/elements/gstcapsfilter.c:
2187 * plugins/elements/gstfakesink.c:
2188 * plugins/elements/gstfakesrc.c:
2189 * plugins/elements/gstfdsink.c:
2190 * plugins/elements/gstfdsrc.c:
2191 * plugins/elements/gstfilesink.c:
2192 * plugins/elements/gstfilesrc.c:
2193 * plugins/elements/gstidentity.c:
2194 * plugins/elements/gstmultiqueue.c:
2195 * plugins/elements/gstqueue.c:
2196 * plugins/elements/gsttee.c:
2197 * plugins/elements/gsttypefindelement.c:
2198 Remove short_description. Add basic docs for gsttypefindelement.
2199 Simplify markup for fakesrc/fdsrc.
2201 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2203 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2206 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2208 Patch by: Joel Larsson <tilljoel at gmail dot com>
2210 * docs/plugins/gstreamer-plugins.args:
2211 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2212 (gst_fd_src_init), (gst_fd_src_update_fd),
2213 (gst_fd_src_set_property), (gst_fd_src_get_property),
2214 (gst_fd_src_create):
2215 * plugins/elements/gstfdsrc.h:
2216 Add timeout property like udpsrc. Fixes #538628.
2217 Add some more docs and example pipelines.
2219 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2221 * docs/libs/gstreamer-libs-sections.txt:
2222 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2223 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2224 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2225 (gst_base_sink_do_sync):
2226 * libs/gst/base/gstbasesink.h:
2227 * win32/common/libgstbase.def:
2228 Add method to allow sinks to specify additional delay between the sync
2229 times and the actual rendering of the data.
2230 API: gst_base_sink_set_render_delay()
2231 API: gst_base_sink_get_render_delay()
2233 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2236 Bump version number back to dev -> 0.10.20.1
2238 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2240 * docs/gst/gstreamer-sections.txt:
2241 * gst/gsttaglist.c: (_gst_tag_initialize):
2243 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2246 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2248 * libs/gst/controller/gstcontroller.c:
2249 Revert one change, that make ret value possible uninitialized.
2251 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2253 * libs/gst/controller/gstcontroller.c:
2254 Use freeze/thaw notify to sync notify emission a bit (its also more
2255 efficient). Move debug output to LOG (is called a lot in a loop).
2256 Always unset g_values if the have been initialized.
2258 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2260 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2261 (gst_base_sink_wait_eos), (gst_base_sink_event):
2262 If we have not seen a buffer before EOS, use the segment values to
2263 report the current position instead of invalid positions.
2265 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2267 * docs/plugins/tmpl/.cvsignore:
2268 * tests/check/gst/.cvsignore:
2271 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2273 * libs/gst/controller/gstinterpolation.c:
2274 * libs/gst/controller/gstinterpolationcontrolsource.c:
2275 * tests/check/libs/controller.c:
2276 Rewrite handling of default values. Fix overflow with unsigned types
2277 in linear interpolation. Remove now obsolete _first_value() function.
2278 Add more tests. Fixes #538201.
2280 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2282 * libs/gst/base/gstbasetransform.c:
2283 (gst_base_transform_class_init), (gst_base_transform_init),
2284 (gst_base_transform_transform_caps),
2285 (gst_base_transform_prepare_output_buffer):
2287 When a buffer is writable, its metadata is also writable so we don't
2288 need to subbuffer (which then makes the buffer not-writable anymore).
2290 === release 0.10.20 ===
2292 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2295 releasing 0.10.20, "You Crazy Diamond"
2297 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2300 0.10.19.3 pre-release
2302 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2306 Rename DATADIR to GST_DATADIR to avoid build problems
2307 on win32. Patch By: David Schleef <ds@schleef.org>
2310 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2313 Explicitely link with -ldl if dladdr() is found there. Before it was
2314 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2315 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2317 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2319 * gst/gsterror.c: (_gst_stream_errors_init):
2320 Fix typo (spotted by Fabricio Godoy, #536723).
2322 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2325 0.10.19.2 pre-release
2327 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2329 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2330 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2332 Make sure we don't generate invalid QoS messages.
2334 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2336 * gst/gstevent.c: (gst_event_new_qos):
2337 Add some assert and docs for invalid input to the qos function.
2339 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2341 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2342 (gst_base_sink_get_position):
2343 The reported position must always be smaller than the last seen
2344 timestamps (or timestamp + duration for reverse).
2346 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2348 Patch by: Rob Bradford <rob at robster dot org dot uk>
2350 * gst/gstregistry.c: (gst_registry_scan_path_level):
2351 Don't recurse into .debug directories as some distros install
2352 the debugging symbols next to the plugins in .debug directories
2353 and dlopen() crashes on them sometimes. Fixes bug #508070.
2355 Add FIXME for 0.11 to not recurse into directories at all because
2356 it's very inconsistent to the behaviour of other PATH environment
2359 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2361 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2362 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2363 Fix position query range checks in reverse playback.
2365 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2369 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2370 clear of the reference to the resulting pad must be released later
2371 or not, resulting in possible leaks. Fixes bug #533865.
2373 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2375 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2377 * gst/gstelementfactory.c:
2378 Small doc fix. Fixes #535285.
2380 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2382 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2384 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2385 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2386 (gst_base_src_loop), (gst_base_src_set_flushing),
2387 (gst_base_src_change_state):
2388 Make sending an EOS event to the basesrc non-blocking even if the
2389 implementation does blocking waits in the create function. This is done
2390 by unlocking the create function when EOS is sent.
2393 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2395 * tools/gst-inspect.c: (print_element_properties_info):
2396 If possible print the element type of GValueArray properties.
2398 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2400 * gst/gstiterator.c:
2401 Remove an unused field from the private GstListIterator struct.
2403 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2405 * libs/gst/controller/gstcontroller.c:
2406 Add parameter guards.
2408 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2410 * tests/check/gst/gstpipeline.c:
2411 Revert test change and add comment why it should not work.
2413 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2415 * tests/check/gst/gstpipeline.c:
2416 Extending the test a little to verify that we also get the NULL state-
2419 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2421 * gst/gstpreset.c: (gst_preset_default_get_meta),
2422 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2423 (gst_preset_load_preset), (gst_preset_save_preset),
2424 (gst_preset_rename_preset), (gst_preset_delete_preset),
2425 (gst_preset_set_meta):
2426 Add Since: markers to docs blurbs.
2428 * win32/common/libgstreamer.def:
2429 Add recently-added API.
2431 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2433 Patch by: Stefan Kost <ensonic@users.sf.net>
2436 Add DATADIR for storing presets.
2438 * docs/gst/gstreamer-docs.sgml:
2439 * docs/gst/gstreamer-sections.txt:
2440 * docs/gst/gstreamer.types.in:
2441 Add GstPreset to docs.
2445 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2446 (preset_open_and_parse_header), (preset_parse_version),
2447 (preset_merge), (preset_get_keyfile),
2448 (gst_preset_default_get_preset_names),
2449 (gst_preset_default_get_property_names),
2450 (gst_preset_default_load_preset),
2451 (gst_preset_default_save_presets_file),
2452 (gst_preset_default_save_preset),
2453 (gst_preset_default_rename_preset),
2454 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2455 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2456 (gst_preset_default_reset), (gst_preset_get_preset_names),
2457 (gst_preset_get_property_names), (gst_preset_load_preset),
2458 (gst_preset_save_preset), (gst_preset_rename_preset),
2459 (gst_preset_delete_preset), (gst_preset_set_meta),
2460 (gst_preset_get_meta), (gst_preset_class_init),
2461 (gst_preset_base_init), (gst_preset_get_type):
2463 Add GstPreset to core. Fixes #396779
2465 * tests/check/Makefile.am:
2466 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2467 (gst_preset_test_set_property), (gst_preset_test_class_init),
2468 (gst_preset_test_base_init), (gst_preset_test_get_type),
2469 (gst_preset_test_plugin_init), (GST_START_TEST),
2470 (remove_preset_file), (test_setup), (test_teardown),
2472 Add GstPreset unit tests.
2474 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2476 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2477 The default event function on a sinkpad should return TRUE when
2478 there are no internal links but should collect the return values from
2479 the internal links otherwise.
2481 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2483 * plugins/elements/gsttypefindelement.c:
2484 (gst_type_find_element_src_event),
2485 (gst_type_find_element_handle_event):
2486 Use faster and safer _pad_push_event().
2488 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2490 * docs/gst/gstreamer-sections.txt:
2491 * gst/gstutils.c: (element_find_unlinked_pad),
2492 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2494 API: add gst_bin_find_unlinked_pad()
2495 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2497 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2503 Fixed a bunch of typos.
2505 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2508 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2509 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2510 (gst_parse_bin_from_description_full):
2512 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2514 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2516 * docs/pwg/advanced-tagging.xml:
2517 Small docs update, can't be bothered to rewrite the nonsensical
2520 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2523 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2525 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2527 * gst/parse/grammar.y:
2528 Remove unneeded casts.
2530 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2532 * gst/parse/grammar.y:
2533 * tests/check/pipelines/parse-launch.c:
2534 Get all missing elements from a parse launch string if possible
2535 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2537 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2539 * tests/check/Makefile.am:
2540 * tests/check/pipelines/parse-launch.c:
2541 Add some unit tests for the new gst_parse_launch*_full() API.
2542 (Exposes a previously-existing memory leak in the error code
2543 path, so adding to VALGRIND_TO_FIX for now).
2545 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2547 * docs/gst/gstreamer-sections.txt:
2548 * gst/gst.c: (init_post):
2549 * gst/gst_private.h: (_GstParseContext):
2550 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2551 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2552 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2553 (gst_parse_launch_full):
2554 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2555 (GstParseFlags), (GstParseContext):
2556 * gst/gstutils.c: (gst_parse_bin_from_description),
2557 (gst_parse_bin_from_description_full):
2559 * gst/parse/grammar.y:
2560 * gst/parse/types.h:
2561 * win32/common/libgstreamer.def:
2562 Add new gst_parse_*_full API (#528178):
2563 API: gst_parse_launch_full()
2564 API: gst_parse_launchv_full()
2565 API: gst_parse_bin_from_description_full()
2566 API: gst_parse_context_new()
2567 API: gst_parse_context_free()
2568 API: gst_parse_context_get_missing_elements()
2570 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2572 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2574 * docs/faq/gst-uninstalled:
2575 Also support ffmpeg in gst-uninstalled.
2577 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2580 After discussion on IRC use the binary registry as default
2581 but allow to disable it with --disable-binary-registry.
2583 * win32/common/libgstreamer.def:
2584 Add the two new symbols for the binary registry.
2586 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2588 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2589 * gst/gstutils.c: (gst_parse_bin_from_description):
2590 * gst/parse/grammar.y: (graph):
2591 More guards against bad input; typo fix; some minor clean-ups.
2593 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2595 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2597 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2598 If nothing else can be used, use the last buffer's start time as
2599 the segment's last stop. Fixes bug #534258.
2601 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2603 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2604 Move size sanity check to the right place: downstream may return
2605 a buffer with a smaller size if the buffer caps are different than
2606 the requested ones, as may happen when doing reverse negotiation.
2608 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2610 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2611 (gst_file_sink_render):
2612 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2613 (gst_file_src_start):
2614 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2617 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2619 * gst/gstpad.c: (gst_pad_load_and_link):
2620 * gst/gstutils.c: (gst_element_link_pads),
2621 (gst_element_unlink_pads):
2622 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2623 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2624 (gst_check_teardown_sink_pad),
2625 (gst_check_element_push_buffer_list):
2626 * tests/check/elements/fakesink.c: (GST_START_TEST):
2627 * tests/check/elements/filesink.c:
2628 * tests/check/elements/filesrc.c: (GST_START_TEST):
2629 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2630 (mq_sinkpad_to_srcpad):
2631 * tests/check/elements/tee.c: (GST_START_TEST):
2632 * tests/check/generic/sinks.c: (GST_START_TEST):
2633 * tests/check/gst/gstbin.c: (GST_START_TEST):
2634 * tests/check/gst/gstevent.c: (GST_START_TEST):
2635 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2636 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2637 * tests/check/gst/gstquery.c: (GST_START_TEST):
2638 * tests/check/gst/gstutils.c: (GST_START_TEST):
2639 * tests/check/libs/basesrc.c: (GST_START_TEST):
2640 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2641 (gst_parse_test_element_change_state):
2642 Don't use gst_element_get_pad().
2644 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2647 Fix installing plugin documentation when gtk-doc is disabled.
2649 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2651 * docs/manual/advanced-autoplugging.xml:
2652 * docs/manual/basics-helloworld.xml:
2653 * docs/manual/basics-pads.xml:
2654 * docs/manual/highlevel-components.xml:
2655 Avoid using a bad function in the example code.
2657 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2659 * gst/gstclock.c: (gst_clock_set_calibration):
2660 Fix debug of the new clock rate.
2662 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2664 * win32/common/libgstbase.def:
2665 Add gst_base_sink_wait_clock() to the exported symbols.
2667 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2669 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2671 * libs/gst/base/gstbasetransform.c:
2672 (gst_base_transform_sink_event):
2673 Unref events that the GstBaseTransform::event vfunc didn't want to
2674 have forwarded by the base class. Closes a leak in identity.
2677 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2679 * docs/libs/gstreamer-libs-sections.txt:
2680 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2681 * libs/gst/base/gstbasesink.h:
2682 Expose a method that was previously used internally to synchronize
2683 against the clock because it can be useful for subclasses too.
2684 API: GstBaseSink::gst_base_sink_wait_clock()
2686 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2688 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2689 Add sanity check to make sure we don't get smaller buffers
2690 than requested (and fallback to normal buffer alloc if we do).
2692 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2694 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2695 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2696 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2697 Refactor adjusting the running_time with latency and offset into a
2699 When doing clipping, we still want to use the subclass get_times method,
2700 just in case the DURATION or TIMESTAMP are not set.
2702 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2704 * docs/gst/gstreamer-sections.txt:
2705 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2706 * gst/gsttypefind.h:
2707 * win32/common/libgstreamer.def:
2708 API: add gst_type_find_suggest_simple(), #533740.
2710 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2712 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2713 Use right error code when typefinding fails, so we can use
2714 the default (translated) error messages.
2716 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2718 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2719 (gst_base_src_start):
2720 When the subclass did not set caps on outgoing buffers, configure the
2721 caps we negotiated on the source pad.
2722 When the typefind helper does not find caps, error out properly instead
2723 of doing things with NULL caps.
2725 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2727 * gst/gsttypefind.h:
2728 Tabs to spaces, oh yes!
2730 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2732 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2733 Add David's and Benjamin's tests for array intersection to the
2734 unit test suite (#147931).
2736 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2739 Document that gst_event_new_tag() and gst_event_new_navigation()
2740 take ownership of the taglist/structure passed to them. (#533635).
2742 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2745 Don't descend into the plugins dir if plugin docs building
2749 Add a note about the new type:GTypeName syntax for the plugin
2750 documentation .types file.
2752 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2754 * gst/gstmessage.c: (gst_message_new_error),
2755 (gst_message_new_warning), (gst_message_new_info):
2757 Mark the debug string parameters as const. Fixes bug #533490.
2759 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2761 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2762 Sort buffer cache list by end offsets. This makes sure that we don't
2763 stop to search for a cached buffer that contains the requested data
2765 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2766 more efficient. Fixes bug #459862.
2768 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2771 Explain why we copy the list.
2773 * gst/gstpipeline.c:
2777 Add one debug-log statement to help tracing probelms with linking pads.
2779 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2781 * tests/check/gst/gstinfo.c:
2782 Add a test for removing the default log handler. Seems to fail under
2785 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2787 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2788 Release pad lock before calling out to avoid a possible deadlock.
2790 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2792 * gst/parse/grammar.y:
2793 Remove unneeded value unset.
2795 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2796 Add unit test for de/serialization of caps.
2798 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2800 * plugins/elements/gstfakesink.c:
2801 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2802 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2803 (gst_fake_src_class_init):
2804 Use custom marshalers that take GstMiniObject as first parameter.
2805 Using OBJECT as parameter while a GstMiniObject is given will lead
2806 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2808 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2810 * plugins/elements/gsttypefindelement.c:
2811 (gst_type_find_element_handle_event),
2812 (gst_type_find_element_send_cached_events),
2813 (gst_type_find_element_change_state):
2814 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2817 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2819 * plugins/elements/gsttypefindelement.c:
2820 (gst_type_find_handle_src_query), (stop_typefinding),
2821 (gst_type_find_element_handle_event),
2822 (gst_type_find_element_send_cached_events),
2823 (gst_type_find_element_change_state):
2824 Forward FLUSH_START events immediately and clean up instead of
2827 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2829 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2831 * libs/gst/base/gstbasetransform.c:
2832 (gst_base_transform_buffer_alloc):
2833 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2834 fall back to default negotiation in the chain function if the caps
2835 are different from what was requested. Fixes bug #526768.
2837 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2840 * tests/check/gst/gstsegment.c:
2841 No, let's not use g_slice_{dup|copy} here, since they only exist
2842 since GLib 2.14 and we still depend only on >= 2.12. Also add
2843 unit test for gst_segment_copy().
2845 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2847 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2848 Try to fix 'dereferencing type-punned pointer will break strict
2849 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2850 changed the default GType typedef from gulong to gsize at some point,
2851 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2852 g_once_* functions all take a gsize * though, so work around the type
2853 mismatch for C++ by doing everything in gsize and casting to GType
2856 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2858 * plugins/elements/gstmultiqueue.c:
2859 Add documentation for the signals to push our core plugin docs
2860 coverage back up to 100%.
2862 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2864 * gst/gstinfo.h (GST_FUNCTION):
2865 Reverted GST_FUNCTION to the old version as we don't want the
2866 full signature in C++ code. Also added support for MSVC.
2868 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2871 Intern the type name string, similar to what G_DEFINE_TYPE does.
2873 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2876 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2878 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2880 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2882 * libs/gst/base/gstbasetransform.c:
2883 (gst_base_transform_buffer_alloc):
2884 Don't passthrough buffer allocation too easily if the caps change.
2885 This breaks when working in passthrough mode and upstream changes
2886 it's caps. Fixes bug #526768.
2888 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2890 * gst/gstinfo.c (gst_debug_log_valist):
2891 Improved the __FILE__ part of debug output for MSVC.
2893 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2895 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2896 Declaration after statement fix for compilers like MSVC.
2898 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2900 * win32/common/config.h.in:
2901 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2902 use the real thing than having "???" unconditionally.
2904 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2906 * gst/gstinfo.h (GST_FUNCTION):
2907 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2909 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2911 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2914 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2915 (gst_base_sink_set_flushing):
2916 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2919 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2921 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2922 (gst_fake_src_init), (gst_fake_src_set_property),
2923 (gst_fake_src_get_property), (gst_fake_src_start):
2924 * plugins/elements/gstfakesrc.h:
2925 Added format property to control the format of the newsegment events.
2926 API: GstFakeSrc:format
2928 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2930 * win32/common/libgstreamer.def:
2931 Add gst_pad_has_name() to the exported symbols.
2933 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2935 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2936 * libs/gst/base/gstbasetransform.c:
2937 (gst_base_transform_prepare_output_buffer):
2938 Don't allow negative sizes when allocating new buffers.
2941 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2943 Patch by: Sjoerd Simons <sjoerd at luon net>
2945 * gst/gstbus.c: (gst_bus_source_dispatch):
2946 Don't print a warning if the queue is empty when we try to pop
2947 here. That could happen if another thread or callback set the
2948 bus to flushing between the source's check/prepare and the
2949 dispatch being called (#531538).
2951 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2953 * plugins/elements/gstmultiqueue.c:
2956 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2958 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2959 Add unit test for deserializing uint64s and check some really large
2960 numbers in the int64 test.
2962 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2964 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2965 (print_interfaces), (print_element_properties_info),
2966 (print_signal_info):
2967 Use "%s" as format string instead of printing strings directly.
2969 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2971 * gst/gstclock.c: (gst_clock_set_calibration):
2972 Make some checks actually useful.
2974 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2975 Remove some unused code. Unsigned integers tend to be >= 0.
2977 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2979 * gst/gstminiobject.c: (gst_value_get_mini_object):
2980 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2981 function was not in the unscheduled 0.10.19 release.
2983 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2985 * gst/gstregistry.c: (gst_registry_scan_path_level):
2986 Only print one log message per non-plugin file.
2988 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2990 * gst/gstinfo.c: (gst_debug_log_default):
2991 Fix alignment of debug log columns on 64-bit.
2993 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2995 * docs/libs/Makefile.am:
2996 * docs/libs/gstreamer-libs-sections.txt:
2997 Ignore private controller headers for docs.
2999 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3001 * libs/gst/controller/gstcontrollerprivate.h:
3002 * libs/gst/controller/gsthelper.c:
3003 * libs/gst/controller/gstinterpolation.c:
3004 * libs/gst/controller/gstinterpolationcontrolsource.c:
3005 (gst_interpolation_control_source_set_interpolation_mode):
3006 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3007 * libs/gst/controller/lib.c:
3008 Move some private declarations into private headers.
3010 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3012 * gst/gstdebugutils.c: (debug_dump_element_pad):
3013 Remove some code that is unused after Stefan's refactoring and uses
3014 uninitialized variables now, resulting in a compiler warning.
3016 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3018 * gst/gstregistry.c: (gst_registry_scan_path_level):
3019 Run g_str_has_suffix() only on the file name, not the
3022 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3024 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3025 Since we're not called only from the chain function any longer,
3026 we can't assume that there's always data in the queue, so move
3027 the is_full check to the beginning of the loop (otherwise we'd
3028 hit the assert when changing the limit properties while the
3029 queue is empty or not running yet).
3030 Also, only set a discont if items were actually removed from
3033 * tests/check/elements/queue.c: (test_leaky_downstream):
3034 Test case for the above.
3036 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3038 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3040 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3041 (gst_queue_chain), (queue_capacity_change),
3042 (gst_queue_set_property):
3043 When changing thr max capacity of a leaky queue, immediatly drop buffers
3044 instead of waiting for a push on the sinkpad. Fixes #530637.
3046 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3048 * gst/gstdebugutils.c:
3049 Refactor code and fix handling of ghostpads and their proxypads.
3051 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3053 * docs/gst/gstreamer-sections.txt:
3054 * gst/gstevent.c: (gst_event_has_name):
3056 * tests/check/gst/gstevent.c: (GST_START_TEST):
3057 Add method to conveniently check the name of a custom event with
3058 gst_event_has_name().
3059 Reformat the event docs so that related methods are put together instead
3060 of the default alphabetical sort.
3061 Update unit test with new method.
3062 API: GstEvent::gst_event_has_name()
3064 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3066 * libs/gst/check/Makefile.am:
3067 Don't add an explicit link to libgstreamer-0.10.la; it's already
3068 included in GST_OBJ_LIBS.
3070 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3073 Register GstClock type from a type-safe context. Fixes bug #530317.
3075 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3077 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3079 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3081 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3083 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3085 Use the GLib stuff to create a private structure.
3086 Add some locking around some dispose methods to make them a little
3087 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3089 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3091 * libs/gst/base/gstbasesink.h:
3092 * libs/gst/base/gstbasesrc.h:
3093 * libs/gst/base/gstbasetransform.h:
3094 * libs/gst/base/gstcollectpads.h:
3095 Fix doc typos and unify caps a bit.
3097 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3099 * tools/gst-launch.1.in:
3100 Forgot to also add the envvar docs here.
3102 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3104 * gst/gst.c: (init_post), (gst_deinit):
3105 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3106 (test_concurrent_create), (gst_pipeline_suite):
3107 Ref some more classes in gst_init() to work around thread-safety
3108 issues in pre-2.16 GLibs, and add basic unit test.
3110 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3112 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3113 (gst_base_sink_send_event):
3114 Rearrange the latency query code. We always want to do the upstream
3115 query, even if we are not live so that the upstream elements can get the
3116 latency results too. If we fail doing the query and we are live, we
3117 return TRUE afterwards.
3119 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3121 patch by: Jason Zhao <e3423c@motorola.com>
3123 * docs/gst/running.xml:
3125 Enable/disable scan_and_update_registry() based on commandline switch
3126 or environment variable. Fixes #520468.
3129 Fix typo in my previous commit.
3131 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3133 * gst/gstregistrybinary.c:
3134 Add a warning if we hit unhandled factories when saving.
3135 More debug logging detail, but move to LOG category.
3137 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3139 * gst/gstregistry.c:
3140 Tell the *truth* when improving the documentation.
3142 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3144 * gst/gstelementfactory.c: (gst_element_factory_make):
3145 Unref the factory after it was used the last time, not before.
3147 * gst/gstindexfactory.c: (gst_index_factory_make):
3148 Improve debugging a bit and don't leak a ref to the index factory with
3151 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3153 * gst/gstregistry.c:
3154 Improve the documentation.
3156 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3159 The glib macro seems to be borked. Use g_slice_copy directly and cast
3160 in the hope that this fixes the warning on 64bit.
3162 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3165 Document the new function. Use g_slice_dup() (no need for
3166 gst_segment_init()).
3168 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3170 * docs/gst/gstreamer-sections.txt:
3171 Move GParamSepc macros to standart section.
3174 Dn't document _get_type - its in private section in docs anyway and
3175 this doc-blob was incomplete.
3178 Fix wrong symbol names in docs.
3181 Add once doc sentence.
3183 * tests/check/gst/.cvsignore:
3186 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3188 * docs/gst/Makefile.am:
3189 And remove those libs here.
3191 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3193 * docs/libs/Makefile.am:
3194 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3196 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3198 Patch by: Olivier Crete <tester at tester dot ca>
3200 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3201 Add the min-threshold to the min latency if possible. Fixes #529148.
3203 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3205 * docs/gst/gstreamer.types.in:
3206 Stupid editor, I removed that line as it should go in yet.
3208 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3210 * docs/gst/gstreamer.types.in:
3211 * docs/libs/gstreamer-libs.types:
3212 Remove library types fro core docs and have them in libs docs.
3213 Reformat and cleanup. Add comment for miniobject types.
3215 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3217 * gst/gsturi.c: (gst_uri_get_protocol):
3218 Fix leak: g_strdown operates on the string in place, while
3219 g_ascii_strdown() returns a newly-allocated string.
3221 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3223 * tools/gst-inspect.c: (print_uri_handler_info),
3224 (print_element_info):
3225 Print the URI protocols and the URI type supported by the element.
3227 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3229 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3230 Use g_value_take_string() instead of the deprecated
3231 g_value_set_string_take_ownership().
3233 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3235 * gst/gstregistrybinary.c: (_gst_crc32):
3236 Return the old CRC instead of 0 if we give a NULL buffer
3237 or a buffer with a length of 0.
3239 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3241 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3242 (gst_uri_get_protocol), (gst_uri_has_protocol),
3243 (gst_uri_construct), (gst_uri_handler_set_uri):
3244 A valid URI scheme can also include '+', '-' and '.' additional
3245 to alphanumeric characters as per RFC 3986 Section 3.1.
3247 Handle URI schemes case insensitive in all places and convert
3248 to lower-case when constructing an URI or setting an URI with
3249 the GstURIHandler interface. Fixes bug #528868.
3250 All elements can still assume (as before) that they will
3251 get passed URIs with a lower-case URI scheme by the GstURIHandler
3254 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3256 * gst/gstcaps.c: (gst_static_caps_get):
3257 * gst/gstclock.c: (gst_clock_entry_new):
3258 Don't use g_atomic_set_int where it's not needed.
3260 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3262 * gst/gstvalue.c: (gst_value_deserialize_caps):
3263 * gst/parse/grammar.y:
3266 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3268 * gst/gstutils.c: (gst_atomic_int_set):
3269 Use g_atomic_int_set() here too instead of assignment +
3272 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3276 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3277 now that we depend on new enough GLib.
3279 * gst/gstcaps.c: (gst_static_caps_get):
3280 * gst/gstclock.c: (gst_clock_entry_new):
3281 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3282 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3283 (gst_debug_category_set_threshold):
3284 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3285 (gst_base_sink_set_qos_enabled):
3286 * libs/gst/net/gstnettimeprovider.c:
3287 (gst_net_time_provider_set_property):
3288 Use g_atomic_int_set() instead of gst_atomic_int_set().
3290 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3293 Also use G_GINT64_CONSTANT for the queries.
3295 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3298 Use G_GINT64_CONSTANT in varargs function.
3300 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3302 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3303 Initialize the registry magic with zeroes.
3305 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3307 * gst/gstregistrybinary.c: (_gst_crc32),
3308 (gst_registry_binary_write),
3309 (gst_registry_binary_initialize_magic),
3310 (gst_registry_binary_write_cache),
3311 (gst_registry_binary_check_magic),
3312 (gst_registry_binary_read_cache):
3313 * gst/gstregistrybinary.h:
3314 Add crc32 checksum to the binary registry file and check this before
3315 accepting a registry file.
3317 Also free the data list when writing to the registry file fails.
3319 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3321 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3322 (gst_registry_binary_load_feature),
3323 (gst_registry_binary_load_plugin):
3324 If an element supports the Uri interface, returns a valid pointer
3325 to the supported URI protocols but this pointer contains nothing
3326 don't try to save that as it will corrupt the registry.
3328 Don't unref the plugin if we added it to the registry already but
3329 fail to load a feature as gst_registry_add_plugin() takes ownership
3332 Improve debugging a bit.
3334 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3337 Clarify some tag item docs after discussion on irc.
3339 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3341 * docs/gst/gstreamer-docs.sgml:
3342 Remove commented out plugins (they have their own docs). Update
3345 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3347 * docs/gst/gstreamer-docs.sgml:
3348 * docs/gst/gstreamer-sections.txt:
3349 * gst/gstparamspecs.c:
3350 * gst/gstparamspecs.h:
3351 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3352 docs to own section.
3355 This now only documents GValue.
3357 * docs/libs/gstreamer-libs-sections.txt:
3358 * libs/gst/controller/gstcontroller.h:
3359 Remove GST_PARAM_CONTROLLABLE.
3361 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3364 Correct file path. Tell about how to use -overrides.txt.
3365 * docs/design/draft-tagreading.txt:
3366 Small design update.
3368 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3370 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3371 (gst_registry_binary_load_plugin):
3372 Fix a typo in a debug message and revert change from yesterday as
3373 gst_registry_add_plugin() will only fail if something is really wrong
3374 already and we can't survive it anyway.
3376 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3378 * gst/gst.c: (init_post), (gst_deinit):
3379 Pre-register GstGError GType from a thread-safe context
3380 (fixes #527967); unref enum type classes in deinit.
3382 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3384 Patch by: Rene Stadler <mail at renestadler de>
3386 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3387 Merging an empty list with another list in KEEP_ALL mode should
3388 yield an empty list as result and not the second list (#512578).
3390 * tests/check/gst/gsttagsetter.c:
3391 Add unit test for tag merge modes and the aforementioned bug.
3393 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3395 Patch by: Rene Stadler <mail at renestadler de>
3398 Fix description to match the order in the table (#512577).
3400 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3402 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3404 * libs/gst/net/gstnettimepacket.h:
3405 * docs/libs/gstreamer-libs-sections.txt:
3406 Define socklen_t as int if it's not defined yet. Fixes compilation
3407 with MSVC6 and other versions where socklen_t is not defined in
3408 the windows headers (#518022).
3410 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3412 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3413 If gst_registry_add_plugin() fails our reference to the plugin is
3414 invalid so don't try to use it anymore and instead error out.
3416 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3418 * tools/gst-xmlinspect.c: (print_element_info), (main):
3419 De-cruft a bit. If no argument is specified, print all elements in
3420 XML syntax rather than a freestyle list of elements like gst-inspect.
3421 Also, don't print XML header chunk unless we actually have something
3422 to print (ie. don't print it before an error message); print error
3423 message to stderr not stdout. Remove support for printing plugin
3424 info (it would just output something freestyle along the lines of
3425 gst-inspect so far), which fixes #514507. Also add license header.
3427 2008-04-11 Julien Moutte <julien@fluendo.com>
3430 * configure.ac: Merge platform specific defines, introduce a new
3431 define on OS X to remember that forking when updating registry is
3433 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3435 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3437 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3438 condition that leads to absolutely no plugins being registered on
3441 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3443 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3445 * gst/gstutils.c: (gst_pad_add_data_probe),
3446 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3447 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3448 (gst_pad_add_buffer_probe_full):
3450 * docs/gst/gstreamer-sections.txt:
3451 * win32/common/libgstreamer.def:
3452 Add gst_pad_add_*_probe_full() functions with a notify callback that
3453 lets the caller free the data it passes to the probe functions. This
3454 is useful for bindings such as gst-python or gstreamermm (#526814).
3455 API: gst_pad_add_data_probe_full
3456 API: gst_pad_add_buffer_probe_full
3457 API: gst_pad_add_event_probe_full
3459 * tests/check/gst/gstutils.c:
3460 Add minimal unit test to make sure freeing the data actually works
3463 * tests/benchmarks/.cvsignore:
3464 Random cvsignore addendum.
3466 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3468 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3469 (GST_DEBUG_BIN_TO_DOT_FILE):
3470 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3471 to it in the docs (since these are macros the types of the arguments
3472 won't be shown in the docs otherwise).
3474 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3477 Do not abort on out of memory for pad_alloc_buffer.
3479 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3481 * libs/gst/check/gstcheck.c:
3482 Remove blank line between symbol name ad parameters to fix gtkdoc
3485 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3487 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3489 * docs/gst/gstreamer-sections.txt:
3492 * win32/common/libgstreamer.def:
3493 Expose gst_segment_copy() to make things easier for the c++ bindings.
3495 API: gst_segment_copy()
3497 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3499 * gst/gst.c: (gst_init_get_option_group), (init_post):
3500 Fix const position; ref GType classes for enum types to work
3501 around thread-safety issues in GLib versions < 2.16.
3503 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3505 * docs/design/part-buffering.txt:
3506 Fix some typos and set the estimated total for push mode to -1.
3508 * gst/gstquery.c: (gst_query_new_buffering):
3509 Set buffering-left to 0 as we're not buffering by default.
3511 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3512 Implement BUFFERING query.
3514 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3516 Based on patch by: Milosz Derezynski <internalerror gmail com>
3518 * gst/gsterror.c: (_gst_stream_errors_init):
3520 Add two new error codes for encrypted content. Fixes #524659.
3521 API: GST_STREAM_ERROR_DECRYPT
3522 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3524 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3529 * win32/common/libgstreamer.def:
3532 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3534 * plugins/elements/gstidentity.c: (gst_identity_event),
3535 (gst_identity_start):
3536 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3537 event after processing some data. Fixes bug #526042.
3539 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3541 * docs/gst/gstreamer-sections.txt:
3542 * gst/gstquery.c: (gst_query_parse_latency),
3543 (gst_query_set_buffering_percent),
3544 (gst_query_parse_buffering_percent),
3545 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3547 Rename _avail -> _range
3548 API: gst_query_set_buffering_range
3549 API: gst_query_parse_buffering_range
3551 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3553 * docs/design/part-buffering.txt:
3556 * gst/gstquery.c: (gst_query_parse_latency),
3557 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3558 (gst_query_parse_buffering_percent):
3560 Add busy field and quark for the buffering query so that the app can
3561 only use the query to see if buffering is in progress.
3563 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3565 * docs/gst/gstreamer-sections.txt:
3566 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3567 (gst_message_parse_buffering_stats):
3569 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3570 (gst_query_parse_latency), (gst_query_new_buffering),
3571 (gst_query_set_buffering_percent),
3572 (gst_query_parse_buffering_percent),
3573 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3574 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3576 Reorder the message docs and headers for clarity.
3577 Add aditional buffering stats API for messages.
3578 Add buffering query.
3579 Convert some leftover queries to use GstQuark.
3580 API: gst_message_set_buffering_stats
3581 API: gst_message_parse_buffering_stats
3582 API: GST_QUERY_BUFFERING
3583 API: GstBufferingMode
3584 API: gst_query_new_buffering
3585 API: gst_query_set_buffering_percent
3586 API: gst_query_parse_buffering_percent
3587 API: gst_query_set_buffering_stats
3588 API: gst_query_parse_buffering_stats
3590 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3592 * gst/gstmessage.c: (gst_message_new_error),
3593 (gst_message_new_warning), (gst_message_new_info),
3594 (gst_message_new_buffering), (gst_message_new_state_changed),
3595 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3596 (gst_message_new_new_clock), (gst_message_new_segment_start),
3597 (gst_message_new_segment_done), (gst_message_new_duration),
3598 (gst_message_new_async_start), (gst_message_parse_buffering),
3599 (gst_message_parse_state_changed),
3600 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3601 (gst_message_parse_new_clock), (gst_message_parse_error),
3602 (gst_message_parse_warning), (gst_message_parse_info),
3603 (gst_message_parse_segment_start),
3604 (gst_message_parse_segment_done), (gst_message_parse_duration),
3605 (gst_message_parse_async_start):
3606 Use GstQuark for messages.
3608 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3610 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3612 Add some more quarks needed for messages and queries.
3614 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3616 * docs/design/part-buffering.txt:
3617 Remove the "none" buffering mode, STREAM is a good default.
3618 Move estimated-time to the avail query, that's when it will be needed.
3619 Other small typo fixes and updates.
3621 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3623 * gst/gstindex.c: (gst_index_resolver_get_type):
3624 Don't put descriptions into the nick field of a GEnumValue: it's not
3625 meant for that and some language bindings rely on the nick field to
3626 construct constants and the like. Fixes #526705.
3628 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3633 Merge other changes from 0.10.19 release branch.
3635 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3637 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3640 Actually build dlls when cross-compiling with mingw32.
3643 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3645 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3648 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3650 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3652 * docs/design/draft-latency.txt:
3655 * docs/design/part-buffering.txt:
3656 Update design docs with more buffering ideas.
3658 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3661 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3663 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3666 Revert part that belongs to the preset patch.
3668 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3671 Add qoutes to the define. Fixes # 525961.
3673 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3675 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3676 (gst_file_index_load), (gst_file_index_add_id),
3677 (gst_file_index_get_assoc_entry):
3678 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3679 (gst_mem_index_free_id), (gst_mem_index_add_id),
3680 (gst_mem_index_index_format):
3681 Use GSlice when possible.
3683 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3685 * libs/gst/controller/gstinterpolationcontrolsource.c:
3686 (gst_control_point_free),
3687 (gst_interpolation_control_source_set_internal):
3688 Use GSlice for allocating the control points.
3690 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3692 * plugins/elements/gsttypefindelement.c:
3693 (gst_type_find_element_class_init),
3694 (gst_type_find_element_set_property),
3695 (gst_type_find_element_get_property),
3696 (gst_type_find_element_activate):
3697 * plugins/elements/gsttypefindelement.h:
3699 Fix pad leak when peer query fails.
3700 We can still typefind when the peer returns -1.
3701 Add property to force caps and bypass typefinding. This will be used in
3705 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3710 * gst/glib-compat-private.h:
3711 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3712 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3713 Unconditionally use GSlice for allocation.
3715 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3716 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3717 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3718 (gst_structure_free):
3719 Use GSlice for allocation.
3721 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3723 * gst/parse/Makefile.am:
3724 * gst/parse/grammar.tab.pre.c:
3725 * gst/parse/grammar.tab.pre.h:
3726 * gst/parse/lex._gst_parse_yy.pre.c:
3727 Require a new enough flex and bison and remove the parser hacks to use
3728 a pre-regenerated version.
3730 2008-04-01 Julien Moutte <julien@fluendo.com>
3732 patch by: Jason Zhao <E3423C@motorola.com>
3734 * configure.ac: Add a configure switch to disable option parsing
3738 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3741 * gst/gstregistry.c:
3742 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3743 and handle this case.
3746 Add a comment here describing, why we stat each plugin and not try to
3749 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3751 * libs/gst/base/gstbasetransform.c:
3752 (gst_base_transform_prepare_output_buffer):
3753 Also unset the GAP flag on buffers if we're working inplace but
3754 the element is not GAP-aware.
3756 Mark a comment as FIXME 0.11.
3758 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3761 Fix type in log message and add one to ease seeing how long registry
3762 cache verification takes.
3764 * gst/gstregistry.c:
3765 Only test plugin filenames against G_MODULE_SUFFIX.
3767 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3769 * gst/gstdebugutils.c:
3770 Improve handling ghost/proxy pads.
3772 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3774 * docs/gst/gstreamer-sections.txt:
3777 Expose macro to docs and fix link to it.
3779 2008-03-27 Michael Smith <msmith@fluendo.com>
3781 * libs/gst/dataprotocol/dataprotocol.c:
3782 (gst_dp_packet_from_event_1_0):
3783 When calculating GDP body CRC, use the correct pointer.
3784 Fixes part of #522401.
3786 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3788 Patch by: Mark Nauwelaerts <manauw at skynet be>
3790 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3791 (gst_identity_init), (gst_identity_prepare_output_buffer):
3792 Identity is not always a passthrough element, it can modify the buffer
3793 timestamps when it has a datarate and operates in single-segment mode.
3794 We therefore make it an in_place filter with a custom buffer prepare
3795 function that conditionally makes the input buffer metadata writable
3796 when needed. Fixes #523985.
3798 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3800 Patch by: Mark Nauwelaerts <manauw at skynet be>
3803 * libs/gst/base/gstbasesrc.h:
3804 * libs/gst/base/gstbasetransform.c:
3805 * libs/gst/check/gstcheck.c:
3806 Small documentation fixes. Fixes #523978.
3808 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3810 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3811 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3812 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3814 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3816 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3817 (single_queue_underrun_cb):
3818 When trying to make room in the queue, bump the max allowed buffers
3819 bigger than the current amount of buffers in the queue. this fixes some
3820 nasty deadlocks in multiqueue when dynamically changing the limits of
3823 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3825 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3827 * gst/gstcaps.c: (gst_caps_set_simple),
3828 (gst_caps_set_simple_valist), (gst_caps_intersect):
3830 Constify the field gchar * params in set_simple and friends.
3833 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3835 * gst/gstvalue.c: (gst_value_transform_object_string):
3836 Transform a GstObject to a more meaningfull string that includes the
3837 object type in addition to its name.
3839 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3842 ChangeLog surgery to add bugnumber to commit.
3844 2008-03-23 Rene Stadler <mail@renestadler.de>
3846 * libs/gst/base/gstbasetransform.c:
3847 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3849 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3851 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3852 Rename constant everywhere and don't forget one occurence.
3854 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3856 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3857 Align memory to the pointer size even if the architecture allows
3858 unaligned memory access. Unaligned memory access usually comes with
3859 performance penality.
3861 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3863 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3864 (gst_registry_binary_check_magic),
3865 (gst_registry_binary_load_pad_template),
3866 (gst_registry_binary_load_feature),
3867 (gst_registry_binary_load_plugin):
3868 Align memory to the pointer size instead of always 32 bit. Fixes
3869 unaligned memory accesses on ia64 and friends.
3871 * gst/gstregistrybinary.h:
3872 Bump binary registry format version for this as it changes the
3873 format on those architectures that don't have unaligned access
3874 and 64 bit pointers.
3876 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3878 * docs/pwg/advanced-dparams.xml:
3879 * docs/pwg/building-props.xml:
3880 * docs/pwg/other-source.xml:
3881 * gst/glib-compat.h:
3882 * gst/gstbin.c: (gst_bin_class_init):
3883 * gst/gstclock.c: (gst_clock_class_init):
3884 * gst/gstindex.c: (gst_index_class_init):
3885 * gst/gstobject.c: (gst_object_class_init):
3886 * gst/gstpad.c: (gst_pad_class_init):
3887 * gst/gstpipeline.c: (gst_pipeline_class_init):
3888 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3889 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3890 * libs/gst/base/gstbasetransform.c:
3891 (gst_base_transform_class_init):
3892 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3893 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3894 (_gst_check_fault_handler_sighandler),
3895 (_gst_check_fault_handler_setup), (gst_check_init):
3896 * libs/gst/controller/gstcontroller.c:
3897 (_gst_controller_class_init):
3898 * libs/gst/controller/gstlfocontrolsource.c:
3899 (gst_lfo_control_source_class_init):
3900 * libs/gst/net/gstnetclientclock.c:
3901 (gst_net_client_clock_class_init):
3902 * libs/gst/net/gstnettimeprovider.c:
3903 (gst_net_time_provider_class_init):
3904 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3905 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3906 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3907 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3908 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3909 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3910 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3911 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3912 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3913 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3914 * plugins/elements/gsttee.c: (gst_tee_class_init):
3915 * plugins/elements/gsttypefindelement.c:
3916 (gst_type_find_element_class_init):
3917 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3918 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3919 use it everywhere for GParamSpecs that use static strings (i.e. all).
3920 This gives us less memory usage, fewer allocations and thus less
3921 memory defragmentation. Fixes bug #523806.
3923 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3925 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3926 (gst_param_spec_mini_object):
3927 * gst/gstminiobject.h:
3928 * win32/common/libgstreamer.def:
3929 * docs/gst/gstreamer-sections.txt:
3930 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3931 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3932 GstParamSpecMiniObject into a public header for this.
3934 This make GstMiniObject a bit more consistent with GObject and makes
3935 it possible to extend the param specs.
3937 gst_value_dup_mini_object is mainly useful for set_property methods.
3941 * tools/gst-inspect.c: (print_element_properties_info):
3942 Print something useful for GstMiniObject properties and not just
3945 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3947 * docs/gst/gstreamer-sections.txt:
3948 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3949 (gst_registry_binary_check_magic):
3950 * gst/gstregistrybinary.h:
3951 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3952 and add it to the (private part) of the docs to fix the build.
3954 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3956 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3957 (gst_registry_binary_check_magic),
3958 (gst_registry_binary_read_cache):
3959 * gst/gstregistrybinary.h:
3960 Don't use GST_MAJORMINOR for the binary registry version. Instead
3961 hardcode a value that must be changed whenever the format changes
3962 in an incompatible way.
3963 Also don't GST_ERROR when there is a version mismatch, just
3964 regenerate the registry silently.
3966 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3969 Back to development - 0.10.18.1
3971 === release 0.10.18 ===
3973 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3976 releasing 0.10.18, "So far away"
3978 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3981 * win32/common/config.h:
3982 0.10.17.4 pre-release
3984 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3986 Patch by: Ole André Vadla Ravnås
3987 <ole dot andre dot ravnas at tandberg dot com>
3989 * docs/gst/gstreamer-sections.txt:
3990 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3991 (gst_poll_update_winsock_event_mask),
3992 (gst_poll_prepare_winsock_active_sets),
3993 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3994 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3995 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3996 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3997 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3999 * win32/common/libgstreamer.def:
4000 Add new function gst_poll_fd_ignored() for improved Windows
4002 Various minor fixes and cleanups. See #520808.
4004 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4006 * gst/gstindex.c: (gst_index_entry_free):
4008 Don't free key strings which we don't own. Fixes crash in
4009 gst_index_entry_free() (#522741).
4011 * tests/check/Makefile.am:
4012 * tests/check/gst/.cvsignore:
4013 * tests/check/gst/gstindex.c: (test_index_entries),
4014 (gst_index_suite), (gst_index):
4015 Add unit test for the above.
4017 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4019 * win32/common/libgstreamer.def:
4020 Remove symbols that were removed recently. Fixes bug #521740.
4022 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4025 * win32/common/config.h:
4026 0.10.17.3 pre-release
4028 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4030 Patch by: Ole André Vadla Ravnås
4031 <ole dot andre dot ravnas at tandberg dot com>
4033 * docs/gst/gstreamer-sections.txt:
4034 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4035 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4036 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4037 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4038 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4039 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4040 (gst_poll_fd_can_write), (gst_poll_wait),
4041 (gst_poll_set_controllable), (gst_poll_restart),
4042 (gst_poll_set_flushing):
4044 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4045 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4046 (gst_net_time_provider_new):
4047 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4048 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4049 * tests/benchmarks/gstpollstress.c: (main):
4050 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4051 Remove GstPollMode from the API, it does not make sense to let the
4052 application control this.
4053 Add support for Win32.
4054 Fix the testsuite. Fixes #520671.
4056 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4058 Patch by: Ole André Vadla Ravnås
4059 <ole dot andre dot ravnas at tandberg dot com>
4061 * gst/gstregistrybinary.c:
4062 Include io.h for write() and close() when building with MSVC. Fixes
4065 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4068 * gst/gst_private.h:
4069 * gst/gstconfig.h.in:
4070 * gst/gstregistry.h:
4071 * gst/gstregistrybinary.c:
4072 * win32/common/gstconfig.h:
4073 Move registry backend API to private headers where we can. Add
4074 fixme-0.11 comments for the others. Add stubs for the xml backend when
4075 using the binary to ensure they functions exists (they should not be
4076 used though). Fixes #520756.
4078 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4081 * win32/common/config.h:
4084 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4086 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4087 (gst_registry_binary_read_cache):
4088 * gst/gstregistryxml.c: (gst_registry_save):
4089 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4090 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4091 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4092 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4093 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4096 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4098 * gst/gstminiobject.c:
4099 Import gst_private.h before any other header that might include other
4100 glib headers. This fixes the build on windows using native compilers.
4102 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4104 * win32/common/gstconfig.h:
4105 Add here too, just for completeness.
4107 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4110 * gst/gstconfig.h.in:
4111 * gst/gstregistry.h:
4112 Fix broken use of config.h-defined preprocessor directive in a public
4113 header file. Add a corresponding define to gstconfig.h, since we can't
4114 really remove those function declarations from the header file now
4115 (or can we? and why are they there in the first place?).
4117 2008-03-03 Andy Wingo <wingo@pobox.com>
4119 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4122 * gst/gststructure.c (gst_structure_from_string): Warn if
4123 structure_from_string didn't consume the whole string, but the
4124 caller did not provide an end pointer.
4126 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4128 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4130 * gst/gstregistryxml.c: (read_string), (load_feature):
4131 Strings allocated by libxml2 should be freed with xmlFree(), not
4132 with g_free(). Fixes issues on windows in certain contexts (#519698).
4134 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4136 * gst/gstinterface.c: (gst_element_implements_interface):
4137 Don't crash if the element supports the interface queried, but does
4138 not implement GstImplementsInterface. Fixes #519584.
4140 * tests/check/Makefile.am:
4141 * tests/check/gst/.cvsignore:
4142 * tests/check/gst/gstinterface.c:
4143 Add unit test for the above.
4145 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4147 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4150 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4152 * gst/gstsegment.c: (gst_segment_set_seek),
4153 (gst_segment_to_stream_time):
4154 Improve some comment.
4155 Update variables where it makes more sense.
4157 2008-02-29 Rene Stadler <mail@renestadler.de>
4159 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4160 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4161 URIHandlers implemented using language bindings.
4163 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4165 * gst/gstelementfactory.h:
4166 * tests/check/elements/fakesink.c:
4167 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4168 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4169 * tests/check/elements/filesink.c: (setup_filesink):
4170 * tests/check/elements/filesrc.c: (setup_filesrc):
4171 * tests/check/elements/identity.c: (setup_identity):
4172 * tests/check/elements/tee.c:
4173 * tests/check/generic/sinks.c:
4174 * tests/check/generic/states.c: (setup), (teardown):
4175 * tests/check/gst/gst.c:
4176 * tests/check/gst/gstabi.c:
4177 * tests/check/gst/gstbin.c:
4178 * tests/check/gst/gstbus.c: (pull_messages):
4179 * tests/check/gst/gstcaps.c:
4180 * tests/check/gst/gstelement.c:
4181 * tests/check/gst/gstevent.c:
4182 * tests/check/gst/gstghostpad.c:
4183 * tests/check/gst/gstiterator.c:
4184 * tests/check/gst/gstmessage.c:
4185 * tests/check/gst/gstminiobject.c: (my_foo_init):
4186 * tests/check/gst/gstobject.c: (thread_name_object),
4188 * tests/check/gst/gstpad.c:
4189 * tests/check/gst/gstplugin.c:
4190 * tests/check/gst/gstpoll.c:
4191 * tests/check/gst/gstquery.c:
4192 * tests/check/gst/gstsegment.c:
4193 * tests/check/gst/gststructure.c:
4194 * tests/check/gst/gstsystemclock.c:
4195 * tests/check/gst/gsttask.c:
4196 * tests/check/gst/gstutils.c:
4197 * tests/check/gst/gstvalue.c:
4198 * tests/check/gst/struct_hppa.h:
4199 * tests/check/gst/struct_i386.h:
4200 * tests/check/gst/struct_ppc32.h:
4201 * tests/check/gst/struct_ppc64.h:
4202 * tests/check/gst/struct_x86_64.h:
4203 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4204 * tests/check/libs/basesrc.c:
4205 * tests/check/libs/controller.c: (GST_START_TEST):
4206 * tests/check/libs/gdp.c:
4207 * tests/check/libs/gstnetclientclock.c:
4208 * tests/check/libs/gstnettimeprovider.c:
4209 * tests/check/libs/libsabi.c:
4210 * tests/check/libs/struct_hppa.h:
4211 * tests/check/libs/struct_i386.h:
4212 * tests/check/libs/struct_ppc32.h:
4213 * tests/check/libs/struct_ppc64.h:
4214 * tests/check/libs/struct_x86_64.h:
4215 * tests/check/pipelines/cleanup.c:
4216 * tests/check/pipelines/simple-launch-lines.c:
4217 * tests/check/pipelines/stress.c:
4218 And correct even more valid sparse warnings.
4220 * win32/common/libgstreamer.def:
4221 Add gst_poll_fd_init to the list of symbols.
4223 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4225 * gst/gstconfig.h.in:
4226 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4227 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4228 (gst_check_log_critical_func), (gst_check_drop_buffers),
4229 (gst_check_element_push_buffer_list):
4230 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4231 (gst_controller_get_type):
4232 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4233 (gst_object_get_controller), (gst_object_get_control_source):
4234 * libs/gst/controller/gstinterpolationcontrolsource.c:
4235 (gst_interpolation_control_source_new):
4236 * libs/gst/controller/gstlfocontrolsource.c:
4237 (gst_lfo_control_source_new):
4238 * libs/gst/dataprotocol/dataprotocol.c:
4239 (gst_dp_event_from_packet_0_2):
4240 * plugins/elements/gstfdsrc.c:
4241 * plugins/elements/gstmultiqueue.c:
4242 * plugins/elements/gsttee.c:
4243 * plugins/elements/gsttypefindelement.c:
4244 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4245 (gst_file_index_add_association):
4246 * plugins/indexers/gstmemindex.c:
4247 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4248 * tests/check/elements/queue.c: (setup_queue):
4249 * tests/check/gst/gstpipeline.c:
4250 * tests/check/libs/collectpads.c: (setup), (teardown),
4251 (gst_collect_pads_suite):
4252 * tests/examples/adapter/adapter_test.c:
4253 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4254 * tests/examples/xml/createxml.c:
4255 * tests/examples/xml/runxml.c:
4256 * tools/gst-inspect.c:
4258 Correct all relevant warnings found by the sparse semantic code
4259 analyzer. This include marking several symbols static, using
4260 NULL instead of 0 for pointers, not using variable sized arrays
4261 on the stack, moving variable declarations to the beginning of
4262 a block and using "foo (void)" instead of "foo ()" for declarations.
4264 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4266 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4267 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4268 Don't reset GstPollFDs, this is not necessary at all.
4270 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4271 (delayed_restart), (delayed_control):
4272 Use GST_POLL_FD_INIT.
4274 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4276 * gst/gstpoll.c: (gst_poll_fd_init):
4280 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4281 Use some more init macros.
4283 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4285 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4286 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4287 Use init macros and functions.
4289 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4291 * docs/gst/gstreamer-sections.txt:
4292 * gst/gstpoll.c: (gst_poll_fd_init):
4294 Add INIT macro and _init method for initializing the GstPollFD.
4296 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4298 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4299 (gst_fd_sink_update_fd):
4300 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4301 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4302 (delayed_restart), (delayed_control):
4303 Initialize some uninitialized variables as spotted by valgrind.
4305 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4307 * tests/benchmarks/Makefile.am:
4308 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4310 Add poll stress test.
4312 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4314 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4316 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4317 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4318 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4319 * plugins/elements/gstfdsink.h:
4320 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4321 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4322 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4323 (gst_fd_src_uri_set_uri):
4324 * plugins/elements/gstfdsrc.h:
4325 Port to GstPoll. See #505417.
4327 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4329 * win32/common/libgstreamer.def:
4330 Add new gst_poll_ symbols to win32 defs.
4332 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4334 * docs/libs/gstreamer-libs-sections.txt:
4335 * libs/gst/net/gstnetclientclock.c:
4336 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4337 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4338 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4339 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4340 * libs/gst/net/gstnetclientclock.h:
4341 * libs/gst/net/gstnettimeprovider.c:
4342 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4343 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4344 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4345 (gst_net_time_provider_new):
4346 * libs/gst/net/gstnettimeprovider.h:
4347 Use a private stuct to not break ABI.
4349 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4351 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4353 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4354 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4355 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4356 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4357 * libs/gst/net/gstnetclientclock.h:
4358 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4359 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4360 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4361 (gst_net_time_provider_new):
4362 * libs/gst/net/gstnettimeprovider.h:
4363 Massive code removal and cleanups because of GstPoll.
4366 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4369 Add checks for poll, ppoll and pselect.
4371 * docs/gst/gstreamer-docs.sgml:
4372 * docs/gst/gstreamer-sections.txt:
4373 Add docs for GstPoll.
4377 * gst/gstpoll.c: (find_index), (selectable_fds),
4378 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4379 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4380 (gst_poll_set_mode), (gst_poll_get_mode),
4381 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4382 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4383 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4384 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4385 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4386 (gst_poll_fd_can_write), (gst_poll_wait),
4387 (gst_poll_set_controllable), (gst_poll_restart),
4388 (gst_poll_set_flushing):
4390 Add generic poll abstraction. We ideally don't want to have this in core
4391 here but in glib intead...
4392 This code will be used in various network elements and ultimately for
4393 the nanosecond precision monotonic clock (that's why it's here in core).
4394 It'll allow us to implement cancelable socket operations for windows too.
4396 * tests/check/Makefile.am:
4397 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4398 (delayed_stop), (delayed_restart), (delayed_flush),
4399 (delayed_control), (gst_poll_suite):
4400 Add GstPoll unit test.
4402 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4405 Improve documentation of gst_filter_run(). Fixes #518627.
4407 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4410 Add a few lines about the new 'check-inspected-versions' target.
4412 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4414 * tests/check/gst/gstevent.c:
4415 Add qos to the event test. Rename tcase/tsuite; is not only about
4418 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4420 * plugins/elements/gstqueue.c:
4421 Ensure that buffer metadata is writeable, before modifying. Spotted by
4424 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4426 * plugins/elements/gstqueue.c:
4427 * plugins/elements/gstqueue.h:
4428 When dropping buffers in leaky modes, mark next buffers we sent as
4431 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4433 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4434 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4436 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4438 * plugins/elements/Makefile.am:
4439 * plugins/elements/gstbufferstore.c:
4440 * plugins/elements/gstbufferstore.h:
4441 * plugins/elements/gsttypefindelement.h:
4442 Remove GstBufferStore, no idea why we were still building it.
4443 It's not used anywhere and superseded by GstAdapter.
4445 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4446 (gst_file_src_create_mmap):
4447 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4448 Printf format fixes for 64-bit integers.
4450 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4453 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4454 We're not in 0.8 times anymore.
4456 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4458 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4459 (gst_check_element_push_buffer_list):
4460 * libs/gst/check/gstcheck.h:
4461 Make the declaration in the header for
4462 gst_check_element_push_buffer_list match the implementation.
4464 Fix up spelling, grammar and wording of the documentation in a few
4465 places, and add the Since keyword to new API functions.
4466 Use g_list_delete_link instead of g_list_remove in
4467 gst_check_drop_buffers, since it's immeasurably more efficient.
4469 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4470 Use new gst_check_drop_buffers function where appropriate.
4472 * win32/common/libgstbase.def:
4473 * win32/common/libgstreamer.def:
4474 Add new symbols gst_collect_pads_take_buffer,
4475 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4478 Changelog surgery to add API keyword to new gst_check API.
4480 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4482 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4483 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4484 Update pre-generated flex files with flex 2.3.34.
4486 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4488 * gst/gstminiobject.c:
4489 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4490 friendly to subclasses and not require them to know all internals
4491 of their parent class.
4493 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4495 * docs/libs/gstreamer-libs-sections.txt:
4496 * libs/gst/base/gstcollectpads.c:
4497 * libs/gst/base/gstcollectpads.h:
4498 Add sub-buffer functions to collectpads. Fixes #516187.
4499 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4501 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4504 Copy selected buffer-flags when creating subbuffers.
4507 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4509 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4510 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4511 * gst/gstmessage.c: (gst_message_class_init),
4512 (gst_message_finalize):
4513 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4514 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4515 (gst_mmap_buffer_finalize):
4516 Properly chain up finalize functions to the parent class.
4518 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4520 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4522 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4523 (gst_index_set_resolver_full):
4525 Add new function with option to dispose of user_data in resolver.
4526 Actually call the dispose function when finalizing the object and not
4527 just when changing the resolver/filter.
4528 API: GstIndex::gst_index_set_resolver_full()
4530 * docs/gst/gstreamer-sections.txt:
4531 Add new function to docs. Fixes #515469.
4533 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4535 * gst/gstindex.c: (gst_index_finalize):
4536 Chain up finalize to the parent class. Fixes leaking the GstObject
4537 name and other things.
4539 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4542 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4543 pre-releases or releases.
4545 * docs/faq/gst-uninstalled:
4548 * docs/random/release:
4549 Change one of the steps - we only upload core & base to Gnome FTP
4551 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4553 * gst/gstconfig.h.in:
4554 Add 'id' for example.
4558 * plugins/elements/gstfdsink.c:
4559 Link to signals. Doc and comment fixes.
4561 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4563 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4564 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4565 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4566 unused and unimplemented; finally, it is plugin features, not
4567 plugins, that have ranks.
4569 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4571 * gst/gstpluginfeature.h:
4572 Clarify GstRank range docs.
4574 2008-02-05 David Schleef <ds@schleef.org>
4576 * gst/gst.c: Add a separate gst_deinitialized that prevents
4577 gst_init() from being called after gst_deinit(). Fixes #509559
4579 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4581 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4582 (gst_bin_class_init):
4583 * gst/gstelement.c: (gst_element_base_class_init),
4584 (gst_element_class_add_pad_template):
4585 * gst/gstpadtemplate.c: (gst_pad_template_init):
4586 * gst/gstpipeline.c: (gst_pipeline_get_type),
4587 (gst_pipeline_base_init), (gst_pipeline_class_init):
4588 * libs/gst/base/gstbasesink.c:
4589 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4590 (gst_base_src_base_init), (gst_base_src_class_init):
4591 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4592 (gst_capsfilter_class_init):
4593 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4594 (gst_fake_sink_class_init):
4595 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4596 (gst_fake_src_class_init):
4597 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4598 (gst_fd_sink_class_init):
4599 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4600 (gst_fd_src_class_init):
4601 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4602 (gst_file_sink_class_init):
4603 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4604 (gst_file_src_class_init):
4605 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4606 (gst_identity_class_init):
4607 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4608 (gst_multi_queue_class_init):
4609 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4610 (gst_queue_class_init):
4611 * plugins/elements/gsttee.c: (gst_tee_base_init),
4612 (gst_tee_class_init):
4613 * plugins/elements/gsttypefindelement.c:
4614 (gst_type_find_element_base_init),
4615 (gst_type_find_element_class_init):
4616 * tests/check/gst/gstelement.c: (gst_element_suite):
4617 Revert previous changes to the behaviour of GstPadTemplates, etc
4618 and the possiblity to call them in class_init as it breaks too
4619 many elements. Reopens bug #491501.
4621 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4624 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4626 * tools/gst-launch.c:
4627 Dump one graph per pipeline state-change and state change name
4628 (if GST_DEBUG_DUMP_DOT_DIR is set).
4630 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4633 * tests/check/gst/gstpad.c:
4634 Be sure that we have a new copy of the caps and not
4635 reffed caps from a template
4637 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4639 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4640 * gst/gstpipeline.c: (gst_pipeline_get_type),
4641 (gst_pipeline_class_init):
4642 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4643 (gst_base_sink_class_init):
4644 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4645 (gst_base_src_class_init):
4646 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4647 (gst_base_transform_class_init):
4648 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4649 (gst_collect_pads_class_init):
4650 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4651 * libs/gst/net/gstnettimeprovider.c:
4652 (gst_net_time_provider_base_init),
4653 (gst_net_time_provider_class_init):
4654 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4655 (gst_capsfilter_class_init):
4656 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4657 (gst_fake_sink_class_init):
4658 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4659 (gst_fake_src_class_init):
4660 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4661 (gst_fd_sink_class_init):
4662 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4663 (gst_fd_src_class_init):
4664 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4665 (gst_file_sink_class_init):
4666 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4667 (gst_file_src_class_init):
4668 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4669 (gst_identity_class_init):
4670 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4671 (gst_multi_queue_class_init):
4672 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4673 (gst_queue_class_init):
4674 * plugins/elements/gsttee.c: (gst_tee_base_init),
4675 (gst_tee_class_init):
4676 * plugins/elements/gsttypefindelement.c:
4677 (gst_type_find_element_base_init),
4678 (gst_type_find_element_class_init):
4679 Don't use base_init where not absolutely necessary. For example it's
4680 not necessary anymore for adding pad templates or setting element
4683 Leave empty base_init functions in several places as GST_BOILERPLATE
4684 still defines and uses them.
4686 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4688 * gst/gstelement.c: (gst_element_base_class_init),
4689 (gst_element_class_add_pad_template):
4690 * gst/gstpadtemplate.c:
4691 Make it possible (and recommended) to set element details and add
4692 pad templates in the class_init functions by copying the details/pad
4693 templates in GstElement's base_init.
4695 Also make it possible to replace existing pad templates by adding
4696 a new one with the same name. This was done in a hackish fashion
4697 in same elements before already.
4699 Don't reference pad templates that are added a second time. A
4700 new pad template has a refcount of one and is not floating anymore
4701 and to be owned by the element's class. Make this more explicit by
4702 mentioning it in the docs of gst_element_class_add_pad_template().
4704 These changes are backwards compatible. Fixes bug #491501.
4706 * tests/check/gst/gstelement.c:
4707 Add unit test for setting element details, adding pad templates and
4708 replacing them in a subclass.
4710 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4712 * tools/gst-inspect.c: (print_interfaces),
4713 (print_element_properties_info), (print_pad_info),
4714 (print_signal_info), (print_element_info):
4715 Fix a few memory leaks.
4717 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4719 * docs/libs/gstreamer-libs-sections.txt:
4720 * libs/gst/check/gstcheck.c:
4721 * libs/gst/check/gstcheck.h:
4722 Add more functions for unit testing: gst_check_drop_buffers,
4723 gst_check_caps_equal, gst_check_element_push_buffer_list,
4724 gst_check_element_push_buffer
4725 API: gst_check_drop_buffers
4726 API: gst_check_caps_equal
4727 API: gst_check_element_push_buffer_list
4728 API: gst_check_element_push_buffer
4730 2008-02-01 Julien Moutte <julien@fluendo.com>
4732 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4733 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4734 (gst_index_finalize), (gst_index_entry_free),
4735 (gst_index_add_association): Fix memory leaks.
4736 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4737 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4738 (gst_mem_index_free_format), (gst_mem_index_free_id),
4739 (gst_mem_index_finalize): Fix memory leaks.
4740 * win32/common/config.h: Updated to CVS HEAD.
4742 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4745 Some more details about how the plugin docs works.
4747 * docs/plugins/gstreamer-plugins-sections.txt:
4750 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4752 * gst/parse/grammar.tab.pre.c:
4753 * gst/parse/grammar.tab.pre.h:
4754 * gst/parse/grammar.y:
4755 * gst/parse/lex._gst_parse_yy.pre.c:
4756 Add delayed set-property. This allows to set properties on dynamicaly
4757 created objects (pads in videomxer). Fixes #509391.
4759 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4762 Check if caps are not NULL (fix bug #510194)
4764 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4766 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4767 (gst_base_sink_get_position_paused):
4768 Add fixme regarding EOS in pull mode.
4769 Fix position reporting in PAUSED for negative rates.
4771 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4773 * gst/gstminiobject.c: (gst_mini_object_replace):
4774 When replacing a miniobject, do a quick equality check first so that we
4775 can avoid a ref/unref pair.
4777 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4779 * docs/design/part-synchronisation.txt:
4782 * docs/plugins/Makefile.am:
4783 * docs/plugins/gstreamer-plugins-docs.sgml:
4784 * docs/plugins/gstreamer-plugins-sections.txt:
4785 * plugins/elements/gstmultiqueue.c:
4786 Add multiqueue to the docs.
4788 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4793 === release 0.10.17 ===
4795 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4798 releasing 0.10.17, "Due Negligence"
4800 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4803 Revert caps != NULL check temporarily for 0.10.17 release.
4805 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4808 Check if caps are not NULL (fix bug #510194)
4810 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4813 Fix compilation on systems that have posix timers but no
4816 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4819 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4821 * tools/gst-inspect.c:
4822 Revert previous commit in preparation for an impromptu 0.10.17 release
4824 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4826 * tools/gst-inspect.c: (print_interfaces),
4827 (print_element_properties_info), (print_pad_info),
4828 (print_signal_info), (print_element_info):
4829 Fix a few memory leaks.
4831 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4836 === release 0.10.16 ===
4838 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4841 releasing 0.10.16, "Special Dispensation"
4843 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4846 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4847 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4848 not fail when trying to crosscompile on OpenEmbedded (#511750).
4850 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4853 Use $(MAKE) instead of make to fix the build if GNU make is
4854 called different. Fixes bug #510747.
4856 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4858 * gst/gstplugin.c: (_gst_plugin_initialize):
4859 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4860 again, which I broke two commits ago when changing the API
4861 of gst_plugin_register_static(): the g_list_foreach() in
4862 _gst_plugin_register_static still assumed the old function
4863 signature and would therefore fail (re-fixes #510187).
4865 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4866 (_gst_plugin_register_static), (gst_plugin_register_static):
4867 Revert the (technically correct) change to call g_thread_init() from
4868 the pre-main() constructor. This will break programs which call
4869 g_thread_init() without an if (!g_thread_supported()) guard in their
4870 main function. We could just blame it on GLib or the application, but
4871 it's probably best to just avoid this altogether and simply not use
4872 any GLib functions here and use plain old malloc() with a simple
4873 array to store the plugins to register later when gst_init() is
4874 finally called (re-fixes #510187).
4876 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4877 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4878 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4879 (GST_START_TEST), (gst_plugin_suite):
4880 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4883 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4885 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4886 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4887 This makes gtk-doc complain, but results in slightly better
4888 compiler errors. The old _gst_plugin_register_static() is
4889 still guarded, so there'll be a compiler warning about that
4890 instead. Fixes #510187 too.
4892 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4894 * gst/gst.c: (init_post):
4895 * gst/gstplugin.c: (_gst_plugin_register_static),
4896 (gst_plugin_register_static), (_gst_plugin_initialize):
4897 * gst/gstplugin.h: (GstPluginFilter):
4898 Change API of gst_plugin_register_static() to not take
4899 a GstPluginDesc, but rather just take all the arguments
4900 in a GstPluginDesc directly. This is more intuitive and
4901 avoids certain mistakes when porting code from
4902 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4905 * tests/check/gst/gstplugin.c:
4906 Fix up for changed API.
4908 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4910 * docs/faq/legal.xml:
4911 Update FAQ, Totem actually has an exception these days.
4913 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4915 * win32/common/libgstreamer.def:
4916 Add new API declarations
4918 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4920 * gst/gstminiobject.c:
4921 Spelling fixes for the API docs.
4923 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4925 * libs/gst/base/gstbasetransform.c:
4926 Fix long property description for QoS.
4928 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4931 _gst_trace_on is already provided by gsttrace.h, no need to declare
4934 * docs/libs/gstreamer-libs-sections.txt:
4935 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4936 and remove strange tcase_add_test which is outputting a warning.
4938 * libs/gst/check/gstcheck.c:
4939 * libs/gst/check/gstcheck.h:
4940 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4941 and define them in gstcheck.c instead of having every .c file whcih
4942 includes gstcheck.h be defining its own copy and relying on symbol
4943 interposing to marry them all, which doesn't work on Solaris.
4945 * tests/check/elements/identity.c: (GST_START_TEST):
4946 Don't define 'buffers' locally, it comes from libgstcheck.
4948 * tests/check/generic/sinks.c: (send_buffer):
4949 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4951 * tests/check/gst/gststructure.c: (GST_START_TEST):
4952 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4953 * tests/check/gst/gstutils.c: (GST_START_TEST):
4954 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4955 Add a bunch of casts to make various constants fit the types
4956 they're being assigned to.
4958 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4960 * gst/gstchildproxy.c:
4961 Improve docs and add some ideas for making this more general-purpose.
4963 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4965 * gst/gst_private.h: (GST_CAT_TYPES):
4966 Add GST_CAT_TYPES, for consistency, and so that the other
4967 debug categories don't make fun of it. Spotted by Saur on IRC.
4969 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4971 * gst/parse/Makefile.am:
4972 Move types.h from EXTRA_DIST to noinst_HEADERS.
4974 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4977 Add -Wno-portability to the automake parameters to stop warnings
4978 about GNU make extensions being used. We require GNU make in almost
4979 every Makefile anyway.
4982 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4983 at the same time is required for per target flags.
4985 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4988 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4989 __GNUC__ is defined before using it.
4991 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4993 * docs/gst/gstreamer-sections.txt:
4994 * gst/gst.c: (init_post):
4995 * gst/gstplugin.c: (_gst_plugin_register_static),
4996 (gst_plugin_register_static), (_gst_plugin_initialize),
4997 (gst_plugin_register_func):
4998 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4999 API: add gst_plugin_register_static() and deprecate
5000 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5002 Also, in _gst_plugin_register_static(), make sure to call
5003 g_thread_init() before calling GLib functions such as
5004 g_list_append() if we're not initialised yet, since that
5005 may lead to random crashes with older GSlice/GLib versions.
5007 * tests/check/gst/gstplugin.c:
5008 Adapt unit test to above changes.
5010 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5012 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5013 * gst/gstcaps.c: (gst_caps_to_string):
5014 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5015 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5016 Yet another gratuitous GString micro-optimisation: add a (private)
5017 function that serialises a structure appending to an existing
5018 GString, so that when we serialise caps we don't need to alloc+free
5019 a throwaway GString for each structure (each of which also entailing
5020 multiple reallocs on the way); also use g_string_sized_new() in
5021 various places with an approximate string length to avoid reallocs
5022 within GString. See #500143.
5024 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5026 * gst/gststructure.c: (gst_structure_id_set_value):
5027 Always check UTF-8 conformance of structure strings and not only
5028 if the debugging system is enabled; reasoning: the behaviour of
5029 the actual code shouldn't really change depending on whether the
5030 debugging system is enabled or not (#508291).
5032 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5035 Remove old coverage target in favour of "make lcov".
5037 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5039 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5040 (gst_base_src_loop):
5041 The start segment for reverse playback goes from start to last_stop.
5043 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5045 Patch by: Peter Kjellerstedt <pkj axis com>
5048 Cast the results from the timeval/spec_to_time macros to what the
5049 docs say it casts to, a GstClockTime. fixes #508175.
5051 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5054 Update some comments.
5056 * tools/gst-inspect.c: (print_element_properties_info):
5057 Improve printing of flags.
5059 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5061 * libs/gst/base/gstbasetransform.c:
5062 (gst_base_transform_transform_size):
5063 Print element name with g_warning() if there's a problem
5066 2008-01-07 David Schleef <ds@schleef.org>
5068 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5070 * libs/gst/controller/gstcontroller.h:
5071 * libs/gst/controller/gstcontrolsource.h:
5072 * libs/gst/controller/gstinterpolationcontrolsource.h:
5073 * libs/gst/controller/gstlfocontrolsource.h:
5074 * libs/gst/dataprotocol/dataprotocol.h:
5075 Fix empty prototypes. Fixes bug #507957.
5077 2008-01-07 David Schleef <ds@schleef.org>
5079 * docs/faq/dependencies.xml: Fix typo.
5081 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5083 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5084 (gst_base_src_loop):
5085 Don't update the last_stop position in do_seek, that's the position we
5087 Read backwards when we have a negative rate.
5089 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5090 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5092 Add check for reverse reading.
5094 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5096 Patch by: Alexis Ballier <aballier at gentoo org>
5098 * tests/check/gst/gstabi.c:
5099 * tests/check/gst/struct_ppc64.h:
5100 * tests/check/libs/libsabi.c:
5101 * tests/check/libs/struct_ppc64.h:
5102 Decide which header to include based on the userland ABI target
5103 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5104 for 64-bit userland (#503590). Might need something similar for
5107 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5109 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5110 Log the reason why fopen fails in addition to the fact that it failed.
5112 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5114 * gst/parse/parse.l:
5115 Use "%option never-interactive" to prevent useless calls to isatty()
5116 on every input when parsing. Also use "%option noinput" to not define
5117 the static input/yyinput functions which we don't use anyway. This
5118 removes a compiler warning with gcc 4.3 and saves some bytes in the
5121 * gst/parse/lex._gst_parse_yy.pre.c:
5122 Regenerated for the above change.
5124 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5126 * gst/gstpad.c: (fixate_value):
5127 Don't crash when trying to fixate and empty list.
5130 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5132 * docs/faq/gst-uninstalled:
5133 Clarify the comments to make the usage of this script and what it
5134 does easier to understand.
5136 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5138 * tools/gst-plot-timeline.py:
5139 Add more options to gst-plot-timeline
5141 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5143 * docs/design/part-synchronisation.txt:
5144 Some more info on how the stream_time in GstBaseSink is done.
5146 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5148 * tests/check/generic/sinks.c: (gst_sinks_suite):
5149 Put back the tcase_set_timeout(), apparently it's needed after
5150 all; fix it up in a way that makes things work with valgrind too.
5152 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5154 * gst/gstdebugutils.c:
5155 Add warning when failed to open file for writing.
5157 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5159 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5161 * gst/gstvalue.c: (gst_value_is_fixed):
5162 Optimisation: bail out of the loop as early as possible (#500143).
5164 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5166 * gst/gstcaps.c: (gst_caps_to_string):
5167 * gst/gstinfo.c: (gst_debug_construct_term_color):
5168 * gst/gstparse.c: (gst_parse_launchv):
5169 * gst/gstutils.c: (gst_util_dump_mem):
5170 * gst/gstvalue.c: (gst_value_serialize_any_list),
5171 (gst_value_transform_any_list_string):
5172 Bunch of gratuitous nano-optimisations.
5174 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5176 * tests/check/generic/sinks.c: (async_done_func),
5177 (async_done_eos_func):
5178 Fix leak in unit test (bus sync handler must unref the message
5179 if it returns GST_BUS_DROP). Don't fiddle with the default test
5180 timeout, this is smaller than the current preconfigured value
5181 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5182 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5184 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5186 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5189 Check for stdio_ext.h for the filesink changes.
5191 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5192 (gst_file_sink_class_init), (gst_file_sink_init),
5193 (gst_file_sink_dispose), (gst_file_sink_set_property),
5194 (gst_file_sink_get_property), (gst_file_sink_open_file),
5195 (gst_file_sink_close_file):
5196 * plugins/elements/gstfilesink.h:
5197 Add two properties to control the buffering mode and size.
5198 API: GstFileSink::buffer-mode
5199 API: GstFileSink::buffer-size
5202 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5204 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5205 Add some more docs to explain why a FIXME was wrongly added.
5207 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5210 Fix typo in the gst_object_{ref,unref} documentation.
5212 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5214 * tests/check/libs/controller.c:
5215 * tests/check/libs/typefindhelper.c:
5216 * tests/check/pipelines/parse-launch.c:
5217 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5218 going to be deprecated (see #498924).
5220 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5222 * gst/gsttypefind.c: (gst_type_find_register):
5223 Make gst_type_find_register work for static typefind functions,
5224 ie. allow passing plugin == NULL (prerequisite for #498924).
5226 * gst/gstelementfactory.c: (gst_element_register):
5227 Small docs addition.
5229 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5231 * gst/gstpad.c: (gst_pad_dispose):
5232 Really unlink the peer pad instead of setting the peer pointer to NULL
5233 when we dispose the pad.
5234 This correctly calls the unlink functions and makes sure that the peer
5235 does not have a handle to invalid memory. See #504671.
5237 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5238 Add testsuite for above case.
5240 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5242 Patch by: Peter Kjellerstedt <pkj axis com>
5244 * libs/gst/check/gstcheck.h:
5245 Fix detection of the check version we're compiling against (would
5246 otherwise break if check goes v0.10.0); correctly report the
5247 name of the failed test again in case of failure, instead of
5248 just 'tf' (fixes #504499).
5250 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5252 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5253 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5254 (gst_base_src_loop), (gst_base_src_set_flushing),
5255 (gst_base_src_change_state):
5256 Allow sending EOS to the source to make it send out an EOS event from
5257 the streaming thread.
5258 Update docs and deprecate the old NULL/READY shutdown method.
5260 * tests/check/libs/basesrc.c: (GST_START_TEST),
5261 (gst_basesrc_suite):
5262 Add unit test for controlled shutdown.
5264 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5266 * docs/design/part-synchronisation.txt:
5269 * gst/gstsegment.c: (gst_segment_set_seek),
5270 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5271 (gst_segment_to_running_time):
5272 The seek format can be different from the segment format when the start
5273 and stop values are not to be updated, when we only do a rate change for
5276 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5277 (gst_segment_suite):
5278 Add a testcase for the rate-only seeks, checking that the format is
5279 correctly ignored when start and stop are not updated.
5281 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5283 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5285 * win32/vs8/grammar.vcproj:
5286 * win32/vs8/libgstcontroller.vcproj:
5287 * win32/vs8/libgstreamer.vcproj:
5288 Fix compilation with VS8 and include some missing files.
5290 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5293 Small docs addition: mention that the strings returned by
5294 gst_tag_list_get_string*() are in UTF-8 encoding.
5296 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5299 The check-exports stuff moved to common/win32.mak, so include that.
5301 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5303 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5304 (gst_base_src_perform_seek), (gst_base_src_get_range),
5305 (gst_base_src_set_playing), (gst_base_src_change_state):
5306 Make _wait_playing() not check any variables so that we can call this
5307 function from subclasses. Move the checks elsewhere similar to
5308 _wait_preroll() in basesink.
5310 Only signal the LIVE cond when we are going back to PLAYING.
5312 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5314 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5315 Use g_remove() and g_rename(). Check result of g_rename(), and
5316 don't leak the open file descriptor if we error out when writing.
5318 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5319 Must check the return value of close() after writing out the new
5320 registry file. Sometimes write problems such as out-of-diskspace
5321 are only reported when the file is closed and not already during
5322 the write. This may have caused partial/broken registry files in
5323 some rare circumstances. Should fix #503675.
5325 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5327 * docs/gst/.cvsignore:
5328 * docs/libs/.cvsignore:
5329 * docs/plugins/.cvsignore:
5330 Ignore files generated by new common/* modifications
5332 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5334 * win32/common/libgstbase.def:
5335 Yes, you can also have a <TAB> if you want.
5337 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5339 * win32/common/libgstbase.def:
5340 Add new basetransform API to win export file.
5342 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5344 * tests/check/gst/gstbin.c:
5345 Adjust the test to the refcount change two days ago.
5347 2007-12-14 David Schleef <ds@schleef.org>
5349 * docs/faq/getting.xml: Fix typo.
5351 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5353 * docs/libs/gstreamer-libs-sections.txt:
5354 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5355 (gst_base_transform_prepare_output_buffer),
5356 (gst_base_transform_set_gap_aware):
5357 * libs/gst/base/gstbasetransform.h:
5358 API: Add gst_base_transform_set_gap_aware() to control whether
5359 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5360 get buffers with this flag at all. Fixes #503231.
5362 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5364 * libs/gst/base/gstbasesink.c:
5365 * libs/gst/base/gstbasesrc.c:
5366 * libs/gst/base/gstbasetransform.c:
5367 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5368 thread. Correct log message in gstbasesrc.c.
5370 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5372 * gst/gstutils.c: (element_find_unconnected_pad):
5373 Fix possible compiler warning (#503417).
5375 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5377 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5378 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5380 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5382 * tools/gst-inspect.c: (print_element_properties_info):
5383 Add support for GstFraction properties.
5385 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5388 Add check-exports target and run it as part of 'make check'
5389 (see #499140 and #493983).
5391 * gst/gst_private.h:
5392 * gst/gstelementfactory.h:
5393 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5394 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5395 (_priv_gst_in_valgrind):
5396 * gst/gstinfo.h: (GstLogFunction):
5397 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5398 (gst_type_find_register):
5399 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5400 (gst_type_find_factory_get_type):
5401 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5402 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5403 (gst_controller_new_valist), (gst_controller_new_list),
5404 (_gst_controller_dispose), (_gst_controller_class_init):
5405 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5406 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5407 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5408 (gst_object_get_controller), (gst_object_set_controller),
5409 (gst_object_suggest_next_sync), (gst_object_sync_values),
5410 (gst_object_set_control_source), (gst_object_get_control_source),
5411 (gst_object_get_value_arrays), (gst_object_get_value_array),
5412 (gst_object_get_control_rate), (gst_object_set_control_rate):
5413 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5414 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5415 Make some functions that should be static static; rename some
5416 private symbols so that they don't get exported; add some FIXME
5417 comments so we can move accidentally exported functions into
5418 our private section in 0.11.
5420 * win32/common/libgstreamer.def:
5421 Add gst_utils_get_timestamp().
5423 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5427 Add more missing "Since:" tags to docs.
5429 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5432 Add mising "Since:" to docs.
5434 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5437 Include "glib-compat-private.h" to fix the build on system with
5438 glib < 2.10. Fixes #503131.
5440 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5444 Actually its not PURE as it gets the time from elsewhere.
5446 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5448 * docs/gst/gstreamer-sections.txt:
5450 * gst/gstdebugutils.c:
5454 * libs/gst/base/gstbasesink.c:
5455 * tools/gst-launch.c:
5456 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5457 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5458 Thanks Tim for spotting.
5459 API: gst_util_get_timestamp
5461 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5464 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5466 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5468 * gst/gststructure.c: (gst_structure_validate_name),
5469 (gst_structure_new_valist), (gst_structure_parse_value),
5470 (gst_structure_from_string):
5471 Don't crash in _from_string() if the structure name is not valid
5472 (fixes #501560). Allow structure names to start with a number
5473 again (this apparently broke the ubuntu codec installer).
5475 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5477 Add unit test for the crash; update unit tests for new behaviour.
5479 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5482 Clarify gst_element_get_compatible_pad() documentation.
5485 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5487 * tests/check/Makefile.am:
5488 Don't forget to dist {gst,libs}/struct_hppa.h.
5490 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5492 * libs/gst/base/gstbasesink.c:
5493 Use new API to get elapsed time.
5495 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5497 * gst/gstdebugutils.c:
5499 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5501 * tools/gst-launch.c:
5502 Use new API to get elapsed time.
5504 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5506 * docs/gst/gstreamer-sections.txt:
5508 * gst/gstdebugutils.c:
5510 Rename new API + ChangeLog surgery to remove old name from last entry..
5512 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5514 * docs/gst/gstreamer-sections.txt:
5516 * gst/gstdebugutils.c:
5518 Now hide the different clock stuff behind a macro.
5520 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5523 * gst/gstdebugutils.c:
5525 Apply the posix-timer check from #361155. Conditionally use the posix
5526 timer for logging. This gives better timestamp precission, less
5527 overhead and no ntp jitter.
5529 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5531 * gst/gstminiobject.c: (gst_mini_object_get_type),
5532 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5533 (gst_mini_object_finalize), (gst_mini_object_copy),
5534 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5535 (gst_mini_object_replace), (param_mini_object_validate),
5536 (gst_param_spec_mini_object_get_type):
5537 Some cleanup and checking against invalid function parameters.
5539 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5541 * docs/gst/gstreamer-sections.txt:
5543 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5544 (gst_systemclock_suite):
5545 Start merging in the easy bits of #361155, the monotonic clock patch.
5546 This one adds a few handy macros with docs and a testsuite.
5548 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5550 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5551 Be a bit smarter when seeking, like, don't try to do a seek when it's
5552 not needed. This avoids errors when the file is not seekable.
5555 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5557 * docs/gst/gstreamer-docs.sgml:
5558 * docs/gst/gstreamer-sections.txt:
5559 * docs/gst/gstreamer.types.in:
5564 * plugins/elements/gstqueue.c:
5565 Due to popular request remove preset interface again. :-(.
5567 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5569 * tools/gst-inspect.c:
5570 Print 'default value' for enums and flags too.
5572 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5574 * docs/random/ensonic/profiling.txt:
5578 Fix typo and give better log output.
5580 * gst/gstdebugutils.c:
5581 * gst/gstdebugutils.h:
5582 More ideas, make graphs a bit smaller and fix param name in macro.
5584 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5587 Try harder to use the return value from fgets().
5589 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5592 For theses two fgets we handle the error below.
5594 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5596 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5597 Only send upstream events upstream. Fixes #498746.
5599 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5601 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5603 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5604 (gst_identity_init), (gst_identity_transform_ip),
5605 (gst_identity_set_property), (gst_identity_get_property):
5606 * plugins/elements/gstidentity.h:
5607 Add property to disable handoff signal emission. Fixes #498694.
5608 API: GstIdentity::signal-handoffs
5610 2007-11-21 Julien Moutte <julien@fluendo.com>
5612 * docs/faq/gst-uninstalled: Yet another missing library for the
5613 uninstalled script (fft)
5615 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5617 * docs/faq/developing.xml:
5618 Add a question about how to submit new translations.
5620 * docs/random/release:
5621 Update the contact email address for the Translation Project
5623 * plugins/elements/gstfdsrc.c:
5624 The parent_class for fdsrc is pushsrc, not GstElement.
5626 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5629 Plug a leak and fix saving.
5631 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5633 * docs/gst/gstreamer-sections.txt:
5634 Add new gst_preset__get_property_names() function to the docs
5637 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5641 Change _get_preset_names API to return a strv with copies. Add
5642 _get_property_names to allow implementations to filter and provide
5643 good default implementation.
5645 2007-11-20 Julien MOUTTE <julien@moutte.net>
5647 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5650 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5653 More cleanups, docs, and TODOs from comments that now slowly come in.
5655 2007-11-19 Julien MOUTTE <julien@moutte.net>
5657 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5660 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5663 Fix bogus warning and make the property type specific code more
5666 2007-11-19 Julien MOUTTE <julien@moutte.net>
5668 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5671 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5673 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5674 (gst_bin_add_func), (gst_bin_remove_func),
5675 (gst_bin_change_state_func), (gst_bin_continue_func):
5676 Change email, cleanups add some more debug and comments.
5677 Also set bus and clock on new elements when the pipeline was in error.
5679 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5682 * gst/gstdebugutils.c:
5683 Fix build with --disable-gst-debug. Fixes #497859.
5684 Spotted by Sameer Naik.
5686 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5689 Little documentation improvment.
5692 More TODO cleanups. Remove c++ comments.
5694 * libs/gst/controller/gstcontroller.c:
5695 Add TODO and use quark from static string.
5697 * tests/check/gst/gstmessage.c:
5698 * tests/check/gst/gststructure.c:
5699 Use quark from static string.
5701 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5704 Add some comments and TODOs.
5707 Add padding for future changes.
5709 * plugins/elements/gstqueue.c:
5710 Implement the iface.
5712 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5714 * docs/gst/gstreamer-docs.sgml:
5715 * docs/gst/gstreamer-sections.txt:
5716 * docs/gst/gstreamer.types.in:
5721 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5723 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5729 === release 0.10.15 ===
5731 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5734 releasing 0.10.15, "October"
5736 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5738 * win32/vs6/libgstreamer.dsp:
5739 Convert line endings back to DOS.
5741 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5743 * docs/design/draft-tagreading.txt:
5744 * docs/random/ensonic/profiling.txt:
5745 Update fast tagreading draft and performance profiling ideas.
5747 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5749 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5750 Don't hold the object lock when unreffing a buffer because it could
5751 cause a deadlock when the finalize function wants to grab the object
5752 lock too. Fixes #495133.
5754 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5756 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5757 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5758 Also accumulate time correctly when doing reverse playback. Fixes
5760 When converting to running and stream time, use default values for
5761 start/stop/time/accum when comparing different formats. Fixes #494245.
5763 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5764 Do running/stream time in TIME format.
5766 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5767 (gst_segment_suite):
5768 2 new unit tests for segment accumulation.
5770 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5772 * gst/gst.c: (init_pre):
5773 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5774 (_gst_debug_bin_to_dot_file):
5775 Move getenv() back into gst_init, so everyone can live happily
5776 ever after. Make sure the symbol isn't exported though.
5778 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5780 Patch by: Sebastien Moutte <sebastien moutte net>
5782 * win32/common/gstenumtypes.c:
5783 * win32/common/gstenumtypes.h:
5786 * win32/vs6/libgstreamer.dsp:
5787 Update vs6 project files (#494343).
5789 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5791 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5792 (gst_base_src_perform_seek), (gst_base_src_default_event),
5793 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5794 (gst_base_src_activate_pull):
5795 Unify flushing code, remove some old unlock code that is no longer used.
5796 Take the streaming lock when seeking to avoid races. Fixes #492729.
5797 Added some more comments.
5799 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5801 * gst/gst.c: (_gst_disable_segtrap):
5802 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5803 we can use gst_segtrap_is_enabled() there now that we have that API.
5804 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5805 to do the getenv here (and export the variable).
5807 * gst/gstdebugutils.c: (debug_dump_element),
5808 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5809 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5811 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5812 (gst_debug_log_default):
5813 Rename _gst_info_start_time to priv_gst_info_start_time so it
5814 doesn't get exported (was never in any header).
5816 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5817 (gst_plugin_loading_mutex):
5818 Make static mutex gst_plugin_loading_mutex really static (was never
5819 in any header), and use gst_segtrap_is_enabled() instead of
5820 _gst_disable_segtrap.
5822 * gst/gsttrace.c: (_gst_trace_default):
5823 Make local _gst_trace_default static (was never in any header).
5825 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5827 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5829 * win32/common/libgstbase.def:
5830 * win32/common/libgstcontroller.def:
5831 * win32/common/libgstdataprotocol.def:
5832 * win32/common/libgstnet.def:
5833 * win32/common/libgstreamer.def:
5834 Add more missing symbols, remove some duplicates, and sort
5835 as the 'sort' command sorts it (partially fixes #493983).
5837 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5839 * gst/gstelement.c: (gst_element_set_state_func):
5840 Only change the state cookie if a different state was set on the
5841 element. See #492729.
5843 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5846 Remove unused and uninitialised type variables that were still
5847 exported for some reason (they were never in any header files
5850 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5852 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5853 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5854 (gst_base_sink_event), (gst_base_sink_get_position_last),
5855 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5856 (gst_base_sink_change_state):
5857 Don't try to report a 0 position when we don't know, return -1 and FALSE
5858 instead. This mostly happens when we are prerolling.
5859 Make sure we can report the right position before we post the ASYNC_DONE
5860 message so that a message handler can query position without races.
5862 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5863 (async_done_handoff), (async_done_func), (send_buffer),
5864 (async_done_eos_func), (gst_sinks_suite):
5865 Add two tests for the above.
5867 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5870 Update with new email address.
5872 * docs/design/part-TODO.txt:
5873 Add some more info about future pad-block and negotiation changes.
5875 * docs/design/part-buffering.txt:
5876 Add some ideas about buffering reporting.
5878 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5880 * tests/check/gst/gstobject.c:
5881 Disable silly racy test that always fails on this combination of CPU
5884 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5886 Patch by: Murray Cumming <murrayc@murrayc.com>
5889 Corrected the registration of the parent-set and parent-unset
5890 signals: The parameter is a GstObject, not a GObject (#493134).
5892 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5894 * gst/gst_private.h:
5903 Move declaration of private _gst_foo_initialize() functions into
5904 our private header file where they should have been all along.
5906 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5908 * docs/plugins/gstreamer-plugins-sections.txt:
5909 * gst/gstdebugutils.h:
5911 * plugins/elements/gstqueue.c:
5912 gtk-doc fixes; trailing-comma-in-enum fix.
5914 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5916 * gst/gst.c: (gst_deinit):
5917 Clean up on deinit (not the external ones though, doesn't seem to be
5918 needed for some reason).
5920 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5922 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5923 Remove __declspec(dllimport) for MSVC that was copied over into core
5924 from a plugin, obviously without ever having been tested (note the
5925 single underscore in _declspec in the initial commit), and that doesn't
5926 really make sense. See #492077.
5928 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5930 * gst/gst.c: (init_post):
5931 * gst/gstevent.c: (_gst_event_initialize):
5932 * gst/gstquery.c: (_gst_query_initialize):
5933 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5934 g_type_class_ref() other types as well, see #349410 and #64764.
5936 * gst/gstbuffer.c: (_gst_buffer_initialize):
5937 * gst/gstmessage.c: (_gst_message_initialize):
5938 Simplify existing g_type_class_ref().
5940 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5942 * gst/gstformat.c: (_gst_format_initialize):
5943 g_type_class_ref() our GstFormat type to make sure we avoid the
5944 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5945 bug #64764. Should fix intermittent tee unit test failures (#474823).
5947 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5949 * tests/check/elements/tee.c: (test_num_buffers):
5950 Simplify, simplify, simplify - or not. Rewrite unit test
5951 not to use gst_parse_launch(); allow N sub-streams. Increasing
5952 the number of sub-streams seems to reproduce #474823 more easily.
5954 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5956 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5959 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5960 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5961 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5962 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5963 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5964 so use _pipe() directly (#492077).
5966 * win32/common/dirent.c: (_treaddir):
5967 Add a couple of casts to make it build without warnings with MSVC.
5969 * win32/common/libgstreamer.def:
5970 Add some more symbols that need to be exported.
5972 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5974 * tests/examples/metadata/read-metadata.c: (message_loop):
5975 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5976 arriving in a second or third tag message are added to
5977 the tag list as well.
5979 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5981 * libs/gst/base/gstbasesrc.c:
5982 Its "Since:" and not "@Since:". And remove an superflous cast.
5984 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5986 * docs/libs/gstreamer-libs-sections.txt:
5987 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5988 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5989 (gst_base_sink_get_property), (gst_base_sink_render_object),
5990 (gst_base_sink_preroll_object),
5991 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5992 (gst_base_sink_change_state):
5993 * libs/gst/base/gstbasesink.h:
5994 Add a new last-buffer property that contains the last buffer used in
5995 basesink for preroll or rendering. useful for making snapshots.
5996 API: gst_base_sink_get_last_buffer()
5997 API: GstBaseSink::last-buffer
5999 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6001 * docs/gst/running.xml:
6003 * gst/gstdebugutils.c:
6004 * gst/gstdebugutils.h:
6005 * tools/gst-launch.c:
6006 Improve bin graph dumping, by using the envvar to specify a path.
6007 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6009 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6011 * plugins/elements/gsttypefindelement.c:
6012 (gst_type_find_element_handle_event),
6013 (gst_type_find_element_activate):
6014 Post special error message if we can't determine the type of a stream
6017 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6019 * docs/gst/running.xml:
6020 * gst/gstdebugutils.c:
6021 Document new env-var. Add one log-line after dumpng a graph.
6023 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6026 Ugly hack to put the (recently removed and non-portable, apparently)
6027 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6028 GNU ld, because without that 'make check' fails miserably on my debian
6029 stable box. Someone with more knowledge of linker intricacies and
6030 portability issues than me fix this properly please.
6032 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6034 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6035 Reset last seen position after flushing so that we don't report the old
6038 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6040 * gst/gstelementfactory.c: (gst_element_register):
6042 Patch from Alessandro Decina adding get_type_full and
6043 get_protocols_full private vfuncs to the URIHandler interface
6044 to allow bindings to support creating URI handlers.
6045 Partially fixes: #339279
6046 API: GstURIHandlerInterface::get_type_full
6047 API: GstURIHandlerInterface::get_protocols_full
6049 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6051 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6052 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6053 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6054 Make it so that pads are considered linked until a buffer is pushed
6055 and discovered otherwise. This avoids problems with decodebin2 hanging
6056 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6059 Make sure we lock the multiqueue when updating the max-size properties.
6061 Fix a crash on Solaris in a debug statement in get_request_pad that
6062 passes a NULL string to GST_DEBUG.
6064 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6065 (run_output_order_test):
6066 Fix the test to allow the first buffer on not-linked pads to come out
6067 of sequence while multiqueue discovers that they are not-linked.
6069 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6072 * libs/gst/check/Makefile.am:
6073 Use a custom export symbol regex for libgstcheck, as it needs
6074 to export symbols that don't match the standard GStreamer gst_*
6075 pattern, and --export-dynamic is not portable (only works on
6078 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6079 (gst_check_setup_sink_pad):
6080 Make sure to pass a message parameter to the fail_* macros.
6082 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6083 Fix some compiler warnings.
6085 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6087 * tests/check/gst/gststructure.c: (test_to_string):
6088 Disable test that checks that white spaces are not allowed
6089 in structure names or field names, since we need to
6090 support that for now for backwards compatibility reasons.
6092 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6094 * docs/gst/gstreamer-sections.txt:
6097 API: add GST_TAG_ARTIST_SORTNAME
6098 API: add GST_TAG_ALBUM_SORTNAME
6099 API: add GST_TAG_TITLE_SORTNAME
6100 Add tag variants for sorting (#414539).
6102 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6104 * gst/gststructure.c:
6105 Also allow white space for names so we don't break
6106 backwards compatibility.
6108 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6110 * docs/design/part-TODO.txt:
6111 * docs/design/part-segments.txt:
6112 * docs/design/part-streams.txt:
6115 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6117 * docs/gst/gstreamer-sections.txt:
6118 Fixed documentation from my previous commit (added new API add
6119 gst_value_set_structure(), add gst_value_get_structure() and
6120 GST_VALUE_HOLDS_STRUCTURE).
6122 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6124 * gst/gstdebugutils.c:
6125 Reflow code to fix uninitialized variable warning.
6127 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6129 * gst/gstcaps.c: (gst_caps_to_string),
6130 (gst_caps_from_string_inplace):
6131 * gst/gststructure.c: (gst_structure_get_abbrs),
6132 (gst_structure_to_string), (gst_structure_from_string):
6133 * gst/gstvalue.c: (gst_value_set_structure),
6134 (gst_value_get_structure), (gst_value_serialize_structure),
6135 (gst_value_deserialize_structure), (_gst_value_initialize):
6137 * tests/check/gst/gststructure.c: (GST_START_TEST),
6138 (gst_structure_suite):
6139 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6140 Added GstStructure to gst_value_table and its related functions.
6141 Changed gst_structure_to_string to print ';' in the end.
6142 Changed gst_caps_to_string to not print ';' beteween its
6143 fields (structures) anymore and remove the lastes ';' from latest
6144 structure. Now it is possible to have nested structures.
6145 In addition, backward compatibilty is assured by accepting '\0' as
6146 end delimiter. Fixes: #487969.
6147 API: add gst_value_set_structure()
6148 API: add gst_value_get_structure()
6149 API: add GST_VALUE_HOLDS_STRUCTURE
6151 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6154 When no GSource callback has been set up, tell developer
6155 to use a function that actually exists.
6157 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6159 * docs/gst/gstreamer-sections.txt:
6163 * gst/gstdebugutils.c:
6164 * gst/gstdebugutils.h:
6167 * tools/gst-launch.c:
6168 Allow dumping pipelines as dot graphs. Fixes #456573.
6170 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6172 * gst/gststructure.c:
6173 Allow '+' as well, it can be part of media or mime types
6174 such as image/svg+xml.
6176 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6178 * docs/gst/gstreamer-sections.txt:
6181 API: add gst_bus_pop_filtered
6182 API: add gst_bus_timed_pop_filtered
6183 Two new functions for waiting for specific message types on the
6184 bus for a specified amount of time without iterating any main
6185 loops or main contexts.
6187 * tests/check/gst/gstbus.c:
6188 Some tests for the new functions.
6190 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6192 * docs/libs/gstreamer-libs-sections.txt:
6193 Make gtk-doc ignore stuff it should ignore.
6195 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6197 * libs/gst/check/gstcheck.c:
6198 * libs/gst/check/gstcheck.h:
6199 Allow runtime selection of unit tests to run via the GST_CHECKS
6200 environment variable (test case function names, comma-separated).
6202 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6204 * gst/gststructure.c:
6205 * tests/check/gst/gststructure.c:
6206 Revert serialisation change and constrain structure-names after
6207 consensus on irc. Update api documentation to reflect the change.
6209 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6211 * gst/gststructure.c:
6212 Improve serialization and fix tests.
6214 * tests/check/gst/gststructure.c:
6215 Add another test that covers why I actually did the previous structure
6218 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6220 * tools/gst-inspect.c: (print_element_info):
6221 Don't crash when inspecting an element.
6223 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6225 * tests/check/gst/gststructure.c:
6226 Add unit test for escaping of structure name when serialising
6227 and deserialising to/from strings.
6229 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6231 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6232 (gst_single_queue_new):
6233 * plugins/elements/gstqueue.c: (gst_queue_init),
6234 (gst_queue_push_one):
6235 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6236 upstream is tricked into thinking it can suggest a format downstream
6237 while downstream does not support that format. The real problem is that
6238 core calls acceptcaps when pushing a buffer with new caps, for which we
6239 do a little workaround by setting the caps on the srcpad ourselves
6240 before pushing the buffer (until this is figured out). Fixes #486758.
6242 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6244 * gst/gststructure.c:
6246 Add some more comments and debug output. Quote structure name to fix
6247 deserialisation of some strings.
6249 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6252 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6253 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6255 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6257 * tools/gst-inspect.c:
6258 Save approx. 400 1 byte allocs when printing. Use API to acces element
6264 * tools/gst-xmlinspect.c:
6265 Use API to acces element details.
6267 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6270 Fix some spelling errors.
6272 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6274 * gst/gstbin.c: (bin_handle_async_done):
6275 Correctly set the next state if all of our async children commited their
6276 state. This makes sure we can actually cancel the state change in
6277 progress. Fixes a regression in Rhythmbox when seeking.
6279 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6282 Don't shadow local variable.
6285 Don't shadow global function name.
6287 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6289 * gst/gstelementfactory.c:
6290 * gst/gstpluginfeature.c:
6291 * gst/gstpluginfeature.h:
6292 * gst/gstregistrybinary.c:
6293 * gst/gstregistryxml.c:
6294 * gst/gsttypefind.c:
6295 Use already-interned string for the private GstPluginFeature
6298 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6300 * docs/libs/gstreamer-libs-sections.txt:
6301 Add new API to docs; fixes the build.
6303 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6305 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6307 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6308 (gst_base_sink_event):
6309 * libs/gst/base/gstbasesink.h:
6310 Add function to wait for EOS, subclasses can use this to correctly wait
6311 for devices to drain before performing the EOS logic. Fixes #485343.
6312 API: gst_base_sink_wait_eos()
6314 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6317 Cast description string constants in GST_PLUGIN_DEFINE macros
6318 to a (gchar*) to make C++ code using these macros compile
6319 without warning with g++-4.2 (see #462737). Even if slightly
6320 ugly, this seems preferable to putting the description strings
6321 into the GLib quark table or making the structure member a
6322 const gchar * and doing casts in core code that allocs and
6323 frees these strings, or requiring a cast in the C++ code.
6325 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6328 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6329 to print the entire class/function signature into the log
6330 file for C++ code. This only affects C++ code, for C code
6331 everything remains the same.
6333 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6335 * gst/gstbin.c: (remove_from_queue):
6336 Work around a problem with pipelines containing (semi)loops until a
6337 proper, more complicated solution is ready. See #475455.
6339 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6343 * gst/gstregistrybinary.c:
6344 * gst/gstregistryxml.c:
6345 Put more strings into the GLib quark table. No need to keep
6346 a hundred-something copies of identical version strings,
6347 license strings, package name strings and package origin
6350 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6352 * docs/manual/advanced-dataaccess.xml:
6353 Don't imply that it's okay to unconditionally change
6354 buffer data or buffer metadata in a pad probe callback,
6355 and a bunch of other comments. Fixes #430031.
6357 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6359 * win32/common/gstenumtypes.c:
6360 * win32/common/gstenumtypes.h:
6361 * win32/common/gstversion.h:
6362 Update generated files.
6364 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6366 * docs/manual/advanced-autoplugging.xml:
6367 Prefix section with broken code with a warning (see #342432).
6369 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6371 * docs/manual/appendix-integration.xml:
6372 * docs/manual/basics-init.xml:
6373 Call g_thread_init() before g_option_context_new() to
6374 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6376 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6378 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6379 (gst_base_sink_queue_object_unlocked),
6380 (gst_base_sink_queue_object), (gst_base_sink_event),
6381 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6382 When we received EOS and are waiting for when to post the EOS message,
6383 our state is prerolled and we should not return ASYNC.
6384 Reorganize some code paths to implement this behavior.
6386 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6388 Add unit test to verify above EOS fix.
6390 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6392 * plugins/elements/gsttypefindelement.c:
6393 (gst_type_find_element_have_type), (gst_type_find_element_init),
6394 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6395 Move detecting the input caps of the sinkpad to the setcaps function.
6396 This allows us to update the output caps when we receive new input caps
6397 instead of always using the first detected caps.
6399 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6401 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6402 (gst_base_sink_get_position):
6403 Don't try to preroll non-async elements after a flush.
6404 Subtract latency form clock times when reporting position.
6406 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6408 * gst/gstpad.c: (gst_pad_pause_task):
6410 Small comment and documentation update.
6412 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6414 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6415 (gst_base_src_set_live), (gst_base_src_is_live),
6416 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6417 (gst_base_src_default_event), (gst_base_src_wait),
6418 (gst_base_src_do_sync), (gst_base_src_get_range),
6419 (gst_base_src_pad_get_range), (gst_base_src_loop),
6420 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6421 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6422 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6423 (gst_base_src_change_state):
6424 Rework the locking of basesrc in a similar fashion to basesink. We
6425 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6426 us to handle live sources and semi live ones much better.
6428 Fix unlocking when seeking, shutting down and pausing in live sources.
6430 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6432 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6433 Fix compilation again.
6435 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6438 Use meaningful categories for the logs to clean the default one.
6440 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6442 * tests/check/pipelines/cleanup.c:
6443 Print message name and not just number.
6445 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6447 * docs/design/draft-tagreading.txt:
6448 Add some more thoughts.
6450 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6452 * tests/check/pipelines/simple-launch-lines.c:
6453 Print message name and not just number.
6455 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6457 * libs/gst/base/gsttypefindhelper.c:
6458 Speedup typefinding. This is work in progress (see #459862).
6460 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6463 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6464 Spotted by Josep Torra Valles <josep@fluendo.com>.
6466 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6469 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6470 field has moved to GstObject.
6472 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6474 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6475 (gst_base_src_get_range), (gst_base_src_change_state):
6476 Call unlock for live sources so that they can't get stuck in _create and
6477 produce a buffer before they are set back to PLAYING.
6479 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6481 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6482 (gst_queue_locked_dequeue):
6483 Comment the segment-related code... in the PROPER function.
6484 See #482147 and my commit from yesterday.
6486 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6488 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6489 Also initialize the counter that calculates the first timestamp on a
6490 buffer correctly for non-live sources.
6492 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6494 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6495 Disable code that's breaking the current-time-level reporting.
6498 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6500 * docs/gst/gstreamer-sections.txt:
6501 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6502 as they shouldn't show up. Fixes the docs build.
6504 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6507 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6508 Define M_PI which is used in files which are including gstinfo.h.
6509 VS6 includes doesn't define it.
6510 * win32/common/libgstbase.def:
6511 * win32/common/libgstcontroller.def:
6512 * win32/common/libgstreamer.def:
6513 Add new exported functions and variables.
6514 * win32/vs6/libgstcontroller.dsp:
6515 * win32/vs6/libgstreamer.dsp:
6516 Update the list of files to build.
6518 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6520 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6522 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6523 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6524 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6525 Improve debugging. Fixes #480858.
6527 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6529 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6531 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6532 First patch of code cleanups, use the macros and right arguments in the
6533 macros to signal and lock the queue. See #480858.
6535 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6537 * gst/gstbus.c: (poll_func):
6538 Improve debugging when dealing with _poll().
6540 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6542 * gst/gstregistryxml.c:
6543 Fix memory leak I introduced a few days ago.
6545 2007-09-26 Michael Smith <msmith@fluendo.com>
6547 * gst/gstbuffer.c: (gst_buffer_finalize):
6548 Make it once again possible to free GstBuffers in the default
6550 The poisoning scribbles on parts of the miniobject we need in
6554 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6556 * docs/gst/gstreamer-sections.txt:
6559 API: add GST_TAG_COMPOSER, fixes #459809.
6561 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6565 Add the 3-clause BSD license and the MIT/X11 license to the license
6566 list. Fixes #479784.
6568 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6570 * docs/faq/getting.xml:
6571 Add Q+A about different GStreamer versions (#364056).
6573 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6575 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6576 (gst_base_sink_event), (gst_base_sink_change_state):
6577 Return correct gboolean from query function.
6579 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6581 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6582 (gst_base_sink_event), (gst_base_sink_query),
6583 (gst_base_sink_change_state):
6584 Simplify latency query.
6585 When not synchronizing, we can report latency without querying the peer
6588 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6592 Fix small typos in the docs.
6594 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6596 * docs/design/draft-latency.txt:
6597 * docs/design/draft-push-pull.txt:
6598 * docs/design/draft-tagreading.txt:
6599 * docs/design/part-MT-refcounting.txt:
6600 * docs/design/part-activation.txt:
6601 * docs/design/part-block.txt:
6602 * docs/design/part-element-source.txt:
6603 * docs/design/part-events.txt:
6604 * docs/design/part-gstbin.txt:
6605 * docs/design/part-gstelement.txt:
6606 * docs/design/part-gstobject.txt:
6607 * docs/design/part-gstpipeline.txt:
6608 * docs/design/part-messages.txt:
6609 * docs/design/part-preroll.txt:
6610 * docs/design/part-push-pull.txt:
6611 * docs/design/part-qos.txt:
6612 * docs/design/part-query.txt:
6613 * docs/design/part-scheduling.txt:
6614 * docs/design/part-seeking.txt:
6615 * docs/design/part-segments.txt:
6616 * docs/design/part-states.txt:
6617 Documentation updates and typo fixes.
6619 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6621 * plugins/elements/gstfakesink.c:
6622 Add some debug text to error message to indicate that
6623 we errored out on request.
6625 * tools/gst-launch.c:
6626 When the state change to PLAYING fails, check for an
6627 error message on the bus and print it.
6629 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6631 translated by: Jorge González González <aloriel@gmail.com>
6635 Added Spanish translation.
6637 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6639 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6640 Fix printf arguments.
6642 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6644 * tests/check/generic/states.c:
6645 Improved state change unit test.
6647 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6650 Move priv to the right place.
6652 * gst/gstsystemclock.c:
6653 Add FIXME: and improve log.
6655 * tests/check/Makefile.am:
6656 * tests/examples/manual/Makefile.am:
6657 Work with all types of registries.
6659 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6661 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6662 Don't unref the event after pushing it. Fixes #478401.
6664 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6667 * tests/examples/manual/.cvsignore:
6668 Ignore registries in any format.
6670 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6672 * gst/glib-compat-private.h:
6673 Add compatibility macro for g_intern_string() for
6674 GLib-2.8 (any reason we can't just bump the
6675 requirement to at least 2.10?)
6677 * gst/gstpadtemplate.h:
6678 * gst/gstelementfactory.c:
6679 * gst/gstregistryxml.c:
6680 * gst/gstregistrybinary.c:
6681 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6682 up the internal code accordingly. This shouldn't be a problem, since
6683 there is no reason external code could ever assume the string in such
6684 a structure is dynamically allocated unless it did that itself; the
6685 use of g_strdup() is private to element factories. The new code also
6686 saves some memory by putting pad template name strings into the GLib
6687 quark table instead of allocating them dynamically.
6688 Declaring this field constant fixes warnings with g++-4.2 when using
6689 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6691 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6693 * gst/gstelementfactory.c:
6694 Release static caps. Fixes #475723.
6696 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6700 Make some internal API take const gchar * instead of just
6701 gchar * to avoid compiler warnings with g++-4.2.2 when
6702 passing string constants (partially fixes #478092).
6704 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6706 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6707 A latency query fails when one of the sinks fail.
6709 * gst/gstelement.c: (gst_element_set_base_time):
6712 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6714 * gst/gstbin.c: (gst_bin_continue_func):
6715 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6716 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6717 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6719 Fix minor compilation warnings shown with Forte.
6721 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6723 * plugins/elements/gstqueue.c: (apply_buffer),
6724 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6725 Measure queue level based on the diff between head and tail timestamps
6726 even when pushing the first buffer.
6728 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6730 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6731 (gst_base_sink_event), (gst_base_sink_change_state):
6732 Sinks that don't preroll can always be queried for the latency.
6733 Don't post ASYNC start when we are not async.
6735 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6737 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6738 (gst_queue_handle_sink_event), (gst_queue_chain),
6739 (gst_queue_push_one), (gst_queue_handle_src_query),
6740 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6741 * plugins/elements/gstqueue.h:
6742 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6743 push more buffers but allow pushing of EOS and NEWSEGMENT.
6744 Add some more debug info here and there. Fixes #476514.
6746 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6748 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6749 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6750 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6751 (gst_base_sink_set_flushing), (gst_base_sink_query),
6752 (gst_base_sink_change_state):
6753 Latency query is allowed after we are prerolled. Introduce a new flag
6754 for this and stop abusing other variables.
6756 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6758 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6759 Push OOB events downstream when we get them in send_event. This allows
6760 the application to insert events in the pipeline.
6761 Add some more comments.
6763 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6765 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6766 (do_bin_latency), (gst_bin_change_state_func):
6767 * gst/gstpipeline.c: (gst_pipeline_change_state):
6768 Move latency query from GstPipeline to GstBin so that we can also
6769 use it when async-handling is enabled on bins.
6771 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6773 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6774 (gst_base_src_do_sync), (gst_base_src_change_state):
6776 Clean up the timestamping and syncing code for pseudo live sources.
6778 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6780 Patch by: Steve Fink <sphink gmail com>
6782 * docs/manual/appendix-checklist.xml:
6783 Mention less -R switch in the section about debug output (#474055).
6785 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6787 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6788 Queue can latency to the pipeline up to the configured max size in time.
6789 Report this fact in the latency query.
6791 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6793 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6795 * libs/gst/controller/gstinterpolation.c:
6796 * libs/gst/controller/gstlfocontrolsource.c:
6797 Use gst_guint64_to_gdouble() when converting from a uint64 or
6798 GstClockTime to double to fix the build on win32. Fixes #474371.
6800 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6802 * gst/gstbuffer.c: (gst_buffer_finalize):
6803 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6804 When finalizing a buffer the complete struct is filled with 0xff,
6805 thus making a use of the buffer after the final unref impossible.
6807 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6809 * tests/check/libs/controller.c: (GST_START_TEST):
6810 Use fail_unless_equals_int(a, b) instead of
6811 fail_unless_equals (a == b) to get better output on failures.
6813 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6815 * tests/check/gst/gsturi.c:
6816 Also check for the other file URI variant on win32.
6818 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6820 * gst/gsturi.c: (gst_uri_get_location):
6821 If there's no hostname, we want to return 'c:/foo/bar.txt'
6822 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6824 * tests/check/gst/gsturi.c:
6825 Unit test for the above and a few more things.
6827 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6829 * docs/design/part-live-source.txt:
6830 Add docs on how live sources should timestamp.
6832 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6833 Add some more debug info.
6834 For subclasses that are live and like to sync, add aditional startup
6835 latency to sync time and timestamps so that we timstamp according to the
6838 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6841 Also do a g_type_class_ref() for the subbuffer type in
6844 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6846 * docs/gst/gstreamer-sections.txt:
6847 * gst/gstpad.c: (gst_pad_peer_query):
6849 Add function to perform a query on the peer of a pad.
6850 API: gst_pad_peer_query()
6852 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6854 * tests/check/gst/gstsystemclock.c:
6855 Cleanup the test a little (use gst-logging and not g_message). Improve
6856 test to check if a wait reached the target.
6858 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6860 * docs/libs/gstreamer-libs-sections.txt:
6861 Add new API to docs and fix the build.
6863 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6865 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6866 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6867 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6868 (gst_base_src_get_property), (gst_base_src_do_sync):
6869 * libs/gst/base/gstbasesrc.h:
6870 Add property to make the basesrc timestamp buffers based on the current
6872 API: GstBaseSrc::do-timestamp
6873 API: gst_base_src_set_do_timestamp()
6874 API: gst_base_src_get_do_timestamp()
6876 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6878 * docs/random/release:
6879 Really make sure translations are up-to-date before
6880 a release (#465010).
6882 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6884 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6885 Always destroy the timer, also in error cases.
6887 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6889 * docs/manual/highlevel-xml.xml:
6890 Fix XML example code. Fixes #472714.
6892 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6894 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6895 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6896 (gst_base_sink_query):
6897 Protect eos and have_preroll with the OBJECT lock so we don't need to
6898 take the PREROLL lock when querying the latency. Fixes #473846.
6900 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6903 Give some log-messages a category.
6905 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6907 * gst/gststructure.c:
6908 (gst_structure_fixate_field_nearest_fraction):
6909 Fix fraction list fixation code. Take the fraction with the smallest
6910 difference with the target instead of the first one in the list.
6912 * tests/check/gst/gststructure.c: (GST_START_TEST),
6913 (gst_structure_suite):
6914 Added test to verify correct fraction list fixation behaviour.
6916 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6918 * win32/common/libgstreamer.def:
6919 Export gst_bus_add_signal_watch too.
6921 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6923 * docs/libs/gstreamer-libs-sections.txt:
6924 Add new methods to docs.
6926 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6927 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6928 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6929 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6930 * libs/gst/base/gstbasesink.h:
6931 Add ts-offset property to fine-tune the synchronisation.
6932 API: GstBaseSink::ts-offset property
6933 API: gst_base_sink_set_ts_offset()
6934 API: gst_base_sink_get_ts_offset()
6936 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6938 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6939 (gst_base_sink_init), (gst_base_sink_set_sync),
6940 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6941 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6942 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6943 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6944 (gst_base_sink_get_property), (gst_base_sink_change_state):
6945 * libs/gst/base/gstbasesink.h:
6946 Add async property to instruct the sink never to inform the parent about
6947 ASYNC state changes, update docs.
6948 Check argument with g_return_* for the public functions.
6949 API: GstBaseSink::async property
6950 API: gst_base_sink_set_async_enabled()
6951 API: gst_base_sink_is_async_enabled()
6953 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6955 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6958 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6959 (gst_base_src_default_query), (gst_base_src_wait),
6960 (gst_base_src_do_sync), (gst_base_src_change_state):
6961 Rearrange some code so that we can add support for measuring the
6964 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6966 * docs/random/ensonic/dynlink.txt:
6967 More thoughs on this.
6969 * plugins/elements/gstcapsfilter.c:
6970 Add bugzilla ticket number to FIXME comment.
6972 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6974 * docs/design/part-TODO.txt:
6975 * docs/design/part-block.txt:
6978 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6981 Revert patch which uses $(gst_headers) instead of $^ because it
6984 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6986 * tests/check/gst/gstbin.c: (GST_START_TEST):
6987 Fix leaks in the new unit test.
6989 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6992 Don't use GST_INFO before the debug system is actually initialised
6993 (shouldn't do any harm, but won't print anything either, so we can
6994 just as well remove it).
6997 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6998 compilers that don't support variadic macros (such as MSVC), should
6999 check for debug_level <= __gst_debug_min as well, since that's the
7000 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7001 inline helper functions. Should improve performance a bit, but also
7002 makes sure uses of GST_INFO et.al are ignored if the debugging
7003 system isn't initialised yet (instead of printing an assertion
7006 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7008 patch by: David Nečas <yeti@physics.muni.cz>
7011 Replace some non portable makefile constructs.
7013 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7015 * common/gtk-doc-plugins.mak:
7016 Grrrrr. Don't remove the types file on make clean.
7018 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7020 * tools/gst-launch.1.in:
7021 Add colorspace to example pipeline. Fixes #458274.
7023 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7025 * docs/random/release:
7026 The release manager should run 'make download-po' before making a
7027 release to make sure translations are up-to-date.
7033 Add some new translations.
7035 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7037 * tools/gst-launch.c: (event_loop), (main):
7038 Don´t try to do any state management when a live pipeline posts
7040 Also make the buffering string translatable.
7042 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7044 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7045 (bin_handle_async_start), (gst_bin_handle_message_func):
7047 When adding elements, insert messages into the bus of the newly added
7048 element and make sure the element is the source of the message. This
7049 allows the parent bin to intercept the message and do the
7050 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7051 messages to the app (which is not allowed).
7054 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7055 Fix testsuite so that is does not work around messages that should not
7056 have been posted in the first place.
7058 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7060 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7061 (update_degree), (gst_bin_sort_iterator_next):
7062 Fix annoying bug in the sorted iterator where a sink that is not really
7063 a sink (when it has downstream links) screwed up the iterator.
7065 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7066 Unit test to verify the fix.
7068 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7071 Add some more docs for the messages.
7073 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7074 (gst_base_sink_query):
7075 Add some more debugging.
7077 * tools/gst-launch.c: (event_loop):
7078 When interrupting, don't try to set pipeline to PAUSED twice.
7080 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7083 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7084 (bin_handle_async_start), (gst_bin_handle_message_func):
7085 Move ASYNC_START message posting to where it belongs, similar to
7087 Don't post ASYNC_START when we are in error.
7088 Post ASYNC_START when we added an async element to a bin.
7090 2007-08-14 Julien MOUTTE <julien@moutte.net>
7092 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7093 generation from vargs. Fixes #466595.
7095 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7097 * gst/gstbin.c: (gst_bin_element_set_state):
7098 Always change the state of a NO_PREROLL element even if it has ASYNC
7099 elements inside (in case of a bin).
7101 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7102 Unit test for this case.
7104 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7106 * libs/gst/check/gstbufferstraw.c:
7107 * libs/gst/check/gstcheck.h:
7108 * libs/gst/controller/gstcontroller.c:
7109 * libs/gst/controller/gstcontrolsource.h:
7110 * libs/gst/controller/gstlfocontrolsource.h:
7111 * plugins/elements/gstcapsfilter.h:
7112 * plugins/elements/gstfdsink.h:
7113 * plugins/elements/gstfdsrc.h:
7114 Add more missing docs.
7116 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7118 * gst/gststructure.c:
7119 Add Since tag to docs.
7121 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7123 * docs/gst/gstreamer-sections.txt:
7124 * gst/gststructure.c: (gst_structure_get_uint):
7125 * gst/gststructure.h:
7126 Add function to get uint from a structure.
7127 API: gst_structure_get_uint()
7129 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7131 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7132 (gst_caps_intersect):
7133 Fix proper check for simple caps.
7135 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7137 * docs/gst/Makefile.am:
7138 * docs/libs/Makefile.am:
7139 Remove cruft and do some cleanups.
7141 * docs/gst/gstreamer-docs.sgml:
7142 * docs/libs/gstreamer-libs-docs.sgml:
7143 Prepare for comming gtkdoc features (rebase against online docs).
7145 2007-08-10 Michael Smith <msmith@fluendo.com>
7147 * docs/gst/gstreamer-sections.txt:
7148 Add gst_registry_add_path to docs.
7150 2007-08-10 Michael Smith <msmith@fluendo.com>
7152 * gst/gstregistry.h:
7153 Add gst_registry_add_path, which was missing from this header.
7155 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7157 * libs/gst/controller/gstlfocontrolsource.c:
7160 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7162 * libs/gst/base/gstbasesink.c:
7163 Don't send an async_start message during downwards state change if
7164 target state is less than READY
7166 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7168 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7172 Added Hungarian translation.
7174 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7181 Updated translations.
7183 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7185 * libs/gst/controller/Makefile.am:
7186 Dist gstlfocontrolsourceprivate.h
7188 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7190 * docs/libs/gstreamer-libs.types:
7191 Don't register the enum type gst_lfo_waveform_get_type() in the
7192 .types file - only GObject derived types belong.
7194 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7196 Patch by: <arenevier at fdn dot fr>
7199 Remove comma from last element in enum to avoid compile errors when
7200 using -pendantic. Fixes #464366.
7202 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7204 * docs/design/part-TODO.txt:
7205 Add some more TODO items
7207 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7210 * gst/gstcaps.c: (gst_caps_intersect):
7211 Optimize trivial intersection case between identical caps pointers.
7213 * gst/gstelement.c: (gst_element_continue_state),
7214 (gst_element_set_state_func):
7216 Fix spelling and grammar mistakes.
7218 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7222 Update POTFILES. Fixes #461599.
7224 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7227 Fix confusing typo in debug output.
7229 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7231 reviewed by: Stefan Kost <ensonic@users.sf.net>
7233 * libs/gst/controller/Makefile.am:
7234 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7235 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7236 (gst_lfo_control_source_new),
7237 (gst_lfo_control_source_set_waveform),
7238 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7239 (gst_lfo_control_source_finalize),
7240 (gst_lfo_control_source_dispose),
7241 (gst_lfo_control_source_set_property),
7242 (gst_lfo_control_source_get_property),
7243 (gst_lfo_control_source_class_init):
7244 * libs/gst/controller/gstlfocontrolsource.h:
7245 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7246 API: Add GstLFOControlSource, a control source that gives values
7247 for specific timestamps based on several periodic waveforms.
7250 * tests/check/libs/controller.c: (GST_START_TEST),
7251 (gst_controller_suite):
7252 * docs/libs/gstreamer-libs-docs.sgml:
7253 * docs/libs/gstreamer-libs-sections.txt:
7254 * docs/libs/gstreamer-libs.types:
7255 Add documentation and unit tests for GstLFOControlSource.
7257 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7262 === release 0.10.14 ===
7264 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7267 releasing 0.10.14, "Breathing Vacuum"
7269 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7271 * gst/gstelement.c: (gst_element_class_set_details_simple):
7273 Make strings passed to gst_element_class_set_details_simple()
7274 constant, as they should be (#462752).
7276 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7278 * gst/gstbin.c: (gst_bin_change_state_func),
7279 (bin_handle_async_done), (gst_bin_handle_message_func):
7280 Don't forget about the fact that some element went ASYNC even after a
7281 resync. This makes us post the ASYNC_DONE message correctly.
7284 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7286 * gst/gstregistry.c: (gst_registry_add_feature):
7287 When replacing an existing feature in the registry, make sure to
7288 continue holding a reference until we've replaced the name string
7289 within our feature hash table. Make sure to use g_hash_table_replace
7290 instead of g_hash_table_insert to ensure the new name string is used
7291 as a key instead of the old one that we're about to free.
7294 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7296 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7297 (gst_plugin_feature_set_name):
7298 Revert patch from #459466 until after the release and we can work
7299 out exactly what the problem is (if any).
7301 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7303 * docs/gst/gstreamer-sections.txt:
7306 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7308 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7310 * docs/libs/Makefile.am:
7311 Include our build-prefix libs and includes before the generic ones to
7312 avoid linking against the installed libs when we want the build-tree
7315 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7317 Patch by: Steve Fink <sphink gmail com>
7319 * docs/pwg/building-testapp.xml:
7320 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7321 if people try to build or install the example from the plugin
7322 template against a GStreamer from package using the configure
7325 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7327 Patch by: Steve Fink <sphink gmail com>
7329 * tools/gst-inspect.1.in:
7330 Document --print-all and --print-plugin-auto-install-info command
7331 line options in man page.
7333 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7335 * docs/gst/gstreamer-sections.txt:
7336 Add docs for new api function.
7338 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7340 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7341 * gst/gstelementfactory.h:
7342 API: gst_element_factory_has_interface()
7343 Added method to check if an element factory implements a named
7346 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7349 * docs/gst/gstreamer.types.in:
7350 Another conditional doc check.
7353 * gst/gstparamspecs.h:
7354 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7359 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7361 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7362 (gst_registry_binary_load_feature),
7363 (gst_registry_binary_load_plugin),
7364 (gst_registry_binary_read_cache):
7365 Print error just once and with additional info.
7367 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7369 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7370 (helper_find_suggest), (helper_find_get_length),
7371 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7372 (gst_type_find_helper_for_buffer):
7373 Cleanup the typefindhelper code and add private doc comments.
7375 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7377 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7378 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7379 Fix capsfilter for cases where the caps set on capsfilter will provide
7380 additional information.
7383 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7385 * gst/gsttypefindfactory.c:
7386 Fix docs that recommened wrong function to use.
7388 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7390 * tools/gst-inspect.c: (print_plugin_features):
7391 Also give media-type for typefinders in element output.
7393 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7395 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7396 (gst_registry_remove_features_for_plugin_unlocked),
7397 (gst_registry_add_feature), (gst_registry_remove_feature),
7398 (gst_registry_lookup_feature_locked):
7399 * gst/gstregistry.h:
7400 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7403 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7405 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7406 (gst_plugin_feature_set_name):
7407 Avoid double memory usage for pluginfeature names. Fixes #459466.
7409 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7412 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7413 driving the pipeline may need to explicitly check for NOT_LINKED as
7414 well, since IS_FATAL doesn't cover that.
7416 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7418 * docs/pwg/advanced-types.xml:
7419 Fix typo and duplicate entry in video formats list.
7421 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7423 * libs/gst/controller/gstinterpolation.c:
7424 Also round to the nearest int when using cubic interpolation.
7426 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7428 * libs/gst/controller/gstinterpolation.c:
7429 When linearly interpolating integer types, round to the nearest int
7430 by adding 0.5. Don't do it for float/double types.
7431 Fixes the failing controller test on my machine, which is somehow
7432 rounding differently than on the buildbots.
7434 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7436 * tools/gst-plot-timeline.py:
7437 Better log parsing (categories can have -). Adjust text vs. lines, so
7438 that they span the same y-range.
7440 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7442 * docs/random/ensonic/audiobaseclasses.txt:
7443 * docs/random/ensonic/dynlink.txt:
7444 * docs/random/ensonic/profiling.txt:
7447 * docs/random/moving-plugins:
7448 Add note to use g_assert type macros.
7450 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7453 * libs/gst/check/Makefile.am:
7454 Add libm check as we use in for plugins.
7456 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7458 * gst/gstbin.c: (gst_bin_continue_func):
7459 Check that the state_cookie hasn't changed since the continue_func
7460 was scheduled. Avoids problems where the state changes back to
7461 something it shouldn't be because it was changed in the meantime.
7463 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7465 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7466 (gst_registry_binary_save_string),
7467 (gst_registry_binary_save_pad_template),
7468 (gst_registry_binary_save_feature),
7469 (gst_registry_binary_save_plugin),
7470 (gst_registry_binary_load_feature),
7471 (gst_registry_binary_load_plugin),
7472 (gst_registry_binary_read_cache):
7473 Fix memory leak. Be less verbose in the log.
7475 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7477 * tests/check/elements/.cvsignore:
7478 Add file to cvsignore as commanded.
7480 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7482 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7483 (mq_dummypad_event), (run_output_order_test):
7484 Use a GStaticMutex to protect all cases where libcheck
7485 fail_if/fail_unless macros might be called from multiple threads
7486 simultaneously to avoid errors like:
7487 "check_pack.c:107: :-1081725400:Bad message type arg"
7489 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7491 * tests/check/pipelines/stress.c: (GST_START_TEST):
7492 Make sure we set the pipeline back to the NULL state before
7493 dropping our final reference.
7495 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7497 * tests/check/elements/tee.c: (GST_START_TEST):
7498 Make the tee stress-test a little less stressful so it doesn't just
7499 time out on slow-machines, and remove a small race when it's starting
7500 up by adding a get_state() call.
7502 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7505 Avoid reading registry twice on startup. Fixes #457322.
7507 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7509 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7510 * pkgconfig/gstreamer-check.pc.in:
7511 Substitute the CFLAGS for libcheck into our .pc file too so that
7512 dependent modules will pick it up properly if libcheck is installed
7513 into some other prefix.
7515 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7518 Revert the pkg-config check for libcheck, since it pulls in the
7519 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7520 a proper solution, either from the check project, or something else.
7522 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7525 Use pkg-config to locate check.
7527 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7534 Add deprecation guards.
7536 * libs/gst/base/gstcollectpads.h:
7537 Don't document object (this is implicitly private).
7539 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7541 * gst/gststructure.c: (gst_structure_parse_value):
7542 When deserialising foo=bar without a type cast, check if it's a
7543 boolean before falling back to a string type, otherwise things like
7544 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7545 because the filtercaps end up having a signed=(string)true field,
7546 which causes problems later when intersection caps.
7548 * tests/check/gst/gststructure.c: (GST_START_TEST):
7549 Add a unit test for this.
7551 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7553 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7555 * libs/gst/controller/Makefile.am:
7556 * libs/gst/controller/gstcontroller.c:
7557 (gst_controlled_property_add_interpolation_control_source),
7558 (gst_controlled_property_new), (gst_controlled_property_free),
7559 (gst_controller_find_controlled_property),
7560 (gst_controller_new_valist), (gst_controller_new_list),
7561 (gst_controller_new), (gst_controller_remove_properties_valist),
7562 (gst_controller_remove_properties_list),
7563 (gst_controller_remove_properties),
7564 (gst_controller_set_property_disabled),
7565 (gst_controller_set_disabled), (gst_controller_set_control_source),
7566 (gst_controller_get_control_source), (gst_controller_get),
7567 (gst_controller_sync_values), (gst_controller_get_value_array),
7568 (_gst_controller_dispose), (gst_controller_get_type),
7569 (gst_controlled_property_set_interpolation_mode),
7570 (gst_controller_set), (gst_controller_set_from_list),
7571 (gst_controller_unset), (gst_controller_unset_all),
7572 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7573 * libs/gst/controller/gstcontroller.h:
7574 * libs/gst/controller/gstcontrollerprivate.h:
7575 * libs/gst/controller/gstcontrolsource.c:
7576 (gst_control_source_class_init), (gst_control_source_init),
7577 (gst_control_source_get_value),
7578 (gst_control_source_get_value_array), (gst_control_source_bind):
7579 * libs/gst/controller/gstcontrolsource.h:
7580 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7581 (gst_object_get_control_source):
7582 * libs/gst/controller/gstinterpolation.c:
7583 (gst_interpolation_control_source_find_control_point_node),
7584 (gst_interpolation_control_source_get_first_value),
7585 (_interpolate_none_get), (interpolate_none_get),
7586 (interpolate_none_get_boolean_value_array),
7587 (interpolate_none_get_enum_value_array),
7588 (interpolate_none_get_string_value_array),
7589 (_interpolate_trigger_get), (interpolate_trigger_get),
7590 (interpolate_trigger_get_boolean_value_array),
7591 (interpolate_trigger_get_enum_value_array),
7592 (interpolate_trigger_get_string_value_array):
7593 * libs/gst/controller/gstinterpolationcontrolsource.c:
7594 (gst_control_point_free), (gst_interpolation_control_source_reset),
7595 (gst_interpolation_control_source_new),
7596 (gst_interpolation_control_source_set_interpolation_mode),
7597 (gst_interpolation_control_source_bind),
7598 (gst_control_point_compare), (gst_control_point_find),
7599 (gst_interpolation_control_source_set_internal),
7600 (gst_interpolation_control_source_set),
7601 (gst_interpolation_control_source_set_from_list),
7602 (gst_interpolation_control_source_unset),
7603 (gst_interpolation_control_source_unset_all),
7604 (gst_interpolation_control_source_get_all),
7605 (gst_interpolation_control_source_get_count),
7606 (gst_interpolation_control_source_init),
7607 (gst_interpolation_control_source_finalize),
7608 (gst_interpolation_control_source_dispose),
7609 (gst_interpolation_control_source_class_init):
7610 * libs/gst/controller/gstinterpolationcontrolsource.h:
7611 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7612 API: Refactor GstController into the core controller which can take
7613 a GstControlSource for providing actual values for timestamps.
7614 Implement a interpolation control source and use this for backward
7615 compatibility, deprecate a bunch of functions that are now handled
7616 by GstControlSource or GstInterpolationControlSource.
7617 Make it possible to disable the controller completely or only for
7618 specific properties. Fixes #450711.
7619 * docs/libs/gstreamer-libs-docs.sgml:
7620 * docs/libs/gstreamer-libs-sections.txt:
7621 * docs/libs/gstreamer-libs.types:
7622 Add new functions and classes to the docs.
7623 * tests/check/libs/controller.c: (GST_START_TEST),
7624 (gst_controller_suite):
7625 * tests/examples/controller/audio-example.c: (main):
7626 Port unit test and example to the new API and add some new
7629 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7631 Patch by: Mark Nauwelaerts <manauw at skynet be>
7633 * plugins/elements/gstmultiqueue.c:
7634 (gst_multi_queue_get_internal_links), (apply_buffer),
7635 (single_queue_overrun_cb), (gst_single_queue_new):
7636 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7637 the pipeline layout can be tracked correctly. Fixes #453732.
7639 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7641 * docs/gst/Makefile.am:
7642 * docs/libs/Makefile.am:
7643 * docs/plugins/Makefile.am:
7644 Simplify --extra-dir as gtkdoc scans recursively.
7646 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7648 * tools/gst-launch.c: (main):
7649 When we got an error, there is no point in waiting for preroll when
7652 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7654 * plugins/elements/gsttee.c: (gst_tee_base_init),
7655 (gst_tee_request_new_pad), (gst_tee_release_pad),
7656 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7657 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7659 Be a lot smarter when deciding what srcpad to use for proxying
7660 the buffer_alloc. Also handle pad added/removed when doing so.
7662 Keep track of what pads we already pushed on in case we have pads
7663 added/removed while pushing. Fixes #374639
7665 * tests/check/Makefile.am:
7666 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7668 Added unit test for pad resync.
7670 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7674 Updated translations.
7676 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7678 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7682 Added new Finnish translation.
7684 2007-06-28 Wim Taymans <wim@fluendo.com>
7686 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7687 (single_queue_overrun_cb):
7688 When figuring out when a queue is filled, use our internal time estimate
7689 based on segments, just like check_full does.
7691 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7693 * gst/gstminiobject.c: (gst_mini_object_get_type):
7694 Remove 3 do-nothing methods.
7696 2007-06-27 Wim Taymans <wim@fluendo.com>
7698 Patch by: Tim Angus <tim at ngus dot net>
7700 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7701 (gst_capsfilter_set_property):
7702 Take a reference instead of a copy when setting "caps".
7703 Fix documentation to clarify this behaviour. Fixes #449414.
7705 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7707 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7708 * gst/gstplugin.c: (gst_plugin_init):
7709 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7710 * gst/gstquery.c: (gst_query_get_type):
7711 * gst/gstregistry.c: (gst_registry_init):
7712 * gst/gsturi.c: (gst_uri_handler_base_init):
7713 Remove empty instance_init() functions to save relocs and lessen the
7714 noise. Remove some of the function prototypes that are doubled by
7717 2007-06-27 Wim Taymans <wim@fluendo.com>
7719 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7721 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7722 Add peer and direction in the XML serialisation of ghostpads.
7725 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7728 Preserve useful information, thanks Tim.
7730 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7732 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7733 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7734 (gst_single_queue_push_one), (gst_multi_queue_loop),
7735 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7736 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7737 (compute_high_id), (gst_single_queue_new):
7738 * plugins/elements/gstmultiqueue.h:
7739 Take the multiqueue lock when updating the fill level so we don't get
7742 After applying a buffer or event on the src pad segment, make sure to
7743 call gst_data_queue_limits_changed() to get the data queue to unblock
7744 and check the filled state again.
7746 Rework the not-linked pad handling so the logic is that not-linked
7747 pads can push as fast as they like, but only so they never get
7748 ahead of any linked pads.
7750 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7751 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7752 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7754 Add a test to check that not-linked pads always stay behind
7759 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7761 * docs/random/release:
7762 Some updates to the release procedure.
7764 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7766 * gst/gstelementfactory.c: (__gst_element_details_clear):
7767 Microoptimization that saves stunning 80 bytes.
7769 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7771 * docs/plugins/gstreamer-plugins.args:
7772 * docs/plugins/inspect/plugin-coreelements.xml:
7773 * docs/plugins/inspect/plugin-coreindexers.xml:
7774 Update docs with caps info.
7776 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7779 Updated Italian translation.
7781 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7785 Update Vietnamese translations.
7787 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7789 * libs/gst/base/gstbasesink.c:
7790 Remove unused signal enum.
7792 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7794 * docs/gst/gstreamer-sections.txt:
7796 * gst/gstutils.c: (gst_type_register_static_full):
7797 Beef up and include the docs for gst_type_register_static_full and
7798 gst_element_class_set_details_simple and add the API keyword
7801 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7803 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7804 (update_time_level), (gst_single_queue_push_one),
7805 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7806 (single_queue_overrun_cb), (single_queue_underrun_cb),
7807 (single_queue_check_full):
7808 Fix setting max-* properties after adding queues.
7809 Use IS_FILLED for checking visible items.
7810 Signal overrun if multiple queues overrun.
7811 Add extra debug output.
7812 Patch by: Wim Taymans <wim@fluendo.com>
7814 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7816 * gst/gstelement.c: (gst_element_class_set_details_simple):
7818 * gst/gstutils.c: (gst_type_register_static_full):
7820 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7821 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7822 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7823 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7824 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7825 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7826 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7827 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7828 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7829 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7830 (apply_buffer), (gst_queue_chain):
7831 * plugins/elements/gsttee.c: (gst_tee_base_init):
7832 * plugins/elements/gsttypefindelement.c:
7833 (gst_type_find_element_base_init),
7834 (gst_type_find_element_class_init):
7835 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7836 API: add gst_type_register_static_full
7837 API: add gst_element_class_set_details_simple
7839 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7841 * docs/pwg/advanced-types.xml:
7842 Fix typo in iana.org URI.
7844 2007-06-19 Andy Wingo <wingo@pobox.com>
7846 * tests/check/pipelines/simple-launch-lines.c
7847 (test_state_change_returns): Enable pull-mode tests now that
7848 basesink has been fixed.
7850 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7851 Changed from gst_base_sink_is_prerolled, reversing the sense of
7852 the return value. Returns FALSE also if the sink is in pull mode,
7853 in which case it needs no preroll.
7854 (gst_base_sink_query, gst_base_sink_change_state): Update for
7855 needs_preroll change.
7856 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7857 chaining up, in which we return SUCCESS directly if we activated
7858 in pull mode instead of ASYNC. Involves countering an async_start
7859 message sent before chaining up; not sure if this is correct, in
7860 an ideal world we only send async-start when activating in push
7863 * tests/check/pipelines/simple-launch-lines.c
7864 (test_state_change_returns): New test, partially disabled until
7867 2007-06-19 Wim Taymans <wim@fluendo.com>
7869 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7870 (gst_multi_queue_sink_event):
7873 2007-06-19 Wim Taymans <wim@fluendo.com>
7875 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7876 (gst_bin_change_state_func), (bin_push_state_continue),
7877 (bin_handle_async_start), (bin_handle_async_done),
7878 (gst_bin_handle_message_func):
7879 Move the common code for posting state-change messages into
7881 Broadcast the state signal after we posted the messages.
7882 Mark the bin as busy when it's doing a state-change.
7883 Make sure async-start/done messages don't interfere with the bin's
7884 state when it's busy.
7885 After the state change, let the bin check which elements completed the
7886 state change while it was busy so that it can update its state.
7888 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7890 * docs/random/release:
7891 Add a note about updating the doap file to the release checklist
7893 2007-06-18 Wim Taymans <wim@fluendo.com>
7895 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7896 (gst_single_queue_push_one), (gst_multi_queue_chain),
7897 (gst_multi_queue_sink_event):
7898 Make sure we don't reference the buffer/event after we have given away
7899 ownership in the queue.
7901 2007-06-18 Wim Taymans <wim@fluendo.com>
7903 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7904 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7905 Update queue state _after_ adding the item in the queue because else we
7906 could end up being full without the element added yet.
7908 2007-06-18 Wim Taymans <wim@fluendo.com>
7910 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7911 (gst_bin_remove_func), (gst_bin_get_state_func),
7912 (gst_bin_element_set_state), (gst_bin_continue_func),
7913 (bin_push_state_continue), (bin_handle_async_start),
7914 (bin_handle_async_done), (gst_bin_handle_message_func):
7916 Immediatly commit the toplevel bin state when receiving an async-done
7917 message. This enables us to avoid spawning a thread to commit the state
7918 in some common cases and it also avoids some races.
7919 Avoid spawning a state thread when adding/removing async elements to a
7920 toplevel bin. Instead we immediatly update the bin state.
7921 Get rid of iterating all the children when getting the state in the bin
7922 because it is now always up-to-date.
7923 Fix bug where locked elements would always return _SUCCESS even it they
7924 returned NO_PREROLL before being locked.
7925 Fix the order of the state_change, async-start/done messages that was
7926 sometimes incorrect.
7927 Mark the state_dirty field as deprecated, we don't need it anymore as we
7928 are always up-to-date.
7930 * gst/gstelement.c: (gst_element_get_state_func),
7931 (gst_element_continue_state):
7932 Small debug inprovements.
7933 Return the previous element state return when nothing is pending instead
7934 of blindly returning SUCCESS.
7936 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7938 Add a whole bunch of new testcases.
7940 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7944 Update translations.
7946 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7949 Fix typo in the docs.
7951 2007-06-15 Wim Taymans <wim@fluendo.com>
7953 * docs/libs/gstreamer-libs-sections.txt:
7954 Add docs for new methods.
7956 2007-06-15 Wim Taymans <wim@fluendo.com>
7958 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7959 (gst_multi_queue_item_new):
7960 Don't use GSlice because we don't depend on >= 2.10 yet.
7962 2007-06-15 Wim Taymans <wim@fluendo.com>
7964 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7965 (update_time_level), (apply_segment), (apply_buffer),
7966 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7967 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7968 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7969 (single_queue_underrun_cb), (single_queue_check_full):
7970 Remove debug printf.
7972 2007-06-15 Wim Taymans <wim@fluendo.com>
7974 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7975 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7976 (gst_data_queue_set_flushing), (gst_data_queue_push),
7977 (gst_data_queue_pop), (gst_data_queue_drop_head),
7978 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7979 * libs/gst/base/gstdataqueue.h:
7981 Added methods to get the current levels and to inform the queue that the
7982 'full' limits changed.
7984 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7985 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7986 (gst_single_queue_flush), (update_time_level), (apply_segment),
7987 (apply_buffer), (gst_single_queue_push_one),
7988 (gst_multi_queue_item_steal_object),
7989 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7990 (gst_multi_queue_loop), (gst_multi_queue_chain),
7991 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7992 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7993 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7994 (single_queue_underrun_cb), (single_queue_check_full),
7995 (gst_single_queue_new):
7996 Keep track of time in the queue by measuring the difference between
7997 running_time on input and output. This gives more accurate results and
7998 can compensate for segments correctly.
7999 Make a queue by default only 5 buffers deep. We will now increase the
8000 buffer size depending on the filledness of the other queues.
8001 Factor out commong flush code.
8002 Make sure we don't add additional refcounts to buffers when we can avoid
8004 Propagate GstFlowReturn differently.
8005 Use GSlice for intermediate GstMultiQueueItems.
8007 Resize queues on over and underruns based on filled level of other
8009 When checking if the queue is filled, prefer to measure in time if we
8010 can and fall back to bytes when no time is known.
8012 * plugins/elements/gstqueue.c:
8015 2007-06-15 Wim Taymans <wim@fluendo.com>
8017 * libs/gst/base/gstbasetransform.c:
8018 (gst_base_transform_sink_event):
8019 Work around the brokenness of the event vmethod in basetransform. Prefer
8020 to return TRUE when the subclass returned FALSE (meaning don't forward
8023 * libs/gst/base/gstbasetransform.h:
8026 2007-06-15 Wim Taymans <wim@fluendo.com>
8028 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8029 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8030 (gst_base_src_default_query), (gst_base_src_get_range),
8031 (gst_base_src_start):
8032 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8035 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8037 * docs/pwg/advanced-types.xml:
8038 Added more formats to caps table.
8040 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8042 * tools/gst-launch.c: (main):
8043 Remove crufy code. GOption does not need this workaround.
8045 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8047 * libs/gst/controller/gstcontroller.c:
8048 (gst_controlled_property_set_interpolation_mode):
8049 Fix wrong getter for enums in controller.
8051 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8053 * libs/gst/check/gstcheck.c: (gst_check_init):
8054 Intercept criticals and warnings in the Gst-Phonon log domain, so
8055 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8058 2007-06-14 Edward Hervey <edward@fluendo.com>
8060 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8061 Since this file doesn't include "gst.h" it will not go through the
8062 macros that disable GST_LOG if debugging was disabled.
8064 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8066 * libs/gst/check/Makefile.am:
8067 * libs/gst/check/gstcheck.h:
8068 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8069 * pkgconfig/gstreamer-check.pc.in:
8070 Ugly 'fix' for the controller unit test on the p5 bot: in
8071 fail_unless_equals_float() check whether the values are 'almost
8072 equal' by allowing a small absolute error, which should be good
8073 enough for our use cases (normal numbers and values close to 0).
8074 Proper fixage left to floating point arithmetic aficionados.
8076 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8078 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8079 (gst_base_sink_render_object), (gst_base_sink_get_position):
8080 Add two breaks thats where missing.
8082 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8084 * docs/libs/gstreamer-libs-sections.txt:
8085 * libs/gst/check/gstcheck.h:
8086 API: add fail_unless_equals_float() and assert_equals_float().
8087 Add documentation for some of the macros.
8089 * tests/check/libs/controller.c: (GST_START_TEST):
8090 Use newly-added asserts.
8092 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8094 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8095 Show the caps change in the log to help spotting the case of not
8096 exactly matching caps.
8098 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8100 * docs/pwg/building-boiler.xml:
8101 Fix typos, spotted by Thijs Vermeir (#447190).
8103 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8105 * docs/plugins/tmpl/.cvsignore:
8106 Ignore file to keep the buildbots happy
8108 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8110 * docs/plugins/Makefile.am:
8111 * docs/plugins/gstreamer-plugins-docs.sgml:
8112 * docs/plugins/gstreamer-plugins-sections.txt:
8113 Pull fdsink into the docs too.
8115 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8117 * libs/gst/controller/gstinterpolation.c:
8118 Actually use the new functions with min/max checks for the trigger and
8119 none interpolation modes for get() and get_value_array() instead of
8122 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8124 * libs/gst/controller/gstcontroller.c:
8125 (gst_controlled_property_free):
8126 Unset the minimum and maximum GValues when freeing the corresponding
8127 GstControllerProperty struct.
8129 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8131 * libs/gst/controller/gstcontroller.c:
8132 (gst_controlled_property_new):
8133 * libs/gst/controller/gstcontrollerprivate.h:
8134 * libs/gst/controller/gstinterpolation.c:
8135 (gst_controlled_property_find_control_point_node),
8136 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8137 (interpolate_none_get_string_value_array),
8138 (interpolate_trigger_get),
8139 (interpolate_trigger_get_enum_value_array),
8140 (interpolate_trigger_get_string_value_array):
8141 Protect against values larger or smaller than the minimum or maximum
8142 allowed value for the property when using values that can be compared.
8144 Optimize trigger interpolator a bit by taking the last requested value
8145 into account instead of always looping through the complete list.
8147 Fix coding style a bit, everywhere else we use "return foo" instead
8150 * tests/check/libs/controller.c: (GST_START_TEST),
8151 (gst_controller_suite):
8152 Add unit test for the protection against too large or too small
8155 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8157 * docs/random/slomo/controller.txt:
8158 Add some thoughts about the future of the controller.
8160 2007-06-08 Wim Taymans <wim@fluendo.com>
8162 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8163 Don't overflow in retimestamping code.
8165 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8167 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8168 Use gst_util_guint64_to_gdouble for conversions.
8169 * win32/common/libgstreamer.def:
8170 Add new exported functions.
8172 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8175 Small docs addition.
8177 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8180 Remove that test line again.
8182 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8185 Test commit mail sending.
8187 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8190 Fix typo and test commit mail sending.
8192 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8194 * tests/examples/controller/audio-example.c:
8195 Improve comment and test commit mail sending.
8197 2007-06-07 Wim Taymans <wim@fluendo.com>
8199 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8200 (gst_bin_remove_func), (gst_bin_element_set_state),
8201 (bin_handle_async_start), (bin_handle_async_done),
8202 (gst_bin_handle_message_func):
8203 Add helper function to find messages.
8204 Generate the async-done messages together with the state change
8206 Small cleanups in handling toplevel bins.
8208 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8210 * libs/gst/base/gstdataqueue.c:
8211 * libs/gst/base/gstdataqueue.h:
8212 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8213 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8214 (gst_multi_queue_sink_event):
8215 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8216 Fix multiqueue leaking buffers and events when downstream or the
8217 queue are flushing. Make refcounting assumptions explicit and
8218 document them (shouldn't break existing code that uses it other than
8219 maybe leak miniobjects, but that already happens anyway). Add unit
8220 test for the most common flushing case. Fixes #423700.
8222 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8224 * libs/gst/controller/gstcontroller.c:
8225 Clarify docs: The get_all, get_value_array(s) functions
8226 don't modify the GObject properties.
8228 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8230 * libs/gst/controller/gstcontroller.c:
8231 (gst_controlled_property_set_interpolation_mode),
8232 (gst_controlled_property_prepend_default),
8233 (gst_controlled_property_new), (gst_controller_set_unlocked),
8234 (gst_controller_set), (gst_controller_set_from_list),
8235 (gst_controller_unset), (gst_controller_unset_all):
8236 * libs/gst/controller/gstcontrollerprivate.h:
8237 * libs/gst/controller/gstinterpolation.c:
8238 Factor out the 'set' logic into gst_controller_set_unlocked for the
8239 gst_controller_set and gst_controller_set_from_list functions.
8241 To make life of the interpolators easier always add a control point
8242 at timestamp zero with the default value.
8244 In the linear interpolator make things more obvious by better variable
8247 Implement cubic interpolation mode (by using a natural cubic spline)
8248 and map the quadratic interpolation mode to this too (as quadratic
8249 doesn't make much sense, see discussion on the list).
8251 * tests/check/libs/controller.c: (GST_START_TEST),
8252 (gst_controller_suite):
8253 Add unit test for the cubic interpolation mode and check everywhere
8254 if the interpolation mode could be set as expected.
8256 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8258 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8259 Don't use GLib-2.10 functions, we still depend on
8260 GLib-how-old-is-it-again-2.8.
8262 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8264 * docs/gst/gstreamer-sections.txt:
8268 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8269 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8270 (_gst_param_fraction_values_cmp),
8271 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8272 * gst/gstparamspecs.h:
8274 * tests/check/Makefile.am:
8275 * tests/check/gst/.cvsignore:
8276 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8277 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8278 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8279 (GST_START_TEST), (gst_param_spec_suite):
8280 API: add GstParamSpecFraction, so elements can have fraction
8281 properties without lots of painful string parsing (#444648).
8283 2007-06-05 Wim Taymans <wim@fluendo.com>
8285 * gst/gstobject.c: (gst_object_class_init):
8286 Fix signal signature.
8289 Add small clarification in the api docs.
8291 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8292 States are protected with object lock.
8294 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8297 I should probably be listed as an author by now.
8299 * docs/random/release:
8300 Update the release doc
8302 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8305 Make docs for gst_value_compare() mention return enums that
8308 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8313 === release 0.10.13 ===
8315 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8318 releasing 0.10.13, "With or without you"
8320 2007-05-25 Wim Taymans <wim@fluendo.com>
8322 * gst/gstbin.c: (bin_handle_async_done):
8323 Make sure that the child bin stops after completing the async state
8324 change so that the parent can continue the state change to PLAYING.
8327 2007-05-25 Wim Taymans <wim@fluendo.com>
8329 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8330 (unref_data), (gst_collect_pads_remove_pad),
8331 (gst_collect_pads_check_pads):
8332 Use additional refcounting to avoid crashes when dynamically adding and
8333 removing pads. Fixes #420206.
8335 2007-05-24 Wim Taymans <wim@fluendo.com>
8337 * tools/gst-launch.c: (event_loop):
8338 When buffering goes from a two digit to a single digit number, make sure
8339 to remove the old second digit by writing a blank over it.
8341 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8343 * libs/gst/base/gstdataqueue.c:
8344 Eliminate tabs and trailing comma in enum list; fix some typos.
8346 2007-05-24 Wim Taymans <wim@fluendo.com>
8348 * tests/check/gst/gstbin.c: (GST_START_TEST):
8349 Allow refcount of 3 and 4 because some state thread might still be busy
8352 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8354 * plugins/elements/Makefile.am:
8355 * plugins/elements/gstmultiqueue.h:
8356 * plugins/elements/gstqueue.h:
8357 These are not installed headers, no need for padding.
8359 2007-05-24 Wim Taymans <wim@fluendo.com>
8361 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8362 (gst_bin_continue_func):
8363 Enable latency for next release.
8364 Restore STATE_LOCK around recalc_state that was left out during the
8365 rewrite and could result in racy behaviour when _get_state and
8366 recalc_state are run concurrently. See #440463.
8368 2007-05-23 Wim Taymans <wim@fluendo.com>
8370 * tests/check/gst/gstsystemclock.c: (store_callback),
8372 Improve test_async_order to also work when both timers are already
8373 expired when we get scheduled to check it.
8375 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8377 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8378 (gst_bin_set_property), (gst_bin_get_property),
8379 (gst_bin_remove_func), (gst_bin_handle_message_func):
8381 'private' is a c++ keyword, let's not use that in header files,
8382 otherwise c++ compilers will throw a tantrum.
8384 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8386 * plugins/elements/gstelements.c:
8387 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8388 (gst_file_sink_get_current_offset):
8389 * plugins/indexers/gstindexers.c: (plugin_init):
8390 Use #ifdef for HAVE_XYZ for consistency.
8392 * tests/check/Makefile.am:
8393 * tests/check/elements/.cvsignore:
8394 * tests/check/elements/filesink.c: (setup_filesink),
8395 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8396 Add some unit tests for filesink.
8398 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8400 Patch by: Mark Nauwelaerts <manauw at skynet be>
8402 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8403 (gst_file_sink_query), (gst_file_sink_do_seek),
8404 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8405 * plugins/elements/gstfilesink.h:
8406 Fix position reporting; rename data_written member to current_pos to
8407 reflect its real meaning (fixes #412648).
8409 2007-05-22 Edward Hervey <edward@fluendo.com>
8411 * docs/gst/gstreamer-sections.txt:
8412 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8413 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8414 (gst_bin_remove_func), (gst_bin_handle_message_func):
8416 Add a property for bins that handle the state change of their childs.
8419 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8421 * libs/gst/controller/gstinterpolation.c:
8422 Use an array of the correct type when using _get_value_array with
8423 linear interpolation.
8425 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8427 * gst/gstelement.c (gst_element_requires_clock,
8428 gst_element_provides_clock, gst_element_request_pad,
8429 gst_element_class_set_details, gst_element_class_set_details_simple,
8430 gst_element_default_send_event, gst_element_abort_state,
8431 gst_element_continue_state, gst_element_set_state,
8432 gst_element_set_state_func, iterator_activate_fold_with_resync):
8433 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8434 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8435 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8436 gst_pad_get_range, gst_pad_pull_range):
8437 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8438 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8439 GstPadActivateModeFunction, GstPadChainFunction,
8440 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8441 GstPadFixateCapsFunction, GstPadTemplate):
8442 * gst/gstpipeline.c (gst_pipeline_change_state,
8443 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8444 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8445 gst_pipeline_get_delay):
8446 Whitespace and docs fixes.
8448 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8450 * libs/gst/controller/gstinterpolation.c:
8451 (interpolate_trigger_get_enum_value_array),
8452 (interpolate_trigger_get_string_value_array):
8453 Add support for retrieving value arrays when using the trigger
8456 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8458 * libs/gst/controller/gstcontroller.c:
8459 (gst_controller_get_value_array):
8460 * libs/gst/controller/gstcontroller.h:
8461 Clarify the docs of gst_controller_get_value_array(): The array where
8462 the values should be written to must be allocated as there seems to be
8463 no way to get the size of a random GType. This doesn't change any
8464 behaviour. Also fix some typos all over the place and remove an unused,
8465 commented function that is not necessary as g_object_set() could be
8467 * tests/check/libs/controller.c: (GST_START_TEST),
8468 (gst_controller_suite):
8469 Add unit test for gst_controller_get_value_array().
8471 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8473 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8475 Disable part of the gst_buffer_try_new_and_alloc test, because
8476 it can happily succeed on 64-bit systems where there's more address
8479 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8481 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8482 Add unit test for the improved caps checking from bug #421543.
8484 2007-05-21 Wim Taymans <wim@fluendo.com>
8486 * docs/design/part-synchronisation.txt:
8489 * gst/gstbin.c: (gst_bin_query):
8490 * plugins/elements/gstqueue.c: (apply_segment):
8496 2007-05-21 Wim Taymans <wim@fluendo.com>
8498 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8499 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8500 (gst_pad_configure_src):
8501 Added simple version of improved caps checking. It was previously
8502 assumed that a setcaps function would check the validity of the caps but
8503 people prefer us to check caps against the template automatically.
8506 2007-05-21 Wim Taymans <wim@fluendo.com>
8508 * libs/gst/base/gstbasetransform.h:
8509 Fix macro for locking/unlocking the transform lock.
8511 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8513 * docs/plugins/tmpl/.cvsignore:
8516 2007-05-18 Edward Hervey <edward@fluendo.com>
8518 * plugins/elements/gstqueue.c: (gst_queue_loop):
8519 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8520 for the subtle art of warning a potentially blocking thread that it
8521 should check the source pad return value, and relay the information
8524 2007-05-18 Edward Hervey <edward@fluendo.com>
8526 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8527 Release the queue lock !
8529 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8531 * docs/libs/gstreamer-libs-sections.txt:
8532 Add the two new controller functions to the appropiate places.
8534 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8536 reviewed by: Stefan Kost <ensonic@users.sf.net>
8538 * libs/gst/controller/gstcontroller.c:
8539 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8540 (_gst_controller_get_property), (_gst_controller_set_property),
8541 (_gst_controller_init), (_gst_controller_class_init):
8542 * libs/gst/controller/gstcontroller.h:
8543 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8544 (gst_object_get_control_rate), (gst_object_set_control_rate):
8545 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8546 Add API that provides sync suggestion timestamps for elements that
8547 call gst_object_sync_values() from which those elements can subdivide
8548 their processing loop to get the best results for the controlled
8549 properties. For now it just suggests last_sync + control_rate as
8550 new timestamp but this will be improved in the future.
8552 While doing that change the control-rate property to a GstClockTime
8553 from guint and change it's meaning from samples to nanoseconds as
8554 the GstController doesn't know anything about sampling rate. Strictly
8555 speaking this breaks ABI but as the control-rate property didn't do
8556 anything in the past and as such couldn't be used this should be no
8559 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8561 reviewed by: Stefan Kost <ensonic@users.sf.net>
8563 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8564 (gst_controller_unset_all):
8565 * libs/gst/controller/gstcontrollerprivate.h:
8566 * libs/gst/controller/gstinterpolation.c:
8567 (gst_controlled_property_find_control_point_node):
8568 Save last synced value from the list to continue searching from there
8569 in future syncs. This speeds everything up a bit.
8571 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8573 reviewed by: Stefan Kost <ensonic@users.sf.net>
8575 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8576 (gst_control_point_find), (gst_controlled_property_new),
8577 (gst_control_point_free), (gst_controlled_property_free),
8578 (gst_controller_set), (gst_controller_set_from_list),
8579 (gst_controller_unset), (gst_controller_unset_all),
8580 (gst_controller_sync_values):
8581 * libs/gst/controller/gstcontroller.h:
8582 * libs/gst/controller/gstcontrollerprivate.h:
8583 * libs/gst/controller/gstinterpolation.c:
8584 (gst_controlled_property_find_control_point_node),
8585 (interpolate_none_get), (interpolate_trigger_get):
8586 Add a new private GstControlPoint struct which "inherits" from
8587 GstTimedValue to allow different interpolators to store internal
8588 values next to each control point. From the outside everything is
8589 still a GstControlPoint so we don't loose binary compatibility.
8590 Also fixup all the GValue handling to not leak GValues or list nodes.
8591 * tests/check/libs/controller.c: (GST_START_TEST):
8592 Free the list nodes and GValues in the controller_misc test.
8594 2007-05-17 Edward Hervey <edward@fluendo.com>
8599 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8601 * gst/gstplugin.c: (gst_plugin_load_file):
8602 If we fail to load a plugin because of unresolved symbols or missing
8603 libraries and spew a warning to stderr, we may just as well mention
8604 which plugin it was that failed to load.
8606 2007-05-13 David Schleef <ds@schleef.org>
8608 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8609 handles the case when ENABLE_GTK_DOC is false, and installs
8610 the prebuilt documentation. So gtk-doc subdirs are
8611 unconditionally enabled. Fixes: #349099.
8613 2007-05-13 David Schleef <ds@schleef.org>
8615 * gst/gstutils.h: Reword some documentation.
8617 2007-05-12 David Schleef <ds@schleef.org>
8619 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8620 do anything with the passed "module" parameter, so remove it.
8621 Allows removal of additional vestigal code.
8623 2007-05-12 David Schleef <ds@schleef.org>
8626 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8627 Switch to using g_stat() because it's more portable.
8629 2007-05-12 David Schleef <ds@schleef.org>
8632 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8633 parsing for embedded systems.
8634 * gst/gstelementfactory.c:
8635 Allow gst_element_register() to be called with plugin==NULL.
8636 Did nobody notice that static elements were broken?
8638 2007-05-12 Wim Taymans <wim@fluendo.com>
8640 * tools/gst-launch.c: (event_loop):
8641 Give more interesting info when buffering starts and stops.
8642 Fix case where buffering starts but we fail to update the buffering flag
8643 because the target state is not PLAYING.
8645 2007-05-12 Wim Taymans <wim@fluendo.com>
8647 * plugins/elements/gstqueue.c: (gst_queue_init),
8648 (gst_queue_finalize), (update_time_level), (apply_segment),
8649 (apply_buffer), (gst_queue_locked_flush),
8650 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8651 (gst_queue_handle_sink_event), (gst_queue_chain),
8652 (gst_queue_push_one), (gst_queue_loop):
8653 * plugins/elements/gstqueue.h:
8654 Refactor an cleanup queue a bit.
8655 Do better time level calculations that also work when the srcpad is not
8657 Remove some unneeded debug lines.
8659 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8660 Added testcase for time level measurement.
8661 Try to make some stuff more racefree.
8663 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8665 * gst/gsturi.c: (gst_element_make_from_uri):
8666 Don't leak plugin feature.
8668 * tests/check/Makefile.am:
8669 * tests/check/gst/.cvsignore:
8670 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8671 Add brain-dead unit test.
8673 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8675 Patch by: Jeroen Wouters <woutersj at gmail com>
8677 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8678 Treat protocol strings in a case-insensitive way (#437563).
8680 2007-05-11 Michael Smith <msmith@fluendo.com>
8682 * gst/gstplugin.c: (gst_plugin_load_file):
8683 * gst/gstregistry.c: (gst_registry_scan_path_level):
8684 Don't print a g_warning for any failure to load a shared object.
8685 Instead, push this down into gstplugin.c, and warn _only_ if we
8686 failed to open the module (i.e. failure to link).
8687 Avoids warnings on normal, working, non-plugin .so files.
8689 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8691 * gst/gstplugin.c (gst_plugin_load_file):
8692 * gst/gstregistry.c (GST_CAT_DEFAULT,
8693 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8694 Print a g_warning if there was an error when loading a plugins during
8695 registry scan. The shuld help beginners starting with gst-plugin
8698 2007-05-10 Wim Taymans <wim@fluendo.com>
8700 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8701 (update_time_level), (gst_queue_locked_flush),
8702 (gst_queue_handle_sink_event), (gst_queue_chain),
8703 (gst_queue_push_one), (gst_queue_loop):
8704 * plugins/elements/gstqueue.h:
8705 Be smarter when calculating the current amount of data in the queue by
8706 measuring the difference between start and end timestamps (in running
8707 time) inside the queue. Fixes #432876.
8708 API: GstQueue::pushing to notify elements that we are pushing data again
8709 since the running signal is rather broken for this purpose.
8711 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8713 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8714 gst_queue_base_init, gst_queue_init):
8717 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8719 * win32/common/libgstreamer.def:
8720 Add new exported functions.
8721 * win32/vs6/grammar.dsp:
8722 Use grammar pre-generated files.
8724 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8726 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8729 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8731 * gst/gstutils.c: (gst_parse_bin_from_description):
8733 Maintain API and ABI when --disable-parse is used. Now that
8734 we have an appropriate error code, we can just return NULL and the
8735 appropriate error when gst_parse_launch() is used despite it having
8736 been disabled (#342564).
8738 * tests/check/Makefile.am:
8739 * tests/check/pipelines/.cvsignore:
8740 * tests/check/pipelines/parse-disabled.c:
8741 Make sure these functions exist and return NULL plus a GError when
8742 --disable-parse is used.
8744 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8746 * tests/benchmarks/complexity.c: (main):
8747 * tests/benchmarks/mass-elements.c: (main):
8748 Set a good example and don't leak messages.
8750 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8752 * docs/gst/Makefile.am:
8753 * docs/libs/Makefile.am:
8754 Correct fixxrefs options.
8756 * docs/plugins/Makefile.am:
8757 * docs/plugins/gstreamer-plugins-docs.sgml:
8758 * docs/plugins/gstreamer-plugins-sections.txt:
8759 * plugins/elements/Makefile.am:
8760 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8761 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8762 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8763 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8764 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8765 _GstCapsFilterClass, trans_class):
8766 * plugins/elements/gstelements.c (name, rank, type, _elements):
8767 * plugins/elements/gstidentity.c
8768 (gst_identity_check_imperfect_timestamp,
8769 gst_identity_check_imperfect_offset):
8770 Document capsfilter and add doc-blurb to identity.
8772 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8774 * libs/gst/controller/gstcontroller.c:
8775 (gst_controlled_property_set_interpolation_mode):
8776 * libs/gst/controller/gstinterpolation.c:
8777 Don't crash if someone tries to set an interpolation mode that
8778 is invalid or that isn't supported yet. Fixes #422295.
8780 * tests/check/libs/controller.c: (GST_START_TEST),
8781 (gst_controller_suite):
8782 Add a test case for the above.
8784 2007-05-03 Edward Hervey <edward@fluendo.com>
8786 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8787 Properly set the last_stop position on GstSegment. This will only happen
8788 if there is a buffer to push out.
8790 2007-05-03 Wim Taymans <wim@fluendo.com>
8792 * libs/gst/base/gstbasetransform.c:
8793 (gst_base_transform_buffer_alloc):
8794 always_in_place does not mean that the sink and source caps are the
8795 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8797 2007-05-03 Wim Taymans <wim@fluendo.com>
8799 * docs/libs/gstreamer-libs-sections.txt:
8800 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8801 (gst_base_src_default_query), (gst_base_src_get_range):
8802 * libs/gst/base/gstbasesrc.h:
8803 API: gst_base_src_query_latency(). Added method so that subclasses can
8804 easily get the latency values of the base source class.
8806 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8808 * tools/gst-inspect.c (print_implementation_info):
8811 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8813 * tools/Makefile.am:
8814 * tools/gst-launch.1.in:
8815 Don't create a customised man page based on the host architecture,
8816 describe the default registry path generically. That way the man
8817 page is the same for all architectures and packagers have one
8818 multilib issue less to deal with. Fixes #434926.
8820 2007-05-02 Wim Taymans <wim@fluendo.com>
8823 Fix documentation as spotted by rg on IRC.
8825 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8828 Improve docs for gst_element_{link,unlink}.
8830 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8832 * docs/design/part-events.txt:
8833 * docs/design/part-overview.txt:
8837 * libs/gst/base/gstbasesink.c:
8838 Typo fixes; minor docs addition.
8840 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8842 * docs/gst/gstreamer-sections.txt:
8843 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8844 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8846 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8847 or src that supports a given URI protocol exists.
8849 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8851 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8852 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8853 Set the location to NULL if "file://" is set as URI. Otherwise
8854 some random previous URI would still be set if "file://" is
8855 set on an already used filesink/filesrc.
8857 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8859 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8860 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8861 Special case the "file://" URI as as this is used by some
8862 applications to test with gst_element_make_from_uri if there's
8863 an element that supports the URI protocol.
8864 Also move the g_path_is_absolute() check for the location part
8865 of the URI to also check this for "file://localhost/bla" URIs.
8867 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8869 * docs/gst/gstreamer-sections.txt:
8870 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8872 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8874 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8876 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8878 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8879 (gst_registry_binary_load_pad_template),
8880 (gst_registry_binary_load_plugin),
8881 (gst_registry_binary_read_cache):
8882 * gst/gstregistrybinary.h:
8883 Implement no-mmap alternative for registry reading. Do code cleanups.
8884 Add more comments about avoiding strdups for all text data. Comments
8887 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8889 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8890 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8891 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8892 Comment structs and reformat to fix the build (that stuff should go
8893 into a priv. header).
8895 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8897 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8898 (gst_registry_binary_load_feature):
8899 * gst/gstregistrybinary.h:
8900 Refactor so that we can implement multiple features. Add support for
8901 TypeFindFactory features.
8903 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8905 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8908 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8910 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8912 * gst/gstbin.c: (gst_bin_element_set_state),
8913 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8914 (bin_handle_async_done), (gst_bin_handle_message_func):
8915 Fix build with --gst-disable-gst-debug
8917 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8919 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8920 Make sure streaming has finished before calling the ::stop() vfunc,
8921 since that vfunc might clear state which is being used in the
8922 streaming thread. This fixes a race that caused crashes in
8923 audioresample when shutting down a pipeline (#420106).
8925 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8927 * docs/gst/gstreamer-sections.txt:
8928 That was one byte missing.
8930 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8933 * docs/gst/gstreamer-sections.txt:
8935 * gst/gstconfig.h.in:
8936 * gst/gstobject.c: (gst_object_class_init),
8937 (gst_signal_object_class_init):
8939 2nd attempt to have a xml-less build as a joined effort of #413123
8942 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8944 * docs/design/draft-tagreading.txt:
8945 Added open issues/thoughts to draft.
8947 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8949 * gst/parse/grammar.tab.pre.c:
8950 * gst/parse/grammar.tab.pre.h:
8951 * gst/parse/lex._gst_parse_yy.pre.c:
8952 Update the prebuild parser sources.
8954 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8956 * gst/parse/Makefile.am:
8957 And now fix the building of the flex sources. Now everything should
8960 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8962 * gst/parse/Makefile.am:
8963 Now hopefully fix the build failures by setting proper rule
8964 dependencies and moving instead of copying.
8966 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8968 * tests/benchmarks/complexity.gnuplot:
8969 * tests/benchmarks/complexity.scm:
8970 * tests/benchmarks/mass-elements.gnuplot:
8971 * tests/benchmarks/mass-elements.scm:
8972 Total licensification.
8974 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8976 * gst/parse/Makefile.am:
8977 Fix the build by correcting the rule that gave wrong files to flex.
8979 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8981 * tests/benchmarks/complexity.c:
8982 * tests/benchmarks/mass-elements.c:
8983 Change licence to LGPL as granted by Benjamin and Andy.
8985 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8987 * gst/parse/Makefile.am:
8988 Add correct grammar.tab.h dependency if compiling without new enough
8989 flex. Fixes #431150.
8991 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8993 * gst/parse/Makefile.am:
8994 Fix typo and use outdated sources if the flex/bison sources are newer
8995 than the pregenerated ones but flex is too old. Print a warning in
8996 that case. This should fix the build on the build bot.
8998 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9000 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9001 * gst/parse/Makefile.am:
9002 * gst/parse/grammar.y:
9003 * gst/parse/parse.l:
9004 Make the parser reentrant and recursively callable. This requires flex
9005 >= 2.5.31, for older versions pregenerated sources are used as we
9006 can't bump the build dependency. Finally fixes #349180.
9008 * gst/gstparse.c: (gst_parse_launch):
9009 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9012 * docs/gst/Makefile.am:
9013 * docs/gst/Makefile.am:
9014 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9015 (__gst_parse_strfree), (__gst_parse_link_new),
9016 (__gst_parse_link_free), (__gst_parse_chain_new),
9017 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9018 (gst_parse_element_set), (gst_parse_free_link),
9019 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9020 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9021 (_gst_parse_launch):
9022 * gst/parse/grammar.tab.pre.h:
9023 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9024 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9025 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9026 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9027 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9028 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9029 (_gst_parse_yypop_buffer_state),
9030 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9031 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9032 (yy_fatal_error), (_gst_parse_yyget_extra),
9033 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9034 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9035 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9036 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9037 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9038 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9039 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9040 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9041 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9042 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9043 (_gst_parse_yyfree):
9044 If the installed flex version is too old use pre-generated parser
9045 sources. These pre-generated parser sources are always updated when
9046 the actual flex/bison sources change but require everybody who wants
9047 to change something in the parser to have flex >= 2.5.31 installed.
9049 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9051 * common/m4/gst-gettext.m4:
9052 * gst/gst-i18n-lib.h:
9053 Make --disable-nls to work
9055 2007-04-17 Wim Taymans <wim@fluendo.com>
9057 * gst/gstconfig.h.in:
9058 Revert previous change that broke the build.
9060 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9064 * gst/gstconfig.h.in:
9065 Drop libxml2 dependency when building with
9066 --enable-binary-registry --disable-loadsave
9068 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9070 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9071 (gst_registry_binary_read_cache):
9072 * gst/gstregistrybinary.h:
9073 Remove unnecessary <sys/mman.h> include which broke the win32 build
9074 with MingW; move includes from header file to .c file, even if the
9075 header file isn't installed; use g_strerror() where UTF-8 strings
9076 are expected, such as in GST_DEBUG messages.
9078 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9080 * docs/libs/gstreamer-libs-sections.txt:
9081 Remove bogus addition for API I didn't end up keeping.
9083 * libs/gst/base/gstbasesrc.h:
9084 Mention Since: 0.10.13 in the documentation.
9086 Add the API keyword to the previous ChangeLog entry.
9088 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9090 * docs/libs/gstreamer-libs-sections.txt:
9091 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9092 (gst_base_src_default_prepare_seek_segment),
9093 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9094 * libs/gst/base/gstbasesrc.h:
9095 Allow basesrc derived classes to execute seeks in other formats
9096 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9097 to prepare the GstSegment in any format that their perform_seek method
9098 will be able to understand. The default implementation provides the
9099 old behaviour of attempting to convert the seek offsets to the
9100 configured native format.
9102 API: basesrc::prepare_seek_segment vmethod.
9104 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9106 * gst/gstelement.c: (gst_element_get_state_func):
9107 Don't output the same debug statement twice.
9109 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9110 (gst_adapter_peek), (gst_adapter_take_buffer):
9111 Optimise the case where we have buffers at the head of the queue that
9112 can be joined quickly (because they're contiguous sub-buffers) by
9113 merging them together rather than copying data out into new memory.
9115 * gst/parse/grammar.y:
9116 * tests/check/pipelines/parse-launch.c:
9117 Fix a leak in an error path for parse_launch, and add a check
9118 for it to the testsuite.
9120 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9122 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9123 Don't deadlock when releasing a pad - gst_pad_set_active may try
9124 and take the multiqueue lock too.
9126 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9128 * gst/gsterror.c: (_gst_core_errors_init):
9130 API: add GST_CORE_ERROR_DISABLED (#392804).
9132 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9134 * docs/faq/gst-uninstalled:
9135 don't get empty paths on the PATH variables
9136 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9137 Don't format for the uncommon terminal width of 84 characters.
9139 2007-04-06 Wim Taymans <wim@fluendo.com>
9141 * gst/gstpipeline.c: (reset_stream_time),
9142 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9143 Only try to select a different pipeline clock when we went back to
9144 PAUSED and not when we merely got flushed.
9146 2007-04-05 Michael Smith <msmith@fluendo.com>
9148 * tools/gst-launch.1.in:
9149 fractions are better supported in gstreamer than ractions, so
9150 suggest using those.
9152 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9154 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9158 Added Danish translation.
9160 2007-04-05 Wim Taymans <wim@fluendo.com>
9162 * libs/gst/base/gstbasesink.c:
9163 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9164 Fix leak caused when refusing newsegment after EOS.
9166 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9167 (gst_fake_sink_init), (gst_fake_sink_set_property),
9168 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9169 (gst_fake_sink_render), (gst_fake_sink_change_state):
9170 * plugins/elements/gstfakesink.h:
9171 Add num-buffers property to make the element generate EOS after a
9172 configurable amount of buffers.
9173 API: fakesink::num-buffers property.
9175 * tests/check/elements/fakesink.c: (GST_START_TEST),
9177 Fix GstBus leak in test.
9178 Test for fakesink num-buffers.
9180 2007-04-05 Wim Taymans <wim@fluendo.com>
9182 * libs/gst/base/gstbasesink.c:
9183 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9184 (gst_base_sink_change_state):
9185 Don't accept anything after an EOS, return UNEXPECTED instead.
9187 * tests/check/elements/fakesink.c: (GST_START_TEST),
9189 Unit test for new EOS behaviour.
9191 2007-04-05 Wim Taymans <wim@fluendo.com>
9193 * gst/gstelement.c: (gst_element_get_request_pad):
9194 Make padtemplates also work when they don't contain %s or %d.
9196 2007-04-05 Wim Taymans <wim@fluendo.com>
9198 * docs/gst/gstreamer-sections.txt:
9199 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9200 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9202 Improve _adjust_unlocked() so that it overflows less.
9203 Add gst_clock_unadjust_unlocked to convert from external time to
9204 internal time based on calibration.
9205 Add some more debug.
9206 API: GstClock::gst_clock_unadjust_unlocked()
9208 2007-04-03 Wim Taymans <wim@fluendo.com>
9210 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9212 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9213 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9214 when releasing sink pad. Fixes #425400.
9216 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9218 * docs/random/ensonic/dynlink.txt:
9219 More work on proposal for new core api.
9221 * docs/libs/gstreamer-libs-sections.txt:
9222 * libs/gst/base/gstbasetransform.h:
9223 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9225 * libs/gst/controller/gstcontroller.c:
9226 (on_object_controlled_property_changed),
9227 (gst_controller_sync_values),
9228 (gst_controller_set_interpolation_mode):
9229 * libs/gst/controller/gstcontroller.h:
9230 Less verbose logging add docs for unimplemented parts and correctly
9231 return when using unavailable parts.
9233 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9235 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9236 Move all the debug to the CLOCK category, and associate it with
9239 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9241 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9242 Make take_buffer a bit quicker by removing redundant checks
9243 caused by calling gst_adapter_take.
9245 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9247 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9250 * tests/check/Makefile.am:
9251 * tests/check/elements/.cvsignore:
9252 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9253 (GST_START_TEST), (multiqueue_suite):
9254 Add some dead simple unit tests for the 'multiqueue' element
9255 (some bits don't work yet and are disabled for now).
9257 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9259 * gst/gstelement.c: (gst_element_get_request_pad),
9260 (gst_element_class_get_request_pad_template):
9261 Make gst_element_get_request_pad() create request pads only for
9262 request pad templates and not for, say, sometimes pad templates.
9264 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9266 * docs/design/draft-klass.txt:
9267 Add example that needs more thinking.
9269 * docs/design/draft-missing-plugins.txt:
9270 More thoughts about wrapper plugins.
9272 * docs/random/ensonic/embedded.txt:
9273 * docs/random/ensonic/profiling.txt:
9276 2007-03-25 Wim Taymans <wim@fluendo.com>
9278 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9279 (gst_base_src_loop):
9280 Only push the segment events in the PLAYING state for live sources.
9282 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9284 * gst/gstpipeline.c: (gst_pipeline_change_state):
9285 Modify the clock distribution path in PAUSED->PLAYING so that we
9286 never attempt to choose a new clock unless we're actually leaving
9287 the PAUSED state for the first time. This prevents choosing a
9288 different clock when the state_change gets called for a 2nd time due
9289 to some element doing an async state change.
9291 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9293 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9294 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9295 (gst_pad_chain_unchecked), (gst_pad_push):
9296 Revert last commit. This needs some more thoughts.
9298 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9300 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9301 (gst_pad_chain_unchecked), (gst_pad_push):
9302 Check in set_caps if the caps are compatible with the pad and remove
9303 two functions that are redundant now. Fixes #421543.
9305 2007-03-22 Wim Taymans <wim@fluendo.com>
9307 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9308 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9309 Unref some more to make valgrind happy.
9311 2007-03-22 Wim Taymans <wim@fluendo.com>
9313 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9314 (gst_system_clock_id_wait_jitter),
9315 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9316 Fix anoying regression that survived a few releases. When adding an
9317 async entry while blocking on a sync entry, the sync entry will unblock
9318 but still be busy, so it should continue to wait instead of returning
9320 Add some comments here and there.
9322 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9323 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9324 Add testcase for this.
9326 2007-03-22 Wim Taymans <wim@fluendo.com>
9328 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9329 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9330 WRONG_STATE and can silently pause the task. All other cases should
9333 2007-03-22 Wim Taymans <wim@fluendo.com>
9335 Patch by: Ville Syrjala <syrjala at sci dot fi>
9337 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9338 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9341 2007-03-21 Michael Smith <msmith@fluendo.com>
9343 * docs/pwg/advanced-types.xml:
9344 Fix some errors in the typefinding docs pointed out on irc.
9346 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9348 * libs/gst/base/gstbasesrc.c:
9349 Clarify FIXME comment in the face of having added unlock_stop()
9351 2007-03-21 Wim Taymans <wim@fluendo.com>
9353 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9354 Prepare for release where we warn against possible app breakage in the
9355 case of live pipelines along with an env var to enable/disable live
9356 preroll mode (GST_COMPAT=[no-]live-preroll).
9358 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9360 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9361 So we should use correct constants for checking for None offset.
9363 2007-03-20 Wim Taymans <wim@fluendo.com>
9365 * docs/design/part-block.txt:
9366 Mention the fact that the newly switched element should be set to at
9369 2007-03-20 Wim Taymans <wim@fluendo.com>
9372 Fix compilation with registry disabled as spotted by Saur.
9374 2007-03-20 Wim Taymans <wim@fluendo.com>
9376 Patch by: Olivier Crete <tester at tester dot ca>
9378 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9379 Look at the pending state too when syncing the element state to the
9380 parent. Fixes #420133.
9382 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9384 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9385 (gst_base_sink_change_state):
9386 * libs/gst/base/gstbasesink.h:
9387 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9388 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9389 (gst_base_src_deactivate):
9390 * libs/gst/base/gstbasesrc.h:
9391 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9392 for sub-classes to correctly clear any state they set trying to
9393 unlock, such as clearing out unlock commands from a command fd.
9394 API: basesrc::unlock_stop
9395 API: basesink::unlock_stop
9397 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9398 (gst_fd_sink_render), (gst_fd_sink_unlock),
9399 (gst_fd_sink_unlock_stop):
9400 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9401 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9402 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9404 Implement unlock_stop in fdsrc and fdsink.
9405 Implement seeking in fdsrc when a seekable fd is passed, as in
9406 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9408 2007-03-19 Wim Taymans <wim@fluendo.com>
9410 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9412 * gst/gstelement.c: (gst_element_class_init):
9413 Fix pad-added and pad-removed signal signatures so that the pad type is
9414 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9416 2007-03-19 Wim Taymans <wim@fluendo.com>
9418 * docs/gst/gstreamer-sections.txt:
9419 Add new element field and method.
9421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9422 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9423 (gst_bin_recalc_state), (gst_bin_get_state_func),
9424 (gst_bin_element_set_state), (gst_bin_change_state_func),
9425 (gst_bin_continue_func), (bin_bus_handler),
9426 (bin_push_state_continue), (bin_handle_async_start),
9427 (bin_handle_async_done), (gst_bin_handle_message_func):
9428 Make async state changes a bit smarter by using new ASYNC_START and
9429 ASYNC_DONE messages. This reduces the number of times we run the state
9430 recalculation thread.
9431 Don't change state of element with a pending ASYNC_START message.
9432 Deprecate STATE_DIRTY messages.
9434 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9435 (gst_element_get_state_func), (gst_element_continue_state),
9436 (gst_element_lost_state), (gst_element_set_state_func),
9437 (gst_element_change_state):
9439 Keep the state that was last set by the app in a new element field.
9440 Don't allow state changes when handling an element event.
9441 Post ASYNC_START and ASYNC_DONE messages.
9442 Change lost_state so that we go to PAUSED and wait for the parent to set
9443 us to PLAYING again (so latency calculation can be performed)
9444 Export gst_element_change_state() method so that subclasses can use it.
9445 API: gst_element_change_state()
9446 API: GST_STATE_TARGET
9448 * gst/gstpipeline.c: (gst_pipeline_class_init),
9449 (reset_stream_time), (gst_pipeline_change_state),
9450 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9451 Using the new ASYNC_START message we can reset the base_time when
9452 needed. This can then be used to implement base_time redistribution in
9453 flushing seeks so that we can remove the explicit seek handling.
9454 Perform latency query and configuration when going to PLAYING.
9456 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9457 (gst_base_sink_query), (gst_base_sink_change_state):
9458 Post new ASYNC_START/ASYNC_DONE messages.
9460 * tests/check/generic/sinks.c: (GST_START_TEST):
9461 Fix test because the bin will not set the async element to PLAYING right
9464 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9465 Make the message check a little stronger.
9466 Handle ASYNC messages.
9468 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9469 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9470 Expect ASYNC_DONE messages.
9472 2007-03-19 Wim Taymans <wim@fluendo.com>
9474 * docs/gst/gstreamer-sections.txt:
9475 * gst/gstmessage.c: (gst_message_new_async_start),
9476 (gst_message_new_async_done), (gst_message_parse_info),
9477 (gst_message_parse_async_start):
9479 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9482 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9484 * tools/gst-inspect.c:
9485 (print_plugin_automatic_install_info_codecs):
9486 Now that we don't check for the 'Codec' keyword any longer in the
9487 klass, we shouldn't spew a warning if the klass isn't a decoder or
9488 encoder (since it might be a Source/Network, for example).
9490 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9492 * tools/gst-inspect.c:
9493 (print_plugin_automatic_install_info_codecs):
9494 Don't require decoder/demuxer/depayloader elements or
9495 encoder/muxer/paylader elements to have 'Codec' as part of their
9496 factory class string when introspecting a plugin's capabilities.
9497 draft-klass.txt mentions that it might be removed in future, and
9498 flump3dec doesn't have it as part of its class string, so chances
9499 are others might also not have it.
9501 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9523 Update translations from translation project
9525 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9527 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9528 (gst_child_proxy_set_property):
9529 Invert precondition check to be alike the ones in the mimiced gobject
9532 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9534 * docs/design/draft-tagreading.txt:
9535 * docs/random/ensonic/audiobaseclasses.txt:
9536 Do some Architect work.
9538 * gst/gstobject.c: (gst_object_set_name):
9542 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9544 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9546 * gst/gstsystemclock.c: (gst_system_clock_init),
9547 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9548 Defer starting the async system clock thread until the first async
9549 wait is scheduled. Fixes #414986.
9551 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9553 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9554 (gst_single_queue_free):
9555 Fix small leak (free GstSingleQueue structure too, not only contents).
9557 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9559 * gst/gstbin.c:(gst_bin_add):
9560 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9561 * win32/common/libgstbase.def:
9562 * win32/common/libgstreamer.def:
9563 Add new exported functions.
9565 2007-03-09 Wim Taymans <wim@fluendo.com>
9567 * docs/plugins/gstreamer-plugins-sections.txt:
9570 2007-03-09 Wim Taymans <wim@fluendo.com>
9572 * docs/gst/gstreamer-sections.txt:
9573 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9575 Add metadata copy functions. Fixes #393099.
9576 API: gst_buffer_copy_metadata()
9578 * gst/gstutils.c: (gst_buffer_stamp):
9579 * libs/gst/base/gstbasetransform.c:
9580 (gst_base_transform_prepare_output_buffer):
9581 Use new metadata copy functions.
9583 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9585 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9586 (gst_identity_init), (gst_identity_check_perfect),
9587 (gst_identity_check_imperfect_timestamp),
9588 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9589 (gst_identity_set_property), (gst_identity_get_property):
9590 * plugins/elements/gstidentity.h:
9591 Separate out check-imperfect-timestamp and check-imperfect-offset.
9592 Put back check-perfect as it was to keep compatibility.
9594 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9596 * gst/gstelement.c: (gst_element_dispose):
9597 There's no need to warn if VOID_PENDING is not NONE here, as
9598 long as the state is NULL it's ok, and that's checked immediately
9601 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9603 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9604 Fix check for perfect stream to ignore buffers with -1
9605 offsets/offset ends when checking data contiguity.
9607 2007-03-08 Wim Taymans <wim@fluendo.com>
9609 * tools/gst-launch.c: (event_loop):
9610 Print INFO messages.
9612 2007-03-08 Wim Taymans <wim@fluendo.com>
9614 * libs/gst/base/gstbasetransform.c:
9615 (gst_base_transform_sink_eventfunc),
9616 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9617 (gst_base_transform_activate):
9618 * libs/gst/base/gstbasetransform.h:
9619 Add support for dropping buffers with custom GstFlowReturn.
9620 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9621 buffers or dropped buffers.
9623 * docs/libs/gstreamer-libs-sections.txt:
9624 docs for new custom return code.
9626 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9627 Use drop support in base class to implement drop-probability.
9629 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9631 * gst/gst.c: (load_plugin_func):
9632 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9633 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9634 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9635 Remove newlines at end of debug log strings.
9637 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9639 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9640 Only post bus message at max, once per buffer received.
9642 2007-03-07 Wim Taymans <wim@fluendo.com>
9644 * docs/design/Makefile.am:
9645 * docs/design/part-synchronisation.txt:
9646 Add doc about synchronisation
9648 * docs/design/draft-latency.txt:
9649 * docs/design/part-TODO.txt:
9650 * docs/design/part-clocks.txt:
9651 * docs/design/part-events.txt:
9652 * docs/design/part-gstbus.txt:
9653 * docs/design/part-gstpipeline.txt:
9654 * docs/design/part-live-source.txt:
9655 * docs/design/part-messages.txt:
9656 * docs/design/part-overview.txt:
9657 * docs/design/part-streams.txt:
9658 * docs/design/part-trickmodes.txt:
9659 Documentation updates.
9661 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9664 Update the doap file.
9666 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9668 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9669 Rename non-perfect to imperfect for Mike and for the sanctity of the
9671 Also make sure bus message gets emitted for data-incontiguities.
9673 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9675 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9676 (gst_identity_start):
9677 * plugins/elements/gstidentity.h:
9678 Emit bus message if check-perfect is true and we encounter a
9679 non-perfect stream between 2 consecutive buffers.
9682 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9687 === release 0.10.12 ===
9689 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9692 releasing 0.10.12, "Inevitable Demise"
9694 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9697 Version 0.10.11.2 (0.10.12 pre-release)
9698 Bump libtool versioning.
9700 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9702 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9703 Log flow-names and not numbers.
9705 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9708 Convert to new AG_GST style.
9710 2007-02-28 Wim Taymans <wim@fluendo.com>
9712 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9713 Don't unref query twice.
9715 2007-02-28 Wim Taymans <wim@fluendo.com>
9717 * gst/gstvalue.c: (gst_value_transform_object_string),
9718 (_gst_value_initialize):
9719 Implement GstObject -> string transform so we print object names
9720 when serializing GValues containing GstObjects.
9722 2007-02-28 Wim Taymans <wim@fluendo.com>
9724 * docs/gst/gstreamer-sections.txt:
9725 Add new stuff to docs.
9727 2007-02-28 Wim Taymans <wim@fluendo.com>
9729 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9730 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9731 (gst_base_sink_change_state):
9732 Improve latency query code.
9733 Don't leak latency events.
9735 * tests/check/gst/gstbin.c: (GST_START_TEST):
9738 2007-02-28 Wim Taymans <wim@fluendo.com>
9740 * gst/gstelement.c: (gst_element_message_full),
9741 (gst_element_get_state_func):
9743 Improve docs a little. Added Since: for new macro.
9745 * gst/gstobject.c: (gst_object_sink):
9746 * gst/gstpipeline.c: (gst_pipeline_change_state),
9747 (gst_pipeline_set_new_stream_time):
9748 * gst/gstpipeline.h:
9749 Improve debugging and docs.
9751 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9754 2007-02-28 Wim Taymans <wim@fluendo.com>
9756 * gst/gstelement.c: (gst_element_message_full),
9757 (gst_element_set_locked_state), (gst_element_get_state_func),
9758 (gst_element_change_state):
9759 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9760 Documentation updates.
9761 Small code cleanups.
9763 * gst/gstmessage.c: (gst_message_new_info),
9764 (gst_message_parse_info):
9766 API: gst_message_new_info()
9767 API: gst_message_parse_info()
9768 Add INFO message create and parse code.
9770 2007-02-28 Wim Taymans <wim@fluendo.com>
9772 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9773 (bin_query_latency_done):
9774 Also report the live parameter of a latency query.
9776 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9778 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9779 Copy the current generic/states example from -base and adapt so
9780 we can use the exact same code everywhere.
9781 Check a STATES_IGNORE_ELEMENTS env var which can be used
9782 to ignore certain element factories for this test, which is
9783 what is being done in -base
9784 * tests/check/Makefile.am:
9785 Mention this environment variable.
9787 2007-02-27 Wim Taymans <wim@fluendo.com>
9789 * docs/gst/gstreamer-sections.txt:
9790 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9791 (gst_bus_timed_pop), (gst_bus_pop):
9793 API: gst_bus_timed_pop()
9794 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9795 message to arrive on the bus.
9797 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9799 Two unit tests for new _timed_pop() function.
9801 2007-02-23 Wim Taymans <wim@fluendo.com>
9803 * gst/gstpipeline.c: (gst_pipeline_change_state),
9804 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9805 Don't ref a NULL clock in _provide_clock_func().
9806 Don't allow an INVALID delay.
9807 Don't try to calculate base_time with an invalid start_time.
9808 Also distribute and notify a NULL clock when it was selected.
9810 * tools/gst-launch.c: (event_loop):
9811 Don't crash when a NULL clock was selected in the pipeline.
9813 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9815 * docs/design/Makefile.am:
9816 * docs/design/draft-missing-plugins.txt:
9817 * docs/random/draft-missing-plugins.txt:
9818 Some small updates: update plugin system identifier prefix
9819 ('gstreamer.net' to 'gstreamer'), mention our new install
9820 API in libgstbaseutils rather than libgimme-codec, add
9821 reference to the online docs.
9823 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9825 * win32/common/config.h:
9826 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9827 use moap cl ci to only check in what is mentioned in the ChangeLog.
9829 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9831 * docs/gst/gstreamer-sections.txt:
9833 Fix up documentation to link to the correct GstGError section.
9834 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9836 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9838 * tools/gst-launch.c: (event_loop):
9839 Make sure that we actually show the important message part of a
9841 No need to check if the gerror is not NULL to free; first of all
9842 g_free accepts NULL; and second the default error handler would
9843 segfault if gerror was NULL.
9845 2007-02-21 Wim Taymans <wim@fluendo.com>
9847 * docs/gst/gstreamer-sections.txt:
9848 Removed docs as well.
9850 2007-02-21 Wim Taymans <wim@fluendo.com>
9852 * gst/gstmessage.c: (gst_message_parse_duration):
9854 Remove new messages for release.
9856 2007-02-20 Wim Taymans <wim@fluendo.com>
9858 * docs/design/part-gstghostpad.txt:
9859 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9860 (gst_ghost_pad_new_full):
9861 Make the ghostpad a parent of the internal pad again for better backward
9862 compatibility. Don't write code that relies on this however.
9864 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9865 (gst_pad_link_check_hierarchy):
9866 Require that parents should be GstElements in the hierarchy check.
9868 2007-02-20 Wim Taymans <wim@fluendo.com>
9870 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9871 (gst_bin_change_state_func), (bin_query_min_max_init),
9872 (bin_query_latency_fold), (bin_query_latency_done),
9875 Implement latency query.
9877 2007-02-20 Wim Taymans <wim@fluendo.com>
9879 * docs/design/part-gstghostpad.txt:
9880 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9881 (gst_ghost_pad_internal_do_activate_push),
9882 (gst_ghost_pad_internal_do_activate_pull),
9883 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9884 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9885 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9886 Do not set the internal pad as a parent anymore so we can avoid
9887 hierarchy linking errors when the ghostpad has no parent yet. This also
9888 fixes failed activation because of unlinked internal pads, which in
9889 turn fixes the impossible case where you have to activate a pad before
9890 you can add it to a running element.
9893 * gst/gstpad.c: (pre_activate), (post_activate),
9894 (gst_pad_set_active), (gst_pad_activate_pull),
9895 (gst_pad_activate_push), (gst_pad_check_pull_range):
9896 Add some more debug info.
9897 Mark activation mode in pre_activate so that we don't try to activate in
9898 endless loops. Fixes #385084.
9900 2007-02-19 Wim Taymans <wim@fluendo.com>
9902 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9903 (gst_base_transform_check_get_range):
9904 Implement a checkgetrange function instead of relying on the default
9905 core behaviour that assumes we can operate in pull mode if we have a
9906 getrange function. First step at fixing #385084.
9908 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9910 * gst/gstchildproxy.h:
9911 * libs/gst/base/gstbasesink.h:
9912 * libs/gst/base/gstbasesrc.h:
9913 * libs/gst/base/gstbasetransform.h:
9914 More docs coverage and some ChangeLog surgery (add missing names)
9916 2007-02-15 Wim Taymans <wim@fluendo.com>
9918 * docs/design/part-TODO.txt:
9919 * docs/design/part-activation.txt:
9920 * docs/design/part-block.txt:
9921 * docs/design/part-buffering.txt:
9922 * docs/design/part-clocks.txt:
9923 * docs/design/part-element-source.txt:
9924 * docs/design/part-events.txt:
9925 * docs/design/part-gstbin.txt:
9926 * docs/design/part-gstbus.txt:
9927 * docs/design/part-gstpipeline.txt:
9928 * docs/design/part-live-source.txt:
9929 * docs/design/part-messages.txt:
9930 * docs/design/part-overview.txt:
9931 * docs/design/part-qos.txt:
9932 * docs/design/part-query.txt:
9933 * docs/design/part-states.txt:
9934 * docs/design/part-trickmodes.txt:
9935 Some doc updates. Start renaming from stream_time to running_time where
9936 it was used wrongly.
9938 2007-02-15 Wim Taymans <wim@fluendo.com>
9940 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9941 Answer LATENCY query.
9943 2007-02-15 Wim Taymans <wim@fluendo.com>
9945 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9949 2007-02-15 Wim Taymans <wim@fluendo.com>
9951 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9952 (gst_pad_dispatcher):
9953 Improve debugging of default pad dispatcher and query functions.
9955 2007-02-15 Wim Taymans <wim@fluendo.com>
9957 * docs/gst/gstreamer-sections.txt:
9958 Remove old unused method.
9960 2007-02-13 Wim Taymans <wim@fluendo.com>
9962 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9965 2007-02-13 Wim Taymans <wim@fluendo.com>
9967 * docs/design/part-seeking.txt:
9970 * gst/gstsegment.c: (gst_segment_set_seek):
9971 Revert old bogus change that should make seeking work again.
9973 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9975 * docs/random/ensonic/dynlink.txt:
9976 * docs/random/ensonic/interfaces.txt:
9977 * docs/random/ensonic/receipies.txt:
9978 Possible dynamic reconnection api, plus some type fixes the other two
9981 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9983 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9984 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9985 Also check for an absolute path following file:// in the filesrc
9986 element. Remove redundant check and call g_path_is_absolute() on the
9989 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9991 * docs/design/draft-klass.txt:
9992 Add existing category analysis.
9995 Fix doc example, framerate is a fraction.
9997 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10000 * docs/gst/Makefile.am:
10001 * docs/gst/gstreamer-sections.txt:
10002 * docs/libs/Makefile.am:
10003 Erm, forgot a bunch of --extra-dir.
10005 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10008 * docs/gst/Makefile.am:
10009 * docs/libs/Makefile.am:
10010 * docs/plugins/Makefile.am:
10011 Add crossreferences to glib/gobject docs.
10013 2007-02-12 Wim Taymans <wim@fluendo.com>
10015 * docs/design/draft-latency.txt:
10018 * docs/libs/gstreamer-libs-sections.txt:
10019 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10020 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10021 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10022 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10023 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10024 (gst_base_sink_get_position), (gst_base_sink_query),
10025 (gst_base_sink_change_state):
10026 * libs/gst/base/gstbasesink.h:
10027 API: gst_base_sink_query_latency() to let subclasses query the upstream
10029 API: gst_base_sink_get_latency() to let subclasses query the configured
10030 latency in the sink.
10031 Implement query and set latency.
10033 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10034 don't continue preroll when we are flushing. Fixes #405284.
10036 * tests/check/pipelines/stress.c: (change_state_timeout),
10037 (quit_timeout), (GST_START_TEST), (stress_suite):
10040 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10042 Patch by: René Stadler <mail at renestadler de>
10044 * docs/gst/gstreamer-sections.txt:
10045 * gst/gsttaglist.c: (_gst_tag_initialize):
10046 * gst/gsttaglist.h:
10047 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10049 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10051 * docs/libs/Makefile.am:
10052 Fix path to core docs.
10054 * gst/gstbin.c: (gst_bin_get_by_interface),
10055 (gst_bin_iterate_all_by_interface):
10056 Refix docs by also renaming 'interface' to 'iface' in implementation.
10058 * docs/gst/gstreamer-sections.txt:
10060 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10061 * gst/gstchildproxy.h:
10062 * gst/gstelementfactory.c:
10063 * gst/gstpadtemplate.h:
10064 * libs/gst/controller/gstcontroller.c:
10065 (gst_controlled_property_new):
10068 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10070 * gst/gstbin.h:(gst_bin_get_by_interface),
10071 (gst_bin_iterate_all_by_interface):
10072 Replace interface parameter name by iface as interface is
10073 a reserved keyword in Visual Studio for C++ projects so it removes
10074 a build error for application developpers using VS.
10075 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10076 Fix a bug on Windows in uri format check. Now the prefix checked
10077 is file:// and next we check if the path after file:// is absolute.
10078 * win32/common/libgstbase.def:
10079 * win32/common/libgstdataprotocol.def:
10080 * win32/common/libgstgstreamer.def:
10081 Add new exported functions.
10083 2007-02-09 Andy Wingo <wingo@pobox.com>
10085 * tests/check/pipelines/simple-launch-lines.c
10086 (simple_launch_lines_suite, test_tee): Disable tee test until I
10087 have time to fix it :-(
10089 * tests/check/Makefile.am (noinst_HEADERS):
10090 * tests/check/libs/libsabi.c:
10091 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10092 * tests/check/gst/gstabi.c:
10093 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10095 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10096 tests for push and pull tee behavior.
10098 * plugins/elements/gsttee.h:
10099 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10100 mark as deprecated as well as unimplemented. It was a crack idea.
10101 Add support for tee operating in pull mode, off by default.
10103 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10104 normal-case logs down to LOG, raise errors to WARNING.
10105 (gst_registry_xml_read_cache): Don't log before calling a function
10108 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10109 exit (registry finalize).
10110 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10111 DEBUG log when we emit signals that people don't even have the
10112 chance to connect to.
10113 (gst_registry_scan_path_level): Less logging in the normal case.
10115 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10117 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10119 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10120 Correctly generate EOS for non-seekable files. We don't have a total
10121 length for them and would get an unexpected end of file if we only
10122 special-cased for regular files. (Fixes: #404569)
10124 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10126 * tests/check/elements/filesrc.c: (GST_START_TEST),
10128 Add unit test for the GstURIHandler interface in filesrc. This also
10129 tests the newly added file://localhost/foo/bar support.
10131 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10133 * gst/gstelementfactory.h:
10134 The klass string is not a hierarchy. Add reference to the design doc
10135 for more information and common types.
10137 2007-02-02 Wim Taymans <wim@fluendo.com>
10139 * gst/gstquery.c: (gst_query_new_latency):
10140 Remove old structure field.
10142 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10144 * tools/gst-launch.1.in:
10145 Give example for network streaming (#351998)
10147 2007-02-02 Wim Taymans <wim@fluendo.com>
10149 * docs/gst/gstreamer-sections.txt:
10150 Add docs for new methods.
10152 * gst/gstevent.c: (gst_event_new_latency),
10153 (gst_event_parse_latency):
10155 Add new LATENCY event to configure latency in a pipeline.
10156 API: gst_event_new_latency
10157 API: gst_event_parse_latency
10159 * gst/gstmessage.c: (gst_message_new_buffering),
10160 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10161 (gst_message_new_latency), (gst_message_parse_buffering),
10162 (gst_message_parse_lost_preroll):
10163 * gst/gstmessage.h:
10164 Added messages used in draft-latency.
10165 API: gst_message_new_lost_preroll
10166 API: gst_message_parse_lost_preroll
10167 API: gst_message_new_prerolled
10168 API: gst_message_new_latency
10170 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10171 (gst_query_parse_latency):
10173 Implemented new latency query as in design doc.
10174 API: gst_query_new_latency
10175 API: gst_query_set_latency
10176 API: gst_query_parse_latency
10178 2007-02-02 Wim Taymans <wim@fluendo.com>
10180 * docs/design/draft-latency.txt:
10181 Slight redesign to allow for dynamic latency adjustments.
10183 * docs/design/part-negotiation.txt:
10186 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10188 reviewed by: Wim Taymans <wim@fluendo.com>
10190 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10191 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10192 Allow file://localhost/foo/bar URLs and correctly fail for every other
10193 hostname that one sets. This was gnomevfssrc is linked for those if
10194 installed as it can handle it (#403172)
10196 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10198 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10200 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10201 (unref_data), (gst_collect_pads_add_pad_full):
10202 * libs/gst/base/gstcollectpads.h:
10203 Don't put the previously added destroy notify in the GstCollectData
10204 struct as all it's padding is already used and we don't want to break
10205 ABI. Instead put in the pad's GObject data for now. This should be
10206 cleaned up for 0.11 (#402393).
10208 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10210 reviewed by: Wim Taymans <wim@fluendo.com>
10212 * docs/libs/gstreamer-libs-sections.txt:
10213 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10214 (unref_data), (gst_collect_pads_add_pad),
10215 (gst_collect_pads_add_pad_full):
10216 * libs/gst/base/gstcollectpads.h:
10217 API: Add function to specify a destroy notification for custom
10218 GstCollectData when adding new pads in GstCollectPads (#402393).
10220 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10223 Update Swedish translation (#378255).
10225 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10227 * docs/design/draft-klass.txt:
10228 Fix the previous change, this is a list of categories and not a hierarchy.
10230 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10232 * docs/design/draft-klass.txt:
10233 Add info about how to get a list of used classes.
10235 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10237 * plugins/elements/gsttypefindelement.c:
10238 (gst_type_find_element_chain_do_typefinding),
10239 (gst_type_find_element_change_state):
10240 Don't leak found caps in chain function (no idea why that never
10241 showed up as a leak anywhere).
10243 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10246 Fix and expand GstPluginDesc API docs.
10248 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10251 * gst/gstelementfactory.c:
10252 * gst/gstpadtemplate.h:
10255 * libs/gst/controller/gstcontroller.c:
10256 (gst_controlled_property_new):
10257 * tests/examples/controller/audio-example.c:
10260 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10263 comment about refining the xml deps
10265 * docs/manuals.mak:
10266 comments about moving away from jade for docs
10269 recommit the ifdefs to use the binary registry
10271 * gst/gstbin.c: (gst_bin_change_state_func):
10272 this break is obsolete
10274 * gst/gstelementfactory.h:
10275 better GST_ELEMENT_DETAILS docs, add comment about translation
10280 * gst/gstobject.c: (gst_signal_object_get_type):
10281 add G_UNLIKELY as usual
10283 * gst/gstpad.c: (gst_pad_event_default):
10284 add fall trhu comment
10286 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10287 (gst_registry_binary_initialize_magic),
10288 (gst_registry_binary_save_string),
10289 (gst_registry_binary_save_pad_template),
10290 (gst_registry_binary_save_feature),
10291 (gst_registry_binary_save_plugin),
10292 (gst_registry_binary_write_cache),
10293 (gst_registry_binary_check_magic),
10294 (gst_registry_binary_load_pad_template),
10295 (gst_registry_binary_load_feature),
10296 (gst_registry_binary_load_plugin),
10297 (gst_registry_binary_read_cache):
10298 comment typo and formatting
10300 * gst/gstutils.c: (gst_element_state_get_name),
10301 (gst_element_state_change_return_get_name):
10302 remove obsolete breaks
10304 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10305 add FIXME 0.11 and remove cpp comment
10307 2007-01-29 Edward Hervey <edward@fluendo.com>
10309 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10310 Fix print statement in an even more portable way.
10312 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10314 * docs/gst/gstreamer-sections.txt:
10316 API: add GST_ROUND_DOWN_* macros (#401781).
10318 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10320 * docs/gst/gstreamer.types.in:
10321 * gst/gstregistry.c: (gst_registry_class_init):
10322 Document registry signals and make gtk-doc pick them up (#401381).
10324 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10326 * docs/pwg/building-testapp.xml:
10327 Add some audioconverts and audioresample to the pipeline, and some
10328 more comments and error handling.
10330 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10332 * docs/manual/manual.xml:
10333 * docs/pwg/pwg.xml:
10334 Fix typo (#400987).
10336 2007-01-26 Wim Taymans <wim@fluendo.com>
10338 * gst/gstcaps.c: (gst_static_caps_get):
10339 Init caps flags too.
10341 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10343 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10345 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10346 If not using mmap'ed files try to seek to the end instead of the
10347 start to determine whether we can seek at all. This fixes the case
10348 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10349 seeks for everything afterwards fail. Fixes #400656
10351 2007-01-25 Wim Taymans <wim@fluendo.com>
10353 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10354 Add some refcount debugging.
10355 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10356 in multiple streaming threads.
10358 2007-01-25 Wim Taymans <wim@fluendo.com>
10360 Patch by: David Schleef <ds at schleef dot org>
10362 * docs/libs/gstreamer-libs-sections.txt:
10363 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10364 * libs/gst/base/gstadapter.h:
10365 API: gst_adapter_copy() that can reduce the amount of memcpy when
10366 getting data from the adapter. Fixes #388201.
10368 2007-01-25 Edward Hervey <edward@fluendo.com>
10370 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10371 In print statements, "%x" is for guint. Fixes build on macosx.
10373 2007-01-24 Edward Hervey <edward@fluendo.com>
10375 * plugins/elements/gstmultiqueue.c:
10376 (gst_multi_queue_loop):
10378 (single_queue_overrun_cb), (single_queue_underrun_cb),
10379 (single_queue_check_full), (gst_single_queue_new):
10380 Implement single queue growth system.
10381 This uses the extra-size properties, and will grow single queues by
10382 that much if one goes full whereas there are others empty. This is
10383 called extra-mode in the code.
10384 When a single queue's levels go back below the initial max-size
10385 limits, it is no longer in extra-mode. This is to ensure we don't
10386 consume too much memory.
10389 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10391 * gst/gst.c: (gst_init_get_option_group):
10392 Make warning about late g_thread_init() calls a bit more explicit,
10393 so that it's more obvious to application developers what they need
10394 to do if a user files a bug against their application.
10396 2007-01-22 Edward Hervey <edward@fluendo.com>
10398 * plugins/elements/gstmultiqueue.c:
10399 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10400 Remove previous hack of unsetting the flushing flag for the source pad
10401 instead of activating it. Instead, fix the source pad activate function
10402 so that it no longer depends on having a parent set or not.
10404 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10406 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10408 * docs/manual/basics-bus.xml:
10409 Fix example code, gst_element_unref() doesn't exist any longer.
10411 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10413 Patch by: Mark Nauwelaerts <manauw at skynet be>
10416 Fix two docs typoes (#399094).
10418 2007-01-19 Edward Hervey <edward@fluendo.com>
10420 * docs/faq/gst-uninstalled:
10421 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10422 depending on libgstbaseutils can work in uninstalled environment.
10424 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10426 * gst/gsttaglist.h:
10427 * gst/gsttagsetter.c:
10428 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10429 statement for new tag.
10431 2007-01-17 Edward Hervey <edward@fluendo.com>
10433 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10434 When dynamically creating single queues, activate sinkpad before adding
10436 We should be doing the same thing for the source pad, but we can't
10437 since it would call a method which needs the parent to be set in order
10438 to work propertly. Instead of activating the source pad, we just unset
10439 the flushing flag, which is the minimal requirement for adding a pad
10440 to an element in a state greater than READY.
10442 2007-01-17 Edward Hervey <edward@fluendo.com>
10444 * docs/faq/gst-uninstalled:
10445 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10448 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10450 * tests/check/gst/gstabi.c:
10451 * tests/check/gst/struct_hppa.h:
10452 * tests/check/libs/libsabi.c:
10453 * tests/check/libs/struct_hppa.h:
10454 Add ABI structs for HPPA (see #393796).
10456 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10458 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10459 Actually write ABI structs to the file specified in the GST_ABI
10460 environment variable, as the message we print claims we would.
10462 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10464 * tests/check/gst/gsttask.c:
10465 Fix header comment.
10467 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10469 * gst/gsttaglist.c: (_gst_tag_initialize):
10470 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10471 previous two entries.
10473 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10475 * docs/gst/gstreamer-sections.txt:
10476 * gst/gsttaglist.c: (_gst_tag_initialize):
10477 * gst/gsttaglist.h:
10478 Add tag support for beat-per-minute.
10480 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10482 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10483 (gst_registry_binary_initialize_magic),
10484 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10485 (gst_registry_binary_save_pad_template),
10486 (gst_registry_binary_save_feature),
10487 (gst_registry_binary_save_plugin),
10488 (gst_registry_binary_write_cache),
10489 (gst_registry_binary_check_magic),
10490 (gst_registry_binary_load_pad_template),
10491 (gst_registry_binary_load_feature),
10492 (gst_registry_binary_load_plugin),
10493 (gst_registry_binary_read_cache):
10494 * gst/gstregistrybinary.h:
10495 Use glib types, cleanup comments, impement interfaces and uri-types.
10497 2007-01-13 Andy Wingo <wingo@pobox.com>
10499 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10500 getrange() to return buffers with other caps, while we fix
10501 demuxers and typefind, or otherwise change part-negotiation.txt.
10503 2007-01-12 Andy Wingo <wingo@pobox.com>
10505 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10506 Factor start/stop into this private function instead of partially
10507 in activate functions and partially in the change_state function.
10508 Fixes setup before the element has changed from READY->PAUSED, as
10509 is the case in pull-mode pipelines.
10510 (gst_base_transform_sink_activate_push)
10511 (gst_base_transform_src_activate_pull): Refactor to use
10512 gst_base_transform_activate().
10513 (gst_base_transform_change_state): Removed, not needed any more.
10515 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10516 Truncate before fixating.
10518 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10519 Don't set_caps() if the result of fixating is ANY, as it's not
10520 supported, and not necessary in the case of a link with no
10521 template caps on either side. Fixes tests/check/libs/basesrc in
10522 some pull-mode tests.
10524 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10525 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10526 (gst_base_transform_src_activate_pull):
10527 Track the activation mode.
10528 (gst_base_transform_setcaps): In pull mode, when activating the
10529 src pad, after activating the sink pad, activate the sink pad's
10530 peer, as discussed in part-negotiation.txt.
10532 * libs/gst/base/gstbasesrc.h:
10533 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10534 vmethod, as in basesink.
10536 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10538 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10539 mode, first proxy the setcaps to the peer pad.
10540 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10541 new fixate vmethod.
10542 (gst_base_sink_default_activate_pull): Rename from
10543 gst_base_sink_activate_pull.
10544 (gst_base_sink_negotiate_pull): New function, performs negotiation
10545 in pull mode before calling ::activate_pull().
10546 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10547 vmethod instead of the default implementation. I have no idea how
10548 this worked before. Negotiate before calling activate_pull.
10550 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10551 sink pads in pull mode. In addition to being correct, fixes
10552 filesrc ! decodebin ! identity ! fakesink.
10553 (gst_pad_get_range, gst_pad_pull_range): Don't call
10554 gst_pad_set_caps() if the caps changes; instead error out with
10555 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10557 2007-01-12 Andy Wingo <wingo@pobox.com>
10559 * docs/design/part-negotiation.txt: Update with more policy.
10561 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10563 * libs/gst/check/gstbufferstraw.h:
10564 * libs/gst/check/gstcheck.h:
10565 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10568 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10570 * tests/check/Makefile.am:
10571 * tests/check/gst/.cvsignore:
10572 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10573 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10574 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10575 (GST_START_TEST), (gst_tag_setter_suite):
10576 Add minimal unit test for beforementioned GstTagSetter bug.
10578 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10580 Patch by: René Stadler <mail at renestadler dot de>
10582 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10583 gst_tag_list_merge() returns a new list, so it's not the best idea
10584 to ingore its return value. Effectively meant that tags could only
10585 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10586 Also add function guard to require a non-NULL taglist as input (has
10587 always been so due to gst_tag_list_copy(), just making it explicit).
10589 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10591 * docs/random/draft-missing-plugins.txt:
10592 Some additions: mention new API that is supposed to be used at the
10593 various stages; short blob about new gst-inspect introspection
10594 option; mention potential future problem with plugins that have
10595 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10597 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10599 * tools/gst-inspect.c:
10600 (print_plugin_automatic_install_info_codecs),
10601 (print_plugin_automatic_install_info_protocols),
10602 (print_plugin_automatic_install_info), (main):
10603 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10604 introspect plugin files and get machine-parsable output that corresponds
10605 to the last bit of the missing-plugin installer string (small gotcha:
10606 doesn't take into account ranks).
10608 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10611 * docs/gst/gstreamer-sections.txt:
10613 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10614 (gst_registry_lookup_locked):
10615 * gst/gstregistry.h:
10616 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10617 (gst_registry_binary_initialize_magic),
10618 (gst_registry_binary_save_string),
10619 (gst_registry_binary_save_pad_template),
10620 (gst_registry_binary_save_feature),
10621 (gst_registry_binary_save_plugin),
10622 (gst_registry_binary_write_cache),
10623 (gst_registry_binary_check_magic),
10624 (gst_registry_binary_load_pad_template),
10625 (gst_registry_binary_load_feature),
10626 (gst_registry_binary_load_plugin),
10627 (gst_registry_binary_read_cache):
10628 * gst/gstregistrybinary.h:
10629 * gst/gstregistryxml.c: (load_feature),
10630 (gst_registry_xml_read_cache):
10631 commit binary registry (disabled by default, see #359653)
10633 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10635 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10636 Fix 'make check' too.
10638 2007-01-10 Andy Wingo <wingo@pobox.com>
10640 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10643 * docs/design/part-negotiation.txt: Update with, um, one way that
10644 pull-mode negotiation might work?
10647 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10648 that the pad must be a src pad; makes sense to call it the other
10649 way in pull mode, and the logic is symmetric anyway.
10651 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10653 * plugins/elements/gstfilesink.c:
10654 Include <stdio.h> for fseeko().
10656 2007-01-10 Wim Taymans <wim@fluendo.com>
10660 Reserve LATENCY event.
10662 2007-01-09 Wim Taymans <wim@fluendo.com>
10664 * docs/design/draft-latency.txt:
10667 2007-01-09 Wim Taymans <wim@fluendo.com>
10669 * docs/design/draft-latency.txt:
10672 * gst/gstelement.h:
10673 * gst/gststructure.c:
10677 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10679 * tests/check/.cvsignore:
10680 Ignore test-registry.xml as well.
10682 2007-01-09 Wim Taymans <wim@fluendo.com>
10684 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10685 unref data at the end when we are done with the pad.
10687 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10689 * docs/gst/gstreamer-sections.txt:
10690 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10691 (init_post), (gst_deinit), (gst_update_registry):
10693 API: add gst_update_registry() (#391296).
10695 * tests/check/Makefile.am:
10696 * tests/check/gst/gstregistry.c:
10697 * tests/check/gst/.cvsignore:
10698 Simple unit test for the above.
10700 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10702 * gst/gstregistry.c: (gst_registry_scan_path_level):
10703 Plugin extension on HP-UX is .sl, add that to the list of approved
10704 plugin extensions (see #393796).
10706 * tests/check/gst/gstpad.c: (GST_START_TEST):
10707 ulong => gulong. Fixes compilation with HP-UX compiler.
10709 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10710 Fix compilation if valgrind headers are not available.
10712 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10714 * win32/common/libgstreamer.def:
10715 Add new exported function.
10716 * win32/vs6/libgstbase.dsp:
10717 Add gstdataqueue.c to the build.
10718 * win32/vs6/libgstcoreelements.dsp:
10719 Add gstmultiqueue.c to the build.
10721 2007-01-06 Andy Wingo <wingo@pobox.com>
10723 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10724 activate_pull(), providing for a way to specialize the process of
10725 spawning a thread to pull on the sink pad. There is a default
10728 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10729 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10730 (gst_base_sink_init): Renamed pad activation functions (inserting
10731 "_pad" in their names). Refactor to use the new activate_pull
10732 vmethod, as appropriate.
10733 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10734 default activate_pull function to start a task pulling from the
10735 sink pad, as before.
10737 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10738 on the pads if necessary, as in push()/chain(). Update docs.
10739 Shouldn't affect existing pull() usage as it is currently only
10740 being used on buffers without caps.
10742 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10744 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10746 Call g_thread_init() first thing in gst_init() / gst_check_init().
10747 When initialisation is done via gst_init_get_option_group() and
10748 GOption parsing, issue a warning if the GLib thread system has not
10749 been initialised yet by the time gst_init_get_option_group() is
10750 called, as it's quite likely other GLib functions such as
10751 g_option_context_new() have been called already then, and
10752 g_thread_init() must be called before any other GLib function. The
10753 application in question must be fixed in that case, since memory
10754 corruption might happen otherwise.
10755 We issue the warning because even if the GLib folks decide to work
10756 around the problem on their end in future, this is still an issue
10757 with all GLib versions >= 2.10.0, so we should warn until we depend
10758 on a GLib version we know to be safe.
10759 Update documentation as well.
10760 Closes bug #391278.
10762 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10764 * tools/gst-inspect.c: (main):
10765 * tools/gst-launch.c: (main):
10766 * tools/gst-typefind.c: (main):
10767 * tools/gst-xmlinspect.c: (main):
10768 Call g_thread_init() really really early, before any other GLib
10769 function (see #342564 and recent discussion on gtk-devel-list).
10771 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10773 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10775 * gst/gst_private.h:
10776 * gst/gstconfig.h.in:
10778 On win32, all the __declspec stuff for symbol exporting is
10779 apparently only needed with MSVC, but doesn't work with MingW.
10780 Fixes compilation with MingW and #391909.
10782 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10784 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10785 Change some GST_ERROR_OBJECT that aren't really errors to
10786 GST_WARNING_OBJECT in order to reduce terminal spam.
10788 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10790 * tests/check/Makefile.am:
10791 disable test again, as there seem to be still race problems
10793 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10795 * tests/check/Makefile.am:
10796 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10797 (GST_START_TEST), (queue_suite):
10798 enable queue test again, add tests for the leaky behaviour
10800 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10803 * tests/examples/Makefile.am:
10804 Compile adapter test/example only if the required headers are
10805 available (fixes #391915).
10807 2007-01-01 David Schleef <ds@schleef.org>
10810 Restore the previous signal handler for SIGSEGV instead of
10811 setting to default, since we may have stolen it away from
10812 someone. (i.e., Mono)
10814 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10816 * docs/random/draft-missing-plugins.txt:
10817 Some small additions and clarifications.
10819 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10821 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10822 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10823 since that can lead to random memory corruptions and crashes
10824 (may or may not be related to #383244, #386711, and #386711).
10826 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10828 * tests/check/.cvsignore:
10829 * tests/check/Makefile.am:
10830 sync .cvsignome and CLEANFILES
10832 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10834 * tests/check/Makefile.am:
10837 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10839 * docs/design/part-states.txt:
10840 two tiny additional comments
10842 * gst/gststructure.c:
10845 * tests/check/Makefile.am:
10846 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10848 disable test for now, unless it gets fixed
10850 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10852 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10854 fix race in underrun test
10856 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10858 * tests/check/elements/.cvsignore:
10861 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10863 try to narrow test failure
10865 2006-12-21 David Schleef <ds@schleef.org>
10867 * plugins/elements/gstfakesrc.c:
10868 Use g_random_int_range(), since it produces better random
10869 numbers in a range than almost-correct floating point code.
10871 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10873 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10874 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10875 (gst_check_teardown_sink_pad):
10876 do not automatically (de)activate pads
10878 * tests/check/Makefile.am:
10879 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10880 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10881 add new, yet simple tests for queue
10883 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10884 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10885 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10887 * tests/check/elements/identity.c: (cleanup_identity):
10888 consistent pad (de)activation
10890 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10892 Patch by: Sebastian Dröge <slomo ubuntu com>
10894 * libs/gst/base/gstcollectpads.c:
10895 Fix two doc typos (#387866).
10897 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10899 * docs/manual/advanced-dparams.xml:
10900 Fix typo (g_object_control_properties() doesn't exist).
10902 2006-12-19 Edward Hervey <edward@fluendo.com>
10904 * gst/gstsegment.c: (gst_segment_set_seek):
10905 Fine tune the cases where the segment start/stop values are really
10907 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10908 Add tests for the return values of gst_segment_set_seek().
10910 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10915 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10917 Fix incorrect documentation and flesh it out a bit more.
10918 Set default values for the max properties on the GParamSpec as well,
10919 so it shows up correctly in gst-inspect.
10921 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10923 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10924 Correct docs of queue, add more detail and crosslink it more.
10926 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10928 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10929 Print additional debug info when the stream isn't perfectly
10930 timestamped; don't try to use invalid durations.
10932 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10934 * docs/design/Makefile.am:
10935 Dist new design docs.
10937 2006-12-16 Wim Taymans <wim@fluendo.com>
10939 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10941 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10942 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10943 (gst_collect_pads_stop), (gst_collect_pads_event),
10944 (gst_collect_pads_chain):
10945 * libs/gst/base/gstcollectpads.h:
10946 Add refcounting to the collectpads data so we can track when it's safe
10947 to free the data. Fixes #383382.
10949 2006-12-15 Wim Taymans <wim@fluendo.com>
10951 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10952 (gst_collect_pads_remove_pad):
10953 Automatically activate/deactivate pads when they are added to a
10954 started/stoped collectpads.
10956 2006-12-15 Wim Taymans <wim@fluendo.com>
10958 * gst/gstelement.c: (gst_element_add_pad):
10959 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10960 * gst/gstpad.c: (gst_pad_init):
10961 Set pads to FLUSHING when they are created. Check, warn and fix when a
10962 demuxer adds an inactive pad to itself when running. Fixes #339326.
10964 2006-12-15 Wim Taymans <wim@fluendo.com>
10966 * gst/gstelement.c: (gst_element_class_init),
10967 (gst_element_default_send_event), (gst_element_send_event),
10968 (gst_element_default_query), (gst_element_query):
10969 Expose default element send_event and query handling as vmethods that
10970 subclasses can chain up to.
10972 2006-12-15 Wim Taymans <wim@fluendo.com>
10974 * gst/gstelement.c: (gst_element_set_state_func):
10975 Small documentation fixes.
10977 2006-12-15 Wim Taymans <wim@fluendo.com>
10979 * docs/design/draft-latency.txt:
10980 Checked in draft for handling latency in pipelines.
10982 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10986 * gstreamer.spec.in:
10989 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10991 * gst/gst.c: (init_pre), (init_post):
10992 init_pre() and init_post() might be called via our GOptionGroup or
10993 from gst_init(), and we should skip both of them if we've already
10994 been initialised, otherwise we will init some things twice or add
10995 two default log functions.
10997 2006-12-13 Edward Hervey <edward@fluendo.com>
10999 * docs/manual/basics-bus.xml:
11000 No, gst_main_loop does not exist. Its g_main_loop.
11001 Discovered by somebody who abused the copy-paste technique of coding :)
11003 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11005 * gst/gstghostpad.c:
11006 Log ghostpad debug stuff to the GST_PADS category as well rather
11007 than just to the default category.
11009 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11012 * gst/gst.c: (init_pre):
11013 Add some basic system details such as OS and architecture
11014 to the debug output if possible, courtesy of uname().
11016 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11018 * docs/gst/running.xml:
11019 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11020 environment variables.
11022 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11024 * tests/check/gst/gstbin.c: (GST_START_TEST):
11025 It is acceptable to have a refcount of 2 or 3 at this point in the
11026 test, because the pipeline might be just posting its state_change
11027 message. The next line then waits for that message to appear using
11028 bus_poll, so that should be fine too.
11030 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11032 * gst/gst.c: (ensure_current_registry_forking):
11033 Ignore EINTR when reading from the child registry pipe.
11034 Explicitly ignore the return value from close, since it makes no
11037 * gst/gstminiobject.c: (gst_mini_object_ref),
11038 (gst_mini_object_unref):
11039 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11041 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11042 When removing cached plugins, remove their features too, so they're
11043 not visible after they've disappeared.
11045 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11046 In the unlikely case that we are linking pads with no parents, don't
11047 crash trying to get the non-existent parent bin.
11049 * gst/parse/grammar.y:
11050 Output debug in the PIPELINE category
11052 2005-03-08 Wim Taymans <wim@fluendo.com>
11054 Patch by: René Stadler <mail at renestadler dot de>
11056 * gst/gstclock.c: (gst_clock_new_periodic_id):
11057 Reject invalid clock times for interval of periodic ids.
11060 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11062 * gst/gstelementfactory.c: (gst_element_factory_create):
11063 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11064 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11065 * tools/gst-inspect.c: (print_element_info):
11066 Fix refcounting of gst_plugin_feature_load to match the docs.
11069 2006-12-07 Wim Taymans <wim@fluendo.com>
11071 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11072 (gst_base_sink_get_position):
11073 Improve debugging of events.
11075 2006-12-07 Wim Taymans <wim@fluendo.com>
11077 Patch by: René Stadler <mail at renestadler dot de>
11079 * gst/gstclock.c: (gst_clock_id_wait):
11080 Make period ids add the interval to the origial requested time instead
11081 of the possibly updated time which can be wrong when there are multiple
11082 waiters for the same id. Fixes #382592.
11084 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11085 (gst_system_clock_id_wait_jitter_unlocked),
11086 (gst_system_clock_id_wait_jitter):
11087 Fix restart in the async notify thread when an async entry is added to
11088 the front of the list. Fixes #381492.
11090 * tests/check/gst/gstsystemclock.c: (store_callback),
11091 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11092 Added test for multiple async waits.
11093 Added test for async wait order.
11095 2006-12-07 Wim Taymans <wim@fluendo.com>
11097 * gst/gstbin.c: (gst_bin_query):
11098 Add some more docs about the POSITION query.
11100 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11103 Bump version nano - back to CVS.
11105 === release 0.10.11 ===
11107 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11110 releasing 0.10.11, "Love never runs on time"
11112 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11114 * win32/common/libgstbase.def:
11115 * win32/common/libgstreamer.def:
11116 * win32/vs8/libgstbase.vcproj:
11117 * win32/vs8/libgstcoreelements.vcproj:
11118 * win32/vs8/libgstreamer.vcproj:
11119 Fix compilation on win32 under VS8
11120 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11121 Partially fixes #381175
11123 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11125 * gst/gstvalue.c: (gst_value_compare_fraction):
11126 If someone is foolish enough to compare 2 fractions with denominator =
11127 0, return UNORDERED rather than aborting.
11129 2006-11-28 Edward Hervey <edward@fluendo.com>
11131 * libs/gst/base/Makefile.am:
11132 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11133 (gst_data_queue_base_init), (gst_data_queue_class_init),
11134 (gst_data_queue_init), (gst_data_queue_new),
11135 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11136 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11137 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11138 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11139 (gst_data_queue_set_flushing), (gst_data_queue_push),
11140 (gst_data_queue_pop), (gst_data_queue_drop_head),
11141 (gst_data_queue_set_property), (gst_data_queue_get_property):
11142 * libs/gst/base/gstdataqueue.h:
11143 New GstDataQueue object for threadsafe queueing. Most useful for
11144 elements that need some queueing functionnality.
11145 * docs/libs/gstreamer-libs-docs.sgml:
11146 * docs/libs/gstreamer-libs-sections.txt:
11147 Insert documentation for GstDataQueue
11148 * plugins/elements/Makefile.am:
11149 * plugins/elements/gstelements.c:
11150 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11151 (gst_multi_queue_class_init), (gst_multi_queue_init),
11152 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11153 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11154 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11155 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11156 (gst_multi_queue_loop), (gst_multi_queue_chain),
11157 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11158 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11159 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11160 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11161 (wake_up_next_non_linked), (compute_next_non_linked),
11162 (single_queue_overrun_cb), (single_queue_underrun_cb),
11163 (single_queue_check_full), (gst_single_queue_new):
11164 * plugins/elements/gstmultiqueue.h:
11165 New multiqueue element, using GstDataQueue. Used for queuing multiple
11167 Closes #344639 and #347785
11169 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11171 * docs/pwg/advanced-types.xml:
11172 add more missing type details
11174 * tools/gst-run.c: (main):
11175 remove unused variable
11177 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11179 * docs/libs/Makefile.am:
11180 * docs/libs/gstreamer-libs.types:
11181 add types of base classes to enable gobject specific stuff in the docs
11183 * docs/random/ensonic/embedded.txt:
11184 more ideas about isolating platform specific things
11186 2006-11-20 Wim Taymans <wim@fluendo.com>
11188 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11190 * libs/gst/check/gstcheck.h:
11191 Fix compilation and running against 0.9.4. Fixes #377332.
11193 2006-11-20 Wim Taymans <wim@fluendo.com>
11195 * gst/gstsegment.c: (gst_segment_set_seek),
11196 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11197 (gst_segment_to_running_time):
11198 Fix boundary checking in to_running_time() and to_stream_time().
11201 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11202 stream and running time can now be calculated for the complete
11205 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11207 * gst/gstpad.c: (gst_pad_push_event):
11208 Can't access event structure after giving away ownership of
11211 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11213 * docs/random/ensonic/embedded.txt:
11214 * docs/random/ensonic/profiling.txt:
11215 * docs/random/ensonic/receipies.txt:
11218 2006-11-13 Wim Taymans <wim@fluendo.com>
11220 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11223 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11225 2006-11-13 Wim Taymans <wim@fluendo.com>
11227 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11229 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11230 Store new length in segment duration so we don't keep on calling the
11231 potentially expensize get_size() call. Fixes #370865.
11233 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11235 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11237 * win32/common/libgstreamer.def:
11238 Add two missing symbols (#366492).
11240 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11242 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11243 (gst_adapter_take_buffer):
11244 Fix format string to use all its arguments.
11245 Remove useless >= check on a guint
11247 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11249 * tests/examples/adapter/.cvsignore:
11250 Ignore build file as commanded by the build-bot
11252 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11254 * tests/examples/adapter/Makefile.am:
11255 * tests/examples/adapter/adapter_test.c: (run_test_take),
11256 (run_test_take_buffer), (run_tests), (main):
11258 Add new files from the previous commit
11260 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11264 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11265 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11266 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11267 * libs/gst/base/gstadapter.h:
11268 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11269 (GST_START_TEST), (gst_adapter_suite):
11270 * tests/examples/Makefile.am:
11271 Do some optimisation work in GstAdapter to avoid copies in more cases.
11272 It could still do slightly better by merging buffers when
11273 gst_buffer_is_span_fast is true, but is already faster.
11275 Also, avoid traversing a single-linked list to append each incoming
11276 buffer inside the adapter.
11278 Add simple test app that times the adapter behaviour in different
11279 situations, and extend the unit test to check that bytes enter and
11280 exit the adapter in their original order.
11282 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11284 * docs/random/draft-missing-plugins.txt:
11285 Update: use element message instead of adding a new message
11286 type to the core; don't provide GStreamer API to initiate the
11287 plugin download, just provide API to compose the strings needed
11288 and let an external libgimmestuff handle the rest.
11290 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11292 * tools/gst-inspect.c: (print_element_properties_info):
11293 Print a string instead of 'unknown type' for GValueArray properties
11295 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11297 * docs/random/draft-missing-plugins.txt:
11300 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11302 * tests/examples/typefind/typefind.c: (type_found), (main):
11303 Make typefind element example work again (#371894); add a
11306 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11308 * docs/random/draft-missing-plugins.txt:
11309 Commit initial draft about how to deal with missing plugins,
11310 needs work (API too).
11312 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11314 * docs/pwg/advanced-types.xml:
11315 documents the new caps elements (see #363118)
11317 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11319 * gst/gstplugin.c: (gst_plugin_load_file):
11320 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11321 (gst_file_src_map_region), (gst_file_src_start):
11322 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11323 (gst_file_index_commit):
11324 Use g_strerror() instead of strerror() - we want UTF-8.
11326 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11328 Patch by: Peter Kjellerstedt <pkj at axis com>
11330 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11331 Another printf fix (#371493).
11333 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11335 * tests/check/gst/gsttag.c:
11336 relicence (okay with author=company)
11338 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11340 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11341 (gst_pad_push_event):
11342 Enhance debug and improve docs
11347 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11349 * docs/random/ensonic/distributed.txt:
11350 * docs/random/ensonic/profiling.txt:
11353 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11355 * docs/gst/gstreamer-sections.txt:
11356 add new API and fix the build
11358 * gst/gstbin.c: (gst_bin_recalc_state):
11359 * gst/gstelement.c: (gst_element_message_full),
11360 (gst_element_get_state_func), (gst_element_set_state_func):
11361 use new API and improve logging
11363 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11365 API: add function to get StateChangereturn names to improve logs
11367 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11369 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11370 I'm considering shooting the next person to put strerror stuff
11371 in the translateable part of the message.
11373 2006-11-03 Wim Taymans <wim@fluendo.com>
11375 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11376 Get the type and printf conversion specifiers right.
11378 2006-11-03 Wim Taymans <wim@fluendo.com>
11380 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11382 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11383 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11384 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11385 Some small cleanups. Improve debugging.
11387 Signal all waiting threads with a broadcast instead of just one.
11390 2006-11-03 Wim Taymans <wim@fluendo.com>
11392 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11393 (gst_fd_src_create):
11394 Add some debugging.
11395 Only update fd when it's different from the old.
11397 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11399 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11400 Printf fixes for PPC/OSX, take two (#369366).
11402 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11404 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11406 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11407 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11408 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11409 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11410 don't cast to long long for portability reasons, but use
11411 GLib's types instead.
11413 2006-10-30 Michael Smith <msmith@fluendo.com>
11415 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11416 Get the arguments to lseek() the right way around.
11419 2006-10-30 Wim Taymans <wim@fluendo.com>
11421 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11424 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11426 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11428 Patch by: Kjartan Maraas <kmaraas at gnome org>
11430 * docs/design/part-MT-refcounting.txt:
11431 * docs/random/wtay/capsnego2-docs:
11434 Typo fixes (#366212).
11436 2006-10-28 Wim Taymans <wim@fluendo.com>
11438 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11441 * win32/common/libgstbase.def:
11442 * win32/common/libgstreamer.def:
11443 * win32/vs8/libgstbase.vcproj:
11444 * win32/vs8/libgstcontroller.vcproj:
11445 Add needed entries in .def files.
11447 Rearrange def files in vs8 solutions. Fixes #366286.
11449 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11451 * win32/common/gstconfig.h:
11452 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11453 hand-made win32 gstconfig.h. Fixes #366321.
11455 2006-10-27 Wim Taymans <wim@fluendo.com>
11457 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11458 (gst_ghost_pad_new_full):
11459 Make acceptcaps return TRUE when we don't have a target, just like
11462 2006-10-27 Wim Taymans <wim@fluendo.com>
11464 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11465 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11467 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11469 * gst/gststructure.c: (gst_structure_id_set_value):
11470 If someone tries to set a non-UTF8 string field on a structure,
11471 don't just print a warning, but also ignore the request and do
11472 not change/add that field to the structure.
11474 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11475 Test for the above.
11477 2006-10-25 David Schleef <ds@schleef.org>
11480 g_hash_table_insert() needs a cast to a non-const pointer duh.
11482 2006-10-25 David Schleef <ds@schleef.org>
11486 Change name parameter of _gst_debug_register_funcptr to const
11487 to reflect the constness of its use in the function as well
11488 as to quiet a gcc warning.
11490 2006-10-25 Edward Hervey <edward@fluendo.com>
11492 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11493 Don't push the buffer if it's empty.
11496 2006-10-24 Wim Taymans <wim@fluendo.com>
11501 * libs/gst/base/gstbasetransform.c:
11502 (gst_base_transform_sink_eventfunc):
11503 Debug segment values *after* updating them as this is more
11506 2006-10-23 Wim Taymans <wim@fluendo.com>
11508 * docs/design/part-events.txt:
11511 * docs/design/part-block.txt:
11512 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11513 (gst_pad_push_event):
11514 Revert BLOCKING patch, it tries to be smart without really having a
11515 clear idea what or how. So, now we discard all FLUSHING events again on
11516 a blocking pad. Should fix gnonlin again.
11518 2006-10-23 Wim Taymans <wim@fluendo.com>
11520 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11522 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11523 (gst_base_src_start), (gst_base_src_activate_push):
11524 Make sure size is always initialized. Fixes #364388.
11526 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11528 * docs/random/ensonic/distributed.txt:
11529 add some ideas about doing distributed processing
11531 * docs/random/ensonic/profiling.txt:
11532 get_rusage look promising
11534 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11536 * docs/manual/basics-helloworld.xml:
11537 Add a cast in example to fix compile warning
11539 2006-10-18 Wim Taymans <wim@fluendo.com>
11541 * gst/gstsegment.c: (gst_segment_set_last_stop),
11542 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11543 Relax arg checking again, -1 is allowed.
11545 2006-10-18 Wim Taymans <wim@fluendo.com>
11547 * gst/gstsegment.c: (gst_segment_set_last_stop),
11548 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11549 _set_last_stop() must be with a value != -1
11550 A _TYPE_SET to -1 means seek to 0.
11551 Calc last_stop correctly for negative rates.
11552 Make sure we work with positive durations when updating a segment.
11554 2006-10-18 Wim Taymans <wim@fluendo.com>
11556 * docs/design/part-live-source.txt:
11560 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11563 Add an explicit cast to GstBuffer** to keep old code that added an
11564 explicit cast to GstMiniObject** for gst_mini_object_replace()
11565 compiling without warning.
11567 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11569 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11570 check for validity of dates
11572 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11574 * docs/gst/gstreamer-sections.txt:
11575 Forgot this one, makes gtk-doc shut up.
11577 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11579 Patch by: Peter Kjellerstedt <pkj at axis com>
11582 Don't define xmlNodePtr to gpointer if the core was built with
11583 --disable-loadsave and --disable-registry, this will break
11584 applications that want to use libxml2 but are buildling against a
11585 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11586 instead so we don't have to mess with the libxml2 namespace
11589 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11592 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11593 type-punned pointer warnings.
11595 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11597 * gst/gstelement.h:
11598 Add casts to the correct return type to state <=> state transition
11601 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11603 * docs/design/part-live-source.txt:
11604 describe howto handle latency
11606 * docs/random/ensonic/profiling.txt:
11609 * tools/gst-plot-timeline.py:
11610 fix log parsing for solaris, remove unused function
11612 2006-10-16 Wim Taymans <wim@fluendo.com>
11614 * docs/design/part-trickmodes.txt:
11616 Update some docs regarding reverse playback.
11618 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11620 Patch by: Marcus Granado <mrc dot gran at gmail com>
11622 * win32/vs8/grammar.vcproj:
11623 Error out with a warning if glib-genmarshal.exe is not in path,
11624 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11626 2006-10-13 Wim Taymans <wim@fluendo.com>
11628 * gst/gstsegment.c: (gst_segment_set_seek):
11629 When seeking to stop -1, set last_stop (current position) to the
11630 duration of the segment.
11632 2006-10-13 Wim Taymans <wim@fluendo.com>
11634 * gst/gstelement.h:
11635 Clarify _NO_PREROLL a bit more.
11640 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11641 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11642 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11643 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11644 due to wrong locking order. Fixes #361769.
11645 Remove some redundant/misplaced checks in pad_block.
11647 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11648 For negative rates, count backwards from the duration.
11650 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11652 * gst/gsterror.c: (_gst_library_errors_init):
11653 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11654 up with something better).
11656 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11658 * win32/vs6/libgstreamer.dsp:
11659 * win32/vs7/libgstreamer.vcproj:
11660 * win32/vs8/libgstreamer.vcproj:
11661 Don't reference glib-compat.c which is currently not used and not
11662 disted; add gstquark.c which was recently added. Fixes #361730.
11664 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11666 * win32/common/libgstbase.def:
11667 * win32/common/libgstcontroller.def:
11668 * win32/common/libgstreamer.def:
11669 Add gst_caps_merge() and a bunch of other recently-added functions.
11672 2006-10-11 Wim Taymans <wim@fluendo.com>
11674 * docs/plugins/gstreamer-plugins.args:
11675 * docs/plugins/inspect/plugin-coreelements.xml:
11676 * docs/plugins/inspect/plugin-coreindexers.xml:
11677 Update element args.
11679 * gst/gstsystemclock.c:
11680 Small comment update.
11682 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11683 (gst_tee_request_new_pad), (gst_tee_release_pad),
11684 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11685 (gst_tee_sink_activate_pull):
11686 * plugins/elements/gsttee.h:
11688 Add default property defines.
11689 Implement release pad function.
11690 Give properties better blubs etc.
11691 Activate pads before adding them to a running tee.
11692 Do simple buffer_alloc on the first requested pad.
11693 Post error when activation fails.
11695 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11697 * gst/gst.c: (ensure_current_registry_forking):
11698 Check return value of write() to make compiler happy.
11700 2006-10-11 Wim Taymans <wim@fluendo.com>
11702 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11704 * plugins/elements/gstqueue.c: (gst_queue_chain):
11705 Recheck queue filledness after signalling the overrun when we're about
11706 to leak downstream because we released the lock when emitting the signal
11707 and the queue could be empty again. Fixes #352345.
11709 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11711 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11712 Fix refcounting here too, just like we did for _new_valist() a few
11713 days ago (#357180) (thanks to René Stadler). Also remove all those
11714 'Since: 0.9' from the gtk-doc blobs.
11716 * tests/check/libs/controller.c: (controller_refcount_new_list),
11717 (gst_controller_suite):
11718 Unit test for the above.
11720 2006-10-10 Wim Taymans <wim@fluendo.com>
11722 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11724 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11725 (gst_pad_save_thyself):
11727 Write pad direction in XML output. Fixes #345496.
11729 2006-10-10 Wim Taymans <wim@fluendo.com>
11731 Patch by: René Stadler <mail at renestadler dot de>
11733 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11734 (gst_controller_new_list), (_gst_controller_dispose),
11735 (_gst_controller_finalize), (_gst_controller_class_init):
11736 Take ref to controlled object so that it cannot disappear.
11739 2006-10-10 Wim Taymans <wim@fluendo.com>
11741 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11742 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11743 (gst_check_teardown_sink_pad):
11744 Activate/deactivate pads in setup/teardown respectively.
11746 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11748 Patch by: Josep Torra Valles <josep@fluendo.com>
11751 Cast values when making gstenumtypes.h. This pacifies Forte
11752 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11753 in the enumeration.
11755 2006-10-09 Wim Taymans <wim@fluendo.com>
11757 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11758 Rename some more @cur to @start to fix docs.
11760 * gst/gstsegment.c: (gst_segment_set_seek):
11762 time and start must always stay in sync as defined in design doc.
11764 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11765 Rename param to fix docs.
11767 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11768 Check that start and time are in sync.
11770 * tests/check/pipelines/parse-launch.c:
11771 (gst_parse_test_element_change_state):
11772 Activate pad before adding to the element.
11774 2006-10-09 Wim Taymans <wim@fluendo.com>
11776 * docs/design/part-qos.txt:
11781 Update seek event docs regarding negative rates.
11782 Rename @cur to @start.
11784 * gst/gstsegment.c: (gst_segment_set_seek):
11785 * gst/gstsegment.h:
11786 Update set_seek docs regarding negative rates.
11787 Correctly update last_stop to @stop when dealing with negative
11789 Rename @cur to @start.
11791 * tests/check/gst/gstpad.c: (GST_START_TEST):
11792 Activate pads before trying to use them.
11794 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11795 (gst_segment_suite):
11796 Add simple check for segments and negative rates.
11798 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11800 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11801 * gst/gsttaglist.h:
11802 * docs/gst/gstreamer-sections.txt:
11803 API: add gst_tag_list_is_empty() (#360467).
11805 * tests/check/gst/gsttag.c: (GST_START_TEST):
11808 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11810 * gst/gstmessage.h:
11811 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11812 a value that doesn't fit on enumeration.
11814 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11816 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11817 Remove local debugging system and use Gstreamer's instead.
11819 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11821 Patch by: Josep Torra Valles <josep@fluendo.com>
11823 * common/m4/gst-error.m4:
11824 Disable warning of statement not reached on Forte.
11825 * gst/gstmessage.h:
11826 Fix warning on Forte (value doesn't fit on enumeration).
11827 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11828 Fix warning on Forte (value doesn't fit on enumeration).
11829 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11830 DEBUG macro says it takes minimum of 2 args and so Forte
11831 complains about the use with just 1 arg.
11832 * plugins/elements/gstfdsink.c:
11833 * plugins/elements/gstfdsrc.c:
11834 * plugins/elements/gstfilesink.c:
11835 * plugins/elements/gstfilesrc.c:
11836 Use correct return type for the uri handler implementations.
11838 All these fix warnings in Forte. Fixes bug #360860.
11840 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11842 * gst/gstelement.h:
11843 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11844 format string, so don't use G_GNUC_PRINTF for those versions.
11846 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11848 * gst/gsttaglist.c: (gst_is_tag_list):
11849 * gst/gsttaglist.h:
11850 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11852 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11853 Small test for the above.
11855 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11857 * gst/gsttaglist.h:
11858 Less tabs, more spaces.
11860 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11863 Those two function declarations do actually belong there, revert
11864 commit from yesterday that turned them intro macros.
11866 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11868 Patch by: Josep Torra Valles <josep@fluendo.com>
11870 * gst/gst.c: (gst_init_get_option_group):
11871 Fix empty declaration and type mismatch.
11872 * gst/gstbin.c: (gst_bin_change_state_func):
11874 * gst/gstelement.c: (gst_element_continue_state),
11875 (gst_element_set_state_func), (gst_element_change_state),
11876 (gst_element_change_state_func):
11877 Fix type mismatches.
11878 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11879 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11880 Cast as appropriate.
11881 * gst/gstobject.c: (gst_class_signal_connect):
11882 Cast as appropriate. The function pointer parameter really
11883 has the wrong type but would break API if we change it.
11885 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11886 order of including string.h.
11887 * gst/gstutils.c: (gst_element_state_get_name):
11888 Remove unreachable line.
11889 * gst/gstxml.c: (gst_xml_parse_doc):
11891 All these caught by Forte.
11893 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11895 Patch by: Josep Torra Valles <josep@fluendo.com>
11897 * common/m4/gst-error.m4:
11899 We need to disable warnings on Forte for empty declarations
11900 due to gst-indent adding ;s to lines that just use macros
11901 where the macro actually doesn't need a ; at end to end
11904 2006-10-06 Wim Taymans <wim@fluendo.com>
11906 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11907 (gst_file_sink_close_file), (gst_file_sink_event),
11908 (gst_file_sink_render):
11909 Add some FIXME for the NEWSEGMENT handling.
11911 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11913 * gst/parse/grammar.y:
11914 Remove static function gst_parse_element_lock as all it does
11915 is return. Looks like cruft from 0.8.
11917 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11919 Patch by: Josep Torra Valles <josep@fluendo.com>
11921 * common/m4/gst-error.m4:
11923 * libs/gst/net/Makefile.am:
11924 Fix a compilation issue with Forte on Solaris. inet_aton is in
11927 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11929 * gst/gstpad.c: (pre_activate):
11930 * gst/gstregistry.c: (gst_registry_scan_path_level):
11931 * gst/gstregistryxml.c: (load_plugin):
11932 * libs/gst/controller/gstcontroller.c:
11933 (gst_controlled_property_set_interpolation_mode):
11934 * libs/gst/dataprotocol/dataprotocol.c:
11935 (gst_dp_packet_from_event_1_0):
11936 * libs/gst/net/gstnetclientclock.c:
11937 (gst_net_client_clock_observe_times):
11938 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11941 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11944 * docs/gst/gstreamer-sections.txt:
11945 * gst/gstconfig.h.in:
11946 * gst/gstelement.h:
11948 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11949 whether we can use G_GNUC_PRINTF in other header files and at
11950 least check the printf format/arguments of debug messages and
11951 GST_ELEMENT_ERROR messages when the printf extension is not
11953 Replace more tabs with spaces in gstinfo.h and remove two spurious
11954 function declarations in GST_DISABLE_DEBUG part with macros.
11956 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11958 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11959 More docs for the sync-message signal (mention that it is not
11960 emitted by default); log message structures of messages posted on
11963 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11965 * gst/gst.c: (ensure_current_registry_forking):
11966 Use a pipe pair to receive status results from the forked child, and
11967 ignore the result from waitpid. Fixes #355499
11969 2006-10-02 Wim Taymans <wim@fluendo.com>
11971 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11972 (gst_ghost_pad_suite):
11975 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11978 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11980 2006-10-02 Edward Hervey <edward@fluendo.com>
11982 * docs/design/part-block.txt:
11983 Further explain the use of flushing on blocked pads.
11984 * docs/gst/gstreamer-sections.txt:
11985 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11986 (gst_pad_push_event):
11988 Added new GstPadFlag : GST_PAD_BLOCKING.
11989 Adds the notion of pads really blocking, which enables to properly
11990 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11992 API: gst_pad_is_blocking()
11993 API: GST_PAD_IS_BLOCKING() macro
11994 API: GST_PAD_BLOCKING GstPadFlag
11996 2006-10-02 Wim Taymans <wim@fluendo.com>
11998 Patch by: mrcgran <mrc.gran at gmail dot com>
12000 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12001 Filter the proxied caps against the padtemplate if we have one.
12003 * gst/gstquery.c: (gst_query_new_segment):
12004 Add include for gstinfo.h so that compilation with
12005 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12007 2006-10-02 Wim Taymans <wim@fluendo.com>
12009 Patch by: Alessandro Decina <alessandro at nnva org>
12011 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12012 (gst_file_sink_set_location), (gst_file_sink_open_file),
12013 (gst_file_sink_close_file), (gst_file_sink_event),
12014 (gst_file_sink_render):
12015 Set file to NULL when closing filesink so that we can set a new filename
12016 in READY. Fixes #358613.
12018 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12020 Patch by: Alessandro Decina <alessandro at nnva org>
12022 * gst/gstevent.c: (_gst_event_copy):
12023 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12024 with event structures by setting the parent refcount address of the
12025 copied structure to the address of the refcount member of the newly
12026 copied event rather than the address of the refcount member of the
12027 original event. Fixes #358737.
12029 * tests/check/gst/gstevent.c: (GST_START_TEST):
12030 Unit test for the above.
12032 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12034 * docs/design/Makefile.am:
12035 Dist some more files.
12037 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12039 * tests/check/libs/controller.c: (GST_START_TEST),
12040 (gst_controller_suite):
12041 Add test for the previous fix; add some more tests
12042 for correct refcounting behaviour; fix a few leaks
12043 in test cases; call gst_controller_init() at start
12046 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12048 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12049 (gst_controller_set_from_list):
12050 Don't g_return_val_if_fail() on timed values with invalid timestamps
12051 inside a critical section without unlocking the mutex. Spotted by
12052 René Stadler. (#357617)
12053 Also, fix up refcounting properly: when returning an existing
12054 controller, we should increase the reference only once and not
12055 once per property and when trying to control a property again
12056 we should also increase the refcount.
12058 2006-09-29 Wim Taymans <wim@fluendo.com>
12060 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12061 * libs/gst/net/gstnettimeprovider.c:
12062 (gst_net_time_provider_thread):
12063 Stop reading commands when EOF as well.
12065 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12066 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12067 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12068 Unify description of the dump property.
12070 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12072 * tests/examples/manual/.cvsignore:
12073 OK, so it's actually cvsignore that needs changing. Stop laughing.
12075 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12077 * tests/examples/manual/Makefile.am:
12078 Gah, declare vars *before* using them
12080 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12082 * gst/gst.c: (init_pre), (scan_and_update_registry),
12083 (ensure_current_registry_nonforking),
12084 (ensure_current_registry_forking), (ensure_current_registry),
12085 (init_post), (gst_debug_help), (gst_deinit):
12086 * gst/gst_private.h:
12087 * gst/gstregistry.c: (gst_registry_finalize),
12088 (gst_registry_remove_features_for_plugin_unlocked),
12089 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12090 (gst_registry_scan_path),
12091 (_priv_gst_registry_remove_cache_plugins),
12092 (_priv_gst_registry_cleanup):
12093 * gst/gstregistry.h:
12094 Re-commit the registry changes, along with an extra fix:
12095 When a cached plugin is encountered at a different file path,
12096 update the stored path in the registry cache so that the parent
12097 process knows where it actually is now when it re-reads the registry
12098 cache. Fixes the thing that broke distcheck with the previous commit.
12100 * tests/check/Makefile.am:
12101 Clean up files named 'core' too when running make clean.
12103 * tests/examples/manual/Makefile.am:
12104 Set up a registry path for running these tests, and clean it properly
12107 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12110 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12111 want gmodule-no-export-2.0.pc instead so that we don't drag in
12112 --export-dynamic on every project that links to GStreamer.
12114 Also, make our export regex only match the start of symbols, rather
12115 than any symbol that contains '_gst' somewhere.
12117 * libs/gst/check/Makefile.am:
12118 The libgstcheck we build does however need export-dynamic, as it
12119 produces some symbols that don't match our _gst... style regex.
12122 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12124 * gst/gst.c: (init_pre), (scan_and_update_registry),
12125 (ensure_current_registry_nonforking),
12126 (ensure_current_registry_forking), (ensure_current_registry),
12127 (init_post), (gst_debug_help), (gst_deinit):
12128 * gst/gst_private.h:
12129 * gst/gstregistry.c: (gst_registry_finalize),
12130 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12131 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12132 (_gst_registry_cleanup):
12133 * gst/gstregistry.h:
12134 Revert previous change until I figure out why it breaks distcheck.
12136 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12138 * gst/gst.c: (init_pre), (scan_and_update_registry),
12139 (ensure_current_registry_nonforking),
12140 (ensure_current_registry_forking), (ensure_current_registry),
12141 (init_post), (gst_debug_help), (gst_deinit):
12143 Make init_pre and init_post take the full complement of GOptionFunc
12144 args so they can return useful GErrors. Make the registry updating
12147 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12148 ensure that the registry we're about to write out doesn't contain
12149 stale information about old-deleted plugin files.
12151 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12152 that deletion of plugin files is considered a registry change.
12154 * gst/gst_private.h:
12155 * gst/gstregistry.c: (gst_registry_finalize),
12156 (gst_registry_remove_features_for_plugin_unlocked),
12157 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12158 (gst_registry_scan_path),
12159 (_priv_gst_registry_remove_cache_plugins),
12160 (_priv_gst_registry_cleanup):
12161 * gst/gstregistry.h:
12162 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12163 by adding _priv prefix, so that they won't appear in the global
12164 symbol table. They still do atm though because of #318031. Move the
12165 prototypes to gst_private.h
12167 When removing a plugin, remove all features for that plugin too.
12170 2006-09-27 Wim Taymans <wim@fluendo.com>
12172 * docs/random/moving-plugins:
12173 Make it clear that the "compiled-in descriptions" really mean
12174 the element details.
12176 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12177 (gst_base_sink_wait_preroll):
12180 * docs/libs/gstreamer-libs-sections.txt:
12181 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12182 (gst_base_src_get_range), (gst_base_src_activate_push):
12183 * libs/gst/base/gstbasesrc.h:
12184 Added function to block while waiting for PLAYING, this function
12185 is used by live sources that block on the clock.
12186 API: gst_base_src_wait_playing()
12188 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12190 Patch by: Peter Kjellerstedt <pkj at axis com>
12193 gst-element-check.m4 is generated and should therefore be
12194 copied from the build dir rather than the source dir (#357593).
12195 'make distcheck' hasn't noticed this because we were disting
12196 the file as well, so stop doing that.
12198 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12200 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12201 Add some tests for gst_caps_intersect().
12203 * tools/gst-launch.c: (event_loop):
12204 Print all buffering percentages we get, even the 100% one.
12206 2006-09-26 Wim Taymans <wim@fluendo.com>
12208 * tools/gst-inspect.c: (print_element_properties_info),
12209 (print_signal_info):
12210 Fix printing of flags to match the look of enums.
12212 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12214 * gst/gstelementfactory.c:
12215 Fix typo in docs blurb.
12217 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12219 * gst/gsturi.c: (search_by_entry):
12220 Don't assert/crash here if a uri handler doesn't return any
12221 supported protocols. The list of protocols could be generated
12222 dynamically at runtime or at plugin registration, and an error
12223 in the underlying library shouldn't be fatal (#353301).
12225 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12228 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12229 (spotted by Peter Kjellerstedt).
12231 2006-09-23 Wim Taymans <wim@fluendo.com>
12233 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12235 * libs/gst/base/gstbasesrc.c:
12236 (gst_base_src_default_check_get_range), (gst_base_src_start),
12237 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12238 (gst_base_src_change_state):
12239 Match _start/_stop calls in the activate functions. Remove redundant
12240 _stop call from the state change function. Fixes #356910.
12241 Turn failure DEBUG into ERROR.
12243 2006-09-22 Wim Taymans <wim@fluendo.com>
12245 * docs/design/part-buffering.txt:
12246 * gst/gstmessage.c: (gst_message_new_buffering),
12247 (gst_message_parse_buffering):
12248 Update docs about buffering.
12250 * docs/design/part-trickmodes.txt:
12253 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12255 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12256 (gst_controller_new_list):
12257 Ref instances when returning them again (fixes #357180)
12259 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12261 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12262 Don't forget to release proxy lock when there's an error.
12264 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12267 Add extra initialisers for Caps things, to fix some plugin warnings
12270 2006-09-18 Wim Taymans <wim@fluendo.com>
12272 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12273 Also set template on the internal pad so that a getcaps from the
12274 target pad returns the template caps.
12276 2006-09-18 Wim Taymans <wim@fluendo.com>
12278 * gst/gstelement.c: (gst_element_post_message),
12279 (gst_element_dispose):
12280 Use _DEBUG_OBJECT some more.
12282 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12285 * tools/gst-launch.c: (main):
12286 If the toplevel element is not a GstPipeline, it must be put in a
12287 pipeline so that a bus and clock is selected.
12289 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12291 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12292 JITTER, RATE, and LATENCY query should be handled by the
12293 default case and not by the CONVERT query code.
12295 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12297 * gst/gstformat.c: (gst_format_register):
12298 Fix locking order (must take lock before using n_values).
12300 * gst/gstvalue.c: (gst_value_serialize_enum),
12301 (gst_value_deserialize_enum_iter_cmp),
12302 (gst_value_deserialize_enum):
12303 Fix serialisation/deserialisation of custom registered GstFormats.
12305 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12306 Unit test for custom format serialisation/deserialisation.
12308 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12310 * docs/pwg/building-boiler.xml:
12311 * plugins/elements/gstcapsfilter.c:
12312 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12315 2006-09-16 Edward Hervey <edward@fluendo.com>
12317 * libs/gst/base/gstbasetransform.c:
12318 (gst_base_transform_buffer_alloc):
12319 Check if requested caps are the same as the sinks caps IF
12320 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12322 This fixes the renegotiation issues stated in #352827.
12324 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12327 * docs/manual/advanced-autoplugging.xml:
12328 * tests/examples/Makefile.am:
12329 * tests/examples/manual/.cvsignore:
12330 * tests/examples/manual/Makefile.am:
12331 * tests/examples/manual/extract.pl:
12332 Extract the manual examples again like we used to do.
12335 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12337 * win32/common/config.h:
12340 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12343 Documents how to receive errors.
12345 2006-09-15 Wim Taymans <wim@fluendo.com>
12347 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12348 (event_loop), (main):
12349 Added some comments here and there.
12350 Post an application message when an interrupt is caught instead of doing
12351 an uncontrolled state change.
12352 Clean up the event loop.
12353 Handle buffering messages, pause/resume the pipeline.
12354 Make shutdown because of an interrupt more reliable.
12356 2006-09-15 Wim Taymans <wim@fluendo.com>
12358 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12359 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12360 (gst_base_sink_preroll_object):
12361 Make sure that our internal state is correct when we commit our state
12362 asynchronously. This solves a race where a state change to PLAYING
12363 could cause the sink to remain blocked in preroll in some situations.
12365 2006-09-15 Wim Taymans <wim@fluendo.com>
12367 * tools/gst-inspect.c: (print_element_properties_info),
12368 (print_signal_info):
12369 List flags as hex so it's easier to deal with.
12371 2006-09-15 Wim Taymans <wim@fluendo.com>
12373 * docs/libs/gstreamer-libs-sections.txt:
12374 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12375 (gst_base_sink_do_sync):
12376 * libs/gst/base/gstbasesink.h:
12377 Expose logic to wait for preroll so that subclasses such as audiosink
12378 can also use this method.
12379 API: gst_base_sink_wait_preroll()
12381 2006-09-15 Wim Taymans <wim@fluendo.com>
12383 * gst/gstobject.c: (gst_object_set_parent):
12384 * gst/gstpipeline.c: (do_pipeline_seek):
12385 Small cleanups in docs and code.
12387 * gst/gstsegment.c: (gst_segment_clip):
12388 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12389 if stop == start and start is in the segment, no clipping should be
12390 done. Also add a test for this.
12392 2006-09-15 Wim Taymans <wim@fluendo.com>
12394 * docs/design/part-buffering.txt:
12395 * docs/gst/gstreamer-sections.txt:
12396 * gst/gstmessage.c: (gst_message_new_buffering),
12397 (gst_message_parse_buffering):
12398 * gst/gstmessage.h:
12399 Added methods to create and parse BUFFERING messages.
12400 Added preliminary docs about buffering.
12401 API: gst_message_new_buffering
12402 API: gst_message_parse_buffering
12404 2006-09-06 Wim Taymans <wim@fluendo.com>
12407 Update documentation.
12409 * gst/gstelement.c: (gst_element_class_init),
12410 (gst_element_release_request_pad), (gst_element_set_clock),
12411 (gst_element_get_index), (gst_element_add_pad),
12412 (gst_element_remove_pad), (gst_element_get_random_pad),
12413 (gst_element_send_event), (gst_element_get_query_types),
12414 (gst_element_query), (gst_element_post_message),
12415 (gst_element_message_full), (gst_element_continue_state),
12416 (gst_element_lost_state), (gst_element_save_thyself),
12417 (gst_element_restore_thyself):
12418 Documentation updates.
12419 Rename last bit of the new-pad -> pad-added signal rename.
12420 Fix the case where an element query would only work if the source
12422 Avoid some useless type checking in message handling.
12427 Documentation updates.
12429 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12431 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12432 add an INFO line for when we actually update the fd
12434 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12439 === release 0.10.10 ===
12441 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12444 releasing 0.10.10, "Pais"
12446 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12448 * docs/manual/advanced-position.xml:
12449 Fix typo in sample code.
12451 2006-09-05 Wim Taymans <wim@fluendo.com>
12453 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12454 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12455 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12456 * libs/gst/net/gstnetclientclock.h:
12457 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12458 * libs/gst/net/gstnettimepacket.h:
12459 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12460 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12461 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12462 * libs/gst/net/gstnettimeprovider.h:
12463 Make stuff compile on windows. Fixes #345295.
12465 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12467 * gst/gst.c: (ensure_current_registry_forking):
12468 Print better details when child was terminated by signal.
12470 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12472 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12473 Print a warning rather than g_assert() if a plugin feature
12474 is a URI handler but returns no protocols (#353976).
12476 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12478 * docs/random/moving-plugins:
12481 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12483 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12484 Fix locking order, handle NULL function values properly.
12489 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12490 Initialise variable before using it and fix debug statement to
12491 print the address of the function rather than the address of the
12492 variable on the stack holding the address of the function.
12494 2006-09-01 Wim Taymans <wim@fluendo.com>
12496 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12497 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12498 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12499 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12500 (gst_ghost_pad_parent_unset),
12501 (gst_ghost_pad_internal_do_activate_push),
12502 (gst_ghost_pad_internal_do_activate_pull),
12503 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12504 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12505 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12506 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12507 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12508 (gst_ghost_pad_new_no_target_from_template),
12509 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12511 Avoid needless typechecking in macros.
12512 Since the internal pad is always present and never changes, there is
12513 no need to locking or ref when retrieving it.
12514 Improve debugging a bit.
12515 Handle link errors when setting the target. Fixes #341029.
12517 2006-09-01 Wim Taymans <wim@fluendo.com>
12519 * docs/libs/gstreamer-libs-sections.txt:
12520 * docs/plugins/gstreamer-plugins-sections.txt:
12521 Fix docs some more.
12523 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12524 (gst_collect_pads_event):
12525 * libs/gst/base/gstcollectpads.h:
12526 Documentation updates.
12527 Free queued buffer when removing a pad.
12529 2006-08-31 Michael Smith <msmith@fluendo.com>
12531 * gst/gstutils.c: (gst_element_link_pads),
12532 (gst_element_link_pads_filtered):
12533 Ensure that we set a capsfilter to NULL if we failed to link it
12534 when doing filtered linking, to avoid criticals.
12536 No need to check for unreffing srcpad, which is explicly NULLed
12537 above (a trivial code cleanup).
12539 2006-08-31 Wim Taymans <wim@fluendo.com>
12541 * docs/design/part-gstghostpad.txt:
12542 Update ascii art in documentation.
12544 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12545 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12546 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12547 (gst_ghost_pad_internal_do_activate_push),
12548 (gst_ghost_pad_internal_do_activate_pull),
12549 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12550 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12551 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12552 (gst_ghost_pad_set_target):
12553 Small cleanups and leak fixes.
12554 Remove some checks now that the internal pad is never NULL.
12555 Fix the case where linking pads without a target would create nasty
12556 criticals. Fixes #341029.
12557 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12558 value of _set_target().
12560 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12561 (gst_ghost_pad_suite):
12562 Some more tests for creating and linking untargeted ghostpads.
12564 2006-08-31 Edward Hervey <edward@fluendo.com>
12566 * docs/gst/gstreamer-sections.txt:
12567 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12568 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12569 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12570 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12571 (gst_ghost_pad_new_from_template),
12572 (gst_ghost_pad_new_no_target_from_template):
12573 * gst/gstghostpad.h:
12574 Refactored *_new() functions.
12575 Templates are now used as a g_object_new() parameter.
12576 Use template in _do_getcaps() if we don't have a target.
12577 Small documentation cleanups.
12578 Added two new constructors:
12579 gst_ghost_pad_new_from_template()
12580 gst_ghost_pad_new_no_target_from_template()
12581 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12582 (gst_ghost_pad_suite):
12583 Added tests for new ghostpad instanciation functions.
12585 API additions: gst_ghost_pad_new_from_template,
12586 gst_ghost_pad_new_no_target_from_template
12588 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12590 * docs/random/ensonic/profiling.txt:
12591 Ideas about qos profiling.
12593 2006-08-29 Wim Taymans <wim@fluendo.com>
12595 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12599 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12602 Improve and detypofy docs.
12604 * tests/check/Makefile.am:
12605 * tests/check/gst/.cvsignore:
12606 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12607 Add a basic test suite for GstXML.
12609 2006-08-29 Wim Taymans <wim@fluendo.com>
12611 * gst/gstelement.c: (activate_pads), (clear_caps),
12612 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12613 Clear the pad caps when the element shut down all of the pads and
12614 is not streaming data that could modify the caps.
12617 2006-08-28 Michael Smith <msmith@fluendo.com>
12619 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12620 Revert previous change; I misunderstood single-segment mode.
12622 2006-08-28 Michael Smith <msmith@fluendo.com>
12624 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12625 Unset DISCONT on buffers when using single-segment mode.
12627 2006-08-28 Wim Taymans <wim@fluendo.com>
12629 * gst/gstcaps.c: (gst_caps_merge_structure):
12631 Fix docs and indentation again.
12633 * tests/check/gst/gstquery.c: (GST_START_TEST):
12634 Fix leak in tests and add some more tests.
12636 2006-08-28 Edward Hervey <edward@fluendo.com>
12638 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12639 Inform GstSegment of the last stop position in order for the current
12640 segment to have a proper duration if it doesn't have a specific stop
12641 position from which a duration could be calculated.
12642 This bug was noticeable when a non-flushing, non-update new segment was
12643 followed by another segment (all buffers from the new segment were being
12646 2006-08-28 Wim Taymans <wim@fluendo.com>
12648 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12649 Small comment update.
12651 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12652 (gst_identity_transform_ip):
12653 Drop-probability is broken, mention this in the code with a
12654 FIXME and also in the property description.
12655 Make silent also be silent about the drop messages.
12657 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12659 * docs/manual/appendix-win32.xml:
12660 Remove mention of popt, we don't depend on that any
12661 longer (#353136). Add some comments pointing out that
12662 this section is slightly outdated.
12664 2006-08-28 Wim Taymans <wim@fluendo.com>
12666 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12668 * gst/gstquery.c: (gst_query_new_segment):
12669 * tests/check/gst/gstquery.c: (GST_START_TEST):
12670 Initialize variables when creating a new segment query.
12673 2006-08-28 Wim Taymans <wim@fluendo.com>
12675 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12677 * gst/gstelement.c: (gst_element_get_bus):
12678 * tests/check/gst/gstelement.c: (GST_START_TEST):
12679 Check for NULL before _reffing the bus. Fixes #353122.
12681 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12683 * docs/manual/basics-bus.xml:
12684 Docs update: fix wrong callback return value explanation; add
12685 some lines about the implicit relationship between main loop
12686 and main context; remove duplicate main loop variable declaration.
12688 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12690 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12691 Don't leak caps in unit test; add a few more simple
12694 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12696 * docs/gst/gstreamer-sections.txt:
12697 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12698 (gst_caps_structure_is_subset), (gst_caps_merge),
12699 (gst_caps_merge_structure):
12701 * libs/gst/base/gstbasetransform.c:
12702 (gst_base_transform_transform_caps):
12703 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12704 implement caps merging (fixes #352580)
12706 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12708 * tools/Makefile.am:
12709 * tools/gst-plot-timeline.py:
12710 add debug-log plotting developer tool (#340674)
12712 2006-08-23 Wim Taymans <wim@fluendo.com>
12714 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12715 (gst_pad_stop_task):
12716 Improve debugging for task functions.
12718 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12719 (gst_task_start), (gst_task_pause), (gst_task_join):
12720 Make sure that the task function started and finished after a
12722 Don't try to push the task function on the threadpool multiple
12724 Improve the g_warning message with some useful suggestions
12725 about how to fix the problem.
12727 2006-08-23 Wim Taymans <wim@fluendo.com>
12729 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12730 Handle RESYNC correctly in _proxy_getcaps.
12732 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12734 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12735 (gst_xml_parse_memory), (gst_xml_get_element):
12736 Chain up to parent class in dispose function and also
12737 unref the elements in the toplevel_elements GList.
12738 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12739 Always return a reference in gst_xml_get_element() rather
12740 than only sometimes.
12742 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12743 Don't leak GstXml object.
12745 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12747 * docs/gst/gstreamer-sections.txt:
12748 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12751 * libs/gst/base/gstbasetransform.c:
12752 (gst_base_transform_transform_caps):
12753 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12756 2006-08-21 Edward Hervey <edward@fluendo.com>
12758 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12759 Implement GObject::dispose virtual method in GstXML so we can free the
12760 top_elements GList.
12762 2006-08-21 Wim Taymans <wim@fluendo.com>
12764 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12765 (gst_buffer_create_sub):
12766 Copy duration/offset_end/caps when creating a subbuffer of the
12768 Make the subbuffer read-only when we make the metadata writable for
12769 now. Fixes #351768.
12771 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12772 Added check for metadata copy when creating subbuffers.
12774 2006-08-21 Edward Hervey <edward@fluendo.com>
12776 * libs/gst/base/gstbasetransform.c:
12777 (gst_base_transform_buffer_alloc):
12778 Only call downstream buffer_alloc if transform element is passthrough
12779 or always_in_place. Closes #350449.
12781 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12784 ChangeLog surgery to add comments to previous changes
12786 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12791 * gst/gstpad.c: (gst_pad_set_active):
12792 Be more verbose in the log
12794 * libs/gst/base/gstbasetransform.c:
12795 (gst_base_transform_transform_caps):
12796 Simplify caps to get rid of duplicates, fixes #345444
12798 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12802 Use these optimizations only internally.
12804 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12806 * gst/gstvalue.c: (gst_value_compare_list),
12807 (gst_value_compare_fraction_range),
12808 (gst_value_intersect_fraction_fraction_range),
12809 (gst_value_intersect_fraction_range_fraction_range),
12810 (gst_value_subtract_fraction_fraction_range),
12811 (gst_value_subtract_fraction_range_fraction_range),
12812 (gst_value_get_compare_func), (gst_value_compare),
12813 (gst_value_compare_with_func):
12815 Saves the expensive lookup of the compare function in many cases
12818 2006-08-18 Edward Hervey <edward@fluendo.com>
12820 * tests/check/gst/gstinfo.c: (gst_info_suite):
12821 Disable test that require gstdebug if it wasn't built in core.
12823 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12825 * docs/random/ensonic/logging.txt:
12828 * gst/gstinfo.c: (gst_debug_log_default):
12829 reorder fields, save some columns, add optional color codes for log
12832 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12834 * docs/random/ensonic/logging.txt:
12835 add ideas about making the logs a bit more useful
12837 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12839 * docs/pwg/advanced-events.xml:
12840 * docs/pwg/titlepage.xml:
12841 Update for 0.10 API (#340627). Add myself
12844 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12846 * docs/libs/gstreamer-libs-docs.sgml:
12847 * docs/libs/gstreamer-libs-sections.txt:
12848 * libs/gst/check/gstbufferstraw.c:
12849 Make gstcheck stuff show up in docs (still needs to
12850 be documented properly though).
12852 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12854 * docs/gst/gstreamer-sections.txt:
12856 * gst/gst.c: (init_post):
12857 * gst/gst_private.h:
12858 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12860 * gst/gstquery.c: (gst_query_new_position),
12861 (gst_query_set_position), (gst_query_parse_position),
12862 (gst_query_new_duration), (gst_query_set_duration),
12863 (gst_query_parse_duration), (gst_query_new_convert),
12864 (gst_query_set_convert), (gst_query_parse_convert),
12865 (gst_query_new_segment), (gst_query_set_segment),
12866 (gst_query_parse_segment), (gst_query_new_seeking),
12867 (gst_query_set_seeking), (gst_query_parse_seeking):
12868 Add internal helpers for pre-registering quarks from static strings
12869 and using the quark values directly instead of looking them up when
12870 creating and parsing queries. Can be used for event construction too.
12873 2006-08-16 Wim Taymans <wim@fluendo.com>
12878 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12880 * gst/gstutils.c: (gst_util_set_value_from_string):
12881 Fix memleak (#351502).
12883 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12884 Add unit test for most of gst_util_set_value_from_string()
12885 (not that one would want to encourage use of this function).
12887 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12889 * libs/gst/check/gstcheck.h:
12890 Use const gchar * variables in fail_unless_equals_string
12891 macro to avoid compiler warnings (and don't use tabs for
12894 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12896 * tools/gst-launch.c: (print_tag):
12897 More space on the left for the tag names, to cater
12898 for the 'extended comment' tag (not touching the
12899 string for the first line since it's translated).
12901 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12903 * libs/gst/check/gstcheck.h:
12904 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12905 print something when they fail.
12907 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12909 * docs/gst/gstreamer-sections.txt:
12910 * gst/gsttaglist.c: (_gst_tag_initialize):
12911 * gst/gsttaglist.h:
12912 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12913 Also change merge function for GST_TAG_COMMENT to
12916 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12918 * gst/gstinfo.c: (gst_debug_print_object):
12919 Make GST_PTR_FORMAT print messages as well.
12921 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12922 (GST_START_TEST), (gst_info_suite):
12925 2006-08-14 Edward Hervey <edward@fluendo.com>
12927 * gst/gstelementfactory.c: (gst_element_register):
12928 If the GstElementClass doesn't have a GstElementDetails with all fields
12929 filled up correctly (longname, description AND author), then error out
12930 nicely instead of crashing.
12932 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12934 * gst/gststructure.c:
12935 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12938 Expand on the difference between arrays and lists as we use them.
12940 2006-08-14 Wim Taymans <wim@fluendo.com>
12942 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12943 If the parent state change function failed, don't assume we can safely
12944 stop the source, this will be done when the pads are deactivated.
12946 2006-08-14 Wim Taymans <wim@fluendo.com>
12949 * gst/gsttask.c: (gst_task_join):
12952 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12953 (gst_pad_stop_task):
12954 When pad (de)activation failed for some reason, restore the old
12955 activation mode and set the pad to flushing instead of assuming the
12956 pad is deactivated.
12957 If the _task_join() failed, reinstall the task on the pad so that it can
12958 be stopped later and return an error.
12960 2006-08-11 Andy Wingo <wingo@pobox.com>
12963 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12964 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12965 is only for users of API that don't want to see deprecated
12966 functions in the headers; people that want to compile out
12967 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12968 CFLAGS. Fixes the build of multifdsink, or will soon..
12970 2006-08-11 Wim Taymans <wim@fluendo.com>
12972 * docs/gst/gstreamer-sections.txt:
12973 Add GstClockClass vmethod docs.
12976 Mark #endif with comment for associated #if
12978 * gst/gstclock.c: (gst_clock_id_wait):
12980 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12981 most clock implementations.
12983 Flesh out docs about resolution methods.
12984 API: GstClockClass::wait_jitter
12986 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12987 (gst_system_clock_async_thread),
12988 (gst_system_clock_id_wait_jitter_unlocked),
12989 (gst_system_clock_id_wait_jitter):
12990 Use base class wait_jitter variant for improved performance
12991 due to less clock polling.
12993 2006-08-11 Edward Hervey <edward@fluendo.com>
12995 * gst/gst.c: (gst_init_check), (init_post):
12996 Set gst as being initialized before scanning/updating the registry,
12997 since there might be my python plugin loader that calls gst_init() and
12998 we don't want to loop back in.
13001 2006-08-11 Wim Taymans <wim@fluendo.com>
13003 * docs/design/part-qos.txt:
13004 Bring docs in line with the code. Mostly the sign of the jitter was
13005 wrong in the docs. Fixes #349943.
13008 Fix the docs for the jitter.
13010 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13011 (gst_event_parse_tag), (gst_event_new_buffer_size),
13012 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13013 (gst_event_new_seek), (gst_event_parse_seek),
13014 (gst_event_new_navigation):
13015 Make sure the GstStructure has no parent when creating custom
13017 Add some more argument checking so that we avoid 0.0 rates.
13018 Flesh out the docs for the QoS event some more.
13020 2006-08-11 Wim Taymans <wim@fluendo.com>
13022 * docs/gst/gstreamer-sections.txt:
13023 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13024 (ensure_current_registry_forking), (ensure_current_registry),
13025 (parse_one_option), (parse_goption_arg), (gst_deinit),
13026 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13029 Added API and command line option to disable registry forking in
13030 addition to the environment variable.
13031 Constify some static arrays.
13032 Added some more debug.
13033 Don't deinit twice.
13034 API: gst_registry_fork_is_enabled()
13035 API: gst_registry_fork_set_enabled()
13036 API: --gst-disable-registry-fork command line option
13039 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13041 * gst/gst.c: (gst_init):
13042 Fix typo in error message.
13044 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13046 * libs/gst/controller/gstcontroller.h:
13047 fix ABI size-correction
13049 * tests/check/libs/gdp.c: (gst_dp_suite):
13050 make tests that use deprecated API conditional
13052 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13054 * docs/libs/gstreamer-libs-sections.txt:
13055 * libs/gst/controller/gstcontroller.c:
13056 (_gst_controller_get_property), (_gst_controller_set_property),
13057 (_gst_controller_init), (_gst_controller_class_init):
13058 * libs/gst/controller/gstcontroller.h:
13059 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13060 (gst_object_set_control_rate):
13061 API: add gst_object_{s,g}et_control_rate(), add private data section,
13064 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13065 * libs/gst/dataprotocol/dataprotocol.h:
13066 add deprecation guards to make gtk-doc happy and allow disabling cruft
13068 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13070 * tests/check/Makefile.am:
13071 * tests/check/gst/.cvsignore:
13072 Let's enable the new unit test as well.
13074 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13077 * docs/gst/gstreamer-sections.txt:
13078 * gst/gstconfig.h.in:
13079 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13080 (_gst_info_printf_extension_ptr),
13081 (_gst_info_printf_extension_segment):
13082 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13083 register that lets us easily dump GstSegments into debug
13086 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13087 (info_segment_format_printf_extension), (gst_info_suite):
13088 Add simple unit test that logs a bunch of different segments (not
13089 valgrinded at the moment because of leaks in
13090 gst_debug_add_log_function).
13092 2006-08-09 Edward Hervey <edward@fluendo.com>
13094 * libs/gst/base/gstbasetransform.c:
13095 (gst_base_transform_buffer_alloc):
13096 Even if we can't figure out the proper format to request downstream,
13097 call buffer_alloc() downstream with the input parameters without setting
13098 the caps on the srcpad. This will force negotiation in the chain
13102 2006-08-08 Edward Hervey <edward@fluendo.com>
13104 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13105 Unlinking from a pad without a target is now a perfectly valid case
13106 which should NOT raise an assertion.
13107 This case would happen if a linked ghostpad its target set to NULL after
13108 it was previously linked.
13110 2006-08-08 Edward Hervey <edward@fluendo.com>
13112 * tests/check/libs/gdp.c:
13113 Also comment out the test (see below).
13115 2006-08-08 Edward Hervey <edward@fluendo.com>
13117 * tests/check/libs/gdp.c: (gst_dp_suite):
13118 Use the architecture information from config.h and not gcc macros
13119 in order to properly disable a test that fails on PPC64.
13121 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13123 * gst/gstelement.c: (gst_element_remove_pad):
13124 Don't crash printing the warning if the pad has no parent.
13126 2006-08-02 Wim Taymans <wim@fluendo.com>
13128 * libs/gst/dataprotocol/dataprotocol.c:
13129 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13130 (gst_dp_crc), (gst_dp_header_payload_length),
13131 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13132 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13133 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13134 (gst_dp_event_from_packet), (gst_dp_validate_header),
13135 (gst_dp_validate_payload):
13136 Make debug category static
13137 Constify the crc table.
13138 Do some more arg checking in public functions.
13139 Fix some docs and do some small cleanups.
13141 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13142 Add some more checks to see if GDP deals with bogus input.
13144 2006-07-31 Wim Taymans <wim@fluendo.com>
13146 * gst/gstvalue.c: (gst_value_compare_list):
13147 Fix GstValueList comparison code. Fixes #347293.
13149 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13150 Check to test GstValueList comparison.
13152 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13154 * gst/gstelementfactory.c: (gst_element_factory_create):
13155 Remove unnecessary ref/unref pair
13157 * gst/parse/grammar.y:
13158 Make sure to free the parse buffer on all code paths.
13159 Move a g_free up to the error handler where it's easier to see.
13161 * tests/check/gst/gstevent.c: (test_event):
13162 Extending timeout for downstream travelling events to 10 seconds to
13163 hopefully avoid intermittent failure on the buildbots.
13165 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13166 Don't manually set the state of the src element - it will happen as a
13167 natural consequence of the pipeline changing state, and that way it
13168 will do it in the right order too.
13170 2006-07-31 Wim Taymans <wim@fluendo.com>
13172 * libs/gst/base/gstbasetransform.c:
13173 (gst_base_transform_buffer_alloc):
13174 Use OBJECT_LOCK and refcounting to get the pad caps in the
13175 buffer_alloc function because the caps could change while we are
13176 busy with them. Fixes #349105
13178 2006-07-31 Wim Taymans <wim@fluendo.com>
13180 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13181 Protect _PAD_CAPS with OBJECT_LOCK.
13183 2006-07-31 Wim Taymans <wim@fluendo.com>
13185 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13186 (gst_pad_get_property), (gst_pad_activate_pull),
13187 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13188 (gst_pad_set_activate_function),
13189 (gst_pad_set_activatepull_function),
13190 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13191 (gst_pad_set_getrange_function),
13192 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13193 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13194 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13195 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13196 (gst_pad_set_acceptcaps_function),
13197 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13198 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13199 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13200 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13201 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13202 (gst_pad_configure_sink), (gst_pad_configure_src),
13203 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13204 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13205 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13206 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13207 (gst_pad_send_event):
13208 Use _DEBUG_OBJECT when it makes sense.
13209 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13210 Small cleanups and code reflows.
13211 Avoid caps refcounting in _accept_caps.
13212 Refactor alloc_buffer so that the code performed on the peer is in a
13213 separate function. Also if the pad does not implement a buffer alloc
13214 function, we should still check if the pad is flushing before falling
13215 back to the default allocator.
13217 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13219 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13220 Make all uses of identity and fakesink have silent=true to avoid
13221 serialising every passing data structure, which is breaking tests
13222 on FC4 for some unknown reason.
13224 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13226 * gst/parse/Makefile.am:
13227 * gst/parse/grammar.y:
13228 * gst/parse/parse.l:
13229 Reverted previous patch as it required to bump the flex dependency to
13230 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13232 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13234 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13236 * gst/parse/Makefile.am:
13237 * gst/parse/grammar.y:
13238 * gst/parse/parse.l:
13239 push & pop the state of the lexer for reentrant use case
13242 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13244 * libs/gst/base/gstbasesrc.h:
13245 Note in the docs that the ::newsegment vfunc is not actually used by
13248 2006-07-28 Wim Taymans <wim@fluendo.com>
13250 * libs/gst/base/gstcollectpads.c:
13251 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13252 (gst_collect_pads_clear), (gst_collect_pads_flush),
13253 (gst_collect_pads_event), (gst_collect_pads_chain):
13254 When flushing a pad, also clear the queued buffer so that we don't
13255 accidentally use it when we shouldn't.
13256 Fix leaks by inreffing incomming buffer.
13257 Flush out queued buffers in case of errors.
13260 2006-07-28 Wim Taymans <wim@fluendo.com>
13262 * docs/random/phonon-gst:
13263 Random notes about a Phonon backend.
13265 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13267 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13269 * tests/check/libs/gdp.c: (gst_dp_suite):
13270 Take a whack at fixing the ppc compile using a different define to
13271 disable the broken test.
13273 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13274 Remove excess g_print()
13276 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13278 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13279 Oops, meant to uncomment this line too to dampen the noise a bit.
13281 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13283 * gst/parse/grammar.y:
13284 * gst/parse/parse.l:
13285 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13286 (GST_START_TEST), (parse_suite):
13287 Fix some of the leaks exposed by extending the parse-launch testsuite,
13288 and move the 3 I can't figure out into a separate test that won't run
13289 the pipelines unless the appropriate line is uncommented.
13291 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13293 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13294 Requesting 0 bytes before the end of the file should result in
13295 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13298 2006-07-27 Wim Taymans <wim@fluendo.com>
13300 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13301 Fix useless assert, a uint is always positive.
13303 * gst/gststructure.c: (gst_structure_nth_field_name),
13304 (gst_structure_foreach), (gst_structure_map_in_place):
13305 Check input arguments for public functions to avoid obvious crashes.
13307 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13308 * plugins/elements/gstfakesink.h:
13309 Do less useless typechecking.
13311 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13313 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13314 Do not use mmap() by default since there are a number of error
13315 conditions that we would like to handle in a non-fatal way that
13316 will result in a SIGBUS if we use mmap(). Examples: external
13317 devices (USB harddrive, portable music player) being unplugged
13318 while in use; file on mounted CD/DVD that can't be read because
13319 the medium is partly damaged. Fixes #348455 and #348475.
13321 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13324 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13325 rates are a gdouble
13327 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13329 * gst/gstregistry.c:
13330 Move big documentation comment into class section header, so that it
13331 appears in the API docs.
13333 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13335 * docs/gst/gstreamer-sections.txt:
13336 Oops. Commit the docs additions too for new API.
13337 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13339 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13341 * gst/gststructure.c: (gst_structure_id_set),
13342 (gst_structure_id_set_valist):
13343 * gst/gststructure.h:
13344 Add API for setting values into structures without performing
13345 a quark lookup, if the appropriate quark is already known.
13347 API: gst_structure_id_set
13348 API: gst_structure_id_set_valist
13350 * gst/parse/grammar.y:
13351 * gst/parse/parse.l:
13352 Remove some dead code shown by the coverage information.
13353 Don't throw a critical g_warning when encountering a syntax error,
13354 just warn and let the normal error path handle it.
13356 * plugins/elements/gstelements.c:
13357 Bump the rank of filesink up to PRIMARY so that it is preferred over
13358 gnomevfssink for file:// sink uri's
13360 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13361 (GST_START_TEST), (run_delayed_test),
13362 (gst_parse_test_element_base_init),
13363 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13364 (gst_parse_test_element_change_state),
13365 (gst_register_parse_element), (parse_suite):
13366 Beef up the tests for parse syntax to check that more error cases
13367 fail as they are supposed to. Increases the test coverage a bit.
13369 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13371 * docs/manual/basics-elements.xml:
13372 Fix gst_element_link() example.
13375 Mention in API docs that one should usually gst_bin_add()
13376 elements to a bin or pipeline before doing the linking.
13378 2006-07-26 Wim Taymans <wim@fluendo.com>
13380 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13381 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13382 Avoid function call for known types by keeping the buffer and
13383 subbuffer GType global.
13385 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13386 Random silly optimisations in read() path.
13388 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13390 * tools/gst-launch.c: (main):
13391 If the top-level of the parse is a normal bin, it doesn't do the
13392 right logic to run as a top-level element, so place it inside a
13395 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13397 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13398 Remove superfluous g_object_notify() calls, GObject does
13399 that for us automatically.
13401 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13404 on Win32, use dllspec to export the debug category symbols
13406 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13408 * gst/gsttaglist.c: (_gst_tag_initialize):
13409 Allow more than one GST_TAG_IMAGE per taglist.
13411 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13413 * gst/gstminiobject.c:
13415 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13416 (gst_fd_src_create):
13417 log recurring events at LOG level
13418 add more debug for when the fd gets set
13420 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13422 * gst/gstparse.c: (gst_parse_launch):
13423 Also remove reentrance checks if flex is MT safe (#348179)
13424 Fix my empty ChangeLog entry below
13426 2006-07-21 Andy Wingo <wingo@pobox.com>
13428 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13430 * libs/gst/check/Makefile.am
13431 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13432 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13433 * libs/gst/check/gstbufferstraw.h:
13434 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13435 functions, thus proving I am still a GStreamer haxor. OK I wrote
13436 them a long time ago, but anyways.
13438 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13441 * gst/gstparse.c: (gst_parse_launch):
13442 Check for flex version and omit mutex if we have a MT save flex
13445 2006-07-21 Wim Taymans <wim@fluendo.com>
13447 * gst/gstparse.c: (gst_parse_launch):
13448 Protect recursive calls to _parse with a recursive mutex
13451 2006-07-21 Wim Taymans <wim@fluendo.com>
13453 * tests/check/gst/gstpad.c: (GST_START_TEST):
13456 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13458 * gst/gstparse.c: (gst_parse_launch):
13459 Do not hang on recursive usage of gst_parse_launch()
13461 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13463 * gst/gsttaglist.c:
13464 Add some more docs, comments and FIXME 0.11s here and there
13465 and also fix some typos.
13467 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13469 * gst/gstsegment.h:
13470 Convert tabs to spaces for better readability.
13472 2006-07-20 Edward Hervey <edward@fluendo.com>
13474 * tests/check/libs/gdp.c: (gst_dp_suite):
13475 the test_buffer test fails at line 140 on ppc64 at the following
13477 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13478 GST_BUFFER_FLAG_IN_CAPS),
13479 "GST_BUFFER_IN_CAPS flag should have been copied !");
13480 See bug #348114 for more details.
13482 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13484 * docs/pwg/advanced-scheduling.xml:
13486 Fix typos (#348000).
13488 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13490 * docs/pwg/intro-basics.xml:
13491 Fix wrong links (#347927).
13493 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13495 * gst/gstregistry.h:
13496 * gst/gstregistryxml.c: (load_feature),
13497 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13498 * win32/common/config.h:
13499 make --disable-index work (#342564)
13501 2006-07-18 Wim Taymans <wim@fluendo.com>
13503 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13507 The attached patch adds two missing defines to gsttrace.h when tracing
13508 is disabled. It also corrects one existing define.
13511 2006-07-17 Wim Taymans <wim@fluendo.com>
13513 * docs/gst/gstreamer-sections.txt:
13514 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13516 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13517 Add two functions to check and change the SIGSEGV behaviour
13518 when loading plugins.
13519 Don't mess with the SIGSEGV handler when we were told not to.
13521 API: gst_segtrap_is_enabled
13522 API: gst_segtrap_set_enabled
13524 2006-07-14 Wim Taymans <wim@fluendo.com>
13526 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13527 * tests/check/elements/filesrc.c: (GST_START_TEST):
13528 Revert fix for regression in #347408 after release.
13530 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13532 Patch by: Antoine Tremblay <hexa00 at gmail com>
13534 * gst/gstutils.c: (gst_element_unlink):
13535 Free iterator when done (#347311).
13537 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13538 And add a test case for this.
13540 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13543 Bump nano back to CVS
13545 === release 0.10.9 ===
13547 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13550 releasing 0.10.9, "On the road again"
13552 2006-07-13 Wim Taymans <wim@fluendo.com>
13554 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13555 * tests/check/elements/filesrc.c: (GST_START_TEST):
13556 Revert pull-0 fix for release. Disable check. Fixes #347408.
13558 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13560 * libs/gst/dataprotocol/dataprotocol.c:
13561 (gst_dp_event_from_packet_1_0):
13562 Fixes #347337: failure to deserialize event packets with
13563 empty payload (only event type)
13565 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13568 do not install a .c file in the header directory
13570 2006-07-13 Edward Hervey <edward@fluendo.com>
13572 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13573 GhostPad no longer implicitely use the padtemplates of the targets.
13576 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13578 * gst/gstvalue.c: (gst_value_compare_list),
13579 (gst_value_compare_array), (_gst_value_initialize):
13580 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13581 Make GstValueArray comparison be order dependent as designed.
13582 Add checks for value lists and value array comparisons.
13585 2006-07-11 Edward Hervey <edward@fluendo.com>
13587 * gst/gstbin.c: (activate_pads),
13588 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13589 (gst_bin_change_state_func):
13590 (de)activate src pads before calling state_change on the childs.
13591 This is to avoid the case where a src ghostpad is blocked (holding the
13592 stream lock), which would block the deactivation of the ghostpad's
13594 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13595 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13596 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13597 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13598 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13599 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13600 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13601 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13602 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13603 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13604 (gst_ghost_pad_class_init),
13605 (gst_ghost_pad_internal_do_activate_push),
13606 (gst_ghost_pad_internal_do_activate_pull),
13607 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13608 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13609 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13610 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13611 GhostPads now create their internal GstProxyPad at creation (and not
13612 when they're linked, as it was being done previously).
13613 The internal and target pads are linked straight away.
13614 The data will also travel through the other pad in order to make
13615 pad blocking and probes non-hackish (the probe/block now really happens
13616 on the GhostPad and not on the target).
13617 * gst/gstpad.c: (gst_pad_set_blocked_async),
13618 (gst_pad_link_prepare), (gst_pad_push_event):
13619 Remove previous ghostpad cruft.
13620 * gst/gstutils.c: (gst_pad_add_data_probe),
13621 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13622 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13623 (gst_pad_remove_buffer_probe):
13624 Remove previous ghost pad cruft.
13625 Added more detailed debug statements.
13626 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13627 Fix the testsuite for refcounting changes.
13628 The comments about who has references were correct, but the refcount
13629 being checked wasn't the same (!?!).
13633 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13635 * docs/gst/gstreamer-sections.txt:
13636 * gst/gstconfig.h.in:
13637 More docs for configuration options, add docs to gtk-doc.
13639 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13642 * gst/gstconfig.h.in:
13643 * win32/common/config.h:
13644 Fix build when disabling tracing (fixes #344016). Also start to document
13645 the defines that disable the sub-systems.
13647 2006-07-10 Edward Hervey <edward@fluendo.com>
13649 * gst/gst.c: (ensure_current_registry_forking):
13650 let's make valgrind happy...
13652 2006-07-09 Wim Taymans <wim@fluendo.com>
13654 * gst/gstelement.c: (activate_pads),
13655 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13656 Better pad activation code: Reset the collect value too on resync.
13659 2006-07-09 Wim Taymans <wim@fluendo.com>
13661 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13662 (gst_pad_activate_push):
13663 Use some more macros where it makes sense.
13664 Allow pad mode switching instead of asserting. When a pad
13665 is activated in one mode and we activate it in another,
13666 deactivate it first before activating it in a different mode.
13669 2006-07-08 Andy Wingo <wingo@pobox.com>
13671 * tools/gst-launch.c (main): Handle err == NULL.
13673 * gst/gst.c (init_post, ensure_current_registry)
13674 (ensure_current_registry_forking)
13675 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13676 factoring out the registry scanning into separate functions. Don't
13677 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13678 Better environment var name/interface suggestions accepted.
13680 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13682 * gst/gstobject.c: (gst_object_set_name_default),
13683 (gst_object_set_name):
13684 Random micro-optimisation: don't use a hash table
13685 with strings as keys and the usual strdup/strcmp
13686 involved, but rather just use the GQuark of the
13687 type name as key, since it needs to be looked up
13688 anyway to get the type name string.
13690 * tests/check/gst/gstobject.c: (GST_START_TEST):
13693 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13695 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13696 (gst_bin_iterate_all_by_interface):
13697 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13698 GTypes are gulongs and thus the top 4 bytes might be cut
13699 off on some platforms when doing GPOINTER_TO_INT, leading
13700 to invalid GTypes and bad things happening (see RH bug #179654).
13701 Also add a check to make sure the type passed in is really
13704 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13709 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13713 * gst-element-check.m4:
13714 * gst-element-check.m4.in:
13715 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13716 instead of the unversioned gst-inspect (#324176, #168659).
13718 2006-07-06 Wim Taymans <wim@fluendo.com>
13720 * gst/gstmessage.h:
13721 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13724 2006-07-06 Wim Taymans <wim@fluendo.com>
13726 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13727 (gst_base_src_wait), (gst_base_src_update_length),
13728 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13729 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13730 (gst_base_src_loop), (gst_base_src_start),
13731 (gst_base_src_activate_pull):
13733 blocksize == 0 now means the default blocksize when working in push
13735 Remove some pointless asserts in _wait function.
13736 Fix offset/length calculations and EOS handling. We can now pull 0
13737 bytes as well, which is allowed.
13738 use _check_get_range() to decide if we can operate in _pull based
13740 Fix refcounting leak when check_get_range function was not
13742 API GstBaseSrc::blocksize range can be 0 too now (default)
13744 * tests/check/elements/filesrc.c: (GST_START_TEST),
13746 Added check to test _get_range() behaviour.
13748 2006-07-06 Wim Taymans <wim@fluendo.com>
13750 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13751 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13752 (gst_pad_pull_range):
13754 Lots of comments and docs added to the pad functions.
13755 Flesh out the expected behaviour of the get_range() functions.
13757 2006-07-06 Wim Taymans <wim@fluendo.com>
13762 * gst/gstiterator.h:
13766 Remove comma at end of enumerator list.
13768 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13770 * win32/common/libgstbase.def:
13771 * win32/common/libgstdataprotocol.def:
13772 * win32/common/libsgtreamer.def:
13773 Add new exported functions.
13775 2006-07-05 Wim Taymans <wim@fluendo.com>
13777 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13778 Add some more docs here and there.
13780 2006-07-05 Wim Taymans <wim@fluendo.com>
13782 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13783 (gst_base_sink_loop), (gst_base_sink_get_position):
13784 When operating in pull mode update the offset so that we
13787 2006-07-05 Wim Taymans <wim@fluendo.com>
13789 * gst/gstregistryxml.c: (read_string):
13790 Avoid strdup. (will happen in libxml, but hey!)
13793 Add some more docs.
13795 2006-07-05 Wim Taymans <wim@fluendo.com>
13797 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13798 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13799 (gst_buffer_suite):
13800 No point in checking if the size of the subbuffer > 0, the
13801 code handles it correclty as demonstrated by unit test.
13802 Also add a unit test for the zero sized _new_and_alloc and
13803 _copy. Fixes #346663.
13805 2006-07-05 Wim Taymans <wim@fluendo.com>
13807 * libs/gst/base/gstbasetransform.c:
13808 (gst_base_transform_prepare_output_buffer),
13809 (gst_base_transform_buffer_alloc),
13810 (gst_base_transform_handle_buffer):
13811 Make sure the buffer we pass to transform_ip has a refcount of
13812 1 and thus is writable. Fixes #343196
13814 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13816 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13817 (gst_file_src_init), (gst_file_src_set_property),
13818 (gst_file_src_get_property), (gst_file_src_map_region):
13819 * plugins/elements/gstfilesrc.h:
13820 Add "sequential" property, off by default, to use madvise and hint
13821 to the kernel that sequential access is desired.
13822 Touch all retrieved pages by default to ensure they are pulled
13823 into memory. (Closes #345720)
13825 2006-07-03 Wim Taymans <wim@fluendo.com>
13827 * docs/design/part-block.txt:
13828 * docs/design/part-dynamic.txt:
13829 Small docs updates.
13831 2006-07-03 Wim Taymans <wim@fluendo.com>
13833 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13834 (gst_caps_unref), (gst_static_caps_get),
13835 (gst_caps_append_structure):
13836 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13837 Use GSlice when the glib we build against is >= 2.10
13839 2006-07-03 Wim Taymans <wim@fluendo.com>
13841 * gst/gstelement.c: (gst_element_pads_activate):
13842 Small cleanup in pad activation code.
13844 2006-07-03 Wim Taymans <wim@fluendo.com>
13846 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13848 * gst/gst-i18n-app.h:
13849 * gst/gst-i18n-lib.h:
13850 * tools/gst-inspect.c: (print_signal_info):
13851 The attached patch will make the inclusion of gettext.h unconditional in
13852 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13853 libintl.h in tools/gst-inspect.c.
13854 This allows use of --disable-nls again and fixes #344642.
13856 2006-07-03 Edward Hervey <edward@fluendo.com>
13858 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13859 Implement pad blocking on events according to part-block.txt.
13860 More comments on behaviour.
13861 * tests/check/gst/gstevent.c: (test_event):
13862 Send event to peer pad of blocked pad (else it will block).
13864 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13866 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13867 (gst_check_run_suite):
13868 if we get the wrong message, give us the types as string
13869 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13871 * tests/check/elements/filesrc.c: (GST_START_TEST):
13872 add a test for trying to open a non-existing file
13874 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13876 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13877 add a test for adding self
13879 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13881 * libs/gst/check/gstcheck.h:
13882 add some assert_ as alias for fail_unless_*
13883 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13884 increase test coverage
13886 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13889 include lcov.mak for lcov coverage generation
13890 * tools/Makefile.am:
13893 2006-07-02 Edward Hervey <edward@fluendo.com>
13895 * tests/check/elements/.cvsignore:
13898 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13901 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13902 * tests/check/Makefile.am:
13903 clean up gcov files
13905 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13907 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13908 remove gst_caps_simplify; it was not declared and not used
13909 and deprecated in 0.8
13911 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13913 * docs/faq/gst-uninstalled:
13914 don't put empty paths on PYTHONPATH
13915 * docs/gst/gstreamer-sections.txt:
13916 remove some symbols that are not there
13918 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13920 * gst/gstcaps.c: (gst_caps_compare_structures):
13922 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13923 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13926 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13928 * libs/gst/dataprotocol/Makefile.am:
13929 build dataprotocol test by linking to the lib, instead of
13930 compiling the source, so we get coverage
13931 * tests/check/Makefile.am:
13932 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13933 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13934 add a test for filesrc
13936 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13938 * tests/check/gst/gststructure.c: (GST_START_TEST),
13939 (gst_structure_suite):
13940 Push coverage from 59.04% to 70.00%
13942 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13944 * tests/check/Makefile.am:
13945 gst-inspect every element; this makes sure that we also get
13946 coverage on element's get/set functions
13948 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13951 set CFLAGS and friends to -O0 if gcov is being used
13954 * libs/gst/base/Makefile.am:
13955 * libs/gst/check/Makefile.am:
13956 * libs/gst/controller/Makefile.am:
13957 * libs/gst/dataprotocol/Makefile.am:
13958 * libs/gst/net/Makefile.am:
13959 * plugins/elements/Makefile.am:
13960 * plugins/indexers/Makefile.am:
13961 add makefile rules to generate gcov data and clean up
13962 * tests/check/Makefile.am:
13963 add a coverage target that generates an html overview
13966 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13968 * tests/check/elements/fakesink.c:
13969 * tests/check/elements/fakesrc.c:
13970 * tests/check/elements/fdsrc.c:
13971 * tests/check/elements/identity.c:
13972 * tests/check/generic/sinks.c: (gst_sinks_suite):
13973 * tests/check/generic/states.c:
13974 * tests/check/gst/gst.c:
13975 * tests/check/gst/gstabi.c:
13976 * tests/check/gst/gstbin.c:
13977 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13978 * tests/check/gst/gstbus.c: (gst_bus_suite):
13979 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13980 * tests/check/gst/gstelement.c:
13981 * tests/check/gst/gstevent.c: (gst_event_suite):
13982 * tests/check/gst/gstghostpad.c:
13983 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13984 * tests/check/gst/gstmessage.c: (gst_message_suite):
13985 * tests/check/gst/gstminiobject.c:
13986 * tests/check/gst/gstobject.c:
13987 * tests/check/gst/gstpad.c:
13988 * tests/check/gst/gstpipeline.c:
13989 * tests/check/gst/gstplugin.c:
13990 * tests/check/gst/gstquery.c: (gst_query_suite):
13991 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13992 * tests/check/gst/gststructure.c:
13993 * tests/check/gst/gstsystemclock.c:
13994 * tests/check/gst/gsttag.c:
13995 * tests/check/gst/gsttask.c: (gst_task_suite):
13996 * tests/check/gst/gstutils.c:
13997 * tests/check/gst/gstvalue.c:
13998 * tests/check/libs/adapter.c:
13999 * tests/check/libs/basesrc.c:
14000 * tests/check/libs/collectpads.c:
14001 * tests/check/libs/controller.c:
14002 * tests/check/libs/gdp.c: (gst_dp_suite):
14003 * tests/check/libs/gstnetclientclock.c:
14004 * tests/check/libs/gstnettimeprovider.c:
14005 * tests/check/libs/libsabi.c: (libsabi_suite):
14006 * tests/check/libs/typefindhelper.c:
14007 * tests/check/pipelines/cleanup.c:
14008 * tests/check/pipelines/parse-launch.c:
14009 * tests/check/pipelines/simple-launch-lines.c:
14010 * tests/check/pipelines/stress.c: (stress_suite):
14013 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14015 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14016 * libs/gst/check/gstcheck.h:
14017 create a macro and function so that the simple unit test
14018 case can be just one macro to create main()
14020 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14022 * gst/gstbin.c: (gst_bin_restore_thyself):
14023 * gst/gstxml.c: (gst_xml_make_element):
14024 Fix deserialisation from XML. Set parent manually
14025 instead of using gst_bin_add(), since gst_bin_add()
14026 will unlink all pads of the element being added.
14029 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14031 Patch by: Peter Kjellerstedt <pkj at axis com>
14033 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14034 Fix missing g_strdup() and double free when using the
14035 --gst-plugin-load command line option (#346097).
14037 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14040 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14042 * libs/gst/net/gstnetclientclock.c:
14043 * libs/gst/net/gstnettimeprovider.c:
14044 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14046 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14048 * docs/manual/advanced-dataaccess.xml:
14049 Fix buffer probe example compilation in
14052 2006-06-22 Edward Hervey <edward@fluendo.com>
14054 * gst/gstelement.c: (gst_element_pads_activate):
14055 We need to deactivate src pads first and then sink pads.
14056 The reason is the src pads might be blocking while holding the streaming
14057 lock, so we need to deactivate them first so that deactivating the sink
14058 pads doesn't block (since it will require the streaming lock).
14060 2006-06-22 Wim Taymans <wim@fluendo.com>
14062 * libs/gst/base/gstbasetransform.c:
14063 (gst_base_transform_buffer_alloc):
14064 Forgot to remove two unneeded unrefs.
14065 Simplify a check _is_equal allready checks the obvious case.
14067 2006-06-22 Wim Taymans <wim@fluendo.com>
14069 * docs/design/part-block.txt:
14070 Some docs about what pad_block should do.
14072 2006-06-22 Wim Taymans <wim@fluendo.com>
14074 * gst/gstcaps.c: (gst_caps_replace):
14075 Fix crasher when passed NULL. Doc clarification.
14076 Optimize for the trivial case.
14078 * gst/gstpipeline.c: (gst_pipeline_change_state):
14081 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14082 Small documentation cleanup.
14084 * libs/gst/base/gstbasetransform.c:
14085 (gst_base_transform_buffer_alloc):
14086 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14087 is what we need and it avoids a whole lot of redundant
14088 refcount operations.
14090 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14092 Patch by: Philip Jägenstedt <philip at lysator liu se>
14094 * docs/manual/advanced-dataaccess.xml:
14095 Fix 'Embedding static elements' section to use
14096 GST_PLUGIN_DEFINE_STATIC (#345607).
14098 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14100 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14101 Attempt to 'fix' spuriously failing test case: it seems like the
14102 timeout of half a second is simply too small when the system is under
14103 load otherwise, and the timeout doesn't really seem to serve any
14104 particular purpose here. Give the pipeline a few seconds to preroll
14105 first, and then give it another half a second to go from PAUSED to
14106 PLAYING and marshal the message into the main thread.
14108 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14110 * tools/gst-feedback-m.m:
14111 Don't only use unversioned tools, try versioned tools as well
14114 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14116 * gst/gstbus.c: (gst_bus_class_init):
14117 Fix some typos, make docs more explicit.
14119 2006-06-20 Wim Taymans <wim@fluendo.com>
14121 * tests/check/gst/gstghostpad.c: (block_callback),
14122 (GST_START_TEST), (gst_ghost_pad_suite):
14123 Added some more ghostpad tests, mainly blocking
14126 2006-06-16 Wim Taymans <wim@fluendo.com>
14128 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14129 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14130 (gst_file_sink_event), (gst_file_sink_render):
14131 * plugins/elements/gstfilesink.h:
14132 Check if we can seek in the file instead of assuming
14133 we always can. Post an error when we are asked to seek in a
14134 non-seekable file (like a fifo). Fixes #343312.
14137 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14139 * tools/gst-launch.1.in:
14140 Un-garble (fourcc) bit in filtered caps section.
14142 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14144 * docs/manual/advanced-autoplugging.xml:
14145 * docs/manual/basics-helloworld.xml:
14146 * docs/manual/highlevel-components.xml:
14147 Don't leak bus reference in sample code.
14149 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14152 Add default for new --enable-plugin-docs switch.
14155 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14158 * docs/Makefile.am:
14159 Use new ENABLE_PLUGIN_DOCS conditional.
14161 2006-06-14 Wim Taymans <wim@fluendo.com>
14163 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14164 Make it clear with a FIXME and a real define what the #if 0
14165 previously disabled.
14167 2006-06-14 Wim Taymans <wim@fluendo.com>
14169 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14170 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14171 * libs/gst/base/gstbasetransform.c:
14172 (gst_base_transform_sink_eventfunc):
14173 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14174 Don't randomly and silently reset a segment when the format
14175 changes as this is a bug somewhere upstream. Fixes #330379.
14177 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14179 Patch by: Wouter Paesen <wouter at kangaroot net>
14181 * libs/gst/controller/gstcontroller.c:
14182 (gst_controlled_property_new):
14183 Fix controlling of float properties (#344849).
14185 * tests/check/libs/controller.c:
14186 (gst_test_mono_source_get_property),
14187 (gst_test_mono_source_set_property),
14188 (gst_test_mono_source_class_init), (GST_START_TEST):
14189 While we're at it, add some float stuff to unit test.
14191 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14194 * docs/images/gdp-header.svg:
14196 * docs/libs/Makefile.am:
14197 * docs/libs/gdp-header.png:
14198 * libs/gst/dataprotocol/dataprotocol.c:
14199 add it to the API docs
14200 * docs/manual/intro-motivation.xml:
14203 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14205 * gst/gst.c: (scan_and_update_registry), (init_post):
14206 If the fork()'ed child process can't write the updated registry cache
14207 file to disk for some reason, make it exit with a failure exit code,
14208 so that the parent can then re-scan the plugins itself and update the
14209 registry structures in memory and work with that (rather than failing
14210 when creating elements because seemingly no plugins are available).
14211 Refactor registry scanning code into separate function for this and
14212 also separate fork() and non-fork() code paths. Fixes #344748.
14214 2006-06-13 Wim Taymans <wim@fluendo.com>
14216 * docs/manual/advanced-dataaccess.xml:
14217 Fix wrong PluginDesc. Fixes #344755.
14219 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14221 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14222 Fix silly bug that prevented us from creating
14223 ~/.gstreamer-0.10 and writing the registry in one
14224 go (the first call to g_mkstemp() would overwrite the
14225 placeholder in the template string, so the second call
14226 to g_mkstemp() after creating the missing directory
14227 would then error out with 'invalid argument').
14229 2006-06-13 Edward Hervey <edward@fluendo.com>
14231 * gst/gst.c: (init_post):
14234 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14236 * gst/glib-compat-private.h:
14237 * gst/glib-compat.c:
14238 * gst/glib-compat.h:
14239 * gst/gstvalue.c: (gst_value_serialize_flags):
14240 remove GLib 2.6 compatibility code
14242 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14244 * gst/parse/Makefile.am:
14245 Fix build with 'make -j N' even more (#340016).
14247 2006-06-12 Wim Taymans <wim@fluendo.com>
14249 * docs/gst/gstreamer-sections.txt:
14252 2006-06-12 Wim Taymans <wim@fluendo.com>
14254 * gst/gstsegment.c: (gst_segment_set_duration),
14255 (gst_segment_set_last_stop), (gst_segment_set_seek),
14256 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14257 (gst_segment_to_running_time), (gst_segment_clip):
14258 Use G_UNLIKELY to help the compiler a bit.
14260 2006-06-12 Wim Taymans <wim@fluendo.com>
14262 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14264 * gst/gstevent.c: (gst_event_get_type):
14265 * gst/gstmessage.c:
14266 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14268 constify quark registration strings. Fixes #344115
14269 Avoid unneeded type checking is _pad_push() by internally
14270 calling gst_pad_chain_unchecked().
14272 2006-06-12 Wim Taymans <wim@fluendo.com>
14274 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14275 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14276 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14277 (gst_buffer_is_span_fast), (gst_buffer_span):
14278 Init _type for consistency.
14279 Use _FLAGS macro to avoid type check.
14280 Avoid unneeded type checks in subbufer code.
14282 2006-06-12 Wim Taymans <wim@fluendo.com>
14284 * gst/gst.c: (gst_debug_help):
14285 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14286 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14287 (gst_plugin_feature_list_free):
14288 * gst/gstregistry.c: (gst_registry_add_plugin),
14289 (gst_registry_add_feature), (gst_registry_plugin_filter),
14290 (gst_registry_feature_filter), (gst_registry_find_plugin),
14291 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14292 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14293 * gst/gstregistryxml.c: (load_feature),
14294 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14295 * gst/gstminiobject.c: (gst_mini_object_unref),
14296 (gst_mini_object_replace), (gst_value_mini_object_free),
14297 (gst_value_mini_object_copy):
14298 Use _CAST macros to avoid unneeded type checking.
14299 Added some more G_UNLIKELY.
14301 2006-06-12 Wim Taymans <wim@fluendo.com>
14304 Avoid unneeded type checking.
14305 API: GST_BUFFER_IS_DISCONT
14307 * gst/gstminiobject.h:
14308 Avoid type check in flag accessor.
14310 * gst/gstelementfactory.h:
14312 * gst/gstpluginfeature.h:
14314 API: GST_ELEMENT_FACTORY_CAST
14315 API: GST_PLUGIN_CAST
14316 API: GST_PLUGIN_FEATURE_CAST
14318 2006-06-12 Wim Taymans <wim@fluendo.com>
14320 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14321 (gst_object_unref):
14322 Add G_UNLIKELY in type registration.
14323 Avoid type check in _ref/_unref since that is also
14326 2006-06-12 Wim Taymans <wim@fluendo.com>
14328 * gst/gsterror.c: (gst_g_error_get_type):
14329 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14330 (gst_static_pad_template_get_type):
14331 * gst/gsttaglist.c: (gst_tag_list_get_type):
14332 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14333 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14334 * gst/gsturi.c: (gst_uri_handler_get_type):
14335 * gst/gstvalue.c: (gst_date_get_type):
14336 * gst/gstxml.c: (gst_xml_get_type):
14337 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14338 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14339 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14340 Add G_UNLIKELY in type registration.
14342 2006-06-12 Wim Taymans <wim@fluendo.com>
14344 * tools/gst-inspect.c: (print_signal_info):
14345 Properly print enum values.
14347 2006-06-12 Wim Taymans <wim@fluendo.com>
14349 * gst/gstinfo.c: (gst_debug_set_active),
14350 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14352 Add some G_[UN]LIKELY.
14353 Maintain __gst_debug_min to avoid formatting the arguments of
14354 debug messages that will be dropped anyway to avoid a lot of
14355 overhead from the debugging system.
14357 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14360 * po/POTFILES.skip:
14361 add missing files containing translatable strings, tell intltool about
14364 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14366 * tests/check/libs/.cvsignore:
14367 add test-binary to ignore list
14369 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14371 * docs/libs/gstreamer-libs-docs.sgml:
14372 reorder (put dp into a chapter) and indent
14374 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14379 === release 0.10.8 ===
14381 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14384 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14386 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14388 * gst/gst.c: (init_post):
14389 move pid declaration to declaration block
14391 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14393 * gst/gst.c: (init_post):
14394 use _exit() instead of exit() in our forked child; this ensures
14395 that none of the registered exit handlers from whatever is using
14396 GStreamer get executed. This fixes gnome-mixer-applet failing
14397 to load, because ORBit would shut down.
14398 Spotted by: Edward Hervey <edward@fluendo.com>
14399 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14402 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14407 === release 0.10.7 ===
14409 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14412 releasing 0.10.7, "Soepeke, ik zie ou"
14414 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14437 * win32/common/config.h:
14438 0.10.6.2 prerelease
14440 2006-06-07 Wim Taymans <wim@fluendo.com>
14442 * gst/gstindex.c: (gst_index_gtype_resolver):
14443 * tools/gst-xmlinspect.c: (print_plugin_info):
14444 Fix leak spotted by coverity checker. Fixes #343827
14445 Fix another other leak found by paolo borelli.
14447 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14449 * libs/gst/dataprotocol/dataprotocol.c:
14450 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14451 (gst_dp_version_get_type), (gst_dp_init),
14452 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14453 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14454 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14455 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14456 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14457 (gst_dp_packetizer_free):
14458 * libs/gst/dataprotocol/dataprotocol.h:
14459 API: add a GstDPPacketizer object, and create/free functions
14460 API: add GstDPVersion enum
14461 Add 1.0 event function that uses the string serialization
14462 Serialize more useful buffer flags
14465 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14467 * tests/check/Makefile.am:
14468 * tests/check/gst/gstabi.c:
14469 * tests/check/gst/struct_ppc64.h:
14470 * tests/check/libs/libsabi.c:
14471 * tests/check/libs/struct_ppc64.h:
14472 add ppc64 structure sizes
14474 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14476 * tests/check/Makefile.am:
14477 * tests/check/gst/gstabi.c:
14478 * tests/check/gst/struct_x86_64.h:
14479 * tests/check/libs/libsabi.c:
14480 * tests/check/libs/struct_x86_64.h:
14481 generate and add structure size lists for x86_64
14483 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14485 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14486 * libs/gst/check/gstcheck.h:
14487 factor out the method from tests that checks size of structures,
14488 and add code to generate the header containing these sizes
14489 * tests/check/gst/gstabi.c: (GST_START_TEST):
14490 * tests/check/gst/struct_i386.h:
14491 * tests/check/libs/libsabi.c: (GST_START_TEST):
14492 * tests/check/libs/struct_i386.h:
14495 2006-06-06 Michael Smith <msmith@fluendo.com>
14497 * gst/gstsegment.h:
14498 Don't use c++-style comments, fixes #343929
14500 2006-06-05 Edward Hervey <edward@fluendo.com>
14503 plugin_paths is not used if we build without registry support.
14505 * gst/gstsegment.c: (gst_segment_copy):
14506 _copy() was always returning NULL...
14508 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14510 * libs/gst/dataprotocol/dataprotocol.c:
14511 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14512 (gst_dp_packet_from_event):
14513 factor out CRC code
14515 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14517 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14518 make sure we unset caps
14520 2006-06-02 Michael Smith <msmith@fluendo.com>
14522 * libs/gst/check/gstcheck.c: (gst_check_init),
14523 (gst_check_chain_func):
14524 * libs/gst/check/gstcheck.h:
14525 Add a cond/mutex to the check support lib, signal this whenever we
14526 add to the buffers list. This will allow tests to not busy-wait on
14529 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14531 * libs/gst/dataprotocol/dataprotocol.c:
14532 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14533 (gst_dp_packet_from_event):
14534 factor out some common header init code
14536 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14538 * docs/libs/gstreamer-libs-sections.txt:
14539 * docs/libs/tmpl/gstdataprotocol.sgml:
14540 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14541 * libs/gst/dataprotocol/dataprotocol.h:
14542 API: make gst_dp_crc() public
14544 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14546 * plugins/indexers/gstindexers.c: (plugin_init):
14547 conditionally register fileindexer (fixes #343598)
14549 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14551 * gst/gsttagsetter.h:
14552 Can't cast ifaces to a class
14554 * libs/gst/net/gstnetclientclock.h:
14555 * libs/gst/net/gstnettimeprovider.h:
14556 * plugins/elements/gstfakesink.h:
14557 * plugins/elements/gstfakesrc.h:
14558 * plugins/elements/gstfdsink.h:
14559 * plugins/elements/gstfdsrc.h:
14560 * plugins/elements/gstfilesink.h:
14561 * plugins/elements/gstfilesrc.h:
14562 * plugins/elements/gstidentity.h:
14563 * plugins/elements/gstqueue.h:
14564 * plugins/elements/gsttee.h:
14565 * plugins/indexers/gstfileindex.c:
14566 * plugins/indexers/gstmemindex.c:
14567 * tests/old/examples/plugins/example.h:
14568 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14570 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14572 * libs/gst/dataprotocol/dataprotocol.c:
14573 (gst_dp_header_from_buffer):
14574 make sure we zero the whole ABI-compatible area
14576 2006-06-01 Wim Taymans <wim@fluendo.com>
14578 Patch by: Alessandro Decina <alessandro at nnva dot org>
14580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14581 Make sure the EOS flag is cleared from pads after a flush
14582 or stop. Fixes #343538.
14584 * tests/check/libs/collectpads.c: (GST_START_TEST),
14585 (gst_collect_pads_suite):
14586 Added test for collectpads reusage after EOS.
14588 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14591 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14592 * win32/common/libgstbase.def:
14593 export gst_collect_pads_set_flushing
14594 * win32/common/libgstreamer.def:
14595 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14596 gst_value_fraction_multiply
14597 * win32/vs6/gst_inspect.dsp:
14598 add a link to intl.lib
14600 2006-05-30 Wim Taymans <wim@fluendo.com>
14602 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14603 (gst_collect_pads_chain):
14604 Handle the case where a pad is removed from the collection
14605 that could cause the other pads to become collectable.
14607 2006-05-30 Wim Taymans <wim@fluendo.com>
14609 * gst/gstelement.c:
14610 Clarify the use of _release_request_pad() and
14611 _get_request_pad() a bit better.
14613 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14614 (gst_adapter_take_buffer):
14615 Fix some doc and comment typos.
14617 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14619 * docs/gst/gstreamer-sections.txt:
14620 * docs/libs/gstreamer-libs-sections.txt:
14621 add declared symbols
14623 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14625 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14626 Add debug that can be enabled using a #define at the top of the file,
14627 for dumping stats about how late/early we were when waking up from
14628 waiting on the clock.
14630 2006-05-30 Wim Taymans <wim@fluendo.com>
14632 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14633 When rebuilding the pad list, don't leak the previous list.
14635 2006-05-30 Wim Taymans <wim@fluendo.com>
14637 Patch by: Lutz Mueller <lutz at topfrose dot de>
14639 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14640 (gst_base_src_get_query_types), (gst_base_src_update_length):
14641 Publish supported query types.
14642 Update last_stop field in get_range mode so the position
14643 query works. Fixes #342321.
14645 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14647 * docs/gst/gstreamer-sections.txt:
14648 * gst/gsttaglist.c: (_gst_tag_initialize):
14649 * gst/gsttaglist.h:
14650 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14652 2006-05-30 Wim Taymans <wim@fluendo.com>
14654 Patch by: Alessandro Decina <alessandro at nnva dot org>
14656 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14657 Unlock mutex when removing an unknown pad.
14660 * tests/check/Makefile.am:
14661 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14662 (push_event), (setup), (teardown), (GST_START_TEST),
14663 (gst_collect_pads_suite), (main):
14664 Added collecpads check, disabled for now as check crashes for
14667 2006-05-29 Wim Taymans <wim@fluendo.com>
14669 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14670 Don't leak pads lists.
14672 2006-05-29 Wim Taymans <wim@fluendo.com>
14674 * docs/libs/gstreamer-libs-sections.txt:
14675 * libs/gst/base/gstcollectpads.c:
14676 (gst_collect_pads_set_flushing_unlocked),
14677 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14678 (gst_collect_pads_stop):
14679 * libs/gst/base/gstcollectpads.h:
14680 API: gst_collect_pads_set_flushing()
14681 Added api to set the pads to flushing, useful for seeking
14682 code in elements using collectpads.
14683 Clear segment when receiving a flush.
14685 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14687 * gst/gst.c: (add_path_func), (init_post):
14688 Don't scan registry paths passed via --gst-plugin-path immediately
14689 (will crash, because absolutely nothing is set up and no types are
14690 registered etc.); do this later in init_post(). Fixes #343057.
14692 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14694 * gst/gst.c: (init_post):
14695 if we have fork, fork while reading/rebuilding the registry
14696 so the parent doesn't take the hit of having all plugins loaded
14697 in memory. Fixes #342777.
14699 Check if we have fork()
14700 * win32/common/config.h.in:
14703 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14705 * plugins/elements/gstelements.c:
14706 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14707 (gst_file_src_init), (gst_file_src_set_property),
14708 (gst_file_src_get_property), (gst_file_src_start):
14709 * plugins/elements/gstfilesrc.h:
14710 API: GstFileSrc::use-mmap
14712 Add a use-mmap property to enable easier testing of all code paths.
14713 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14714 in the absence of gnomevfssrc. (Closes #340501)
14716 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14718 * tools/gst-inspect.c:
14719 Add missing include, removes warning of ngettext not being defined on
14722 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14724 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14725 Handle NULL input and output pointers silently as a failed conversion,
14726 rather than g_warnings.
14728 2006-05-25 Wim Taymans <wim@fluendo.com>
14730 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14731 Initialize variable before using. Fixes #342820.
14733 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14735 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14736 Fix off-by-one bug that would only allow peeks of N-1 bytes
14737 from the start even if the buffer to typefind on contains
14738 in fact N bytes of data (makes vorbis typefinding from a
14739 vorbis identification header buffer work).
14741 * tests/check/Makefile.am:
14742 * tests/check/libs/.cvsignore:
14743 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14744 (gst_typefindhelper_suite), (main), (foobar_typefind),
14746 Add very basic unit test for gst_type_find_helper_for_buffer()
14747 that checks for the problem fixed above.
14749 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14751 * tools/gst-inspect.c: (print_interfaces),
14752 (print_element_properties_info), (print_element_list), (main):
14753 add more translatable strings
14755 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14757 Patch by: Julien Moutte <julien at moutte net>
14759 * docs/gst/gstreamer-sections.txt:
14760 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14762 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14763 (gst_fake_sink_preroll):
14764 * plugins/elements/gstfakesink.h:
14765 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14767 2006-05-23 Wim Taymans <wim@fluendo.com>
14769 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14771 Added _CUSTOM error and success GstFlowReturn that can be
14772 used be elements internally.
14773 Added macro to check for SUCCESS flowreturns.
14774 API: GST_FLOW_CUSTOM_SUCCESS
14775 API: GST_FLOW_CUSTOM_ERROR
14776 API: GST_FLOW_IS_SUCCESS
14778 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14779 Added check for GstFlowReturn sanity.
14781 2006-05-23 Wim Taymans <wim@fluendo.com>
14783 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14785 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14786 (gst_collect_pads_event):
14787 clear/reset segment info in FLUSH_STOP.
14790 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14793 (gst_collect_pads_check_collected):
14794 Flush queued buffer on _stop(), fixes playing again (#342454)
14796 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14798 * tests/check/gst/gststructure.c: (GST_START_TEST),
14799 (gst_structure_suite):
14800 add a test for a complete structure
14802 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14804 * docs/faq/developing.xml:
14805 * docs/faq/faq.xml:
14806 * docs/faq/troubleshooting.xml:
14807 * docs/faq/using.xml:
14808 Some minor FAQ updates that won't change the fact that
14809 our FAQ is badly structured, full of information hardly
14810 anyone new to GStreamer needs to know and lacking lots
14811 of information people constantly ask for.
14813 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14815 * gst/gstpad.c: (gst_pad_set_caps):
14816 Short-circuit gst_pad_set_caps if setting the existing
14817 caps pointer again, and avoid printing debug and
14818 reffing/unreffing the caps.
14820 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14821 There's actually no need to set the caps before pushing -
14822 the acceptcaps method will handle it anyway.
14824 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14826 * docs/gst/gstreamer-sections.txt:
14827 * win32/common/libgstreamer.def:
14828 * gst/gstutils.c: (gst_element_seek_simple):
14830 API: add gst_element_seek_simple() (#342238).
14832 2006-05-18 Edward Hervey <edward@fluendo.com>
14834 * gst/gsttypefind.c: (gst_type_find_get_type):
14835 * gst/gsttypefind.h:
14836 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14837 registered for GstTypeFind pointers. This allows wrapping the structure
14838 in bindings (i.e. gst-python).
14840 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14842 * gst/gsttagsetter.c:
14843 Docs additions and fixes (see #339918).
14845 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14847 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14848 The caps intersection algorithm can produce multiple copies of the
14849 caps. Until that is fixed, we need to simplify the result to be
14850 sure whether the allowed caps are fixed or not.
14852 * plugins/elements/gstqueue.c: (gst_queue_init),
14853 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14854 (gst_queue_push_one):
14855 Proxied buffer alloc should not set the caps on the source pad.
14856 When pushing buffers, we always accept the caps change that triggers.
14857 This prevents negotiation errors caused by caps changing mid-stream
14858 and then being refused on our source pad (because upstream is now
14859 refusing those caps).
14861 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14863 * tests/examples/helloworld/helloworld.c: (main):
14864 Must plug audioconvert and audioresample between decoder
14867 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14869 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14870 (load_feature), (load_plugin):
14871 Allow empty strings for some of the plugin fields so we don't
14872 drop valid plugin entries that were written out correctly
14875 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14877 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14878 Use g_remove and g_rename instead of remove and rename that don't
14879 handle utf8 characters. rename was failing for users who had specific
14880 characters in their name then the registry was built at each
14882 * win32/vs6/gst_inspect.dsp:
14883 * win32/vs6/gst_launch.dsp:
14884 * win32/vs6/libgstbase.dsp:
14885 * win32/vs6/libgstcoreelements.dsp:
14886 * win32/vs6/libgstreamer.dsp:
14887 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14888 build of libgstreamer and clean unused libraries in projects link
14891 2006-05-17 Edward Hervey <edward@fluendo.com>
14893 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14894 The queue is not responsible for pushing an EOS when receiving a fatal
14895 flow error. It's up to the real element driving the pipeline to do that.
14897 2006-05-16 Edward Hervey <edward@fluendo.com>
14899 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14900 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14901 buffer returned a fatal error. It should just send an EOS and stop
14903 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14904 when pushing buffers on the queue and will be able to handle the event.
14906 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14908 * docs/manual/basics-bins.xml:
14909 * docs/manual/basics-init.xml:
14910 Fix typos and minor errors in sample code (#341856).
14912 2006-05-16 Wim Taymans <wim@fluendo.com>
14914 * docs/design/part-qos.txt:
14915 Fix indexes in formulas to make more sense.
14917 2006-05-15 Wim Taymans <wim@fluendo.com>
14919 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14920 Don't report POSITION based on clock time if sync is
14921 disabled in a sink.
14923 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14926 Add cast to make compiler happy - refcount variable was a gint
14927 in GstObject but is a guint in GObject and g_atomic_int_get()
14930 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14932 * gst/parse/Makefile.am:
14933 chain commands using &&, which also makes parallel make work
14935 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14937 * docs/gst/gstreamer-sections.txt:
14940 * gst/gstmessage.h:
14943 === release 0.10.6 ===
14945 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14948 releasing 0.10.6, "Take the cannoli"
14950 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14952 * tools/gst-launch.c: (print_tag):
14953 Fix use of uninitialized variable in the hypothetical
14954 case that some broken plugin creates a GST_TAG_IMAGE
14955 tag containing a NULL buffer (#341667).
14957 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14959 * tools/gst-launch.c: (print_tag):
14960 Print something more intelligible for image tags when
14961 using the -t switch (#341556).
14963 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14968 define GST_MAJORMINOR so we have it available in win32/common/config.h
14969 Possibly remove it from our Makefile.am files later
14970 * win32/common/config.h:
14971 * win32/common/config.h.in:
14972 added GST_MAJORMINOR
14973 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14974 * win32/common/gstversion.h:
14977 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14980 Update win32 files listing.
14981 * win32/common/gstversion.h:
14982 Add GST_MAJORMINOR definition.
14983 * win32/common/libgstreamer.def:
14984 Add new exported functions.
14986 2006-05-12 Michael Smith <msmith@fluendo.com>
14988 * gst/gstplugin.c: (gst_plugin_load_file):
14989 If an so file has no plugin entry point, unload the module.
14991 2006-05-11 Wim Taymans <wim@fluendo.com>
14993 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14994 (gst_queue_set_property):
14995 Don't forget to signal the _chain or _loop function
14996 when the queue size or thresholds change since that might
14997 cause them to make progres again.
14999 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15001 * gst/gstclock.c: (gst_clock_class_init):
15002 * gst/gstindex.c: (gst_index_class_init):
15003 * gst/gstobject.c: (gst_object_class_init):
15004 * gst/gstpad.c: (gst_pad_class_init):
15005 * gst/gstpipeline.c: (gst_pipeline_class_init):
15006 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15007 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15008 * libs/gst/base/gstbasetransform.c:
15009 (gst_base_transform_class_init):
15010 * libs/gst/net/gstnetclientclock.c:
15011 (gst_net_client_clock_class_init):
15012 * libs/gst/net/gstnettimeprovider.c:
15013 (gst_net_time_provider_class_init):
15014 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15015 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15016 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15017 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15018 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15019 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15020 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15021 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15022 * plugins/elements/gsttee.c: (gst_tee_class_init):
15023 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15024 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15025 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15027 2006-05-11 Wim Taymans <wim@fluendo.com>
15029 * gst/gstbuffer.c: (_gst_buffer_initialize):
15030 Register subbufer along with the buffer type so that
15031 it does not accidentally gets registered from N
15032 different streaming threads in a non threadsafe way.
15034 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15038 * gst/gstmessage.h:
15039 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15040 gst_event_ref() and gst_message_ref() functions again
15041 (ugly hack, please do fix if there's a better way besides
15042 overrides.txt, which doesn't seem to work).
15044 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15046 * libs/gst/check/gstcheck.h:
15047 add an assert for setting state to avoid lots of repetitive code
15050 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15052 * gst/gstvalue.c: (gst_value_serialize_flags):
15053 fix a leak if no flags are set
15054 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15057 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15059 * docs/manual/basics-pads.xml:
15060 Expand a bit on caps and filtered links and update
15061 examples that were still using the no longer existing
15062 gst_pad_link_filtered() (#338206).
15064 2006-05-10 Wim Taymans <wim@fluendo.com>
15066 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15067 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15068 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15069 (gst_collect_pads_stop):
15070 * libs/gst/base/gstcollectpads.h:
15071 No need to call _stop in _finalize.
15072 Iterate the main pad list in _finalize.
15073 Added some more debug.
15074 Free lists and data in the right order.
15075 Also free data whem doing _remove_pad when stopped for
15076 backward compatibility protect ::started with PAD_LOCK as
15079 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15081 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15082 (gst_structure_parse_value):
15084 rename a method so that it actually says what it does better
15086 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15088 * gst/gstevent.c: (_gst_event_initialize):
15089 * gst/gstformat.c: (_gst_format_initialize):
15090 make sure some essential types used by events are registered
15091 as part of gst_init()
15092 * gst/gstvalue.c: (gst_value_serialize_flags):
15093 if no flags are set, serialize them to a value that represents NONE
15094 so that deserializing them works
15095 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15096 add tests for serialization and deserialization of flags
15098 2006-05-10 Wim Taymans <wim@fluendo.com>
15100 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15101 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15102 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15103 (gst_collect_pads_event), (gst_collect_pads_chain):
15106 Catch and return errors from the collect function
15107 Refuse data on eos pads.
15109 2006-05-10 Edward Hervey <edward@fluendo.com>
15111 * gst/gstinterface.h:
15112 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15113 GInterface type checking.
15114 They were previously using non-defined macros.
15116 2006-05-09 Wim Taymans <wim@fluendo.com>
15118 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15119 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15120 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15121 (gst_collect_pads_start), (gst_collect_pads_stop),
15122 (gst_collect_pads_peek), (gst_collect_pads_pop),
15123 (gst_collect_pads_available), (gst_collect_pads_read),
15124 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15125 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15126 (gst_collect_pads_chain):
15127 * libs/gst/base/gstcollectpads.h:
15128 Clean up the mess that is collectpads, add comments and
15129 FIXMEs where needed.
15130 Maintain a separate pad list so we can add pads while
15131 collecting the other ones. For this we need a new separate
15133 Fix memory leak in finalize.
15134 Refactor some weird code to set/unset pad flushing flags, mark
15136 Don't crash in _available, _read, _flush when we're EOS.
15138 * tests/check/libs/.cvsignore:
15139 Ignore adapter check binary.
15141 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15143 * gst/gstindex.c: (gst_index_resolver_get_type):
15144 * plugins/elements/gstfakesink.c:
15145 (gst_fake_sink_state_error_get_type):
15146 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15147 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15148 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15149 Const-ify GEnumValue arrays.
15151 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15153 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15154 Add test case for flags + gst_buffer_make_metadata_writable().
15156 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15158 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15159 gst_buffer_make_metadata_writable() should maintain the
15160 buffer flags (those that make sense at least) (see #340859).
15162 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15164 * tools/gst-inspect.c:
15165 * tools/gst-launch.c:
15166 * tools/gst-typefind.c:
15167 * tools/gst-xmlinspect.c:
15169 Fix up includes: need to include stdlib.h in tools.h for exit().
15171 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15173 * gst/gsttaglist.c: (_gst_tag_initialize):
15174 * gst/gsttaglist.h:
15175 API: add GST_TAG_IMAGE tag (#340721).
15177 2006-05-08 Wim Taymans <wim@fluendo.com>
15180 Added some docs for the segment query.
15182 2006-05-08 Wim Taymans <wim@fluendo.com>
15184 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15185 (gst_base_src_loop), (gst_base_src_change_state):
15186 Always push non-flushing serialized events in the streaming
15189 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15191 * gst/gsterror.c: (_gst_stream_errors_init):
15192 Add a missing error string.
15194 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15196 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15197 Add applied_rate to the debug
15199 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15200 Copy applied_rate into the outgoing NEWSEGMENT event
15202 2006-05-08 Wim Taymans <wim@fluendo.com>
15204 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15206 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15207 (gst_base_sink_change_state):
15208 call ::unlock before taking the PREROLL_LOCK so we can safely
15209 handle elements that lock in ::render.
15212 2006-05-08 Edward Hervey <edward@fluendo.com>
15214 * autogen.sh: (CONFIGURE_DEF_OPT):
15215 Darwin's libtoolize is in fact called glibtoolize.
15216 Adding glibtoolize to the list of accepted names for libtoolize.
15218 2006-05-08 Wim Taymans <wim@fluendo.com>
15220 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15221 Unify error handling, don't post an error message
15222 when a push() returns EOS but perform our normal EOS
15223 handling code. Fixes #340772.
15225 2006-05-08 Wim Taymans <wim@fluendo.com>
15227 * docs/design/part-overview.txt:
15228 Make upsteam/downstream concepts more clear.
15229 Give an example of serialized/non-serialized events.
15231 * docs/design/part-events.txt:
15232 * docs/design/part-streams.txt:
15233 Mention applied_rate.
15235 * docs/design/part-trickmodes.txt:
15236 Mention applied rate, flesh out some more use cases.
15238 * gst/gstevent.c: (gst_event_new_new_segment),
15239 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15240 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15241 (gst_event_parse_tag), (gst_event_new_buffer_size),
15242 (gst_event_parse_buffer_size), (gst_event_new_qos),
15243 (gst_event_parse_qos), (gst_event_parse_seek),
15244 (gst_event_new_navigation):
15246 Add applied_rate field to NEWSEGMENT event.
15247 API: gst_event_new_new_segment_full()
15248 API: gst_event_parse_new_segment_full()
15250 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15251 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15252 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15253 * gst/gstsegment.h:
15254 Add applied_rate to GstSegment structure.
15255 Make calculation of stream_time and running_time more correct
15256 wrt rate/applied_rate.
15257 Add some more docs.
15258 API: GstSegment::applied_rate field
15259 API: gst_segment_set_newsegment_full();
15261 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15262 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15263 * libs/gst/base/gstbasetransform.c:
15264 (gst_base_transform_sink_eventfunc),
15265 (gst_base_transform_handle_buffer):
15266 Parse and use applied_rate in the GstSegment field.
15268 * tests/check/gst/gstevent.c: (GST_START_TEST):
15269 Add check for applied_rate field.
15271 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15272 (gstsegments_suite):
15273 Add more checks for various GstSegment operations.
15275 2006-05-08 Wim Taymans <wim@fluendo.com>
15277 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15278 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15279 (gst_base_sink_get_position), (gst_base_sink_change_state):
15280 Store the sync time of the buffer end position separatly in a
15281 new variable eos_rtime so we can properly sync the EOS event.
15283 Fix the docs for gst_base_sink_set_qos_enabled().
15284 Don't set segment start to invalid value when we receive a
15285 non TIME newsegment.
15286 get closer to handling position reporting for negative rates
15289 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15292 Docs about how to print caps for debug purposes.
15294 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15295 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15297 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15299 * gst/gstelement.c:
15300 use full enum names and preprend a '%' in docs strings to make recent
15301 gtk-doc turn that into a link
15303 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15305 * docs/manual/basics-bins.xml:
15306 * docs/manual/basics-bus.xml:
15307 * docs/manual/basics-pads.xml:
15308 Some typo fixes, some additions, some clarifications.
15310 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15312 * tools/gst-inspect.c: (main):
15313 * tools/gst-launch.c: (main):
15314 * tools/gst-run.c: (main):
15315 * tools/gst-typefind.c: (main):
15316 * tools/gst-xmlinspect.c: (main):
15317 Use the string passed to g_option_context_new() for
15318 what it's intended for - the program name is already
15321 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15323 * tools/Makefile.am:
15324 * tools/gst-inspect.c: (main):
15325 * tools/gst-launch.c: (main):
15326 * tools/gst-xmlinspect.c: (main):
15328 Add back --version command line option (#340460).
15330 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15331 Add --version option and use GOption for argument parsing; refactor a
15332 bit; accept directories as arguments and recurse into them; lastly,
15333 print a decent error message when things go wrong.
15335 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15337 * docs/manual/basics-bins.xml:
15338 Don't mention GstThread (#340611)
15339 * docs/manual/basics-elements.xml:
15340 Update link to GObject tutorial (#340607)
15342 2006-05-05 Wim Taymans <wim@fluendo.com>
15345 * gst/gstminiobject.c:
15346 Add note about refcounting and miniobject/buffer writeability
15347 to docs. Fixes #340604
15349 * gst/gstelementfactory.h:
15350 Added some explanation about @klass.
15352 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15354 * docs/manual/intro-motivation.xml:
15355 * docs/manual/manual.xml:
15356 Avoid CORBA & Bonobo references (#340598)
15358 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15360 * docs/manual/basics-bus.xml:
15361 * docs/manual/basics-pads.xml:
15362 Fix up some inaccuracies and omissions (#340609)
15364 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15366 * gst/gstghostpad.c:
15367 Small typo in docs (#340625)
15369 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15371 * gst/parse/Makefile.am:
15372 Make 'make -j' proof (see #340698).
15374 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15377 Require GLib-2.8 here as well.
15379 2006-05-05 Wim Taymans <wim@fluendo.com>
15381 * gst/glib-compat.c:
15382 * gst/gst.c: (init_pre):
15383 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15384 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15385 (gst_object_dispatch_properties_changed):
15387 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15388 * gst/gststructure.c: (gst_structure_set_valist):
15389 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15390 Remove pre glib2.8 compatibility, fixes #340508
15392 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15394 * gst/gsttaglist.h:
15395 Mention type of tags in doc blurbs.
15397 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15399 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15400 (gst_pad_configure_src), (gst_pad_push):
15401 Restore acceptcaps checking behaviour now that good plugins have
15404 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15406 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15413 * gst/gstmessage.c:
15417 * gst/parse/Makefile.am:
15418 * libs/gst/base/gstadapter.c:
15419 * libs/gst/base/gstbasesrc.c:
15420 * libs/gst/base/gstpushsrc.c:
15421 * libs/gst/base/gsttypefindhelper.c:
15422 * plugins/elements/gstfakesrc.c:
15423 * plugins/elements/gstidentity.c:
15424 Make sure gstprivate.h and/or config.h are
15425 always included first, otherwise some of our
15426 defines (like _FILE_OFFSET_BITS) might be
15427 redefined in the system headers. Fixes build
15428 on opensolaris (#340016).
15430 2006-05-04 Wim Taymans <wim@fluendo.com>
15432 * docs/libs/gstreamer-libs-sections.txt:
15433 API: addition: gst_adapter_take_buffer()
15435 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15436 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15437 (gst_adapter_available_fast):
15438 * libs/gst/base/gstadapter.h:
15439 Prepare for optimizing the hell out of this hugely inefficient
15441 Added gst_adapter_take_buffer() so we can at least start thinking
15442 about subbuffering and merging.
15443 Added some comments.
15445 * tests/check/Makefile.am:
15446 * tests/check/libs/adapter.c: (GST_START_TEST),
15447 (gst_adapter_suite), (main):
15448 Added GstAdapter check.
15450 2006-05-04 Wim Taymans <wim@fluendo.com>
15452 * docs/design/part-overview.txt:
15453 Fix some typos, add blurb about buffer flags.
15455 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15457 * docs/libs/gstreamer-libs-sections.txt:
15458 make sure GstBaseTransformClass shows up in the docs
15459 * libs/gst/base/gstbasetransform.c:
15460 * libs/gst/base/gstbasetransform.h:
15461 move docs so gtk-doc picks it up now
15463 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15465 * docs/libs/gstreamer-libs-sections.txt:
15466 add missing symbols to docs
15468 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15470 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15471 back out the newsegment handling change, see #340060 for ongoing
15474 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15476 * tools/gst-run.c: (get_candidates), (main):
15477 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15478 work); fix typo in error message. Fixes #340079.
15480 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15482 * common/Makefile.am:
15483 * docs/Makefile.am:
15484 * docs/faq/Makefile.am:
15485 * docs/gst/Makefile.am:
15486 * docs/libs/Makefile.am:
15487 * docs/manual/Makefile.am:
15488 * docs/plugins/Makefile.am:
15489 * docs/pwg/Makefile.am:
15490 * docs/slides/Makefile.am:
15492 * common/upload.mak:
15493 move upload.mak to common
15495 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15497 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15498 add more asserts on refcounts
15499 do more cleanup at end of tests
15500 fix test leaks showing in FC5
15502 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15504 * plugins/elements/gsttypefindelement.c:
15505 (gst_type_find_element_handle_event):
15506 reverted wrong change and reflowed code to avoid others falling into
15509 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15511 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15512 fix changelog entry about last collectpads change,
15513 add notes about proper fix
15515 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15518 * gst/gstregistry.c: (gst_registry_scan_path_level),
15519 (gst_registry_scan_path):
15520 * gst/gstregistry.h:
15521 only write out registry if it has changed, fixes #338339
15523 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15526 * gst/gstpipeline.c:
15527 * plugins/elements/gstcapsfilter.c:
15528 * plugins/elements/gstfakesink.c:
15529 * plugins/elements/gstfakesrc.c:
15530 * plugins/elements/gstfdsink.c:
15531 * plugins/elements/gstfdsrc.c:
15532 * plugins/elements/gstfilesink.c:
15533 * plugins/elements/gstfilesrc.c:
15534 * plugins/elements/gstidentity.c:
15535 * plugins/elements/gstqueue.c:
15536 * plugins/elements/gsttee.c:
15537 * plugins/elements/gsttypefindelement.c:
15538 (gst_type_find_element_handle_event):
15539 make GstElementDetails const
15541 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15543 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15544 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15545 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15546 more detailed debug and formatting cleanup,
15547 forward newsegments to src-pad (so that e.g. adder not eats them)
15549 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15551 * gst/gstutils.c: (gst_element_link_pads):
15552 cleanup double code
15554 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15556 * libs/gst/controller/gstcontroller.c:
15557 (gst_controller_sync_values):
15559 * tests/check/libs/controller.c: (GST_START_TEST),
15560 (gst_controller_suite):
15561 a new test for live value handling
15563 2006-04-28 Wim Taymans <wim@fluendo.com>
15565 * gst/gstutils.c: (push_and_ref):
15566 Added some more docs.
15567 Fix refcount issue whith gst_element_found_tags() helper
15568 function. Fixes #338335
15570 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15571 Added testsuite for gst_element_found_tags().
15573 2006-04-28 Michael Smith <msmith@fluendo.com>
15575 * gst/gstvalue.c: (gst_value_serialize_flags):
15576 Avoid NULL dereference when trying to serialize flags containing
15579 2006-04-28 Michael Smith <msmith@fluendo.com>
15581 * plugins/elements/gsttypefindelement.c:
15582 (gst_type_find_element_handle_event):
15583 If we get EOS before any data is accumulated, don't use
15584 uninitialised local variables.
15586 2006-04-28 Michael Smith <msmith@fluendo.com>
15588 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15589 (gst_dp_event_from_packet):
15590 Fixes in reading/writing events over GDP (not currently used?) -
15591 dereferencing NULL events for unknown/invalid event types, memory
15592 leak, and change g_warning to GST_WARNING.
15594 2006-04-28 Wim Taymans <wim@fluendo.com>
15596 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15597 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15598 (gst_base_sink_get_position), (gst_base_sink_change_state):
15599 When frame dropping is enabled, we should not ignore frames
15600 without a duration.
15601 Update some documentation.
15603 2006-04-28 Wim Taymans <wim@fluendo.com>
15605 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15606 (gst_base_src_send_event), (gst_base_src_change_state):
15607 Documentation updates.
15609 2006-04-28 Wim Taymans <wim@fluendo.com>
15611 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15612 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15613 handle EAGAIN, EINTR and short writes correctly. Also clean
15614 up some error cases, avoid a deadlock on bad file descriptors and
15615 use GST_DEBUG_OBJECT.
15618 2006-04-28 Wim Taymans <wim@fluendo.com>
15620 * gst/gstvalue.c: (gst_value_serialize_buffer),
15621 (gst_value_deserialize_buffer):
15622 Don't try to serialize a GValue with a NULL buffer.
15625 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15626 Added check for serialisation of NULL buffers.
15628 2006-04-28 Wim Taymans <wim@fluendo.com>
15630 * gst/gstminiobject.c: (gst_value_take_mini_object):
15631 Taking a NULL miniobject is valid, fix the case where
15632 we try to unref the NULL miniobject.
15634 2006-04-28 Wim Taymans <wim@fluendo.com>
15636 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15638 * gst/gstbin.c: (gst_bin_handle_message_func):
15640 Don't leak bin refcount when a state recalc is
15641 in progress and we delay another one #339808.
15643 2006-04-28 Wim Taymans <wim@fluendo.com>
15645 * docs/design/part-TODO.txt:
15646 Mention QoS as an ongoing work item.
15648 * docs/design/part-buffering.txt:
15649 New doc about buffering that needs to be fleshed out
15652 * docs/design/part-qos.txt:
15653 More QoS policy for decoders/demuxers/transforms
15655 * docs/design/part-trickmodes.txt:
15658 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15663 === release 0.10.5 ===
15665 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15668 releasing 0.10.5, "Fogo"
15670 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15672 patch by: Wim Taymans
15674 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15675 (gst_pad_configure_src), (gst_pad_push):
15676 * gst/gstpipeline.c: (gst_pipeline_init):
15677 Fix internal data flow errors. Fixes #338711.
15679 2006-04-12 Wim Taymans <wim@fluendo.com>
15681 * tests/check/gst/gstelement.c: (GST_START_TEST):
15682 Don't leak the factory.
15684 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15687 * win32/common/config.h:
15690 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15692 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15693 (gst_controller_unset_all):
15694 Free allocated GstTimedValues when freeing list nodes.
15695 Should fix leaks 'make check-valgrind' complains about.
15697 * win32/common/libgstcontroller.def:
15698 Add gst_controller_unset_all.
15700 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15702 * docs/libs/gstreamer-libs-sections.txt:
15703 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15704 (gst_controller_unset_all):
15705 * libs/gst/controller/gstcontroller.h:
15706 API: Added new method gst_controller_unset_all()
15707 fixed gst_controller_unset()
15708 * tests/check/libs/controller.c: (GST_START_TEST),
15709 (gst_controller_suite):
15710 Added two testcases for new and fixed method
15712 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15714 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15715 MSG_DONTWAIT is not defined on Cygwin, so work
15716 around that (fixes #317048).
15718 2006-04-11 Wim Taymans <wim@fluendo.com>
15720 * gst/gstelementfactory.c: (gst_element_register),
15721 (gst_element_factory_create), (gst_element_factory_make):
15724 Updated docs (Fixes #131079)
15726 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15729 * tests/check/gst/gstelement.c: (GST_START_TEST),
15730 (gst_element_suite):
15731 Added testcase for elementfactory class field.
15733 2006-04-10 Wim Taymans <wim@fluendo.com>
15735 * gst/gstsegment.c:
15736 Added some more docs.
15738 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15739 (gst_base_sink_reset_qos):
15740 Calculate more accurate rate values.
15742 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15744 * gst/gst_private.h:
15745 add a new #ifdef to use __declspec(dllimport) only for
15746 other modules and not for gstreamer core
15747 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15748 use gst_guint64_to_gdouble for conversion
15749 * win32/common/libgstreamer.def:
15750 add new exported functions
15751 * win32/vs6/gst_inspect.dsp:
15752 * win32/vs6/gst_launch.dsp:
15753 * win32/vs6/libgstbase.dsp:
15754 * win32/vs6/libgstcontroller.dsp:
15755 * win32/vs6/libgstcoreelements.dsp:
15756 * win32/vs6/libgstdataprotocol.dsp:
15757 * win32/vs6/libgstnet.dsp:
15758 update project files
15760 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15762 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15763 * gst/gstclock.c: (gst_clock_class_init):
15764 * gst/gstelement.c: (gst_element_class_init):
15765 * gst/gstindex.c: (gst_index_class_init):
15766 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15767 * gst/gstobject.c: (gst_object_class_init),
15768 (gst_signal_object_class_init):
15769 * gst/gstpad.c: (gst_pad_class_init):
15770 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15771 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15772 * gst/gstregistry.c: (gst_registry_class_init):
15773 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15774 * gst/gsttask.c: (gst_task_class_init):
15775 * gst/gstxml.c: (gst_xml_class_init):
15776 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15777 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15778 (gst_base_src_loop):
15779 * libs/gst/controller/gstcontroller.c:/
15780 (_gst_controller_class_init):
15781 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15782 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15783 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15784 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15785 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15786 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15788 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15790 * gst/gstpad.c: (gst_pad_link):
15791 Must set peer pads before calling the link function, otherwise
15792 a task started from a link function might get a flow-not-linked
15793 result when trying to push because the other thread where the
15794 linking happens hasn't had a chance to set the peers yet. This
15795 might happen for example when a queue gets linked to a downstream
15796 element, as queue starts a streaming task when its source pad
15797 gets linked. Happens in real life when playing back flac/musepack
15798 files in playbin (#332390).
15800 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15804 * libs/gst/base/gstadapter.h:
15805 * libs/gst/base/gstbasesink.h:
15806 * libs/gst/base/gstbasesrc.h:
15807 * libs/gst/base/gstbasetransform.h:
15808 * libs/gst/base/gstcollectpads.h:
15809 * libs/gst/base/gstpushsrc.h:
15810 Fix broken GObject macros
15812 2006-04-07 Wim Taymans <wim@fluendo.com>
15814 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15815 Initialize start and stop times, thanks valgrind.
15817 2006-04-07 Wim Taymans <wim@fluendo.com>
15819 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15820 Be a bit nicer to badly behaving upstream elements that expect
15821 us to deal with non TIME segments and timestamps (such as fakesrc
15824 2006-04-07 Wim Taymans <wim@fluendo.com>
15827 Small documentation clarification about the signal watch.
15829 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15830 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15831 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15832 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15833 (gst_base_sink_get_position_last),
15834 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15835 Convert and store timestamps in stream time and running time, the
15836 raw timestamps are not useful, also document this better.
15837 Use different window sizes for good and bad QoS observations so
15838 we react to badness a little quicker.
15839 Keep track of the amount of rendered and dropped buffers.
15840 Send QoS timestamps in running time.
15842 * libs/gst/base/gstbasetransform.c:
15843 (gst_base_transform_sink_eventfunc),
15844 (gst_base_transform_handle_buffer):
15845 Compare QoS timestamps against running time.
15847 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15850 Typo fixes in docs.
15852 2006-04-06 Michael Smith <msmith@fluendo.com>
15854 * gst/gstpad.c: (gst_pad_set_property):
15855 Use g_value_get_object() instead of g_value_dup_gst_object(),
15856 to avoid double-reffing the pad template (which we then sink,
15857 so this worked previously if (and only if) the pad template
15860 * gst/gstpadtemplate.c: (gst_pad_template_init),
15861 (gst_pad_template_pad_created):
15862 Never return floating references to pad templates, create
15863 them as initially-sunken.
15865 Document an extra function (and make this stop sinking our
15866 pad template, since that is now guaranteed to do nothing,
15867 since we created it sunken).
15869 * gst/gstghostpad.c:
15872 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15874 * gst/gstinfo.c: (__gst_in_valgrind):
15877 * plugins/elements/gsttypefindelement.c:
15878 (gst_type_find_element_chain):
15879 Don't leak buffer caps.
15881 2006-04-06 Michael Smith <msmith@fluendo.com>
15883 * gst/parse/grammar.y:
15884 Fix a leak in parse-launch for any source-or-sink named element
15887 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15888 Unref the pipeline if it exists after we've failed parsing.
15890 2006-04-05 Michael Smith <msmith@fluendo.com>
15892 * gst/gstpipeline.c: (gst_pipeline_init):
15893 When we create a pipeline bus, initially create it in flushing mode.
15894 Fixes leaks in at least one test, and makes a new pipeline work the
15895 same as one that has gone to READY and then back to NULL.
15897 * gst/gstelement.c:
15900 2006-04-05 Michael Smith <msmith@fluendo.com>
15902 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15903 Unref a pad we reffed.
15904 * tests/check/gst/gstutils.c: (GST_START_TEST):
15907 2006-04-05 Michael Smith <msmith@fluendo.com>
15909 * gst/gstquery.c: (gst_query_set_formats),
15910 (gst_query_set_formatsv):
15911 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15913 2006-04-05 Michael Smith <msmith@fluendo.com>
15915 * tests/check/generic/sinks.c: (GST_START_TEST):
15916 Fix a variety of memleaks in sinks check, which are only sometimes
15917 shown by running the tests under valgrind (weird?).
15919 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15921 * docs/version.entities.in:
15922 Fix the substituted entity name after thomas' changes on the
15925 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15927 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15930 2006-04-05 Andy Wingo <wingo@pobox.com>
15932 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15934 * libs/gst/base/gstbasetransform.c
15935 (gst_base_transform_sink_eventfunc): When resetting our segment on
15936 FLUSH_STOP, also update the flag saying we haven't seen a
15939 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15941 Patch by: Paolo Borelli <pborelli at katamail dot com>
15943 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15944 (gst_plugin_check_license):
15945 minor clean-ups: G_DEFINE_TYPE already takes care of the
15946 parent_class stuff, no need to do it twice. Mark array of
15947 license strings as constant. (#337103)
15949 2006-04-04 Michael Smith <msmith@fluendo.com>
15951 * tools/gst-inspect.c: (print_element_list):
15952 Free the right plugin list; fixes a memory leak.
15954 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15956 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15958 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15959 Don't error out on empty buffers (#336945).
15961 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15963 * docs/libs/gstreamer-libs-sections.txt:
15964 * gst/gsttaglist.c:
15965 * libs/gst/base/gstbasesink.c:
15966 * libs/gst/base/gstbasesink.h:
15967 * libs/gst/base/gstbasesrc.c:
15968 * libs/gst/base/gstbasesrc.h:
15969 Documentation updates. Make BaseSink and BaseSrc docs contain the
15970 class structure so that people can actually see the prototypes for
15971 virtual functions they're supposed to be overriding.
15973 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15975 * plugins/elements/gsttypefindelement.c:
15976 (gst_type_find_element_chain):
15977 More debug info; when skipping typefinding, send cached
15978 events in all cases.
15980 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15983 use new AS_VERSION and AS_NANO macros
15984 * gst/gst-i18n-lib.h:
15987 * gst/gstversion.h.in:
15988 * win32/common/config.h:
15989 * win32/common/config.h.in:
15992 2006-03-31 Michael Smith <msmith@fluendo.com>
15994 * plugins/elements/gsttypefindelement.c:
15995 (gst_type_find_element_chain):
15996 Do not typefind content if the buffers already have caps.
15997 Neccesary for icydemux (#333657), and the right thing to do anyway.
15999 2006-03-30 Wim Taymans <wim@fluendo.com>
16001 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16002 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16003 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16004 (gst_base_sink_record_qos_observation),
16005 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16006 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16007 (gst_base_sink_change_state):
16008 More QoS measurements as described in the design doc.
16009 Get rid of ringbuffer with observations, running average is
16010 more simple and equally good.
16011 Calculates valid proportion now.
16012 Added beginning of flood measurement.
16014 2006-03-29 Wim Taymans <wim@fluendo.com>
16016 * docs/design/part-qos.txt:
16018 Small documentation updates and additions.
16020 2006-03-29 Wim Taymans <wim@fluendo.com>
16022 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16023 (gst_base_src_send_event), (gst_base_src_loop),
16024 (gst_base_src_change_state):
16025 Perform the EOS logic when we reach the segment stop position.
16026 Fix compilation on gcc4.1
16028 2006-03-29 Wim Taymans <wim@fluendo.com>
16030 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16032 * plugins/elements/gstqueue.c: (gst_queue_init),
16033 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16034 (gst_queue_set_property):
16035 * plugins/elements/gstqueue.h:
16036 In queue, when EOS is received, if minimum threshold > max_size -
16037 current_level, there is chance that queue blocks forever in conditional
16038 item del wait. This is because the queue is not emptied completely due
16039 to minimum threshold. Here is another approach. Instead of setting
16040 cur_levels to max in EOS, just zero all minimum threshold levels. This
16041 should make sure that queue gives out all data. When going to READY
16042 (stop) state, just reset the original minimum threshold levels.
16045 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16047 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16048 (gst_type_find_element_handle_event),
16049 (gst_type_find_element_send_cached_events),
16050 (gst_type_find_element_change_state):
16051 * plugins/elements/gsttypefindelement.h:
16052 When typefinding is done in push mode, we should cache
16053 events we receive during typefinding instead of just
16054 dropping them (e.g. newsegment, custom events from
16055 dvdreadsrc etc.) and then send them out once we've
16056 determined the type of the stream (and decodebin
16057 has had a chance to plug in a decoder/demuxer).
16059 2006-03-27 Wim Taymans <wim@fluendo.com>
16061 * docs/design/part-qos.txt:
16064 2006-03-27 Wim Taymans <wim@fluendo.com>
16066 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16068 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16069 (gst_base_src_send_event), (gst_base_src_change_state):
16070 Handle element seek correctly when we are streaming.
16073 2006-03-24 Michael Smith <msmith@fluendo.com>
16075 * docs/faq/gst-uninstalled:
16076 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16077 allow you to correctly run intalled applications built against old
16078 core, using plugins that require updated core (e.g. running
16079 installed totem against a full uninstalled gstreamer stack)
16081 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16083 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16086 2006-03-24 Wim Taymans <wim@fluendo.com>
16088 * docs/gst/gstreamer-sections.txt:
16089 Rearrange the order of the methods so that related methods
16090 are grouped together in sections.
16092 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16094 * gst/gstelement.c:
16095 Little clarification in the docs
16097 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16101 * plugins/elements/gstidentity.c:
16102 * plugins/elements/gstqueue.c:
16103 * plugins/elements/gsttee.c:
16104 * plugins/elements/gsttypefindelement.c:
16105 GST_ELEMENT_DETAILS formatting
16107 2006-03-24 Wim Taymans <wim@fluendo.com>
16109 * libs/gst/base/gstbasesink.h:
16110 Only add fields, not insert or we break ABI.
16112 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16114 * win32/common/libgstbase.def:
16115 * win32/common/libgstreamer.def:
16116 Update, add recently added functions.
16118 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16120 * docs/gst/gstreamer-sections.txt:
16121 * gst/gstutils.c: (gst_pad_query_peer_position),
16122 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16124 API: add some new utility functions:
16125 - gst_pad_query_peer_position()
16126 - gst_pad_query_peer_duration()
16127 - gst_pad_query_peer_convert()
16129 2006-03-23 Wim Taymans <wim@fluendo.com>
16131 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16132 (gst_base_sink_init), (gst_base_sink_finalize),
16133 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16134 (gst_base_sink_set_property), (gst_base_sink_get_property),
16135 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16136 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16137 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16138 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16139 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16140 (gst_base_sink_preroll_object), (gst_base_sink_event),
16141 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16142 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16143 (gst_base_sink_query), (gst_base_sink_change_state):
16144 Decouple max-lateness and the fact that QoS messages are generated
16145 with a new property (qos).
16146 added API: GstBaseSink::async_play()
16147 Add vmethod so subclasses can be notified of ASYNC playing
16149 Collect timestamp start and stop to report better current
16150 position in EOS/PLAYING/PAUSED/READY/NULL.
16151 Refactor QoS/frame dropping and other measurements.
16152 API: GstBaseSrc::qos
16155 * libs/gst/base/gstbasesink.h:
16156 Added Private struct.
16157 API: gst_base_sink_set_qos_enabled()
16158 API: gst_base_sink_is_qos_enabled()
16160 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16162 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16163 If compiling against GLib-2.8 or newer, try to read the
16164 registry file using GMappedFile first before falling back
16165 to fopen() + fread() (#332151).
16167 2006-03-22 Wim Taymans <wim@fluendo.com>
16169 * gst/gstinfo.c: (gst_debug_set_active),
16170 (gst_debug_category_set_threshold):
16171 Disable debugging unless explicitly activated.
16174 2006-03-22 Wim Taymans <wim@fluendo.com>
16176 * gst/gstelement.c: (gst_element_set_locked_state),
16177 (gst_element_dispose):
16178 Cleanup the error case.
16180 * gst/gstobject.c: (gst_object_dispose):
16181 print a critical when some object was disposed with
16182 a parent, also revive the object since it might
16185 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16187 * tools/gst-launch.1.in:
16190 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16193 * tests/check/Makefile.am:
16194 disable some tests when we don't have a registry
16195 * tests/check/gst/gstutils.c: (gst_utils_suite):
16196 don't build the part that needs parsing
16198 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16201 * tests/examples/Makefile.am:
16202 fix --disable-parse build
16204 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16206 * tools/gst-feedback.1.in:
16207 Fix typo: s/feeback/feedback/ (#133494).
16209 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16211 * tools/Makefile.am:
16212 * tools/gst-launch.1.in:
16213 Add FILES section and correct entry about GST_REGISTRY_PATH
16214 environment variable (#133495; #133494).
16216 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16218 * tools/Makefile.am:
16219 * tools/gst-md5sum.1.in:
16220 * tools/gst-md5sum.c:
16221 Remove gst-md5sum and man page (the md5sink element
16222 required was removed ages ago)
16224 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16226 * gst/gststructure.c: (gst_structure_id_set_value):
16227 Make sure that string fields in structures/taglists
16228 contain valid UTF-8 - we don't want to pass rubbish to
16229 applications because of a buggy plugin (cp. #334167).
16231 2006-03-21 Edward Hervey <edward@fluendo.com>
16233 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16234 (gst_bin_handle_message_func):
16235 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16236 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16237 (gst_element_set_bus_func):
16238 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16239 * gst/gstminiobject.c: (gst_value_set_mini_object),
16240 (gst_value_take_mini_object):
16241 * gst/gstpad.c: (gst_pad_set_pad_template):
16242 * gst/gstpipeline.c: (gst_pipeline_dispose),
16243 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16245 (gst_collect_pads_chain):
16246 * libs/gst/net/gstnettimeprovider.c:
16247 (gst_net_time_provider_set_property):
16248 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16249 It's in fact all issues with gst_*object_replace().
16251 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16253 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16255 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16256 * pkgconfig/gstreamer-check.pc.in:
16257 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16259 2006-03-21 Edward Hervey <edward@fluendo.com>
16263 * gst/gstmessage.h:
16264 gst_[buffer|event|message]_ref() macros are replaced by a static
16265 inline functions because gcc-4.1 will about if the return value
16267 * tests/check/gst/gstevent.c: (event_probe):
16268 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16270 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16273 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16274 the type' case. (Closes: #335195 for now). In the future, when we
16275 depend on GLib 2.10, we could also intern the type name using
16276 g_intern_static_string()
16278 2006-03-20 Wim Taymans <wim@fluendo.com>
16280 * gst/gstbin.c: (gst_bin_handle_message_func),
16281 (bin_query_max_init), (bin_query_position_fold),
16282 (bin_query_position_done), (gst_bin_query):
16283 Position query should also take max of all streams.
16285 2006-03-20 Wim Taymans <wim@fluendo.com>
16287 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16288 (gst_fake_src_finalize):
16289 Fix leaks in fakesrc.
16291 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16292 Fix leaks in the testcase.
16294 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16296 * gst/gst_private.h:
16297 add win32 specific import decoration(__declspec(dllimport))
16298 for all extern GstDebugCategory * variables
16299 * win32/common/libgstbase.def:
16300 * win32/common/libgstcontroller.def:
16301 * win32/common/libgstreamer.def:
16302 Add some exports, remove empty lines
16303 * win32/common/libgstdataprotocol.def:
16304 * win32/common/libgstdataprotocol.dsp:
16305 * win32/common/libgstnet.def:
16306 * win32/common/libgstnet.dsp:
16307 new project files and exportation files added
16309 2006-03-19 Wim Taymans <wim@fluendo.com>
16311 * tests/check/libs/basesrc.c: (eos_event_counter):
16312 Use proper return value for probe.
16314 2006-03-17 Wim Taymans <wim@fluendo.com>
16316 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16318 Don't leak buffers, caps and pads on negotiation errors.
16320 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16322 * docs/faq/cvs.xml:
16323 * docs/faq/dependencies.xml:
16324 * docs/faq/developing.xml:
16325 * docs/faq/faq.xml:
16326 * docs/faq/general.xml:
16327 * docs/faq/getting.xml:
16328 * docs/faq/legal.xml:
16329 * docs/faq/troubleshooting.xml:
16330 * docs/faq/using.xml:
16331 Faq review and update.
16333 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16335 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16337 Don't pound the cpu to pieces by checking get_caps when accept_caps
16338 is called with the same caps as the pad already has.
16339 Use GST_DEBUG_OBJECT when outputting caps change information.
16341 2006-03-15 Wim Taymans <wim@fluendo.com>
16343 * gst/gstclock.c: (gst_clock_class_init):
16346 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16351 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16352 (gst_pad_accept_caps), (gst_pad_configure_sink),
16353 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16354 Make the default acceptcaps behaviour be to check the requested
16355 caps against the gst_pad_get_caps output.
16357 Ensure that gst_pad_accept_caps is used to check caps when a pad
16358 doesn't have a setcaps function, so that pads automatically refuse
16359 caps that they don't allow in their pad template. (Fixes #332986)
16361 When a buffer with attached caps is pushed, ensure that the source
16362 pad receives those caps even if the element didn't call
16363 gst_pad_set_caps first.
16365 2006-03-15 Wim Taymans <wim@fluendo.com>
16367 * libs/gst/base/gstadapter.c:
16370 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16372 * win32/common/libgstbase.def:
16373 * win32/common/libgstcontroller.def:
16374 * win32/common/libgstreamer.def:
16375 Add a whole bunch of missing functions (#334434).
16377 2006-03-14 Wim Taymans <wim@fluendo.com>
16379 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16380 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16381 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16382 Better debug info when we receive a segment event.
16383 Reorganize a bit so we can pass the get_times() results around.
16384 Use the segment format when calculating the running time.
16385 Don't do QoS is sync is disabled or we have no clock or the
16386 element does not want us to sync to the clock.
16387 Don't drop buffers if QoS is disabled for now.
16389 2006-03-14 Wim Taymans <wim@fluendo.com>
16391 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16392 Marked the stats property as unimplemented so people don't get
16394 Add debug message when regression goes wrong.
16395 Added some more docs.
16397 2006-03-14 Wim Taymans <wim@fluendo.com>
16399 * gst/gstsegment.c: (gst_segment_to_stream_time):
16400 Return correct return type in case of errors.
16402 2006-03-14 Wim Taymans <wim@fluendo.com>
16404 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16405 Don't segfault on invalid formats.
16407 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16409 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16410 Can't use gst_segment_to_running_time() when the segment
16411 is not in GST_TIME_FORMAT (like with filesink, for example).
16412 Stops flac encoding pipelines from spewing critical warnings
16415 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16417 * gst/gstpipeline.c: (gst_pipeline_class_init):
16418 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16420 * plugins/elements/gsttypefindelement.c:
16421 (gst_type_find_element_handle_event):
16422 Don't try to typefind empty streams.
16424 2006-03-14 Wim Taymans <wim@fluendo.com>
16426 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16427 (gst_base_sink_do_qos):
16428 Separate QoS calculation.
16429 Only drop buffers when lateness is bigger than the
16430 duration of the buffer.
16432 2006-03-13 Wim Taymans <wim@fluendo.com>
16434 * gst/gstpipeline.c: (gst_pipeline_set_property),
16435 (gst_pipeline_get_property), (do_pipeline_seek),
16436 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16437 (gst_pipeline_get_delay):
16438 Don't deadlock when reading properties.
16440 2006-03-13 Wim Taymans <wim@fluendo.com>
16442 * libs/gst/base/gstbasetransform.c:
16443 (gst_base_transform_class_init), (gst_base_transform_init),
16444 (gst_base_transform_sink_event),
16445 (gst_base_transform_sink_eventfunc),
16446 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16447 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16448 (gst_base_transform_set_property),
16449 (gst_base_transform_get_property),
16450 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16451 (gst_base_transform_set_qos_enabled),
16452 (gst_base_transform_is_qos_enabled):
16453 * libs/gst/base/gstbasetransform.h:
16454 Make basetransform virtual method for src events too.
16455 Handle QOS in basetransform.
16456 API: gst_base_transform_update_qos()
16457 API: gst_base_transform_set_qos_enabled()
16458 API: gst_base_transform_is_qos_enabled()
16460 2006-03-13 Wim Taymans <wim@fluendo.com>
16462 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16463 (gst_base_sink_do_sync):
16465 Use QOS debug category.
16467 2006-03-13 Wim Taymans <wim@fluendo.com>
16469 * plugins/elements/gstqueue.c:
16470 Very small doc update.
16472 2006-03-13 Wim Taymans <wim@fluendo.com>
16474 * gst/gst_private.h:
16475 * gst/gstinfo.c: (_gst_debug_init):
16476 Added QOS debug category
16478 2006-03-13 Wim Taymans <wim@fluendo.com>
16480 * docs/gst/gstreamer-sections.txt:
16481 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16483 * gst/gstbus.c: (gst_bus_class_init):
16486 * gst/gstelement.c: (gst_element_set_locked_state):
16487 * gst/gstsegment.c:
16488 Documentation updates.
16490 * gst/gstpipeline.c: (gst_pipeline_get_type),
16491 (gst_pipeline_class_init), (gst_pipeline_init),
16492 (gst_pipeline_dispose), (gst_pipeline_set_property),
16493 (gst_pipeline_get_property), (do_pipeline_seek),
16494 (gst_pipeline_send_event), (gst_pipeline_change_state),
16495 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16496 (gst_pipeline_get_delay):
16497 * gst/gstpipeline.h:
16498 Added methods for setting the delay.
16499 API: gst_pipeline_set_delay()
16500 API: gst_pipeline_get_delay()
16501 Add pipeline debug category
16504 Don't reset stream time when seek failed.
16506 2006-03-13 Wim Taymans <wim@fluendo.com>
16508 * docs/design/draft-klass.txt:
16509 * docs/design/part-clocks.txt:
16510 * docs/design/part-events.txt:
16511 * docs/design/part-gstbin.txt:
16512 * docs/design/part-gstpipeline.txt:
16513 * docs/design/part-messages.txt:
16514 * docs/design/part-negotiation.txt:
16515 * docs/design/part-overview.txt:
16516 * docs/design/part-preroll.txt:
16517 * docs/design/part-seeking.txt:
16518 * docs/design/part-states.txt:
16519 * docs/design/part-streams.txt:
16520 Documentation updates.
16522 2006-03-12 Julien MOUTTE <julien@moutte.net>
16524 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16525 us to leak strings...
16527 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16529 * libs/gst/net/gstnettimeprovider.c:
16531 * win32/common/config.h:
16534 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16536 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16539 Don't check for libgnomeui (leftover from old examples
16540 that aren't built or disted any longer) (#334303).
16542 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16544 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16545 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16546 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16547 there's no space left on the device.
16549 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16552 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16553 to cast the input to GstClockTime before comparing with
16554 another GstClockTime value.
16556 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16561 === release 0.10.4 ===
16563 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16566 releasing 0.10.4, "Light"
16568 2006-03-10 Michael Smith <msmith@fluendo.com>
16570 * libs/gst/dataprotocol/dataprotocol.c:
16571 Fix docs for dataprocotol to not get the return types completely
16572 wrong for a few functions.
16574 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16576 * docs/gst/gstreamer-sections.txt:
16577 * gst/gstpipeline.c: (gst_pipeline_class_init),
16578 (gst_pipeline_init), (gst_pipeline_set_property),
16579 (gst_pipeline_get_property), (gst_pipeline_change_state),
16580 (gst_pipeline_set_auto_flush_bus),
16581 (gst_pipeline_get_auto_flush_bus):
16582 * gst/gstpipeline.h:
16583 Add new API: gst_pipeline_set_auto_flush_bus() and
16584 gst_pipeline_get_auto_flush_bus() to disable automatic
16585 flushing of the pipeline's GstBus when going from READY
16586 to NULL state (#332045).
16588 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16590 * docs/gst/gstreamer-sections.txt:
16591 * gst/gsturi.c: (gst_uri_has_protocol):
16593 Add new API: gst_uri_has_protocol() (#333779).
16595 2006-03-09 Wim Taymans <wim@fluendo.com>
16597 * gst/gstclock.c: (gst_clock_entry_new),
16598 (gst_clock_id_compare_func), (gst_clock_id_wait),
16599 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16600 (gst_clock_init), (gst_clock_get_internal_time),
16601 (gst_clock_set_master), (do_linear_regression),
16602 (gst_clock_add_observation), (gst_clock_set_property):
16606 Fix a possible segfault when the window-size is made smaller.
16607 Calculate jitter before performing the clock wait. Ideally
16608 the clock implementation should calculate jitter but we need
16609 API breakage for that.
16611 * gst/gstsystemclock.c: (gst_system_clock_init):
16614 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16615 Remove leftover else
16617 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16618 (gst_systemclock_suite):
16619 Added check to test GST_CLOCK_DIFF.
16621 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16623 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16624 (gst_type_find_helper_get_range):
16625 If we are provided with the size, we should implement
16626 GstTypeFind::get_length, so that typefind functions who
16627 want to can actually peek at the middle of a file.
16629 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16631 * docs/manual/advanced-dataaccess.xml:
16632 Add some very very basic error checking.
16634 * docs/pwg/appendix-checklist.xml:
16635 Some updates to the list of things to check when writing an element.
16637 2006-03-08 Wim Taymans <wim@fluendo.com>
16639 * docs/design/part-element-transform.txt:
16640 Added some docs about the design of tranform elements.
16642 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16643 (gst_base_src_loop), (gst_base_src_change_state):
16644 Mark buffers with the DISCONT flag.
16646 2006-03-08 Michael Smith <msmith@fluendo.com>
16648 * gst/gstregistry.h:
16649 * gst/gstregistryxml.c: (gst_registry_save),
16650 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16651 (gst_registry_xml_save_pad_template),
16652 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16653 (gst_registry_xml_write_cache):
16654 Rewrite registry-saving to avoid race conditions and check for
16657 2006-03-08 Wim Taymans <wim@fluendo.com>
16659 * libs/gst/base/gstbasetransform.c:
16660 (gst_base_transform_transform_caps),
16661 (gst_base_transform_transform_size),
16662 (gst_base_transform_prepare_output_buffer),
16663 (gst_base_transform_get_unit_size),
16664 (gst_base_transform_buffer_alloc),
16665 (gst_base_transform_handle_buffer),
16666 (gst_base_transform_change_state):
16667 Cleanups, separate normal flow from errors, add sensible
16669 Don't try to renegotiate when allocating an output buffer.
16670 Also copy DISCONT buffer flag when copying a buffer.
16671 Reset the transform after we finish streaming, not during.
16673 2006-03-08 Wim Taymans <wim@fluendo.com>
16675 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16676 Use last buffer timestamp in qos message.
16678 2006-03-07 Wim Taymans <wim@fluendo.com>
16680 Patch by: Christophe Fergeau
16682 * docs/pwg/advanced-tagging.xml:
16683 * docs/pwg/building-pads.xml:
16686 2006-03-07 Wim Taymans <wim@fluendo.com>
16688 * docs/libs/gstreamer-libs-sections.txt:
16689 Added basesink new methods.
16693 Docs updates. Flesh out the QoS docs.
16695 * libs/gst/base/gstadapter.c:
16696 Small doc clarification about ownership and flushing.
16698 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16699 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16700 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16701 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16702 * libs/gst/base/gstbasesink.h:
16704 Added new methods to allow subclass to control max-lateness
16706 Generate very basic QoS events based on last sync observation.
16707 Updated docs, fix typo, added some QoS blurb.
16709 * libs/gst/base/gstbasesrc.c:
16710 Remove obsolete _get_state() calls from docs.
16712 2006-03-07 Wim Taymans <wim@fluendo.com>
16714 * docs/libs/gstreamer-libs-sections.txt:
16715 * libs/gst/base/gstbasetransform.h:
16716 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16717 Fix docs for GstBaseSrc.
16719 2006-03-07 Wim Taymans <wim@fluendo.com>
16721 * docs/gst/gstreamer-sections.txt:
16724 * libs/gst/base/gstbasetransform.h:
16725 Small documentation fixes.
16727 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16730 Document thread-unsafety of gst_value_register_foo_func()
16731 when used at the same time as gst_value_foo() (#322628).
16733 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16735 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16736 (gst_push_src_check_get_range):
16737 Push sources don't support pull mode by default.
16739 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16741 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16742 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16743 (gst_base_src_default_check_get_range):
16744 * libs/gst/base/gstbasesrc.h:
16745 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16746 provide default implementation, and rename
16747 gst_base_src_check_get_range() to
16748 gst_base_src_pad_check_get_range() for clarity.
16750 2006-03-06 Wim Taymans <wim@fluendo.com>
16752 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16753 Make property overridable.
16755 2006-03-06 Wim Taymans <wim@fluendo.com>
16757 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16758 (gst_base_sink_init), (gst_base_sink_set_property),
16759 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16760 * libs/gst/base/gstbasesink.h:
16761 API addition: Make max-lateness a property.
16763 2006-03-06 Wim Taymans <wim@fluendo.com>
16765 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16766 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16767 Don't ever draw a frame that is >10ms late.
16769 2006-03-06 Michael Smith <msmith@fluendo.com>
16771 * gst/gstmessage.c: (_gst_message_copy):
16772 When copying a message, set the parent_refcount of the enclosed
16773 structure to point at the copy, not the original message.
16775 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16777 Patch by: Christophe Fergeau
16780 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16781 usable in c++ code (#333417)
16783 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16786 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16788 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16790 * libs/gst/base/gstbasetransform.c:
16791 (gst_base_transform_transform_caps):
16792 Make sure caps are writable before passing them to
16795 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16798 Fix some minor docs errors.
16800 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16802 Patch by: Ross Burton <ross at burtonini dot com>
16804 * gst/gsterror.c: (_gst_resource_errors_init):
16806 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16808 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16811 Add a check and output a g_warning when GStreamer is built
16812 against GLib 2.6 but running against 2.8 or higher, and vice
16813 versa. (Closes: #323542)
16815 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16817 * gst/parse/parse.l:
16818 Commit patch for parse_launch syntax from #331255. Removes
16819 support for quoted strings and mimetypes when writing filtered
16820 caps. See the bug report for more details - I'm pretty sure this
16821 obscure feature is not in use by _anyone_ anywhere.
16823 With this simple change, the size of the gstreamer.so here
16824 drops from 2193KB to 1565KB.
16826 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16828 * plugins/elements/gsttypefindelement.h:
16829 * plugins/elements/gsttypefindelement.c:
16830 (gst_type_find_element_src_event), (start_typefinding),
16831 (stop_typefinding), (gst_type_find_element_handle_event),
16832 (gst_type_find_element_chain),
16833 (gst_type_find_element_chain_do_typefinding):
16834 Use gst_type_find_helper_for_buffer() for chain-based
16837 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16839 * plugins/elements/gsttypefindelement.c:
16840 (gst_type_find_element_class_init),
16841 (gst_type_find_element_set_property),
16842 (gst_type_find_element_get_property):
16843 Deprecate "maximum" property (not only was it only taken into
16844 account for typefinding in push-mode anyway, it also was never
16845 actually possible to set it in the first place because the
16846 property was registered with the numeric property ID for the
16847 "minimum" property). Register "maximum" property correctly,
16848 for the sake of future copy'n'pasters. Remove some cruft
16849 from property get/set functions.
16851 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16853 * plugins/elements/gsttypefindelement.c:
16854 (gst_type_find_element_activate):
16855 Use gst_type_find_helper_get_range() here, so we
16856 can honour the "minimum" property and also emit
16857 the signal with the correct probability of the found caps.
16859 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16861 * docs/libs/gstreamer-libs-sections.txt:
16862 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16863 (helper_find_suggest), (gst_type_find_helper_get_range),
16864 (gst_type_find_helper):
16865 * libs/gst/base/gsttypefindhelper.h:
16866 New API: gst_type_find_helper_get_range() (#333042).
16868 2006-03-02 Michael Smith <msmith@fluendo.com>
16870 * gst/gstregistryxml.c: (load_feature):
16871 Asserting on a failure to read part of the registry is Not Cool.
16872 Just log a warning and return NULL (which is already handled)
16874 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16876 * win32/common/libgstbase.def:
16877 added export of gst_type_find_helper_for_buffer
16878 * win32/common/libgstbase.def:
16879 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16880 gst_ghost_pad_get_target
16882 2006-02-28 Wim Taymans <wim@fluendo.com>
16884 * docs/design/draft-klass.txt:
16886 Added Connector to mark elements that are only used to
16887 allow pipeline connections.
16888 Moved Debug to extra feature since most of them are
16889 functionally something else.
16891 2006-02-28 Wim Taymans <wim@fluendo.com>
16893 * docs/design/draft-klass.txt:
16894 Some updates and clarifications.
16896 2006-02-28 Wim Taymans <wim@fluendo.com>
16898 * docs/design/draft-klass.txt:
16899 Proposal for klass field values.
16901 * docs/design/part-streams.txt:
16902 Start of a doc describing stream anatomy.
16904 2006-02-28 Wim Taymans <wim@fluendo.com>
16906 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16907 Help the compiler a bit with type registration.
16908 Use existing forward cod path instead of duplicating it when
16909 handling a message.
16911 * gst/gstbus.c: (gst_bus_get_type):
16912 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16913 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16914 * gst/gstclock.c: (gst_clock_get_type):
16915 * gst/gstelement.c: (gst_element_get_type),
16916 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16917 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16918 * gst/gstminiobject.c: (gst_mini_object_get_type):
16919 * gst/gstpad.c: (gst_pad_get_type):
16920 * gst/gstsegment.c: (gst_segment_get_type):
16921 * gst/gststructure.c: (gst_structure_get_type):
16922 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16923 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16925 Help compiler with type registration.
16927 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16930 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16932 * plugins/elements/gsttypefindelement.c:
16933 (gst_type_find_element_handle_event):
16934 When we get an EOS event and have not found a type yet
16935 (most likely because we had not yet accumulated
16936 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16937 type given the data we have so far. Fixes typefinding
16938 for very short streams again, most notably quicktime
16939 redirections as used on Apple's trailer site (#331701).
16941 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16943 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16944 (gst_type_find_helper):
16945 Try typefinding factories with the highest rank first.
16947 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16949 * docs/libs/gstreamer-libs-docs.sgml:
16950 * docs/libs/gstreamer-libs-sections.txt:
16951 * libs/gst/base/gsttypefindhelper.c:
16952 Add section for typefind helper and add documentation
16953 for the old and the new function.
16955 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16957 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16958 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16959 (gst_type_find_helper_for_buffer):
16960 * libs/gst/base/gsttypefindhelper.h:
16961 New API: gst_type_find_helper_for_buffer() (#332723).
16963 2006-02-27 Michael Smith <msmith@fluendo.com>
16965 Patch by: Loïc Minier
16968 * docs/Makefile.am:
16969 * docs/slides/Makefile.am:
16970 prevent CVS directories getting disted.
16972 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16974 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16975 Use the REFCOUNTING category for caps refcounting.
16977 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16979 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16980 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16982 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16984 * plugins/elements/gsttypefindelement.c:
16985 (gst_type_find_element_activate):
16986 Use gst_pad_check_pull_range() before _activate_pull()
16987 to avoid unnecessary open/close (see #331690).
16989 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16992 Docs enhancement: make it crystal clear what the
16993 gst_pad_add_*_probe() callbacks should look like.
16995 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16997 * libs/gst/base/gstbasesrc.c:
16998 Document how applications can stop recording from
16999 live sources (see #330996).
17001 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17003 * tests/check/Makefile.am:
17004 * tests/check/libs/basesrc.c: (eos_event_counter),
17005 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17006 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17007 (gst_basesrc_suite), (main):
17008 ... and add some tests for the base source EOS stuff.
17010 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17012 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17013 Test case originally showed the problem fixed below,
17014 but was then amended. Add checks back at the place
17015 where they used to be.
17017 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17019 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17020 (gst_base_src_init), (gst_base_src_loop),
17021 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17022 (gst_base_src_change_state):
17023 * libs/gst/base/gstbasesrc.h:
17024 Don't unconditionally send EOS when going from PAUSED to
17025 READY state, esp. make sure we don't send two EOS events
17026 in some cases (e.g. one when reaching EOS and one when
17027 going from PAUSED to READY). Also, we don't want to send
17028 EOS events when operating in pull mode. However, we do
17029 want to send an EOS event when shutting down a live
17030 source explicitly, for example (fixes #330996).
17032 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17034 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17035 Update src->read_position after a seek when not using mmap.
17036 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17038 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17044 Make things work with --disable-parse as they do with
17045 --disable-load-save - the symbols involved disappear, but the
17046 header is still installed and GST_DISABLE_PARSE is included via
17049 2006-02-20 Julien MOUTTE <julien@moutte.net>
17051 * libs/gst/base/gstbasetransform.c:
17052 (gst_base_transform_change_state): Fix a stupid bug. I was
17053 sure I compiled that.
17055 2006-02-20 Julien MOUTTE <julien@moutte.net>
17057 * gst/gstpad.c: (gst_pad_set_blocked_async):
17058 * gst/gstutils.c: (gst_pad_add_data_probe),
17059 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17060 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17061 (gst_pad_remove_buffer_probe): Make those function act on the
17062 ghostpad target when it's a ghostpad. (Closes #331727)
17064 2006-02-20 Julien MOUTTE <julien@moutte.net>
17066 * libs/gst/base/gstbasetransform.c:
17067 (gst_base_transform_change_state): Make basetransform reusable.
17070 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17072 * docs/random/release:
17073 Move the current documentation of how to do a release to the top
17076 * gst/gstbin.c: (gst_bin_class_init),
17077 (gst_bin_handle_message_func):
17078 Allow multiple state-recalculation threads. (Closes #328873)
17080 2006-02-19 Julien MOUTTE <julien@moutte.net>
17082 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17083 * gst/gstpad.c: (gst_pad_set_event_function),
17084 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17085 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17086 2 strings. You can't use the STR_NULL macro on that.
17088 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17090 * gst/gstpad.c: (gst_pad_set_event_function),
17091 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17092 (gst_pad_set_getcaps_function)
17093 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17094 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17095 So now, we can use --gst-debug-level=5 on Windows
17096 * win32/common/libgstcontroller.def:
17097 Added export of gst_controller_init
17098 * win32/vs6/libgstcontroller.dsp:
17099 Fixed Release post build configuration
17101 2006-02-17 Wim Taymans <wim@fluendo.com>
17103 * tests/check/gst/gstquery.c: (GST_START_TEST):
17104 Added another check.
17106 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17108 * plugins/elements/gsttypefindelement.c: (find_peek):
17109 We can do peeks at non-zero offsets, as long as they
17110 fall within the buffer we have.
17112 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17114 * tests/check/Makefile.am:
17115 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17116 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17117 (parse_suite), (main):
17118 Add testsuite for parse launch syntax
17120 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17122 * plugins/elements/gsttypefindelement.c:
17123 (gst_type_find_element_chain):
17124 When typefinding is unsuccessful in the chain function, don't
17125 error out immediately. Only error out with NO_CAPS_FOUND if
17126 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17127 otherwise simply wait for more data so we can try typefinding
17128 again with more data later. Also, don't attempt to typefind
17129 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17130 this should improve typefinding from network sources where the
17131 size of the first buffer can be somewhat random.
17133 2006-02-14 Wim Taymans <wim@fluendo.com>
17135 * docs/gst/gstreamer-sections.txt:
17136 * gst/gstpadtemplate.c:
17137 * gst/gstpadtemplate.h:
17138 Fix padtemplate docs, fixes #328805.
17140 2006-02-14 Wim Taymans <wim@fluendo.com>
17142 * tools/gst-launch.c: (main):
17143 NO_PREROLL is not an ERROR so don't send confusing messages
17146 2006-02-14 Wim Taymans <wim@fluendo.com>
17148 Patch by: Torsten Schoenfeld
17150 * gst/gstregistry.c: (gst_registry_get_default),
17151 (_gst_registry_cleanup):
17152 Protect default registry with lock and ref/sink it.
17155 2006-02-14 Wim Taymans <wim@fluendo.com>
17158 * gst/gstquery.c: (gst_query_list_add_format),
17159 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17160 (gst_query_parse_formats_nth):
17161 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17164 2006-02-14 Wim Taymans <wim@fluendo.com>
17166 * docs/gst/gstreamer-sections.txt:
17167 Reworked query docs.
17169 * gst/gstquery.c: (gst_query_new_formats),
17170 (gst_query_list_add_format), (gst_query_set_formats),
17171 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17172 (gst_query_parse_formats_nth):
17174 Flesh out formats query, added some new methods.
17175 Fix part of #324398.
17177 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17178 Added query creation tests.
17180 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17182 * gst/gstpad.c: (fixate_value):
17183 Add a default fixation for fraction lists.
17185 2006-02-13 Wim Taymans <wim@fluendo.com>
17187 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17188 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17191 Detect and warn for obvious deadlocks. fixes #320340
17192 Fix error case where lock was not released.
17194 * tests/check/Makefile.am:
17195 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17196 (task_func), (gst_element_suite), (main):
17199 2006-02-13 Wim Taymans <wim@fluendo.com>
17201 * docs/gst/gstreamer-sections.txt:
17203 Add new functions to docs.
17205 2006-02-13 Wim Taymans <wim@fluendo.com>
17207 * docs/design/part-TODO.txt:
17208 Updated TODO list, basesrc supports seeking to non-bytes
17211 * docs/design/part-element-sink.txt:
17214 * gst/gstbin.c: (bin_replace_message),
17215 (gst_bin_handle_message_func):
17216 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17217 * gst/gstevent.c: (gst_event_finalize):
17218 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17219 (gst_pad_send_event):
17220 Use shiny new _TYPE_NAME macros.
17222 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17223 Move debug statement up.
17225 * gst/gstelement.c: (gst_element_set_locked_state):
17226 Add some debugging.
17228 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17230 * docs/gst/gstreamer-sections.txt:
17231 * gst/gstmessage.h:
17233 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17234 macros (#330906). Also, document the already existing
17235 GST_QUERY_TYPE macro.
17237 2006-02-13 Wim Taymans <wim@fluendo.com>
17239 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17240 (event_probe), (GST_START_TEST):
17241 Only events up to the pipeline EOS are counted, there are
17242 some more when going to NULL currently which we don't care
17245 2006-02-13 Wim Taymans <wim@fluendo.com>
17247 * gst/gstpad.c: (gst_pad_send_event):
17248 Correctly check flushing and emit probes. fixes #330125
17250 2006-02-10 Andy Wingo <wingo@pobox.com>
17252 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17254 (gst_bus_init): Cache the location of the private data in the
17255 instance structure.
17256 (gst_bus_enable_sync_message_emission)
17257 (gst_bus_disable_sync_message_emission): Implement new public
17259 (gst_bus_post): Emit the sync-message signal if the user asked for
17262 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17263 location of the bus-private structure.
17264 (gst_bus_enable_sync_message_emission)
17265 (gst_bus_disable_sync_message_emission): API addition
17267 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17269 Patch by: Vincent Torri
17271 * docs/pwg/building-boiler.xml:
17272 PWG patch from #326800
17274 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17277 * docs/Makefile.am:
17278 * docs/design/Makefile.am:
17281 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17286 === release 0.10.3 ===
17288 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17291 releasing 0.10.3, "Like a virgin"
17293 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17296 2nd prerelease of 0.10.3
17297 Bump libtool versioning.
17299 2006-02-07 Andy Wingo <wingo@pobox.com>
17301 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17302 update last_stop if we're in TIME format and the timestamp is
17305 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17306 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17307 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17308 If we get a new newsegment with a different format, adapt
17311 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17312 of 0. Not a problem, really.
17314 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17317 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17322 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17325 project files updated to the default vs7 configuration
17326 * win32/common/libgstbase.def:
17327 * win32/common/libgstreamer.def:
17329 removed empty lines,
17330 sorted all exported symbols alphabetically
17331 * win32/common/dirent.c:
17332 * win32/common/dirent.h:
17333 * win32/common/gchar.h:
17334 use windows line end.
17336 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17338 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17339 Send EOS event when stopping.
17341 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17344 Tell folks what to do if the plugin-foobar.xml file
17345 hasn't been generated for a newly-added plugin.
17347 2006-02-05 Julien MOUTTE <julien@moutte.net>
17349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17350 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17351 (gst_collect_pads_start), (gst_collect_pads_stop),
17352 (gst_collect_pads_event): Collectpads now holds a reference
17353 to the GstPad that was added. Indeed we don't want to look
17354 at pads that might just go away with no warning...
17356 2006-02-05 Julien MOUTTE <julien@moutte.net>
17358 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17359 (gst_collect_pads_start), (gst_collect_pads_stop),
17360 (gst_collect_pads_event), (gst_collect_pads_chain):
17361 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17362 Mark Nauwelaerts's patch on bug #328491.
17364 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17366 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17368 Add some simple tests for gst_parse_bin_from_description() and
17369 gst_bin_find_unconnected_pad() (#329069).
17371 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17373 * tools/gst-launch.c: (event_loop), (main):
17374 Catch errors during preroll (#320084).
17376 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17378 * plugins/elements/gsttypefindelement.c:
17379 (gst_type_find_element_activate):
17380 Post TYPE_NOT_FOUND error message when typefinding
17381 is unsuccessful in the activate function as well.
17383 2006-02-02 Wim Taymans <wim@fluendo.com>
17385 * docs/design/part-element-sink.txt:
17388 2006-02-02 Wim Taymans <wim@fluendo.com>
17390 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17391 (gst_base_sink_render_object),
17392 (gst_base_sink_queue_object_unlocked):
17393 Only keep track of prerollable items when we are
17395 Before rendering after preroll, always check if we
17397 Added some more debugging.
17399 2006-02-02 Wim Taymans <wim@fluendo.com>
17401 * gst/gstelement.c: (gst_element_continue_state),
17402 (gst_element_set_state_func), (gst_element_change_state):
17403 Fixed #326576, been running this for quite some time with
17404 no regressions at all.
17406 2006-02-02 Wim Taymans <wim@fluendo.com>
17409 Added more suppressions
17411 2006-02-02 Wim Taymans <wim@fluendo.com>
17413 * docs/design/part-element-sink.txt:
17416 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17417 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17418 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17419 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17420 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17421 (gst_base_sink_preroll_object),
17422 (gst_base_sink_queue_object_unlocked),
17423 (gst_base_sink_queue_object), (gst_base_sink_event),
17424 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17425 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17426 (gst_base_sink_get_position), (gst_base_sink_change_state):
17427 * libs/gst/base/gstbasesink.h:
17428 Totally refactored matching the design doc.
17429 Use two segments, one to clip incomming buffers and another to
17431 Handle queueing correctly, bypass the queue when playing.
17432 Make EOS cancelable.
17433 Handle errors correctly when operating in pull based mode.
17435 * tests/check/elements/fakesink.c: (GST_START_TEST),
17437 Added new check for sinks.
17439 2006-02-02 Wim Taymans <wim@fluendo.com>
17441 * gst/gstsegment.c: (gst_segment_clip):
17442 No reason to refuse to clip when start == -1
17444 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17447 * docs/manual/intro-basics.xml:
17448 * docs/manual/intro-preface.xml:
17449 * docs/manual/manual.xml:
17450 * docs/pwg/advanced-dparams.xml:
17451 * docs/pwg/intro-basics.xml:
17452 * docs/pwg/intro-preface.xml:
17453 * docs/pwg/pwg.xml:
17454 describe dparams (controller) for plugins
17455 unify docs a little more
17457 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17459 * docs/gst/gstreamer-sections.txt:
17460 * gst/gstutils.c: (element_find_unconnected_pad),
17461 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17463 Add new API: gst_parse_bin_from_description() and
17464 gst_bin_find_unconnected_pad() (#329069).
17466 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17468 * docs/manual/README:
17469 uncover a nasty detail of the docs build
17471 2006-01-31 Wim Taymans <wim@fluendo.com>
17473 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17474 Don't cache duration messages if we're not going to use or
17477 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17479 * docs/manual/advanced-dparams.xml:
17480 * docs/pwg/advanced-dparams.xml:
17484 * libs/gst/controller/lib.c: (gst_controller_init):
17487 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17489 * gst/gstelement.c: (gst_element_message_full):
17490 also show file/line/func if no additional debug was given
17492 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17494 * win32/vs7/grammar.vcproj:
17495 activate copy of autogenerated files for Release mode
17497 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17499 * win32/common/libgstreamer.def:
17500 export gst_value_compare
17502 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17504 * plugins/elements/Makefile.am:
17505 * plugins/elements/gstelements.c:
17506 * plugins/elements/gstfdsink.c: (_do_init),
17507 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17508 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17509 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17510 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17511 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17512 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17513 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17514 * plugins/elements/gstfdsink.h:
17515 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17517 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17519 * docs/manual/advanced-dparams.xml:
17520 describe controller
17521 * docs/manual/advanced-position.xml:
17522 * docs/manual/basics-init.xml:
17523 * docs/manual/manual.xml:
17524 * docs/manual/titlepage.xml:
17525 * docs/pwg/pwg.xml:
17526 * docs/pwg/titlepage.xml:
17527 cleanup xml (more to come)
17528 * libs/gst/controller/gstcontroller.c:
17531 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17533 * win32/vs6/grammar.dsp:
17534 add autogen of gstmarshal.c,h for Release mode
17536 2006-01-30 Wim Taymans <wim@fluendo.com>
17538 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17539 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17540 (gst_base_sink_handle_object), (gst_base_sink_event),
17541 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17542 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17543 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17544 (gst_base_sink_deactivate), (gst_base_sink_activate),
17545 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17546 (gst_base_sink_query), (gst_base_sink_change_state):
17547 Basesink cleanups, remove some old code.
17548 Handle the case where a subclass can preroll in the render
17549 method (mostly audiosinks).
17550 Handle more events.
17551 Remove some locks around variables that are now protected
17552 with the PREROLL_LOCK (clock_id, flushing, ..).
17553 Optimize position query some more, do correct locking.
17554 Remove old code to push queue in state change, this is not
17555 needed anymore since preroll blocks on all prerollable items
17557 Almost implemented as described in design doc.
17559 2006-01-30 Wim Taymans <wim@fluendo.com>
17561 * tests/check/gst/gstbin.c: (GST_START_TEST):
17562 Wait for refcount to settle down before checking.
17564 2006-01-30 Wim Taymans <wim@fluendo.com>
17566 * docs/design/part-element-sink.txt:
17567 Pseudo code overview of desired sink behaviour regarding
17570 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17571 * win32/vs6/grammar.dsp:
17572 fix some bugs in Release mode for autogenerated files
17574 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17575 * win32/common/libgstbase.def:
17576 * win32/common/libgstreamer.def:
17577 export some new symbols: gst_base_src_set_format,
17578 gst_iterator_next, gst_structure_set_valist
17580 2006-01-29 Julien MOUTTE <julien@moutte.net>
17582 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17583 Set pad functions unconditionally. Fixes #329105.
17585 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17587 add vs8 project files created by Sergey Scobich
17589 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17591 * gst/gstutils.c: (gst_element_unlink_pads):
17592 Don't leak pad references.
17594 * tests/check/elements/fakesink.c: (GST_START_TEST):
17595 * tests/check/generic/sinks.c: (GST_START_TEST):
17596 * tests/check/generic/states.c: (GST_START_TEST):
17597 * tests/check/gst/gstbin.c: (GST_START_TEST):
17598 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17599 * tests/check/gst/gstelement.c: (GST_START_TEST):
17600 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17601 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17602 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17603 Fix a bunch of leaks. Make generic/sinks.c
17604 use a bit less cpu by slowing the buffer rate
17605 between fakesrc and fakesink.
17607 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17609 * gst/gstelement.c: (gst_element_send_event):
17612 * gst/gstiterator.c:
17613 * gst/gstiterator.h:
17614 * gst/gstpad.c: (gst_pad_send_event):
17615 * gst/gststructure.c:
17619 * libs/gst/base/gstadapter.c:
17620 doc fixes, to link to function, just write gst_cool_function(), don't
17623 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17625 * plugins/elements/gsttee.c: (gst_tee_do_push),
17626 (gst_tee_handle_buffer):
17627 Always prefer an actual return value from a src
17628 pad in place of NOT_LINKED. This means we return
17629 WRONG_STATE when all src pads are WRONG_STATE
17630 instead of NOT_LINKED.
17632 Lock when replacing the last message to prevent
17633 racing with the get_property method.
17637 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17639 * tests/check/Makefile.am:
17640 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17642 Add a very simple check that should have caught the memleak I fixed
17643 last night (if not for the slice allocator hiding it)
17645 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17647 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17648 (gst_bin_remove_func), (gst_bin_handle_message_func),
17649 (bin_query_duration_fold), (bin_query_generic_fold):
17650 Clean up references to the clock provider when disposed or when
17651 handling a clock-lost message from it.
17653 Unref sinks when performing a query via gst_iterator_fold, as the
17654 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17656 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17657 (gst_clock_set_master):
17658 Drop our reference to the master clock, if any, when we are disposed.
17660 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17661 Chain up in dispose.
17663 2006-01-26 Wim Taymans <wim@fluendo.com>
17665 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17666 Add some debugging.
17668 2006-01-26 Julien MOUTTE <julien@moutte.net>
17670 * plugins/elements/gsttee.c: (gst_tee_do_push),
17671 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17672 handles pad being NOT_LINKED or in WRONG_STATE.
17674 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17679 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17682 remove obsolete entry
17684 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17686 * docs/gst/gstreamer-sections.txt:
17687 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17688 (gst_bin_iterate_sources), (gst_bin_send_event):
17690 * gst/gstelement.c: (gst_element_send_event):
17692 * gst/gstpad.c: (gst_pad_send_event):
17693 added code for downstream events, reviewed docs in gstevent.c
17695 2006-01-25 Julien MOUTTE <julien@moutte.net>
17697 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17698 We only query position using the clock in the playing state.
17699 Query peer in the other cases.
17700 * win32/common/config.h: Updates.
17702 2006-01-24 Wim Taymans <wim@fluendo.com>
17704 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17705 A clock entry that is scheduled for the exact time of the
17706 clock is still in time.
17708 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17709 (gst_base_sink_do_sync):
17710 Add some more debug info.
17712 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17715 Add new vs7 project files and solution.
17717 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17720 all files removed as they were out-dated.
17722 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17724 * docs/random/release:
17726 * gst/gstbin.c: (gst_bin_init):
17727 * gst/gstbus.c: (gst_bus_new):
17729 * gst/gstpipeline.c: (gst_pipeline_init):
17730 use gst_bus_new(), improve logging, fix docs
17731 * win32/common/config.h:
17732 update for cvs build
17734 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17737 up required version of automake to 1.7
17739 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17741 * win32/common/libgstreamer.def:
17742 export gst_buffer_is_metadata_writable
17744 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17746 * docs/gst/gstreamer-sections.txt:
17748 Add gst_event_replace() (#327001)
17750 2006-01-20 Wim Taymans <wim@fluendo.com>
17752 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17753 Make it actually compile too..
17755 2006-01-20 Wim Taymans <wim@fluendo.com>
17758 Clarify behaviour of _is_equal() when passing NULL parameters.
17760 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17761 (gst_pad_set_caps):
17762 Cleanups. Don't unref NULL caps.
17763 When setting the same caps, protect caps of the pad with
17765 Use full functionality of _is_equal() when comparing caps.
17767 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17769 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17770 Don't loop infinitely if there are no buffers to present. Partially
17771 fixes #327197, but collectpads is just broken for reusing elements
17772 to do multiple encodes atm.
17774 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17776 * tools/gst-inspect.c: (print_element_features):
17777 * tools/gst-xmlinspect.c: (main):
17778 URL_HANDLER is not a plugin feature we can search for in
17781 2006-01-19 Edward Hervey <edward@fluendo.com>
17783 * gst/gstelement.c: (gst_element_pads_activate):
17784 When activating, do src pads first, then sink pads.
17785 When de-activating, do sink pads first, then src pads.
17787 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17789 * docs/gst/gstreamer-sections.txt:
17790 Add gst_index_add_associationv to the docs
17792 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17797 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17798 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17799 Do some refactoring. Doesn't actually change functionality,
17800 but makes landing the DRAIN event easier later.
17802 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17804 * docs/pwg/advanced-scheduling.xml:
17805 Update from 0.9.x to 0.10 API and make example a bit
17808 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17810 * docs/gst/gstreamer-sections.txt:
17811 Add gst_buffer_(is|make)_metadata_writable methods.
17813 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17815 * docs/design/part-sparsestreams.txt:
17816 Update sparse streams doc, hopefully for greater clarity
17818 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17820 * docs/design/part-events.txt:
17821 Remove mention of FILLER events.
17824 * docs/design/part-sparsestreams.txt:
17825 Write some things about using NEWSEGMENT to keep sparse streams
17828 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17830 * gst/gstbin.c: (gst_bin_dispose):
17831 Guard gst_object_unref call against a NULL object (dispose
17832 can theoretically be called multiple times).
17834 2006-01-18 Wim Taymans <wim@fluendo.com>
17836 * gst/gstbin.c: (gst_bin_element_set_state):
17837 * gst/gstclock.c: (gst_clock_id_wait):
17838 Added some more debug info.
17840 * libs/gst/base/gstadapter.c:
17843 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17844 (gst_base_sink_do_sync), (gst_base_sink_chain):
17845 Added some comments.
17847 2006-01-18 Wim Taymans <wim@fluendo.com>
17849 * tests/check/Makefile.am:
17850 * tests/check/elements/fakesink.c: (chain_async_buffer),
17851 (chain_async), (chain_async_return), (GST_START_TEST),
17852 (fakesink_suite), (main):
17853 Added fakesink test that checks prerolling and clipping
17856 * tests/check/gst/gstutils.c: (GST_START_TEST):
17857 Make check run faster so that buildbots don't timeout.
17859 2006-01-18 Wim Taymans <wim@fluendo.com>
17861 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17862 (gst_base_sink_do_sync):
17864 When the sink finishes blocking on the preroll buffer, it can
17865 immediatly render it instead of rendering when the next buffer
17868 2006-01-18 Wim Taymans <wim@fluendo.com>
17870 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17871 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17872 (gst_base_sink_chain):
17874 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17875 Don't store _last_stop if the buffer is dropped.
17877 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17879 * plugins/elements/gsttypefindelement.c:
17880 (gst_type_find_element_class_init):
17881 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17882 object method handler that sets the caps on the pad and we want
17883 that to happen before we emit the signal (fixes e.g. feeding a
17884 plain text file to decodebin).
17886 2006-01-18 Christian Schaller <Christian@fluendo.com>
17888 * gst/gstplugin.c: Add MPL and Proprietary as license options
17890 2006-01-18 Andy Wingo <wingo@pobox.com>
17892 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17893 symbol was exported before, it appears this was just an oversight.
17895 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17897 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17898 prototype to gint. OK since this prototype was not in the header.
17900 2006-01-17 Andy Wingo <wingo@pobox.com>
17902 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17903 registry while we remove plugins.
17905 * tools/gst-inspect.c (print_element_info): Don't unref the
17906 factory arg, that should be the responsibility of whatever code
17907 received the ref. Fixes a double-free when called from
17908 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17909 (main): Unref the factory if we have one.
17910 (print_element_list): No change -- relies on the
17911 plugin_feature_list_free to free the list of features.
17913 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17915 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17916 (gst_buffer_make_metadata_writable):
17918 * libs/gst/base/gstbasetransform.c:
17919 (gst_base_transform_prepare_output_buf):
17920 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17921 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17922 Replace gst_buffer_(make|is)_metadata_writable patch now
17923 that the release is out.
17925 2006-01-17 Andy Wingo <wingo@pobox.com>
17927 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17928 in the present tense without reference to versions.
17930 * gst/gstregistry.c (gst_registry_add_plugin)
17931 (gst_registry_remove_plugin, gst_registry_remove_feature)
17932 (gst_registry_find_feature, gst_registry_get_feature_list)
17933 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17934 (gst_registry_lookup, gst_registry_scan_path)
17935 (_gst_registry_remove_cache_plugins)
17936 (gst_registry_get_feature_list_by_plugin): Add argument
17939 === release 0.10.2 ===
17941 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17944 releasing 0.10.2, "If man is five"
17946 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17950 * libs/gst/base/gstbasetransform.c:
17951 (gst_base_transform_prepare_output_buf):
17952 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17953 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17954 Back out patch until after the release.
17956 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17958 * gst/gstminiobject.c:
17959 Spelling fix in docs.
17960 * ChangeLog - remove conflict indicator
17962 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17964 Reviewed By: Andy Wingo
17966 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17967 (gst_buffer_make_metadata_writable):
17969 Add gst_buffer_(is|make)_metadata_writable as analogues of
17970 gst_buffer_(is|make)_writable.
17972 * libs/gst/base/gstbasetransform.c:
17973 (gst_base_transform_prepare_output_buf):
17974 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17975 Use name gst_buffer_(is|make)_metadata_writable functions.
17977 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17978 Test gst_buffer_(is|make)_metadata_writable
17982 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17984 * docs/manual/Makefile.am:
17985 don't do parallel make
17988 * win32/common/config.h.in:
17989 add generations for HOST_CPU and GST_MAJORMINOR
17990 * win32/common/config.h:
17991 commit generated result
17993 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17995 * docs/manual/appendix-integration.xml:
17996 Update GNOME integration section to use gst_init_get_option_group()
17997 instead of the old popt stuff (#322911). Also, GNOME applications
17998 should now use gconf*sink and gconf*src instead of the old gconf
18001 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18004 * docs/gst/gstreamer-docs.sgml:
18005 * docs/gst/gstreamer-sections.txt:
18006 * docs/libs/gstreamer-libs-sections.txt:
18007 add new API entries to the docs
18008 * libs/gst/controller/Makefile.am:
18009 * libs/gst/controller/gstcontroller.c:
18010 * libs/gst/controller/gstcontroller.h:
18011 * libs/gst/controller/gstcontrollerprivate.h:
18012 * libs/gst/controller/gsthelper.c:
18013 * libs/gst/controller/gstinterpolation.c:
18014 move private structs to private header
18016 gstreamer-0.7 -> gstreamer-0.10
18017 * tests/check/libs/struct_i386.h:
18018 remove private structs
18020 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18022 * plugins/indexers/Makefile.am:
18023 Fixes as part of #317048
18025 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18027 * plugins/indexers/Makefile.am:
18028 fix #316086 - compilation when mmap is missing
18030 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18032 * libs/gst/base/gstbasesink.c:
18033 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18034 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18035 * win32/common/config.h:
18036 added some defines GST_MAJORMINOR and HOST_CPU
18037 * win32/common/libgstbase.def:
18038 * win32/common/libgstreamer.def:
18039 added some exported functions.
18041 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18043 * libs/gst/controller/gstcontroller.c:
18044 (gst_controlled_property_set_interpolation_mode),
18045 (gst_controlled_property_new):
18046 * libs/gst/controller/gstcontroller.h:
18047 * libs/gst/controller/gstinterpolation.c:
18048 (interpolate_none_get_string_value_array):
18049 make G_TYPE_STRING controlable
18051 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18054 * tools/gst-feedback.1.in:
18055 * tools/gst-inspect.1.in:
18056 * tools/gst-launch.1.in:
18057 * tools/gst-md5sum.1.in:
18058 * tools/gst-typefind.1.in:
18059 * tools/gst-xmlinspect.1.in:
18060 * tools/gst-xmllaunch.1.in:
18061 cleanup man-pages, remove reference to gst-register, document env-vars
18063 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18065 * gst/gstbuffer.c: (gst_buffer_span):
18066 gst_buffer_span should copy the timestamp of the first buffer
18067 if they were both originally overlapping subbuffers of the
18068 same parent, using the same logic as the 'slow copy' case.
18070 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18073 Need to awaken ALL the pads when we pop a buffer, otherwise
18074 collectpads only works when there is 2 input streams.
18076 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18078 * docs/random/ensonic/media-device-daemon.txt:
18081 fix doc example, add clarification
18082 * tools/gst-launch.1.in:
18083 add initial info about GST_PLUGIN_PATH, needs more work
18085 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18087 * docs/manual/basics-bins.xml:
18088 * docs/manual/basics-elements.xml:
18089 * docs/manual/intro-basics.xml:
18090 Some more minor docs additions and updates.
18092 2006-01-11 Wim Taymans <wim@fluendo.com>
18094 * docs/manual/basics-bins.xml:
18095 * docs/manual/basics-elements.xml:
18096 Some small fixes as pointed out by Ser-ver on IRC.
18098 2006-01-10 Edward Hervey <edward@fluendo.com>
18100 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18101 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18102 the single-segment mode.
18104 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18106 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18108 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18109 (gst_base_src_perform_seek), (gst_base_src_send_event),
18110 (gst_base_src_set_property), (gst_base_src_get_property),
18111 (gst_base_src_loop), (gst_base_src_start),
18112 (gst_base_src_activate_push):
18113 * libs/gst/base/gstbasesrc.h:
18114 Name (private) union; makes Sun's Forte compiler happy (#324900).
18116 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18119 gst-register is gone.
18121 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18123 * gst/gstvalue.c: (_gst_value_initialize):
18124 make the G_TYPE_DATE instantiation work if debug is disabled
18126 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18128 * gst/gstmessage.c: (gst_message_parse_tag),
18129 (gst_message_parse_error), (gst_message_parse_warning):
18130 Don't crash when return location for error/warning debug
18131 string is NULL; add fact that return locations can be
18132 NULL to docs where appropriate.
18134 2006-01-05 Wim Taymans <wim@fluendo.com>
18136 * gst/gstplugin.c: (gst_plugin_load_file):
18137 Replace strdup by g_strdup.
18139 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18141 * docs/pwg/advanced-types.xml:
18144 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18146 submitted by: Abel Cheung
18150 Added Chinese (traditional) translation
18152 2006-01-04 Wim Taymans <wim@fluendo.com>
18154 * docs/manual/basics-pads.xml:
18155 * docs/plugins/Makefile.am:
18156 * docs/plugins/gstreamer-plugins-docs.sgml:
18157 * docs/plugins/gstreamer-plugins-sections.txt:
18158 * docs/pwg/advanced-clock.xml:
18159 * docs/pwg/advanced-scheduling.xml:
18160 * docs/pwg/advanced-types.xml:
18161 * plugins/elements/gstfdsink.c:
18162 * plugins/elements/gstfdsrc.c:
18163 * plugins/elements/gstfdsrc.h:
18164 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18165 * plugins/elements/gstidentity.h:
18166 * plugins/elements/gstqueue.h:
18167 * plugins/elements/gsttee.c:
18168 * plugins/elements/gsttee.h:
18169 * plugins/elements/gsttypefindelement.c:
18170 (gst_type_find_element_class_init):
18171 * plugins/elements/gsttypefindelement.h:
18172 Small updates to various docs.
18173 Added core plugins to docs.
18175 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18178 add a suppression for liboil's uninitialized variable
18180 2006-01-02 James Livingston <jrl at ids dot org dot au>
18182 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18185 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18186 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18187 compiler switch is being used (#325429).
18189 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18191 * gst/gstbin.c: (gst_bin_query):
18192 Disable duration query caching in bins until it gets
18193 fixed (see #324807).
18195 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18197 * tools/gst-inspect.c: (print_element_properties_info):
18198 Handle properties of POINTER and BOXED type.
18200 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18202 * gst/gst.c: (init_post):
18203 Init tags stuff and some other things before loading
18204 any static plugins (there may be other static plugins
18205 than just the GStreamer ones, and they may want to
18206 register their own tags or formats or whatever, and
18207 preferably without segfaulting).
18209 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18210 Print at least a warning in the debug logs if we drop a
18211 query just because we don't know how to adjust the value
18212 in the particular format.
18214 2005-12-24 David Schleef <ds@schleef.org>
18216 * tools/gstreamer-completion:
18217 Replacement for gst-complete written in sh and sed. Only
18218 completes names of features, but that's 90% of what I want
18219 it for. Properties are not available in registry.xml. (Maybe
18222 === release 0.10.1 ===
18224 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18227 releasing 0.10.1, "Nollaig chridheil"
18229 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18231 * docs/faq/cvs.xml:
18232 Add missing quote, should be make ERROR_CFLAGS="".
18234 2005-12-20 Wim Taymans <wim@fluendo.com>
18236 * docs/design/part-trickmodes.txt:
18237 More documentation on trickmodes.
18239 2005-12-20 Edward Hervey <edward@fluendo.com>
18241 * gst/gstcaps.c: (gst_static_caps_get_type):
18243 API addition: GST_TYPE_STATIC_CAPS
18244 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18245 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18246 * gst/gstpadtemplate.h:
18247 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18248 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18251 2005-12-18 Wim Taymans <wim@fluendo.com>
18253 * libs/gst/base/gstadapter.c:
18254 * libs/gst/base/gstadapter.h:
18255 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18256 (gst_base_sink_get_position):
18257 * libs/gst/base/gstbasesink.h:
18258 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18259 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18260 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18261 (gst_base_src_send_event), (gst_base_src_update_length),
18262 (gst_base_src_get_range), (gst_base_src_loop),
18263 (gst_base_src_start):
18264 * libs/gst/base/gstbasesrc.h:
18265 * libs/gst/base/gstbasetransform.h:
18266 * libs/gst/base/gstcollectpads.h:
18267 * libs/gst/base/gstpushsrc.c:
18268 * libs/gst/base/gstpushsrc.h:
18269 * libs/gst/dataprotocol/dataprotocol.c:
18270 * libs/gst/dataprotocol/dataprotocol.h:
18271 * libs/gst/net/gstnetclientclock.h:
18272 * libs/gst/net/gstnettimeprovider.h:
18273 Documentation updates.
18275 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18277 * docs/manual/basics-helloworld.xml:
18278 Remove superfluous closing bracket in helloworld example.
18280 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18282 * tools/gst-launch.1.in:
18283 Update gst-launch man page; add a section with useful
18284 environment variables. Fixes #323882.
18286 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18289 * gst/gst_private.h:
18290 change some char* into char[]
18292 2005-12-16 Wim Taymans <wim@fluendo.com>
18294 * gst/gstregistryxml.c: (load_feature):
18296 Don't use g_object_unref on GstObjects so that we avoid
18297 leaks on unsafe glibs.
18299 2005-12-16 Wim Taymans <wim@fluendo.com>
18301 * gst/gstbin.c: (gst_bin_recalc_state):
18304 2005-12-16 Wim Taymans <wim@fluendo.com>
18306 * common/check.mak:
18307 Added make forever target for check.
18309 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18311 * gst/gst.c: (init_post):
18312 make the registry cache file HOST_CPU-dependent
18314 2005-12-16 Andy Wingo <wingo@pobox.com>
18316 * plugins/elements/gstbufferstore.c
18317 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18320 * tests/check/gst/gstobject.c
18321 (test_fake_object_name_threaded_unique): Pay attention to
18322 g_list_sort return value.
18324 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18326 * tools/gst-feedback-m.m:
18327 Update for 0.9/0.10 (fixes #323870).
18329 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18331 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18332 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18334 * tests/check/gst/gstminiobject.c: (my_foo_init),
18335 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18336 (test_value_collection), (gst_mini_object_suite):
18337 Add test to ensure refcounts end up as expected when passing
18338 GstMiniObjects through g_object_get() and g_object_set().
18340 2005-12-14 Julien MOUTTE <julien@moutte.net>
18342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18343 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18344 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18345 of collectpads. This version removes a lot of races without
18346 touching API/ABI. Yay !
18348 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18350 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18351 Don't allow activation of a srcpad in pull_range if it has no
18353 Change some debug statements to be a little clearer
18355 * plugins/elements/gsttypefindelement.c:
18356 (gst_type_find_handle_src_query):
18357 Check that we have a peer before executing queries thereupon.
18359 * tests/examples/metadata/read-metadata.c: (message_loop):
18360 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18361 immediately return us any available message with 0 timeout.
18363 2005-12-12 Michael Smith <msmith@fluendo.com>
18365 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18366 Don't unref factories after calling them.
18367 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18368 * plugins/elements/gsttypefindelement.c:
18369 (gst_type_find_element_chain):
18370 Free lists of factories after using them. Fixing typefinding memory
18373 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18375 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18376 (gst_plugin_feature_load):
18377 more meaningful debug output
18379 * tests/Makefile.am:
18380 * tests/old/examples/Makefile.am:
18381 make make distcheck happy again
18383 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18385 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18386 Catch the special case where we are operating chain-based,
18387 but the downstream peer pad has no chain function. Emit a
18388 custom error message in this case instead of letting the
18389 core generate one implying that this is some sort of core
18390 bug. It's not, it just means that whatever got plugged
18391 into the pipeline downstream when we announced the type
18392 can only operate pull-based, while our source can only
18393 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18394 Error string has not been marked for translation yet, as
18395 it probably needs some more work first.
18397 (gst_type_find_element_get_best_possibility):
18398 Add helper function to find the best of all available
18399 found possibilities that qualify given the min. threshold.
18401 (gst_type_find_element_handle_event):
18402 Fix the case where we get an EOS while still in TYPEFIND
18403 mode (we want to chose the best of all possible types,
18404 not just the first type that happens to be in our unsorted
18405 list of possible types).
18407 (gst_type_find_element_chain):
18408 Make sure we return GST_FLOW_ERROR when we errored out
18409 in stop_typefinding(); also, don't just find the best of
18410 all found type entries and then use the last examined
18411 type entry, but actually use the best entry.
18413 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18415 * tests/examples/typefind/typefind.c: (type_found):
18416 * tests/examples/xml/runxml.c: (xml_loaded):
18417 More gcc4 fixes and a mem leak fix.
18419 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18421 * tests/examples/xml/createxml.c: (object_saved):
18424 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18426 * tests/Makefile.am:
18427 enable the examples even more
18429 2005-12-12 Andy Wingo <wingo@pobox.com>
18431 * libs/gst/net/gstnettimeprovider.c
18432 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18433 (gst_net_time_provider_set_property)
18434 (gst_net_time_provider_get_property):
18435 API addition: Export "active" as a GObject property.
18436 (gst_net_time_provider_thread): Only respond to time queries if
18437 the time provider is active.
18439 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18440 NetTimeProvider, preserving binary compat.
18442 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18444 * tests/examples/controller/audio-example.c: (main):
18445 * tests/examples/launch/Makefile.am:
18446 convert comments again
18448 2005-12-12 Wim Taymans <wim@fluendo.com>
18450 * libs/gst/base/gstpushsrc.c:
18453 2005-12-12 Wim Taymans <wim@fluendo.com>
18455 * docs/libs/gstreamer-libs-sections.txt:
18456 Added new symbol to docs.
18458 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18459 (gst_base_src_init), (gst_base_src_set_format),
18460 (gst_base_src_default_query), (gst_base_src_query),
18461 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18462 (gst_base_src_perform_seek), (gst_base_src_send_event),
18463 (gst_base_src_default_event), (gst_base_src_event_handler),
18464 (gst_base_src_set_property), (gst_base_src_get_property),
18465 (gst_base_src_wait), (gst_base_src_do_sync),
18466 (gst_base_src_update_length), (gst_base_src_get_range),
18467 (gst_base_src_check_get_range), (gst_base_src_loop),
18468 (gst_base_src_default_negotiate), (gst_base_src_start),
18469 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18470 (gst_base_src_change_state):
18471 * libs/gst/base/gstbasesrc.h:
18472 Implement seeking to other formats than _BYTES.
18473 Implement more seeking methods correctly.
18475 Added query vmethod.
18476 Added do_seek vmethod to make life easier for subclasses
18478 API addition: gst_base_src_set_format()
18480 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18482 * tests/examples/Makefile.am:
18485 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18488 * docs/random/ensonic/media-device-daemon.txt:
18489 * tests/examples/controller/.cvsignore:
18490 * tests/examples/controller/Makefile.am:
18491 * tests/examples/controller/audio-example.c: (main):
18492 * tests/examples/helloworld/.cvsignore:
18493 * tests/examples/helloworld/Makefile.am:
18494 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18495 * tests/examples/launch/.cvsignore:
18496 * tests/examples/launch/Makefile.am:
18497 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18498 * tests/examples/metadata/.cvsignore:
18499 * tests/examples/metadata/Makefile.am:
18500 * tests/examples/metadata/read-metadata.c: (message_loop),
18501 (make_pipeline), (print_tag), (main):
18502 * tests/examples/queue/.cvsignore:
18503 * tests/examples/queue/Makefile.am:
18504 * tests/examples/queue/queue.c: (event_loop), (main):
18505 * tests/examples/typefind/.cvsignore:
18506 * tests/examples/typefind/Makefile.am:
18507 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18509 * tests/examples/xml/.cvsignore:
18510 * tests/examples/xml/Makefile.am:
18511 * tests/examples/xml/createxml.c: (object_saved), (main):
18512 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18513 * tests/old/examples/Makefile.am:
18514 * tests/old/examples/TODO:
18515 * tests/old/examples/controller/.cvsignore:
18516 * tests/old/examples/controller/Makefile.am:
18517 * tests/old/examples/controller/audio-example.c:
18518 * tests/old/examples/helloworld/.cvsignore:
18519 * tests/old/examples/helloworld/Makefile.am:
18520 * tests/old/examples/helloworld/helloworld.c:
18521 * tests/old/examples/launch/.cvsignore:
18522 * tests/old/examples/launch/Makefile.am:
18523 * tests/old/examples/launch/mp3parselaunch.c:
18524 * tests/old/examples/launch/mp3play:
18525 * tests/old/examples/manual/Makefile.am:
18526 * tests/old/examples/metadata/Makefile.am:
18527 * tests/old/examples/metadata/read-metadata.c:
18528 * tests/old/examples/queue/.cvsignore:
18529 * tests/old/examples/queue/Makefile.am:
18530 * tests/old/examples/queue/queue.c:
18531 * tests/old/examples/typefind/.cvsignore:
18532 * tests/old/examples/typefind/Makefile.am:
18533 * tests/old/examples/typefind/typefind.c:
18534 * tests/old/examples/xml/.cvsignore:
18535 * tests/old/examples/xml/Makefile.am:
18536 * tests/old/examples/xml/createxml.c:
18537 * tests/old/examples/xml/runxml.c:
18538 applied some simple fixing to some examples
18539 re-enabled the working examples
18541 2005-12-12 Wim Taymans <wim@fluendo.com>
18543 * gst/gstsegment.c: (gst_segment_init),
18544 (gst_segment_set_last_stop), (gst_segment_set_seek),
18545 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18546 (gst_segment_to_running_time):
18547 Added more documentation.
18548 Make sure the last_pos value is updated properly.
18549 Make sure to_stream_time and to_running_time don't
18550 operate on wrong values.
18552 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18555 2005-12-12 Michael Smith <msmith@fluendo.com>
18557 * plugins/elements/gsttypefindelement.c: (free_entry),
18558 (gst_type_find_element_chain):
18559 Now that we're not leaking factories, make sure we keep references
18560 to them while we need them.
18562 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18564 * tests/check/gst/struct_i386.h:
18565 ifdef out the XML structs
18567 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18569 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18570 floor is not needed, F is always positive; this obviates the
18571 need for adding -lm when building without libxml
18573 2005-12-12 Wim Taymans <wim@fluendo.com>
18575 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18576 Take current playback rate into account when reporting
18579 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18581 * docs/manual/mime-world.fig:
18582 Let's try this again, this time with a file that is
18583 actually in XFig format.
18585 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18587 * docs/manual/mime-world.fig:
18588 Add audioconvert element to diagram so that it
18589 matches the text and the code (fixes #319526).
18591 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18593 * docs/pwg/building-chainfn.xml:
18594 * docs/pwg/building-pads.xml:
18595 * docs/pwg/building-state.xml:
18596 * docs/pwg/other-source.xml:
18597 Update state change stuff for 0.10 (fixes #322969).
18599 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18601 * docs/manual/advanced-dataaccess.xml:
18602 * docs/manual/appendix-checklist.xml:
18603 * docs/manual/appendix-programs.xml:
18604 * docs/manual/basics-pads.xml:
18605 * docs/manual/highlevel-components.xml:
18606 * docs/manual/manual.xml:
18607 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18608 add converters in front of pipelines; remove curly
18609 brackets for threads stuff, they no longer exist; use
18610 GST_TYPE_FRACTION for framerates; update some pieces of
18611 code to 0.10, but there's plenty more to do.
18613 * docs/manual/appendix-porting.xml:
18614 Expand on asynchroneous state changes; s/0.9/0.10/;
18615 mention disappearance of gst_init_get_popt_table()
18618 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18620 * docs/faq/using.xml:
18621 Spider no longer exists, and neither does gst-launch-ext.
18622 Update examples to use decodebin and playbin and put
18623 converters in front of sinks (fixes #323726).
18625 2005-12-09 Michael Smith <msmith@fluendo.com>
18627 * plugins/elements/gsttypefindelement.c: (find_peek),
18628 (gst_type_find_element_chain):
18629 Fix leaking element factories in typefinding.
18630 Fix problem where we forgot about a probable type on non-seekable
18631 files, and thus later mis-typefound it.
18633 2005-12-09 Michael Smith <msmith@fluendo.com>
18635 * common/m4/gst-makecontext.m4:
18636 * common/m4/gst-mcsc.m4:
18638 * win32/common/config.h:
18639 * win32/common/config.h.in:
18640 Remove makecontext stuff; not used in 0.10 and causes problems on
18641 HPUX according to bug #322441
18643 2005-12-07 Wim Taymans <wim@fluendo.com>
18645 * tests/check/Makefile.am:
18646 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18648 * tests/check/libs/struct_i386.h:
18649 Added ABI check for libs
18651 2005-12-07 Wim Taymans <wim@fluendo.com>
18653 * tests/check/Makefile.am:
18654 And add the struct_i386.h to dist.
18656 2005-12-07 Wim Taymans <wim@fluendo.com>
18658 * tests/check/Makefile.am:
18659 * tests/check/gst/.cvsignore:
18660 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18662 * tests/check/gst/struct_i386.h:
18663 Added check for ABI compatibility.
18665 2005-12-07 Wim Taymans <wim@fluendo.com>
18667 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18668 (gst_fake_src_get_times), (gst_fake_src_create):
18669 Fix broken sync option, fixes #323259
18671 2005-12-07 Wim Taymans <wim@fluendo.com>
18676 * gst/gstcaps.c: (gst_caps_is_equal):
18677 Don't assert on NULL <--> X. Fixes #323260
18679 * gst/gstminiobject.c: (gst_mini_object_replace):
18680 If we're doing atomic operations, we might just as well use
18681 the proper way to get an atomic pointer.
18683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18684 Clean up debugging.
18686 2005-12-07 Michael Smith <msmith@fluendo.com>
18688 * gst/parse/grammar.y:
18689 Remove handling of { } for threads.
18691 2005-12-06 David Schleef <ds@schleef.org>
18693 * libs/gst/base/gstbasetransform.c: speling fix.
18695 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18697 * docs/libs/tmpl/gstdataprotocol.sgml:
18698 * docs/random/omega/testing/gstobject.c:
18701 * gst/gstelement.c:
18702 * gst/gstelementfactory.c:
18705 * gst/gstghostpad.c:
18707 * gst/gstpadtemplate.c:
18708 * gst/gstregistryxml.c:
18709 * gst/gsttaglist.c:
18710 * gst/gsttagsetter.c:
18711 * gst/gsttypefind.c:
18713 * libs/gst/base/gstbasesrc.c:
18714 * libs/gst/net/gstnetclientclock.c:
18715 * libs/gst/net/gstnettimeprovider.c:
18716 * plugins/elements/gstfakesrc.c:
18717 * plugins/elements/gstfdsrc.c:
18718 * plugins/elements/gstfilesrc.c:
18719 * plugins/elements/gstidentity.c:
18720 * plugins/elements/gstqueue.c:
18721 * plugins/elements/gsttypefindelement.c:
18722 * plugins/indexers/gstfileindex.c:
18723 * plugins/indexers/gstmemindex.c:
18724 * tests/check/gst/gsttag.c:
18725 * tests/old/examples/cutter/cutter.c:
18726 * tests/old/examples/mixer/mixer.c:
18727 * tests/old/examples/xml/runxml.c: (main):
18728 * tests/old/testsuite/caps/normalisation.c:
18729 * tests/old/testsuite/debug/global.c:
18730 * tests/old/testsuite/parse/parse1.c:
18731 * tools/gst-xmlinspect.c:
18732 * win32/common/dirent.c:
18735 === release 0.10.0 ===
18737 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18740 releasing 0.10.0, "Maroilles"
18742 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18744 submitted by: Funda Wang <fundawang@linux.net.cn>
18748 added Chinese (Traditional) translation
18750 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18752 * docs/gst/gstreamer-sections.txt:
18753 * docs/libs/tmpl/gstdataprotocol.sgml:
18754 * docs/random/thomasvs/TODO:
18759 2005-12-05 Andy Wingo <wingo@pobox.com>
18761 patch by: Wim Taymans <wim@fluendo.com>
18763 * libs/gst/base/gstbasetransform.c
18764 (gst_base_transform_prepare_output_buf)
18765 (gst_base_transform_buffer_alloc):
18766 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18767 alloc_buffer_and_set_caps.
18769 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18770 set_caps on the source pad.
18771 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18772 alloc_buffer used to do. Fixes #322874.
18774 * docs/gst/gstreamer-sections.txt:
18775 * docs/design/part-negotiation.txt:
18776 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18779 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18781 patch by: Sebastien Moutte
18784 * win32/common/config.h.in:
18785 * win32/vs6/libgstcontroller.dsp:
18788 2005-12-05 Wim Taymans <wim@fluendo.com>
18790 * gst/gstcaps.c: (gst_caps_is_equal):
18791 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18792 (gst_fake_src_create):
18793 Back out previous code changes, leave doc updates, file bugs
18796 2005-12-05 Wim Taymans <wim@fluendo.com>
18798 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18799 (gst_fake_src_get_times), (gst_fake_src_create):
18800 * plugins/elements/gstfakesrc.h:
18801 Fix broken sync code.
18803 2005-12-05 Wim Taymans <wim@fluendo.com>
18805 * gst/gstcaps.c: (gst_caps_is_equal):
18806 Comparing NULL against !NULL yields different caps, not a
18809 2005-12-05 Wim Taymans <wim@fluendo.com>
18811 * gst/gstpipeline.c:
18812 Fix small typo in docs.
18814 2005-12-05 Andy Wingo <wingo@pobox.com>
18816 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18818 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18819 registries/plugins with a MAJORMINOR one.
18820 (plugin_desc): Rename library from gstcoreleements to
18821 staticelements. Fixes #323222.
18823 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18825 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18826 Change debug category to 'collectpads' from 'collect_pads'
18829 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18831 patch by: Sebastien Moutte
18833 * libs/gst/controller/gstinterpolation.c:
18834 use convert function for uint64/double
18835 * win32/vs6/libgstcontroller.dsp:
18838 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18840 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18841 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18843 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18844 add tests that seem to show that the guint64/gdouble conversions
18847 2005-12-02 Wim Taymans <wim@fluendo.com>
18849 * gst/gstregistry.c: (gst_registry_add_path):
18850 * gst/gstregistry.h:
18851 * gst/gstregistryxml.c:
18854 2005-12-02 Wim Taymans <wim@fluendo.com>
18856 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18857 (gst_util_uint64_scale_int):
18860 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18861 Add debug log line.
18863 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18866 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18869 * win32/common/config.h:
18870 * win32/vs6/gstreamer.dsw:
18871 * win32/vs6/libgstcoreelements.dsp:
18872 * win32/vs6/libgstelements.dsp:
18873 renamed core elements plugin
18875 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18877 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18879 do piece-wise major/minor comparison so 0.9 < 0.10
18880 also allow .exe extensions for tools
18882 2005-12-02 Michael Smith <msmith@fluendo.com>
18885 Escape a % to make gtkdoc happier; bug 322958.
18887 === release 0.9.7 ===
18889 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18892 releasing 0.9.7, "My Dog Has No Nose"
18894 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18896 * common/gst-xmlinspect.py:
18898 * docs/libs/tmpl/gstdataprotocol.sgml:
18899 * docs/random/release:
18918 * win32/common/config.h:
18919 * win32/common/config.h.in:
18920 * win32/vs6/gst_inspect.dsp:
18921 * win32/vs6/gst_launch.dsp:
18922 * win32/vs6/libgstbase.dsp:
18923 * win32/vs6/libgstelements.dsp:
18924 * win32/vs6/libgstreamer.dsp:
18925 * win32/vs7/GStreamer.vcproj:
18926 * win32/vs7/gst-inspect.vcproj:
18927 * win32/vs7/gst-launch.vcproj:
18928 * win32/vs7/libgstbase.vcproj:
18929 bump GST_MAJORMINOR to 0.10
18930 reset libtool version
18932 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18936 Added Bulgarian translation by (Alexander Shopov)
18938 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18940 * tests/check/gst/gstplugin.c:
18943 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18945 * common/gst-xmlinspect.py:
18946 * common/gtk-doc-plugins.mak:
18948 * docs/Makefile.am:
18949 * docs/gst/Makefile.am:
18950 * docs/gst/gstreamer-docs.sgml:
18951 * docs/gst/gstreamer-sections.txt:
18952 * docs/gst/gstreamer.types:
18953 * docs/gst/gstreamer.types.in:
18954 * docs/plugins/Makefile.am:
18955 * docs/plugins/gstreamer-plugins-docs.sgml:
18956 * docs/plugins/gstreamer-plugins-sections.txt:
18957 * docs/plugins/gstreamer-plugins.types:
18958 * docs/plugins/inspect.stamp:
18959 * docs/plugins/inspect/plugin-coreelements.xml:
18960 * docs/plugins/inspect/plugin-coreindexers.xml:
18961 * docs/plugins/scanobj-build.stamp:
18962 * gstreamer.spec.in:
18963 * plugins/elements/Makefile.am:
18964 * plugins/elements/gstelements.c:
18965 * plugins/elements/gstfakesink.c:
18966 * plugins/elements/gstfakesrc.c:
18967 * plugins/elements/gstfilesink.c:
18968 * plugins/elements/gstfilesrc.c:
18969 * plugins/elements/gstqueue.c:
18970 * plugins/indexers/Makefile.am:
18971 * plugins/indexers/gstindexers.c:
18972 document core plugins in a separate document just like all the
18974 rename these plugins to something starting with core
18976 2005-12-01 Andy Wingo <wingo@pobox.com>
18978 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18979 padding here before, but it missed the commit.
18981 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18983 * libs/gst/controller/gstinterpolation.c:
18984 whitespace prices have crashed, we should feel free to use some now
18985 use gst_guint64_to_gdouble
18987 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18989 * libs/gst/controller/gstcontroller.c:
18990 * libs/gst/controller/gsthelper.c:
18991 * libs/gst/controller/gstinterpolation.c:
18992 * libs/gst/controller/lib.c:
18993 wrap config.h include
18995 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18997 * docs/gst/gstreamer-sections.txt:
19000 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19002 * plugins/elements/gstelements.c:
19003 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19004 (gst_fd_sink__class_init), (gst_fd_sink__init),
19005 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19006 (gst_fd_sink__get_property):
19007 * plugins/elements/gstfdsink.h:
19008 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19009 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19010 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19011 (gst_fd_src_unlock), (gst_fd_src_set_property),
19012 (gst_fd_src_get_property), (gst_fd_src_create),
19013 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19014 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19015 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19016 (gst_fd_src_uri_handler_init):
19017 * plugins/elements/gstfdsrc.h:
19018 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19021 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19023 * docs/gst/Makefile.am:
19024 * docs/gst/gstreamer.types.in:
19028 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19034 * gst/gstregistry.h:
19035 * tests/benchmarks/complexity.c:
19036 * tests/benchmarks/mass-elements.c:
19037 * tests/check/Makefile.am:
19038 * tools/Makefile.am:
19039 * tools/gst-inspect.c:
19040 * tools/gst-xmlinspect.c:
19041 various fixes to make
19042 --disable-nls --disable-registry --disable-loadsave
19043 --disable-parse --disable-gst-debug
19044 work and get the core .so down to 360444 bytes after stripping
19046 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19051 * docs/random/thomasvs/TODO:
19052 * tests/Makefile.am:
19056 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19058 * win32/GStreamer.vcproj:
19061 * win32/Makefile.inspect:
19062 * win32/Makefile.launch:
19063 * win32/Makefile.register:
19064 * win32/README.txt:
19065 * win32/gst-inspect.vcproj:
19066 * win32/gst-launch.vcproj:
19067 * win32/gst-register.vcproj:
19068 * win32/gstelements.vcproj:
19069 * win32/gstgetbits.def:
19070 * win32/gstgetbits.vcproj:
19071 * win32/gstreamer-dbg.def:
19072 * win32/gstreamer.def:
19073 * win32/libgstbase.def:
19074 * win32/libgstbase.vcproj:
19075 * win32/link_oldruntime.c:
19079 * win32/msvc71.sln:
19080 move even more stuff, win32/ is nice and clean now
19082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19084 * libs/gst/control/.cvsignore:
19089 * win32/gstbytestream.def:
19090 * win32/gstbytestream.vcproj:
19091 * win32/gstconfig.h:
19092 * win32/gstenumtypes.c:
19093 * win32/gstenumtypes.h:
19094 * win32/gstoptimalscheduler.vcproj:
19095 * win32/gstversion.h:
19097 * win32/testsuite/bins.vcproj:
19098 * win32/testsuite/bytestream.vcproj:
19099 * win32/testsuite/caps.vcproj:
19100 * win32/testsuite/cleanup.vcproj:
19101 * win32/testsuite/clock.vcproj:
19102 * win32/testsuite/debug.vcproj:
19103 * win32/testsuite/dlopen.vcproj:
19104 * win32/testsuite/dynparams.vcproj:
19105 * win32/testsuite/elements.vcproj:
19106 * win32/testsuite/ghostpads.vcproj:
19107 * win32/testsuite/indexers.vcproj:
19108 * win32/testsuite/negotiation.vcproj:
19109 * win32/testsuite/parse.vcproj:
19110 * win32/testsuite/plugin.vcproj:
19111 * win32/testsuite/refcounting.vcproj:
19112 * win32/testsuite/schedulers.vcproj:
19113 * win32/testsuite/states.vcproj:
19114 * win32/testsuite/tags.vcproj:
19115 * win32/testsuite/threads.vcproj:
19116 remove old win32 stuff that isn't maintained and should be
19119 2005-11-30 Andy Wingo <wingo@pobox.com>
19121 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19122 loading the gst.interfaces python module bork.
19124 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19125 available since GLib 2.2. Fixes #318031.
19127 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19130 * check/.cvsignore:
19131 * check/Makefile.am:
19132 * check/elements/.cvsignore:
19133 * check/elements/fakesrc.c:
19134 * check/elements/fdsrc.c:
19135 * check/elements/identity.c:
19136 * check/generic/.cvsignore:
19137 * check/generic/states.c:
19138 * check/gst-libs/.cvsignore:
19139 * check/gst-libs/controller.c:
19140 * check/gst-libs/gdp.c:
19141 * check/gst/.cvsignore:
19142 * check/gst/capslist.h:
19144 * check/gst/gstbin.c:
19145 * check/gst/gstbuffer.c:
19146 * check/gst/gstbus.c:
19147 * check/gst/gstcaps.c:
19148 * check/gst/gstelement.c:
19149 * check/gst/gstevent.c:
19150 * check/gst/gstghostpad.c:
19151 * check/gst/gstiterator.c:
19152 * check/gst/gstmessage.c:
19153 * check/gst/gstminiobject.c:
19154 * check/gst/gstobject.c:
19155 * check/gst/gstpad.c:
19156 * check/gst/gstpipeline.c:
19157 * check/gst/gstplugin.c:
19158 * check/gst/gstsegment.c:
19159 * check/gst/gststructure.c:
19160 * check/gst/gstsystemclock.c:
19161 * check/gst/gsttag.c:
19162 * check/gst/gstutils.c:
19163 * check/gst/gstvalue.c:
19164 * check/net/.cvsignore:
19165 * check/net/gstnetclientclock.c:
19166 * check/net/gstnettimeprovider.c:
19167 * check/pipelines/.cvsignore:
19168 * check/pipelines/cleanup.c:
19169 * check/pipelines/simple_launch_lines.c:
19170 * check/pipelines/stress.c:
19171 * check/states/.cvsignore:
19172 * check/states/sinks.c:
19174 * examples/Makefile.am:
19175 * examples/appreader/.cvsignore:
19176 * examples/appreader/Makefile.am:
19177 * examples/appreader/appreader.c:
19178 * examples/controller/.cvsignore:
19179 * examples/controller/Makefile.am:
19180 * examples/controller/audio-example.c:
19181 * examples/cutter/.cvsignore:
19182 * examples/cutter/Makefile.am:
19183 * examples/cutter/cutter.c:
19184 * examples/cutter/cutter.h:
19185 * examples/events/Makefile.am:
19186 * examples/events/seek.c:
19187 * examples/helloworld/.cvsignore:
19188 * examples/helloworld/Makefile.am:
19189 * examples/helloworld/helloworld.c:
19190 * examples/helloworld2/.cvsignore:
19191 * examples/helloworld2/Makefile.am:
19192 * examples/helloworld2/helloworld2.c:
19193 * examples/launch/.cvsignore:
19194 * examples/launch/Makefile.am:
19195 * examples/launch/mp3parselaunch.c:
19196 * examples/launch/mp3play:
19197 * examples/manual/.cvsignore:
19198 * examples/manual/Makefile.am:
19199 * examples/manual/extract.pl:
19200 * examples/metadata/Makefile.am:
19201 * examples/metadata/read-metadata.c:
19202 * examples/mixer/.cvsignore:
19203 * examples/mixer/Makefile.am:
19204 * examples/mixer/mixer.c:
19205 * examples/mixer/mixer.h:
19206 * examples/pingpong/.cvsignore:
19207 * examples/pingpong/Makefile.am:
19208 * examples/pingpong/pingpong.c:
19209 * examples/plugins/.cvsignore:
19210 * examples/plugins/Makefile.am:
19211 * examples/plugins/example.c:
19212 * examples/plugins/example.h:
19213 * examples/pwg/.cvsignore:
19214 * examples/pwg/Makefile.am:
19215 * examples/pwg/extract.pl:
19216 * examples/queue/.cvsignore:
19217 * examples/queue/Makefile.am:
19218 * examples/queue/queue.c:
19219 * examples/queue2/.cvsignore:
19220 * examples/queue2/Makefile.am:
19221 * examples/queue2/queue2.c:
19222 * examples/queue3/.cvsignore:
19223 * examples/queue3/Makefile.am:
19224 * examples/queue3/queue3.c:
19225 * examples/queue4/.cvsignore:
19226 * examples/queue4/Makefile.am:
19227 * examples/queue4/queue4.c:
19228 * examples/retag/.cvsignore:
19229 * examples/retag/Makefile.am:
19230 * examples/retag/retag.c:
19231 * examples/retag/transcode.c:
19232 * examples/thread/.cvsignore:
19233 * examples/thread/Makefile.am:
19234 * examples/thread/thread.c:
19235 * examples/typefind/.cvsignore:
19236 * examples/typefind/Makefile.am:
19237 * examples/typefind/typefind.c:
19238 * examples/xml/.cvsignore:
19239 * examples/xml/Makefile.am:
19240 * examples/xml/createxml.c:
19241 * examples/xml/runxml.c:
19242 * tests/Makefile.am:
19243 * tests/check/Makefile.am:
19244 * testsuite/.cvsignore:
19245 * testsuite/Makefile.am:
19247 * testsuite/caps/.cvsignore:
19248 * testsuite/caps/Makefile.am:
19249 * testsuite/caps/app_fixate.c:
19250 * testsuite/caps/audioscale.c:
19251 * testsuite/caps/caps.c:
19252 * testsuite/caps/caps.h:
19253 * testsuite/caps/caps_strings:
19254 * testsuite/caps/compatibility.c:
19255 * testsuite/caps/deserialize.c:
19256 * testsuite/caps/enumcaps.c:
19257 * testsuite/caps/eratosthenes.c:
19258 * testsuite/caps/filtercaps.c:
19259 * testsuite/caps/fixed.c:
19260 * testsuite/caps/fraction-convert.c:
19261 * testsuite/caps/fraction-multiply-and-zero.c:
19262 * testsuite/caps/intersect2.c:
19263 * testsuite/caps/intersection.c:
19264 * testsuite/caps/normalisation.c:
19265 * testsuite/caps/random.c:
19266 * testsuite/caps/renegotiate.c:
19267 * testsuite/caps/sets.c:
19268 * testsuite/caps/simplify.c:
19269 * testsuite/caps/string-conversions.c:
19270 * testsuite/caps/structure.c:
19271 * testsuite/caps/subtract.c:
19272 * testsuite/caps/union.c:
19273 * testsuite/debug/.cvsignore:
19274 * testsuite/debug/Makefile.am:
19275 * testsuite/debug/category.c:
19276 * testsuite/debug/commandline.c:
19277 * testsuite/debug/global.c:
19278 * testsuite/debug/output.c:
19279 * testsuite/debug/printf_extension.c:
19280 * testsuite/dlopen/.cvsignore:
19281 * testsuite/dlopen/Makefile.am:
19282 * testsuite/dlopen/dlopen_gst.c:
19283 * testsuite/dlopen/loadgst.c:
19284 * testsuite/elements/.cvsignore:
19285 * testsuite/elements/Makefile.am:
19286 * testsuite/elements/gst-inspect-check.in:
19287 * testsuite/elements/struct_i386.h:
19288 * testsuite/elements/struct_size.c:
19289 * testsuite/indexers/.cvsignore:
19290 * testsuite/indexers/Makefile.am:
19291 * testsuite/indexers/cache1.c:
19292 * testsuite/indexers/indexdump.c:
19293 * testsuite/parse/.cvsignore:
19294 * testsuite/parse/Makefile.am:
19295 * testsuite/parse/parse1.c:
19296 * testsuite/parse/parse2.c:
19297 * testsuite/plugin/.cvsignore:
19298 * testsuite/plugin/Makefile.am:
19299 * testsuite/plugin/README:
19300 * testsuite/plugin/dynamic.c:
19301 * testsuite/plugin/linked.c:
19302 * testsuite/plugin/loading.c:
19303 * testsuite/plugin/registry.c:
19304 * testsuite/plugin/static.c:
19305 * testsuite/plugin/static2.c:
19306 * testsuite/plugin/testplugin.c:
19307 * testsuite/plugin/testplugin2.c:
19308 * testsuite/plugin/testplugin2_s.c:
19309 * testsuite/plugin/testplugin_s.c:
19310 * testsuite/refcounting/.cvsignore:
19311 * testsuite/refcounting/Makefile.am:
19312 * testsuite/refcounting/bin.c:
19313 * testsuite/refcounting/element.c:
19314 * testsuite/refcounting/element_pad.c:
19315 * testsuite/refcounting/mainloop.c:
19316 * testsuite/refcounting/mem.c:
19317 * testsuite/refcounting/mem.h:
19318 * testsuite/refcounting/object.c:
19319 * testsuite/refcounting/pad.c:
19320 * testsuite/refcounting/sched.c:
19321 * testsuite/refcounting/thread.c:
19322 * testsuite/states/.cvsignore:
19323 * testsuite/states/Makefile.am:
19324 * testsuite/states/bin.c:
19325 * testsuite/states/locked.c:
19326 * testsuite/states/parent.c:
19327 * testsuite/threads/.cvsignore:
19328 * testsuite/threads/159566.c:
19329 * testsuite/threads/159852.c:
19330 * testsuite/threads/Makefile.am:
19331 * testsuite/threads/queue.c:
19332 * testsuite/threads/signals.c:
19333 * testsuite/threads/staticrec.c:
19334 * testsuite/threads/thread.c:
19335 * testsuite/threads/threadb.c:
19336 * testsuite/threads/threadc.c:
19337 * testsuite/threads/threadd.c:
19338 * testsuite/threads/threade.c:
19339 * testsuite/threads/threadf.c:
19340 * testsuite/threads/threadg.c:
19341 * testsuite/threads/threadh.c:
19342 * testsuite/threads/threadi.c:
19343 move all of these under tests
19345 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19348 * tests/Makefile.am:
19351 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19353 * docs/gst/gstreamer-sections.txt:
19354 * tests/sched/.cvsignore:
19355 * tests/sched/Makefile.am:
19356 * tests/sched/cases/(fs-fs).xml:
19357 * tests/sched/cases/(fs-i-fs).xml:
19358 * tests/sched/cases/(fs-i-i-fs).xml:
19359 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19360 * tests/sched/dynamic-pipeline.c:
19361 * tests/sched/interrupt1.c:
19362 * tests/sched/interrupt2.c:
19363 * tests/sched/interrupt3.c:
19364 * tests/sched/runtestcases:
19365 * tests/sched/runxml.c:
19366 * tests/sched/sched-stress.c:
19367 * tests/sched/sort.c:
19368 * tests/sched/testcases:
19369 * tests/sched/testcases1.tc:
19370 * tests/seeking/.cvsignore:
19371 * tests/seeking/Makefile.am:
19372 * tests/seeking/seeking1.c:
19373 * tests/threadstate/.cvsignore:
19374 * tests/threadstate/Makefile.am:
19375 * tests/threadstate/test1.c:
19376 * tests/threadstate/test2.c:
19377 * tests/threadstate/threadstate1.c:
19378 * tests/threadstate/threadstate2.c:
19379 * tests/threadstate/threadstate3.c:
19380 * tests/threadstate/threadstate4.c:
19381 * tests/threadstate/threadstate5.c:
19382 remove obsolete tests
19384 * tests/bench-complexity.scm:
19385 * tests/bench-mass_elements.scm:
19386 * tests/complexity.c:
19387 * tests/complexity.gnuplot:
19388 * tests/instantiate/.cvsignore:
19389 * tests/instantiate/Makefile.am:
19390 * tests/instantiate/caps.c:
19391 * tests/mass_elements.c:
19392 * tests/network-clock-utils.scm:
19393 * tests/network-clock.scm:
19395 First pass at cleaning up tests/ dir before moving the rest
19396 Combined with CVS surgery
19398 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19401 queue has moved, update
19403 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19405 * docs/gst/gstreamer-sections.txt:
19406 remove double entries from the docs
19407 * gst/gst_private.h:
19408 * gst/gstinfo.c: (_gst_debug_init):
19409 remove the THREAD debug category
19413 * docs/gst/gstreamer.types:
19414 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19415 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19416 completely move queue and fix up debugging categories
19418 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19420 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19421 make initialization portable, using LL is not
19423 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19425 * win32/common/gstconfig.h:
19428 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19430 * win32/common/libgstreamer.def:
19431 rename symbols; sort base section
19433 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19435 * gst/gstclock.c: (do_linear_regression):
19436 remove crack non-portable handrolled DEBUG macro
19438 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19440 * docs/random/release:
19442 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19443 (gst_object_flags_get_type), (register_gst_bin_flags),
19444 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19445 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19446 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19447 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19448 (gst_caps_flags_get_type), (register_gst_clock_return),
19449 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19450 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19451 (gst_clock_flags_get_type), (register_gst_state),
19452 (gst_state_get_type), (register_gst_state_change_return),
19453 (gst_state_change_return_get_type), (register_gst_state_change),
19454 (gst_state_change_get_type), (register_gst_element_flags),
19455 (gst_element_flags_get_type), (register_gst_core_error),
19456 (gst_core_error_get_type), (register_gst_library_error),
19457 (gst_library_error_get_type), (register_gst_resource_error),
19458 (gst_resource_error_get_type), (register_gst_stream_error),
19459 (gst_stream_error_get_type), (register_gst_event_type_flags),
19460 (gst_event_type_flags_get_type), (register_gst_event_type),
19461 (gst_event_type_get_type), (register_gst_seek_type),
19462 (gst_seek_type_get_type), (register_gst_seek_flags),
19463 (gst_seek_flags_get_type), (register_gst_format),
19464 (gst_format_get_type), (register_gst_index_certainty),
19465 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19466 (gst_index_entry_type_get_type),
19467 (register_gst_index_lookup_method),
19468 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19469 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19470 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19471 (gst_index_flags_get_type), (register_gst_debug_level),
19472 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19473 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19474 (gst_iterator_result_get_type), (register_gst_iterator_item),
19475 (gst_iterator_item_get_type), (register_gst_message_type),
19476 (gst_message_type_get_type), (register_gst_mini_object_flags),
19477 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19478 (gst_pad_link_return_get_type), (register_gst_flow_return),
19479 (gst_flow_return_get_type), (register_gst_activate_mode),
19480 (gst_activate_mode_get_type), (register_gst_pad_direction),
19481 (gst_pad_direction_get_type), (register_gst_pad_flags),
19482 (gst_pad_flags_get_type), (register_gst_pad_presence),
19483 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19484 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19485 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19486 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19487 (gst_plugin_flags_get_type), (register_gst_rank),
19488 (gst_rank_get_type), (register_gst_query_type),
19489 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19490 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19491 (gst_tag_flag_get_type), (register_gst_task_state),
19492 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19493 (gst_alloc_trace_flags_get_type),
19494 (register_gst_type_find_probability),
19495 (gst_type_find_probability_get_type), (register_gst_uri_type),
19496 (gst_uri_type_get_type), (register_gst_parse_error),
19497 (gst_parse_error_get_type):
19498 * win32/common/gstenumtypes.h:
19499 * win32/common/gstversion.h:
19500 update visual studio generated files
19502 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19504 * win32/vs6/libgstbase.dsp:
19505 * win32/vs6/libgstelements.dsp:
19506 update project files for new locations
19508 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19513 reinstate and update
19518 * docs/random/LICENSE:
19521 2005-11-30 Edward Hervey <edward@fluendo.com>
19523 * gst/gsttypefind.c: (gst_type_find_register):
19524 * gst/gsttypefind.h:
19525 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19526 (gst_type_find_factory_dispose):
19527 * gst/gsttypefindfactory.h:
19528 Fix memory leak in GstTypeFindFactory.
19530 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19533 * plugins/elements/Makefile.am:
19534 * plugins/elements/gstelements.c:
19535 * plugins/elements/gstqueue.c:
19536 move queue from core to the elements plugin
19538 2005-11-29 Andy Wingo <wingo@pobox.com>
19540 * libs/gst/base/gstbasetransform.h:
19541 * libs/gst/base/gstbasesrc.h:
19542 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19544 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19545 of pointers by which to pad very extensible base classes (like the
19546 ones in libs/gst/base).
19548 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19550 * docs/gst/gstreamer-docs.sgml:
19551 * docs/gst/gstreamer-sections.txt:
19552 * docs/libs/gstreamer-libs-docs.sgml:
19553 * docs/libs/gstreamer-libs-sections.txt:
19554 moving documentation from core to lib
19556 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19558 * check/Makefile.am:
19560 * docs/gst/Makefile.am:
19562 * gst/base/.cvsignore:
19563 * gst/base/Makefile.am:
19565 * gst/base/gstadapter.c:
19566 * gst/base/gstadapter.h:
19567 * gst/base/gstbasesink.c:
19568 * gst/base/gstbasesink.h:
19569 * gst/base/gstbasesrc.c:
19570 * gst/base/gstbasesrc.h:
19571 * gst/base/gstbasetransform.c:
19572 * gst/base/gstbasetransform.h:
19573 * gst/base/gstcollectpads.c:
19574 * gst/base/gstcollectpads.h:
19575 * gst/base/gstpushsrc.c:
19576 * gst/base/gstpushsrc.h:
19577 * gst/base/gsttypefindhelper.c:
19578 * gst/base/gsttypefindhelper.h:
19579 * gst/check/Makefile.am:
19580 * gst/check/gstcheck.c:
19581 * gst/check/gstcheck.h:
19582 * gst/net/Makefile.am:
19583 * gst/net/gstnet.h:
19584 * gst/net/gstnetclientclock.c:
19585 * gst/net/gstnetclientclock.h:
19586 * gst/net/gstnettimepacket.c:
19587 * gst/net/gstnettimepacket.h:
19588 * gst/net/gstnettimeprovider.c:
19589 * gst/net/gstnettimeprovider.h:
19590 * libs/gst/Makefile.am:
19591 * libs/gst/base/Makefile.am:
19592 * libs/gst/base/gstbasetransform.c:
19593 * libs/gst/check/Makefile.am:
19594 * plugins/elements/Makefile.am:
19596 CVS surgery + support to move base, check, and net out of gst
19599 2005-11-29 Andy Wingo <wingo@pobox.com>
19601 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19603 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19606 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19608 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19610 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19612 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19613 padding; reduces object size by about 30%. We don't expect
19614 anything else to go into gstobject.
19616 * gst/gstminiobject.h (struct _GstMiniObject)
19617 (struct _GstMiniObjectClass): Only one pointer of padding; the
19618 payload is only a pointer and two ints anyway. For the class there
19619 are only two methods as well.
19621 * gst/gstelement.h (struct _GstElementClass): Removed
19622 the state_changed signal callback, it is not used.
19624 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19626 * docs/gst/gstreamer.types:
19627 fix includes, though they are a little dinky
19629 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19631 * check/Makefile.am:
19632 look in the right place for elements, a lot more chance of
19635 remove indexers and elements subdirs
19636 * plugins/Makefile.am:
19637 make indexers conditional
19639 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19643 * plugins/elements/Makefile.am:
19644 * plugins/elements/gstcapsfilter.c:
19645 * plugins/elements/gstfilesink.c:
19646 * plugins/elements/gstfilesrc.c:
19647 * plugins/elements/gstidentity.c:
19648 * plugins/indexers/Makefile.am:
19649 do CVS surgery and related build fixery to move elements
19650 and indexers in a new gstreamer/plugins directory, out of the
19653 2005-11-29 Andy Wingo <wingo@pobox.com>
19655 * check/Makefile.am:
19656 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19657 * pkgconfig/gstreamer-net.pc.in:
19658 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19661 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19663 * tools/Makefile.am:
19664 * tools/gst-complete.1.in:
19665 * tools/gst-complete.c:
19666 * tools/gst-compprep.1.in:
19667 * tools/gst-compprep.c:
19668 removing -compprep and -complete
19670 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19672 * gst/gstevent.c: (gst_event_new_new_segment),
19673 (gst_event_parse_new_segment):
19675 fix #320529 - clean up new_segment API and structure.
19676 Let's hope everyone was using the methods, and not the structure.
19678 2005-11-29 Edward Hervey <edward@fluendo.com>
19680 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19681 (gst_base_sink_event), (gst_base_sink_do_sync),
19682 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19683 Properly handle non GST_FORMAT_TIME segment
19684 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19685 Properly handle non GST_FORMAT_TIME segment
19686 * gst/gstsegment.c:
19687 This function is valid if the accumulator is 0 and the format
19688 is different from the requested format.
19690 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19692 * docs/gst/gstreamer-sections.txt:
19693 Add gst_query_new_seeking and gst_query_parse_seeking to the
19696 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19698 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19699 Treat a pad alloc with new caps the same as if we were not
19700 negotiated, in order to allow a changing upstream output
19701 to produce a new format of data.
19703 2005-11-29 Edward Hervey <edward@fluendo.com>
19705 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19706 (gst_base_transform_event), (gst_base_transform_eventfunc):
19707 The event virtual method is now properly implemented, with a default
19709 Sub classes should call the parent_class event method. They should
19710 return FALSE if they had a problem handling the given event, or don't
19711 want GstBaseTransform to send that even downstream
19712 * gst/elements/gstidentity.c: (gst_identity_class_init),
19713 (gst_identity_init), (gst_identity_event),
19714 (gst_identity_transform_ip), (gst_identity_set_property),
19715 (gst_identity_get_property):
19716 * gst/elements/gstidentity.h:
19717 Added the single-segment boolean property.
19718 If set to TRUE, it will output a single segment of data, starting from
19719 0, will eat up all incoming newsegment, and modify the timestamp of the
19720 buffers accordingly
19722 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19724 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19725 Don't ref NULL target pad (#322751). Improve docs.
19727 2005-11-29 Michael Smith <msmith@fluendo.com>
19729 * gst/gstregistryxml.c: (load_plugin):
19730 Don't crash if we failed to load a feature from a plugin.
19732 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19734 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19736 use more check API and less GLib API
19738 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19741 don't run checks if we don't have check
19742 * common/check.mak:
19743 remove the registry when running make torture
19744 * docs/gst/gstreamer-sections.txt:
19745 remove second multiply
19746 * gst/gstqueue.c: (gst_queue_loop):
19747 fix a compile warning when disabling debug
19749 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19752 Hey! Let's print the pad name if the pointer != NULL instead
19753 of when it == NULL :-)
19755 2005-11-28 Wim Taymans <wim@fluendo.com>
19757 * check/gst/gstutils.c: (GST_START_TEST):
19758 Updated check, add some scaling accuracy checking code.
19760 * gst/gstutils.c: (gst_util_div128_64),
19761 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19762 (gst_util_uint64_scale_int):
19763 Fix 6 times faster division code. Optimize for common
19764 1/1 and less common X/1 cases.
19766 2005-11-28 Wim Taymans <wim@fluendo.com>
19768 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19771 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19772 (do_linear_regression), (gst_clock_add_observation):
19774 Release lock when the clock cannot be slaved.
19775 Catch the case where the regression returned an invalid denominator.
19777 * gst/gstutils.c: (gst_util_div128_64_iterate),
19778 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19779 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19780 Add protentially more performant non-iterative 128/64 divide function
19781 that unfortunatly does not work yet.
19782 Shortcut the trivial 0/X = 0 case.
19783 Remove the warnings on overflow.
19785 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19787 * gst/gstplugin.c: (gst_plugin_register_func):
19788 everything causing a plugin not to load should be at least a WARNING
19790 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19792 * docs/random/ensonic/dparams.txt:
19793 some TODOs for the next dev cycle
19794 * libs/gst/controller/gstcontroller.c:
19795 (gst_controlled_property_set_interpolation_mode),
19796 (gst_controlled_property_new):
19797 * libs/gst/controller/gstcontroller.h:
19798 use base type to assign acccessor functions
19800 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19802 * check/Makefile.am:
19803 Oops, that should have been top_srcdir
19805 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19807 * check/Makefile.am:
19808 * check/elements/fdsrc.c: (GST_START_TEST):
19809 Use a cmdline define to specify the location of a file to use for
19810 testing, to avoid breaking distcheck.
19812 2005-11-28 Andy Wingo <wingo@pobox.com>
19814 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19816 2005-11-28 Edward Hervey <edward@fluendo.com>
19818 * tools/gst-launch.c: (main):
19819 Clarify the output strings, makes it easier to translate.
19822 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19825 don't try and build net if we don't even have <sys/socket.h>
19827 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19829 * check/Makefile.am:
19830 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19831 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19832 Add tests for fdsrc seekability
19834 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19835 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19836 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19837 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19838 * gst/elements/gstfdsrc.h:
19839 fdsrc should not be a 'live' source.
19840 Implement seeking on seekable fd's.
19842 * gst/gstquery.c: (gst_query_new_seeking),
19843 (gst_query_parse_seeking):
19845 Implement SEEKING query functions:
19846 *_new_seeking and *_parse_seeking
19848 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19850 * gst/gstelement.c: (gst_element_dispose):
19853 * gst/gstiterator.c:
19854 * gst/gststructure.c:
19857 * libs/gst/controller/gstcontroller.c:
19858 (gst_controlled_property_set_interpolation_mode):
19859 * libs/gst/controller/gstcontroller.h:
19860 * libs/gst/controller/gstinterpolation.c:
19861 (interpolate_none_get_enum_value_array):
19862 support controlling enums
19864 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19867 Improve documentation for gst_value_union().
19870 Change return value for union, intersect and subtract functions
19871 from gint to gboolean.
19873 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19875 * gst/gstvalue.c: (gst_value_serialize_any_list),
19876 (gst_value_transform_any_list_string),
19877 (gst_value_deserialize_list), (gst_value_deserialize_array),
19878 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19879 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19880 (gst_value_set_fraction_range_full),
19881 (gst_value_deserialize_fraction_range),
19882 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19883 (gst_value_deserialize_boolean),
19884 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19885 (gst_value_serialize_float), (gst_value_deserialize_float),
19886 (gst_string_wrap), (gst_value_deserialize_string),
19887 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19888 (gst_value_union_int_range_int_range),
19889 (gst_value_intersect_int_range_int_range),
19890 (gst_value_intersect_double_range_double_range),
19891 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19892 (gst_value_subtract_int_range_int_range),
19893 (gst_value_subtract_double_double_range),
19894 (gst_value_subtract_double_range_double_range),
19895 (gst_value_deserialize_fraction):
19897 Use gint, gdouble and gchar in our API instead of int, double and
19898 char (and make usage in gstvalue.c more consistent).
19900 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19902 * check/Makefile.am:
19903 * libs/gst/controller/Makefile.am:
19904 * libs/gst/dataprotocol/Makefile.am:
19905 fix up Makefile.am and remove GST_ENABLE_NEW
19907 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19911 * gst/base/Makefile.am:
19912 * gst/check/Makefile.am:
19913 * gst/elements/Makefile.am:
19914 * gst/net/Makefile.am:
19915 update LDFLAGS use some more
19917 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19919 * common/m4/gst-doc.m4:
19922 2005-11-26 Edward Hervey <edward@fluendo.com>
19924 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19925 This shouldn't issue a g_warning since it returns NULL if it
19926 couldn't find the plugin, and all functions using this behave
19927 properly on a NULL return. Switching to a GST_WARNING.
19929 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19931 * gst/gstbin.c: (gst_bin_handle_message_func):
19932 Don't leak clock messages.
19934 2005-11-25 Wim Taymans <wim@fluendo.com>
19936 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19937 (gst_util_uint64_scale_int):
19938 Optimisations, remove unneeded vars.
19940 2005-11-25 Wim Taymans <wim@fluendo.com>
19942 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19943 Added more checks for the high precision uint64 cases.
19945 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19946 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19947 Implement high precision (guint64 * guint64) / guint64.
19949 2005-11-24 Wim Taymans <wim@fluendo.com>
19951 * gst/base/gstbasesrc.c: (gst_base_src_query):
19952 Fix wrong percentage query.
19954 * gst/gstutils.c: (gst_util_uint64_scale),
19955 (gst_util_uint64_scale_int):
19956 Add some more common cases that can be handled
19957 efficiently to _scale.
19959 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19961 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19962 (gst_mini_object_suite):
19963 don't use check calls from threads; check probably isn't
19964 threadsafe and using a lock to make it threadsafe would
19965 defeat the purpose of this check
19966 * gst/check/gstcheck.c:
19967 * gst/check/gstcheck.h:
19968 use GST_DEBUG some more
19970 2005-11-24 Wim Taymans <wim@fluendo.com>
19972 * gst/gstutils.c: (gst_util_uint64_scale),
19973 (gst_util_uint64_scale_int):
19974 Chain trivial case to _scale_int.
19976 2005-11-24 Wim Taymans <wim@fluendo.com>
19978 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19979 Added test for scaling.
19984 * gst/gstutils.c: (gst_util_uint64_scale_int):
19985 Implemented high precision scaling code.
19987 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19990 do not crash on pad==NULL
19992 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19994 Patch by: Stefan Kost
19996 * common/gtk-doc.mak:
19997 * docs/gst/Makefile.am:
19998 * docs/libs/Makefile.am:
19999 Fix distcheck issues for the libraries docs build
20002 2005-11-24 Michael Smith <msmith@fluendo.com>
20004 * docs/manual/basics-helloworld.xml:
20005 Fix bug #315027: memory leak in example code in docs.
20007 2005-11-24 Michael Smith <msmith@fluendo.com>
20009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20010 Unlock the PREROLL_LOCK in a failure case.
20012 2005-11-24 Wim Taymans <wim@fluendo.com>
20014 * docs/gst/gstreamer-sections.txt:
20015 * gst/base/gstadapter.h:
20016 * gst/base/gstbasesink.h:
20017 * gst/base/gstbasesrc.h:
20018 * gst/base/gstbasetransform.h:
20019 * gst/base/gstpushsrc.h:
20020 * gst/elements/gstfakesink.h:
20021 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20022 * gst/elements/gstfakesrc.h:
20023 * gst/elements/gstfilesink.h:
20024 * gst/elements/gstfilesrc.h:
20027 * gst/gstbuffer.c: (_gst_buffer_copy):
20030 * gst/gstchildproxy.c:
20032 * gst/gstelement.c:
20033 * gst/gstelementfactory.c:
20034 * gst/gstelementfactory.h:
20036 * gst/gstghostpad.h:
20038 * gst/gstinterface.h:
20039 * gst/gstminiobject.c:
20040 * gst/gstminiobject.h:
20043 * gst/gstpadtemplate.h:
20044 * gst/gstpipeline.h:
20045 * gst/gstpluginfeature.h:
20048 * gst/gsttaglist.c:
20049 * gst/gsttaglist.h:
20050 * gst/gsttagsetter.c:
20051 * gst/gsttagsetter.h:
20054 * gst/gsttypefind.h:
20057 * gst/net/gstnetclientclock.c:
20058 * gst/net/gstnetclientclock.h:
20059 * gst/net/gstnettimepacket.c:
20060 * gst/net/gstnettimeprovider.c:
20061 * gst/net/gstnettimeprovider.h:
20064 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20066 * configure.ac: back to HEAD
20068 === release 0.9.6 ===
20070 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20073 releasing 0.9.6, "Always On Time"
20075 2005-11-23 Wim Taymans <wim@fluendo.com>
20077 * docs/gst/gstreamer-sections.txt:
20078 * gst/glib-compat.c:
20079 * gst/gsttagsetter.c:
20081 * gst/net/gstnetclientclock.c:
20082 * gst/net/gstnettimepacket.h:
20085 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20087 * docs/faq/using.xml:
20088 * docs/libs/tmpl/gstcontrol.sgml:
20089 * docs/manual/advanced-dparams.xml:
20090 * docs/manual/appendix-checklist.xml:
20091 * docs/manual/basics-elements.xml:
20092 * docs/pwg/other-source.xml:
20093 * docs/random/moving-plugins:
20095 * tools/gst-launch.1.in:
20096 remove mentions of sinesrc
20098 2005-11-23 Michael Smith <msmith@fluendo.com>
20100 * docs/gst/gstreamer-sections.txt:
20101 Update for new API and API changes.
20103 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20105 Documentation typo fix.
20106 * gst/net/gstnettimepacket.c:
20107 Documentation fixes for arguments.
20109 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20111 * gst/gststructure.c: (gst_structure_get_fraction),
20112 (gst_structure_parse_value),
20113 (gst_structure_fixate_field_nearest_fraction):
20114 * gst/gststructure.h:
20115 * gst/gstutils.c: (gst_util_uint64_scale_int):
20117 * scripts/update-funcnames:
20119 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20120 Make gst_structure_fixate_field_nearest_fraction take a numerator
20121 and denominator argument instead of a GValue
20122 add gst_structure_get_fraction helper function.
20124 2005-11-23 Wim Taymans <wim@fluendo.com>
20126 * docs/design/part-TODO.txt:
20129 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20130 * gst/net/gstnetclientclock.h:
20131 Use parent fields for timeout and window_size.
20133 2005-11-23 Andy Wingo <wingo@pobox.com>
20135 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20136 rate_num/rate_denom change.
20138 * gst/net/gstnetclientclock.c
20139 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20140 OBJECT_LOCK. Don't call add_observation with the lock.
20142 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20144 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20146 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20147 deal with rate as a fraction whose numerator and denominator are
20148 GstClockTime values.
20149 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20150 master; the other fields are protected by the SLAVE_LOCK.
20151 (do_linear_regression): Note that this must be called with the
20153 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20154 OBJECT_LOCK. Call set_calibration instead of touching the
20155 variables directly.
20156 (gst_clock_set_property, gst_clock_get_property): Protect
20157 master/slave parameters with the SLAVE_LOCK.
20159 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20160 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20161 note that all of the instance variables that add_observation and
20162 the set_master functions use are protected by that lock and not
20164 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20166 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20167 the caller to take the object lock.
20169 2005-11-23 Wim Taymans <wim@fluendo.com>
20171 * gst/gsterror.c: (_gst_core_errors_init):
20173 Add error for clock stuff.
20175 * gst/gstpipeline.c: (gst_pipeline_change_state),
20176 (gst_pipeline_set_clock):
20177 Post clock error when clock cannot be used in a pipeline.
20179 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20181 * docs/gst/gstreamer-sections.txt:
20182 make two symbols from gstinfo private for the docs
20183 * gst/base/gstcollectpads.h:
20185 fix doc typos, update docs
20187 2005-11-22 Wim Taymans <wim@fluendo.com>
20189 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20190 (gst_base_sink_wait), (gst_base_sink_do_sync),
20191 (gst_base_sink_handle_event):
20192 * gst/base/gstbasesink.h:
20193 No need to store the clock, the parent element class already
20196 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20197 Updates for clock_set returning a gboolean
20199 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20200 (gst_clock_id_wait_async), (gst_clock_class_init),
20201 (gst_clock_init), (gst_clock_finalize),
20202 (gst_clock_get_internal_time), (gst_clock_get_time),
20203 (gst_clock_slave_callback), (gst_clock_set_master),
20204 (gst_clock_get_master), (do_linear_regression),
20205 (gst_clock_add_observation), (gst_clock_set_property),
20206 (gst_clock_get_property):
20208 Implement master/slave. When setting a clock as a slave, a
20209 periodic timeout is scheduled to sample master and slave times.
20210 Then the slave clock is recalibrated to match offset and rate
20211 of the master clock.
20212 Update logging a bit.
20213 Add flag so that a clock can state that is cannot be slaved to
20216 * gst/gstelement.c: (gst_element_set_clock):
20217 * gst/gstelement.h:
20218 The set clock returns a gboolean for when an element cannot
20219 deal with the selected clock in the pipeline.
20221 * gst/gstpipeline.c: (gst_pipeline_change_state),
20222 (gst_pipeline_set_clock):
20223 * gst/gstpipeline.h:
20224 Handle the case where the selected clock cannot be set on
20227 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20228 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20229 (gst_net_client_clock_set_property),
20230 (gst_net_client_clock_get_property),
20231 (gst_net_client_clock_observe_times):
20232 * gst/net/gstnetclientclock.h:
20233 Use regression code in GstClock parent, remove duplicated
20236 2005-11-22 Michael Smith <msmith@fluendo.com>
20238 * gst/gstutils.c: (gst_util_clock_time_scale):
20240 * docs/gst/gstreamer-sections.txt:
20241 Rename method to have extra underscore.
20243 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20245 * gst/elements/Makefile.am:
20246 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20247 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20248 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20249 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20250 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20251 * gst/elements/gstfakesrc.h:
20252 * gst/gstqueue.c: (queue_leaky_get_type):
20253 correctly fix GEnumValues so that nick is the short lowercase
20255 * tools/gst-inspect.c: (print_element_properties_info):
20256 also show the nick, since it's useful to use from parse_launch
20260 2005-11-22 Michael Smith <msmith@fluendo.com>
20262 * gst/gstutils.c: (gst_util_clocktime_scale):
20264 * docs/gst/gstreamer-sections.txt:
20265 Add util method for scaling a clocktime by a fraction. Useful
20266 implementation is left as an exercise for the reader.
20268 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20270 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20271 If needed, allocate storage in the destination value during
20274 2005-11-22 Edward Hervey <edward@fluendo.com>
20276 * docs/gst/gstreamer-sections.txt:
20279 * gst/gsturitype.c:
20280 * gst/gsturitype.h:
20281 * gst/gstutils.c: (gst_util_set_object_arg):
20282 * tools/gst-compprep.c: (main):
20283 * tools/gst-inspect.c: (print_element_properties_info):
20284 Removed GstURI, closes bug #321061
20286 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20288 * check/gst/gststructure.c: (GST_START_TEST):
20289 * gst/gststructure.c: (gst_structure_parse_value):
20290 Oops, broke automatic string type parsing.
20291 Add a test to catch it in future.
20293 2005-11-22 Andy Wingo <wingo@pobox.com>
20295 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20296 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20297 Actually rename the function implementations. Grr.
20299 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20301 * check/gst/capslist.h:
20303 * check/gst/gststructure.c: (GST_START_TEST),
20304 (gst_structure_suite):
20305 Test automatic value type detection in gst_structure_from_string.
20306 * gst/gststructure.c: (gst_structure_parse_value):
20307 Add fraction as a type we try and guess automatically in
20308 caps/structure strings.
20310 2005-11-22 Andy Wingo <wingo@pobox.com>
20312 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20314 * gst/gsttagsetter.h:
20315 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20316 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20317 (gst_tag_setter_add_tag_valist)
20318 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20319 _add_values, _add_valist, and _add_valist_values. Since this is an
20320 interface the function suffixes should be more explicit so
20321 language binding don't end up with element.add_valist ->
20322 gst_tag_setter_add_valist, for example. Fixes #322069.
20324 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20326 * check/gst/gstcaps.c: (GST_START_TEST):
20327 Extend caps string tests to check that a caps to string
20328 conversion is reversible and produces the same caps.
20330 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20331 Output "fraction" as the generic type fraction range, so caps
20332 serialisation and deserialisation works.
20333 * check/gst/capslist.h:
20334 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20335 Support 'MIN' and 'MAX' for deserialising fractions.
20337 2005-11-22 Andy Wingo <wingo@pobox.com>
20339 * gst/gstevent.h (gst_event_new_new_segment)
20340 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20341 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20342 Renamed from *_newsegment, *_buffersize, *_notarget.
20344 * scripts/update-funcnames: New script, performs the changes
20347 2005-11-22 Wim Taymans <wim@fluendo.com>
20349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20350 Make sure the GstFlowReturn is returned.
20352 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20353 (gst_bus_add_signal_watch):
20355 add gst_bus_add_signal_watch_full.
20357 * gst/gstplugin.c: (gst_plugin_load_file):
20358 Small style cleanup.
20360 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20362 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20363 Block the fakesrc srcpad when we send an event, to avoid
20364 contention on the stream_lock causing random test failures.
20366 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20368 * check/gst/gstvalue.c: (GST_START_TEST):
20369 * gst/gstvalue.c: (gst_value_fraction_subtract):
20372 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20375 include "gstchildproxy.h"
20376 * gst/gstchildproxy.h:
20377 * libs/gst/controller/gstcontroller.h:
20378 use G_GNUC_NULL_TERMINATED
20380 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20382 * check/gst/capslist.h:
20383 * check/gst/gstcaps.c: (GST_START_TEST):
20384 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20385 * gst/gststructure.c: (gst_structure_parse_range),
20386 (gst_structure_fixate_field_nearest_fraction):
20387 * gst/gststructure.h:
20388 * gst/gstvalue.c: (gst_value_init_fraction_range),
20389 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20390 (gst_value_collect_fraction_range),
20391 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20392 (gst_value_set_fraction_range_full),
20393 (gst_value_get_fraction_range_min),
20394 (gst_value_get_fraction_range_max),
20395 (gst_value_serialize_fraction_range),
20396 (gst_value_transform_fraction_range_string),
20397 (gst_value_compare_fraction_range),
20398 (gst_value_deserialize_fraction_range),
20399 (gst_value_intersect_fraction_fraction_range),
20400 (gst_value_intersect_fraction_range_fraction_range),
20401 (gst_value_subtract_fraction_fraction_range),
20402 (gst_value_subtract_fraction_range_fraction),
20403 (gst_value_subtract_fraction_range_fraction_range),
20404 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20405 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20406 (gst_value_transform_string_fraction), (_gst_value_initialize):
20408 Implement fraction ranges and extend GstFraction to support
20409 arithmetic subtraction, as well as deserialization from integer
20410 strings such as "100"
20411 Add a testsuite as for int and double range set operations
20413 2005-11-21 Andy Wingo <wingo@pobox.com>
20415 * gst/gsttaglist.h:
20417 * gst/gststructure.h: Add glib-compat.h.
20419 2005-11-21 Wim Taymans <wim@fluendo.com>
20421 * gst/gstbin.c: (gst_bin_change_state_func):
20424 2005-11-21 Wim Taymans <wim@fluendo.com>
20426 * gst/gstsegment.h:
20427 And add a nice define too.
20429 2005-11-21 Wim Taymans <wim@fluendo.com>
20431 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20432 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20433 (gst_segment_set_duration), (gst_segment_set_last_stop),
20434 (gst_segment_set_seek), (gst_segment_set_newsegment),
20435 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20436 (gst_segment_clip):
20437 * gst/gstsegment.h:
20438 Make binding friendly.
20440 2005-11-21 Andy Wingo <wingo@pobox.com>
20442 * gst/gsttagsetter.h:
20443 * gst/gsttaglist.h:
20444 * gst/gststructure.h:
20446 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20449 * gst/gsterror.c (_gst_core_errors_init):
20450 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20453 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20454 (noinst_HEADERS): noinst the -private.
20456 2005-11-21 Michael Smith <msmith@fluendo.com>
20459 * gst/gstregistry.h:
20460 Remove unimplemented declarations for which we can see no sensible
20463 2005-11-21 Andy Wingo <wingo@pobox.com>
20465 * gst/gst.h: Include glib-compat.h.
20467 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20469 * gst/glib-compat.c: Include the public and the private header.
20471 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20475 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20477 * check/gst/gstevent.c (create_custom_events): Check that
20478 FLUSH_STOP is serialized.
20480 * check/elements/identity.c (event_func):
20481 * check/elements/fakesrc.c (event_func): No stream lock, the core
20484 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20485 stream lock taking, yay.
20487 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20488 ensure that core takes the stream lock.
20490 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20493 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20494 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20495 it already. For the flush start we do take it though so we get the
20496 right preroll state change messages.
20498 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20499 the stream lock here, the core does it for us.
20501 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20502 GST_STREAM_GET_LOCK.
20503 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20504 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20505 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20506 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20507 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20508 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20510 * gst/gstpad.c: Update for stream lock name change.
20512 * gst/base/gstbasesink.c: Update for preroll lock name change.
20514 2005-11-21 Wim Taymans <wim@fluendo.com>
20516 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20517 (gst_clock_get_master):
20519 * gst/gstsystemclock.c: (gst_system_clock_init):
20520 Convert Clock flags to object flags.
20521 Added methods to manage master/slave clocks.
20523 2005-11-21 Wim Taymans <wim@fluendo.com>
20525 * check/gst/gstsegment.c: (GST_START_TEST):
20526 * docs/design/part-TODO.txt:
20527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20528 (gst_base_sink_event), (gst_base_sink_do_sync),
20529 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20530 (gst_base_sink_query), (gst_base_sink_change_state):
20531 * gst/base/gstbasesink.h:
20532 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20533 (gst_base_src_default_newsegment),
20534 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20535 (gst_base_src_get_range), (gst_base_src_loop),
20536 (gst_base_src_change_state):
20537 * gst/base/gstbasesrc.h:
20538 * gst/base/gstbasetransform.c:
20539 (gst_base_transform_prepare_output_buf),
20540 (gst_base_transform_event), (gst_base_transform_change_state):
20541 * gst/base/gstbasetransform.h:
20542 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20543 (gst_collect_pads_event):
20544 * gst/base/gstcollectpads.h:
20545 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20546 (gst_fake_src_create):
20547 * gst/elements/gstfakesrc.h:
20548 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20549 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20550 (gst_segment_set_last_stop), (gst_segment_set_seek),
20551 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20552 (gst_segment_to_running_time), (gst_segment_clip):
20553 * gst/gstsegment.h:
20554 More segment updates, replace code in plugins with segment
20557 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20559 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20560 Don't ignore sscanf results
20562 2005-11-21 Andy Wingo <wingo@pobox.com>
20564 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20567 * *.c: Ran scripts/update-macros. Oh yes.
20569 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20570 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20573 * scripts/update-macros: New script. Run it on your files to
20574 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20577 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20579 * docs/gst/Makefile.am:
20580 * docs/gst/gstreamer-docs.sgml:
20581 * docs/gst/gstreamer-sections.txt:
20582 * docs/gst/gstreamer.types:
20584 more docs fixes, add new api to the docs
20586 2005-11-21 Andy Wingo <wingo@pobox.com>
20588 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20589 state_broadcast call.
20591 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20593 2005-11-21 Julien MOUTTE <julien@moutte.net>
20595 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20596 function calls for arrays.
20598 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20600 * docs/random/ensonic/media-device-daemon.txt:
20601 wild idea, can this be done?
20602 * docs/gst/gstreamer-sections.txt:
20607 * gst/gstpluginfeature.c:
20611 doc fixes and additions
20613 2005-11-21 Andy Wingo <wingo@pobox.com>
20615 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20616 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20617 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20618 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20619 private to the basesrc implementation.
20621 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20622 behalf of event function if necessary. It should no longer be
20623 necessary to take the stream lock in pad's event functions. Fixes
20626 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20627 * docs/gst/gstreamer-sections.txt:
20628 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20629 (gst_structure_fixate_field_nearest_double),
20630 (gst_structure_fixate_field_boolean):
20631 * gst/gststructure.h:
20632 * win32/common/libgstreamer.def:
20633 * win32/gstreamer.def:
20635 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20638 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20640 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20641 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20642 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20643 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20644 (gst_fdsrc_uri_handler_init):
20645 * gst/elements/gstfdsrc.h:
20646 Port fd:// URI handler from 0.8 to fdsrc
20648 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20650 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20651 (gst_value_serialize_fourcc):
20653 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20654 consistent with our other format defines (#320324).
20656 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20658 * gst/gstvalue.c: (gst_value_is_fixed):
20659 Revert previous commit. Value lists are by definition
20660 not fixed, as they are a list of possible values.
20662 2005-11-21 Andy Wingo <wingo@pobox.com>
20664 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20665 during the stable series if we need it. Fixes #319178.
20667 * gst/gstevent.c (gst_event_new_filler): Removed.
20669 * check/gst/gstevent.c: Update comment about filler events.
20671 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20673 * gst/gstvalue.c: (gst_value_is_fixed):
20674 Should handle both value arrays and value lists.
20676 2005-11-21 Andy Wingo <wingo@pobox.com>
20678 patch by: Alessandro Dessina <alessandro nnva org>
20680 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20681 functions to access arrays. Fixes #321962.
20683 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20685 * docs/gst/gstreamer.types:
20686 gst_collectpads_get_type => gst_collect_pads_get_type.
20688 * gst/base/gstbasetransform.c:
20689 Remove unused SIGNAL_HANDOFF enum.
20691 2005-11-21 Andy Wingo <wingo@pobox.com>
20693 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20694 the event type (upstream, downstream, serialized). Renamed
20695 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20696 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20697 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20699 * gst/gstevent.c: Update for new CUSTOM event names.
20701 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20704 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20707 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20709 * docs/gst/gstreamer-sections.txt:
20710 * win32/common/libgstbase.def:
20711 * win32/libgstbase.def:
20712 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20713 (gst_collect_pads_class_init), (gst_collect_pads_init),
20714 (gst_collect_pads_finalize), (gst_collect_pads_new),
20715 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20716 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20717 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20718 (gst_collect_pads_start), (gst_collect_pads_stop),
20719 (gst_collect_pads_peek), (gst_collect_pads_pop),
20720 (gst_collect_pads_available), (gst_collect_pads_read),
20721 (gst_collect_pads_flush), (gst_collect_pads_event),
20722 (gst_collect_pads_chain):
20723 * gst/base/gstcollectpads.h:
20724 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20725 unimplemented functions as unimplemented. Add padding to
20726 GstCollectData. (#320766, #320423)
20728 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20730 * gst/gstmessage.c:
20731 Improve docs for DURATION message (usage of duration parameter)
20734 2005-11-20 Wim Taymans <wim@fluendo.com>
20736 * check/Makefile.am:
20737 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20741 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20742 (gst_segment_set_seek), (gst_segment_set_newsegment),
20743 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20744 (gst_segment_clip):
20745 * gst/gstsegment.h:
20746 Added segment helper structure and methods. Not fully implemented
20748 Added segment check.
20750 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20752 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20753 Add a deserialisation test for fractions
20754 * examples/metadata/read-metadata.c: (message_loop),
20755 (make_pipeline), (main):
20756 Fix up metadata reading sample.
20757 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20759 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20760 Don't try and fixate empty caps
20761 * gst/gst_private.h:
20762 Wrap in G_BEGIN_DECLS/G_END_DECLS
20763 * gst/gstvalue.c: (gst_value_collect_fraction),
20764 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20765 (gst_value_transform_string_fraction),
20766 (gst_value_compare_fraction):
20767 Add some extra guards to ensure that we don't end up
20768 with an invalid denominator of 0 in a gstfraction and
20769 that fractions always get reduced.
20771 2005-11-20 Wim Taymans <wim@fluendo.com>
20773 * docs/gst/gstreamer-sections.txt:
20775 * gst/gstelement.c:
20784 2005-11-20 Wim Taymans <wim@fluendo.com>
20786 * docs/design/part-TODO.txt:
20788 Make a proper enum of the flag.
20790 2005-11-19 Wim Taymans <wim@fluendo.com>
20792 * docs/design/part-TODO.txt:
20793 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20794 (gst_format_to_quark), (gst_format_register):
20796 * gst/gstquery.c: (_gst_query_initialize),
20797 (gst_query_type_get_name), (gst_query_type_to_quark),
20798 (gst_query_type_register):
20800 Add type to quark and type to string conversions.
20802 2005-11-19 Andy Wingo <wingo@pobox.com>
20804 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20807 2005-11-19 Wim Taymans <wim@fluendo.com>
20809 * docs/design/part-TODO.txt:
20810 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20811 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20812 (gst_bin_handle_message_func):
20814 Make message handling overridable.
20816 2005-11-19 Andy Wingo <wingo@pobox.com>
20818 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20821 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20823 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20824 is a GstClockTime. Fixes #321710.
20826 * gst/gstclock.h (GstClock): Remove offset property. Add
20827 internal_calibration and external_calibration. Fix padding. Pad
20828 also by GstClockTime so we don't run into problems.
20830 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20831 (gst_clock_get_rate_offset): Remove.
20832 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20835 * gst/gstutils.c (g_static_rec_cond_wait)
20836 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20838 * gst/gstbin.c: Remove terrible continue_state prototype.
20840 * gst/gstelement.h (gst_element_continue_state): Make public.
20842 * gst/gstelement.h:
20843 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20844 by continue_state. Fixes #319389.
20846 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20847 Really fixes #168438. However I don't see anywhere where the
20848 filter function is called... stupid GStreamer...
20850 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20851 don't have a dispose function, so it won't get called when the
20852 object is unreffed, but oh well!
20854 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20855 allows a destroy function to be set so user_data can be freed.
20857 (gst_index_set_filter): Call gst_index_set_filter_full.
20859 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20861 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20862 string should produce an error, given the lack of a way to
20863 represent NULL strings. Fixes #165650.
20866 * gst/gstvalue.c (gst_value_array_append_value)
20867 (gst_value_array_prepend_value, gst_value_array_get_size)
20868 (gst_value_array_get_value): New API, copied from
20869 gst_value_list_*, only operates on arrays.
20870 (gst_value_list_append_value, gst_value_list_prepend_value)
20871 (gst_value_list_concat, gst_value_list_get_size)
20872 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20874 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20875 init_list, because it works on both.
20876 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20877 (gst_value_copy_list_or_array): Renamed from copy_list.
20878 (gst_value_free_list_or_array): Renamed from free_list.
20879 (gst_value_collect_list_or_array): Renamed from collect_list.
20880 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20881 (gst_value_list_or_array_peek_pointer): Renamed from
20883 (_gst_value_array_value_table, _gst_value_list_value_table):
20884 Update value table functions.
20885 (gst_value_compare_list_or_array): Renamed from compare_list.
20887 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20890 * gst/gsttaglist.c:
20891 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20892 GstTagList*. Fixes #143472.
20894 * gst/gststructure.h: Clarify what the foreach/map functions can
20895 or can't do to their arguments.
20897 2005-11-18 Wim Taymans <wim@fluendo.com>
20899 * gst/gstclock.c: (gst_clock_set_calibration),
20900 (gst_clock_get_calibration):
20902 Calibration can be set with internal time equal to current
20905 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20911 2005-11-18 Andy Wingo <wingo@pobox.com>
20914 * pkgconfig/gstreamer-net.pc.in:
20915 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20916 * pkgconfig/Makefile.am: Add net pkgconfig files.
20918 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20921 * gst/gstghostpad.c:
20927 2005-11-18 Andy Wingo <wingo@pobox.com>
20929 * gst/net/gstnetclientclock.c: Turn off debugging.
20931 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20932 times connverge somewhat. Can't make a real test.
20934 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20935 integer arithmetic. Return the minimum of the domain, which can be
20936 set as "internal" for gst_clock_set_calibration.
20937 (gst_net_client_clock_observe_times): Call _set_calibration.
20938 (gst_net_client_clock_new): Call _set_calibration instead of
20941 * check/net/gstnetclientclock.c (test_functioning): Use the right
20945 * gst/gstclock.c (gst_clock_get_calibration)
20946 (gst_clock_set_calibration): New functions, obsolete the ones I
20947 added yesterday. Doh. Precision issues mean we have to extrapolate
20948 from a point in the more recent past than 1970.
20949 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20951 (gst_clock_adjust_unlocked): Use the right calibration data.
20953 2005-11-18 Edward Hervey <edward@fluendo.com>
20955 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20956 Also reset the ->current_* values in READY->PAUSED
20958 2005-11-18 Andy Wingo <wingo@pobox.com>
20960 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20961 Whoops, check the right fd. Also add some debugging.
20962 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20963 (do_linear_regression): Add a crapload of debugging. Subtract off
20964 the minimum values from the input series to discard unneeded bits.
20965 Use only int arithmetic. There is still double arithmetic when
20966 calculating the intercept that needs fixing. Return boolean to
20967 indicate success; FALSE would mean the domain or range is too
20968 great. Still needs fixes.
20970 2005-11-18 Wim Taymans <wim@fluendo.com>
20972 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20973 For the current position in stream time, we need to subtract
20976 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20977 Release lock before calling the callback function of async
20980 2005-11-18 Andy Wingo <wingo@pobox.com>
20982 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20983 Port goes all the way to MAXUINT16.
20985 * gst/net/gstnettimeprovider.c: Make the port range the same as
20986 for the kernel: 0 assigns, otherwise ports are less than
20989 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20992 * check/net/gstnetclientclock.c (test_functioning): Add the start
20995 2005-11-18 Wim Taymans <wim@fluendo.com>
20997 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20998 (gst_bin_remove_func), (bin_bus_handler):
21000 Removing a clock provider from a bin, triggers a clock lost message
21001 so that a new clock will be selected.
21002 Adding a clock to a bin triggers a clock provider message.
21003 Make sure we reselect a clock when we received a clock lost message.
21004 Keep a reference to the element that provided the clock.
21006 2005-11-18 Andy Wingo <wingo@pobox.com>
21008 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21009 the clock initially so it produces values around the base time.
21010 (gst_net_client_clock_class_init): Typo fix.
21011 (gst_net_client_clock_thread): Add note on when the socket gets
21014 2005-11-17 Wim Taymans <wim@fluendo.com>
21016 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21017 Free remote and local time arrays.
21019 2005-11-17 Wim Taymans <wim@fluendo.com>
21021 * gst/net/gstnetclientclock.c: (do_linear_regression),
21022 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21023 Fix compilation, uninitialized vars and a forgotten continue.
21025 2005-11-17 Andy Wingo <wingo@pobox.com>
21027 * check/Makefile.am (check_PROGRAMS):
21028 * check/net/gstnetclientclock.c: Add a most minimal test for the
21029 net client clock. More to come later.
21031 * gst/net/gstnet.h:
21032 * gst/net/Makefile.am: Add netclientclock.
21034 * gst/net/gstnetclientclock.h:
21035 * gst/net/gstnetclientclock.c: New files, implement an untested
21036 GstClock that takes its time from a network time provider.
21037 Implements the algorithm in network-clock.scm.
21039 * tests/network-clock.scm (*window-size*): Rename from
21041 * tests/network-clock.scm (network-time):
21042 * tests/network-clock-utils.scm (q-push): Update callers.
21044 2005-11-17 Wim Taymans <wim@fluendo.com>
21046 * gst/gstbin.c: (gst_bin_provide_clock_func),
21047 (gst_bin_sort_iterator_new):
21048 And unref the child too..
21050 2005-11-17 Wim Taymans <wim@fluendo.com>
21052 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21053 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21054 Refactor the sort iterator so it can be used while holding the
21056 Make clock selection select a clock closest to the source.
21058 2005-11-17 Michael Smith <msmith@fluendo.com>
21060 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21061 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21063 Anonymous structs are a gcc (and some other compilers) extension, so
21064 don't use them. Since this is only for ABI-compatibility, and our
21065 API/ABI freeze is over in a few days, this whole thing will only
21066 last a few days, so don't bother trying to think up a meaningful
21067 name for the struct.
21069 2005-11-17 Andy Wingo <wingo@pobox.com>
21071 * gst/gstclock.h (GstClock): Add rate and offset properties,
21072 preserving ABI stability. Add rate/offset accessors. Will file bug
21073 for the freeze break.
21075 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21076 and offset, trying to keep precision and avoiding
21077 underflow/overflow.
21078 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21079 functions. Make gst_clock_set_time_adjust obsolete.
21080 (gst_clock_set_time_adjust): Note that this function is obsolete.
21081 Will file bug soon.
21083 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21084 greppable by using GST_PADDING-1+1.
21086 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21088 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21090 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21091 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21093 * gst/gstpadtemplate.h:
21094 * gst/gstpluginfeature.h:
21095 Don't use c++ style comments in headers (#321638).
21097 2005-11-16 Andy Wingo <wingo@pobox.com>
21099 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21102 * check/net/gstnettimeprovider.c: Check to see that the time
21103 provider actually provides times. Works, yo!
21105 2005-11-16 Wim Taymans <wim@fluendo.com>
21107 * check/Makefile.am:
21110 * check/elements/fakesrc.c: (GST_START_TEST):
21111 Set element to NULL before disposing it.
21113 2005-11-16 Andy Wingo <wingo@pobox.com>
21115 * gst/net/Makefile.am:
21116 * gst/net/gstnet.h:
21117 * gst/net/gstnettimeprovider.c:
21118 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21119 provider, include it from gstnet.h, and add it to the build.
21121 * gst/net/gstnettimepacket.h:
21122 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21123 sending and receiving.
21125 2005-11-16 Wim Taymans <wim@fluendo.com>
21127 * check/Makefile.am:
21128 Enable valgrind check.
21130 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21131 (gst_fake_src_alloc_buffer):
21134 2005-11-16 Wim Taymans <wim@fluendo.com>
21136 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21137 Call parent finalize too.
21139 2005-11-16 Wim Taymans <wim@fluendo.com>
21141 * check/Makefile.am:
21142 Enable valgrind check that should work fine now.
21144 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21145 * gst/gstqueue.c: (gst_queue_init):
21146 Fix memleaks in pad allocation.
21148 2005-11-16 Andy Wingo <wingo@pobox.com>
21150 * gst/net/Makefile.am:
21151 * gst/net/gstnet.h: New part of core to hold network elements and
21152 objects. Put in core because it exposes API that applications want
21153 to use. The library is named libgstnet-tempname right now because
21154 of the existing libgstnet in gst-plugins-base. Solution is
21155 probably to rename the one in plugins-base; will file a bug for
21158 * gst/net/gstnettimeprovider.c:
21159 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21160 get_time call over the network.
21163 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21165 * check/Makefile.am:
21166 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21167 get additions shortly.
21169 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21171 * gst/gstpad.c: (gst_pad_new_from_static_template):
21173 add gst_pad_new_from_static_template functions
21174 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21175 (gst_check_setup_sink_pad):
21176 * gst/elements/gsttee.c: (gst_tee_init):
21179 2005-11-16 Wim Taymans <wim@fluendo.com>
21181 * gst/gstpad.c: (gst_pad_pause_task):
21182 Removed warning, it's not really an error either.
21184 2005-11-16 Wim Taymans <wim@fluendo.com>
21186 * gst/base/gstbasetransform.c:
21187 (gst_base_transform_prepare_output_buf),
21188 (gst_base_transform_event):
21189 Check if the caps are NULL, this can happen if the element
21190 is shutting down and the pad caps are set to NULL.
21192 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21194 * gst/elements/gsttee.c: (gst_tee_init):
21195 fix pad template leak in tee
21197 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21199 * gst/glib-compat.c: (g_value_dup_gst_object):
21200 * gst/glib-compat.h:
21201 * gst/gstpad.c: (gst_pad_set_property):
21202 use gst_object_ref when setting the pad template; this will
21203 trigger the pad template leaks on GLib 2.6 and the slaves
21205 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21207 * gst/glib-compat.c: (gst_flags_get_first_value):
21208 * gst/glib-compat.h:
21209 * gst/gstregistryxml.c:
21210 remove functions copied from GLib 2.6
21212 2005-11-16 Michael Smith <msmith@fluendo.com>
21215 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21216 do, but only breaks with newer valgrind versions. We're not a
21217 valgrind tool, we have no link-time dependencies on libcoregrind.
21219 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21221 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21223 * gst/gstmessage.h:
21226 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21228 * gst/base/gstbasesrc.c: (gst_base_src_init):
21229 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21230 * gst/gstqueue.c: (gst_queue_init):
21231 * gst/gstregistryxml.c: (load_feature):
21232 Revert all these unrefs, they don't even pass make check !
21234 2005-11-15 Johan Dahlin <johan@gnome.org>
21236 * gst/base/gstbasesrc.c: (gst_base_src_init):
21237 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21238 * gst/gstqueue.c: (gst_queue_init):
21239 Free pad templates, fixes a couple of leaks.
21241 2005-11-15 Daniel Fischer <dan at f3c dot com>
21243 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21245 * gst/gstpad.c: (gst_pad_get_property):
21246 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21247 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21250 2005-11-15 Wim Taymans <wim@fluendo.com>
21255 2005-11-15 Andy Wingo <wingo@pobox.com>
21257 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21259 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21260 using GST_CLOCK_TIME_NONE to disable base time management.
21261 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21262 time if it was NONE before.
21263 (gst_pipeline_change_state): Only munge the base time if
21264 stream_time != GST_CLOCK_TIME_NONE.
21266 * check/gst/gstpipeline.c (test_base_time): Punt around the
21267 problem of the probe not being called, because that's not the
21268 issue I'm looking at. Add a check that setting stream_time to NONE
21269 disables base time management.
21271 2005-11-15 Wim Taymans <wim@fluendo.com>
21273 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21274 segment_stop == -1 at startup.
21276 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21277 (gst_base_transform_change_state):
21278 Init segment values at start.
21280 2005-11-15 Wim Taymans <wim@fluendo.com>
21282 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21283 0 segment values are 0 in any format.
21285 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21286 * gst/base/gstbasetransform.h:
21287 Parse newsegment correctly in basetransform
21289 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21290 Sync to clock using updated segment values.
21292 2005-11-15 Andy Wingo <wingo@pobox.com>
21294 * check/gst/gstpipeline.c (test_base_time): Add check that the
21295 base time and stream time are reset correctly.
21297 2005-11-15 Wim Taymans <wim@fluendo.com>
21299 * docs/design/part-TODO.txt:
21300 Some more TODO items.
21302 2005-11-15 Andy Wingo <wingo@pobox.com>
21304 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21305 error if the user selected "no clock" as the clocking method.
21307 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21308 timestamps with live capture.
21310 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21311 is 0 but we are a live source, timestamp the buffers using the
21314 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21316 * docs/gst/gstreamer-sections.txt:
21318 * gst/gstghostpad.c:
21323 2005-11-14 Wim Taymans <wim@fluendo.com>
21326 add suppressions from Wim's Debian machine
21328 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21331 add suppressions from Andy's AMD64 Ubuntu machine
21333 2005-11-14 Andy Wingo <wingo@pobox.com>
21335 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21336 STATE_LOCK not necessary. Fixes #311489.
21338 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21341 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21342 this function is not implemented.
21344 2005-11-14 Julien MOUTTE <julien@moutte.net>
21346 * gst/base/gstbasetransform.c:
21347 (gst_base_transform_prepare_output_buf):
21348 Ref the source pad caps while we need them.
21351 2005-11-11 Wim Taymans <wim@fluendo.com>
21353 * docs/gst/gstreamer-sections.txt:
21354 Added some docs for GstCollectData.
21356 * gst/base/gstadapter.c:
21357 Some small code example fix.
21359 * gst/base/gstcollectpads.c:
21360 * gst/base/gstcollectpads.h:
21361 Document some more.
21363 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21365 * configure.ac: back to HEAD
21367 === release 0.9.5 ===
21369 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21372 releasing 0.9.5, "Bike Lunch Day"
21374 2005-11-11 Wim Taymans <wim@fluendo.com>
21376 * gst/gstbuffer.c: (_gst_buffer_copy):
21379 * gst/gstcaps.c: (gst_caps_is_equal):
21381 Make _is_equal fast in the trivial cases.
21383 * gst/gstminiobject.c:
21384 * gst/gstminiobject.h:
21385 More docs. Spifify .h file.
21390 2005-11-11 Wim Taymans <wim@fluendo.com>
21392 * gst/base/gstbasetransform.c:
21393 (gst_base_transform_prepare_output_buf),
21394 (gst_base_transform_handle_buffer):
21396 If we're processing a buffer and need to allocate an output
21397 buffer, we cannot accept a format change. If we did get a
21398 format change, we have to alloc a buffer ourselves of the
21401 2005-11-11 Wim Taymans <wim@fluendo.com>
21403 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21404 While checking the flag for reentrancy in the gstcaps function
21405 is nice to detect recursive invocations, it also makes it
21406 impossible to call getcaps from multiple threads, which must be
21407 possible. So, checking for recursive calls has to go.
21409 2005-11-11 Michael Smith <msmith@fluendo.com>
21411 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21412 Don't sync on buffers that fall partially outside our current
21413 segment. Prevents an assertion failure/abort playing some files.
21415 2005-11-10 Andy Wingo <wingo@pobox.com>
21417 * check/gst/gstbin.c (test_message_state_changed_children): Style
21420 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21421 gst_bus_poll with the signal watch. Ensures that poll and a signal
21422 watch see the same messages.
21424 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21425 a poll and a watch at the same time get the same messages.
21427 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21429 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21430 * gst/gstcaps.c: (gst_caps_intersect):
21431 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21432 and it's not needed.
21434 2005-11-10 Wim Taymans <wim@fluendo.com>
21436 * docs/design/part-TODO.txt:
21439 2005-11-10 Wim Taymans <wim@fluendo.com>
21441 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21442 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21443 (gst_base_src_do_sync), (gst_base_src_get_range):
21444 Implement clock sync in base class.
21446 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21448 patch by: Tim-Philipp Müller <tim at centricular dot net>
21450 * gst/gststructure.c: (gst_structure_parse_field),
21451 (gst_structure_from_string):
21452 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21453 so that gst_parse_launch() can deal with spaces in filtered link
21454 caps (fixes #164479)
21455 * check/gst/capslist.h:
21456 * check/gst/gststructure.c: (GST_START_TEST):
21457 add unit tests for this change
21459 2005-11-10 Wim Taymans <wim@fluendo.com>
21461 * docs/gst/gstreamer-sections.txt:
21462 * gst/gstelement.c:
21463 * gst/gstelement.h:
21464 Fix docs, move some STATE macros to private.
21466 2005-11-10 Wim Taymans <wim@fluendo.com>
21468 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21469 Added check for bug #317341
21473 Some more spiffifying.
21475 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21476 Call peer linkfunction if we are a source pad. Totally fixes
21480 Update docs, source pads should call the peer linkfunction
21481 so they can atomically perform the pad link.
21483 2005-11-09 Wim Taymans <wim@fluendo.com>
21487 Uber-spiffy-spiffify some more.
21489 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21491 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21492 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21493 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21494 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21495 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21496 * gst/gstpad.c: (gst_pad_init):
21497 Use GST_DEBUG_FUNCPTR() more extensively.
21499 2005-11-09 Wim Taymans <wim@fluendo.com>
21501 * gst/gstobject.c: (gst_object_class_init):
21503 Documentation fixes.
21505 2005-11-09 Edward Hervey <edward@fluendo.com>
21507 * gst/gsttypefindfactory.c:
21510 2005-11-09 Edward Hervey <edward@fluendo.com>
21512 * gst/base/gsttypefindhelper.c:
21513 * gst/gsttypefind.c:
21514 * gst/gsttypefind.h:
21517 2005-11-09 Wim Taymans <wim@fluendo.com>
21519 * gst/gstiterator.c:
21526 2005-11-09 Wim Taymans <wim@fluendo.com>
21532 2005-11-09 Wim Taymans <wim@fluendo.com>
21534 * docs/gst/gstreamer-sections.txt:
21535 Moved the message async delivery private lock and cond
21536 to the private section.
21538 * gst/gstmessage.c:
21539 * gst/gstmessage.h:
21542 2005-11-09 Edward Hervey <edward@fluendo.com>
21544 * docs/gst/gstreamer-sections.txt:
21547 Document GstURIHandler
21549 2005-11-09 Wim Taymans <wim@fluendo.com>
21551 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21552 (gst_iterator_find_custom):
21553 * gst/gstiterator.h:
21556 2005-11-09 Wim Taymans <wim@fluendo.com>
21559 Document another field.
21561 * gst/gststructure.c:
21562 * gst/gststructure.h:
21565 2005-11-09 Wim Taymans <wim@fluendo.com>
21568 Documented structs.
21570 2005-11-09 Wim Taymans <wim@fluendo.com>
21572 * docs/gst/gstreamer-sections.txt:
21573 Added some new macros.
21580 2005-11-09 Wim Taymans <wim@fluendo.com>
21582 * docs/design/part-TODO.txt:
21583 Some more items for the TODO
21589 2005-11-09 Andy Wingo <wingo@pobox.com>
21591 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21592 to work on something else now tho...
21594 * gst/base/gstadapter.c: More adapter docs.
21596 * gst/elements/gstfilesink.c (gst_file_sink_start)
21597 (gst_file_sink_stop): New functions, replace the state change
21599 (gst_file_sink_class_init): Hook up the start and stop functions.
21600 (gst_file_sink_base_init): Don't set the state change handler any
21601 more. It was a bit ugly too, being set from here...
21602 (gst_file_sink_get_property, gst_file_sink_set_property):
21604 (gst_file_sink_set_location): More robust check that doesn't call
21605 GST_STATE. Ugggggg.
21607 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21609 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21610 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21612 2005-11-08 Wim Taymans <wim@fluendo.com>
21614 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21615 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21616 (gst_base_sink_chain), (gst_base_sink_change_state):
21617 * gst/base/gstbasesink.h:
21618 * gst/base/gstbasesrc.h:
21619 * gst/gstelement.h:
21621 Avoid excessive typechecking in macros.
21623 * gst/gstminiobject.c: (gst_mini_object_get_type),
21624 (gst_mini_object_init), (gst_mini_object_new),
21625 (gst_mini_object_free):
21626 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21627 (gst_object_finalize):
21628 Remove cruft code, optimize alloc_trace.
21630 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21632 * docs/faq/gst-uninstalled:
21633 fix up PS1 for systems that try to reset it
21635 2005-11-07 Wim Taymans <wim@fluendo.com>
21637 * gst/base/gstbasesrc.c: (gst_base_src_init),
21638 (gst_base_src_get_range):
21639 Set the segment_end to -1 initially. Fixed typefind.
21641 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21643 * gst/base/gstadapter.c:
21644 Debug category should be 'adapter', not 'GstAdapter'.
21646 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21647 (gst_collectpads_class_init), (gst_collectpads_init),
21648 (gst_collectpads_peek), (gst_collectpads_pop),
21649 (gst_collectpads_event), (gst_collectpads_chain):
21650 Add debug category and some debugging output. Use boilerplate
21651 macros. Remove some extraneous words from docs.
21653 2005-11-05 Andy Wingo <wingo@pobox.com>
21655 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21658 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21660 * docs/gst/gstreamer-sections.txt:
21663 * gst/gstminiobject.h:
21668 2005-11-04 Wim Taymans <wim@fluendo.com>
21670 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21671 Small update to stop at the configured segment_end
21674 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21676 * gst/gstregistry.c:
21677 * gst/gstregistry.h:
21680 2005-11-04 Edward Hervey <edward@fluendo.com>
21682 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21683 Check if we are doing a segment seek and have arrived at the
21684 end of that segment.
21686 2005-11-04 Wim Taymans <wim@fluendo.com>
21688 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21689 Don't leak a mutex unlock in case of an error.
21694 2005-11-04 Wim Taymans <wim@fluendo.com>
21696 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21698 Get the context to wake up only once.
21700 2005-11-03 Wim Taymans <wim@fluendo.com>
21702 * check/states/sinks.c: (GST_START_TEST):
21703 Uncomment fixed check.
21705 * docs/design/part-TODO.txt:
21708 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21709 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21710 (gst_base_sink_get_position):
21711 If we are going to PLAYING, post the right pending state
21712 when we post the intermediate paused message.
21714 * gst/gstelement.c: (gst_element_continue_state),
21715 (gst_element_set_state_func), (gst_element_change_state):
21716 Don't post state changes that were between the same state
21717 and were not ASYNC.
21719 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21721 * docs/gst/gstreamer-sections.txt:
21724 * gst/gstminiobject.h:
21727 more docs and doc style fixes
21729 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21731 * docs/gst/gstreamer-sections.txt:
21732 * gst/gstelement.c:
21733 * gst/gstminiobject.c:
21736 2005-11-03 Andy Wingo <wingo@pobox.com>
21738 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21739 state-changed messages actually have the right order and the right
21742 2005-11-03 Wim Taymans <wim@fluendo.com>
21744 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21745 Added some more checks. Specifically the case where NO_PREROLL
21746 elements are in the pipeline.
21748 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21749 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21750 (gst_base_sink_get_position):
21751 Post READY->PAUSED state change messages too.
21752 Fix bug where VOID was posted as pending state...
21754 * gst/gstbin.c: (gst_bin_recalc_state):
21755 use _element_continue_state() to continue the state change.
21757 * gst/gstelement.c: (gst_element_continue_state),
21758 (gst_element_commit_state), (gst_element_set_state_func),
21759 (gst_element_change_state), (gst_element_change_state_func):
21760 Lots of state change cleanups, assign the STATE_RETURN in
21761 a new continue_state() function that also propagates the
21762 last return value from a state change to the app.
21763 Update some debug statements with proper category.
21765 2005-11-03 Wim Taymans <wim@fluendo.com>
21767 * docs/design/part-events.txt:
21768 * docs/design/part-gstpipeline.txt:
21769 * docs/design/part-messages.txt:
21770 * docs/design/part-overview.txt:
21771 * docs/design/part-seeking.txt:
21772 * docs/design/part-states.txt:
21773 * docs/design/part-trickmodes.txt:
21774 * docs/manual/advanced-position.xml:
21775 Small docs updates.
21778 People think !! is ugly, this looks better.
21780 * gst/gstpad.c: (gst_pad_set_blocked_async):
21781 Remove !! since it's fixed elsewhere now.
21783 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21785 * gst/gstminiobject.h:
21787 Add !! to _FLAG_IS_SET macros to make the result boolean.
21789 2005-11-03 Edward Hervey <edward@fluendo.com>
21791 * gst/gstpad.c: (gst_pad_set_blocked_async):
21792 comparing a flag and a gboolean rarely returns coherent results...
21793 Added two characters (!!) to make that work correctly.
21795 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21797 * gst/gstbus.c: (gst_bus_class_init):
21800 * gst/gstqueue.c: (gst_queue_loop):
21801 Don't assume a miniobject that isn't a buffer is an
21802 event (it could be that there is a refcounting
21803 problem somewhere and the pointer is stale and
21804 refers to an already destroyed miniobject).
21806 2005-11-03 Julien MOUTTE <julien@moutte.net>
21808 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21810 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21812 * docs/manual/advanced-position.xml:
21813 Update seek example and explanations to current 0.9 API.
21815 * gst/elements/gsttypefindelement.c:
21816 (gst_type_find_element_activate):
21817 Remove FIXME comment now that the found caps
21820 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21822 * gst/gstregistryxml.c: (load_feature):
21823 Add another GST_STR_NULL instance
21825 2005-11-02 Edward Hervey <edward@fluendo.com>
21827 * gst/gstpad.c: (handle_pad_block):
21828 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21830 2005-11-02 Wim Taymans <wim@fluendo.com>
21835 * gst/gstelement.c: (gst_element_commit_state):
21836 Remove unused value.
21838 * gst/gstiterator.c:
21839 Mention that the returned element is reffed in the docs.
21841 2005-11-02 Wim Taymans <wim@fluendo.com>
21843 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21844 (gst_pad_push), (gst_pad_push_event):
21845 Unlock blocked pads when they are flushed.
21847 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21850 * docs/gst/gstreamer-sections.txt:
21853 * gst/gstregistry.c: (gst_registry_scan_path_level):
21854 fix for a nasty little missed situation where an installed plug-in
21855 which was in the cache did not get overridden by an uninstalled one
21856 which was earlier in the plugin path because the newly created plugin
21857 for the uninstalled one (not in the registry) didn't get its
21858 ->registered set to TRUE
21860 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21862 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21863 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21864 (gst_collectpads_is_active), (gst_collectpads_collect),
21865 (gst_collectpads_collect_range), (gst_collectpads_start),
21866 (gst_collectpads_stop), (gst_collectpads_peek),
21867 (gst_collectpads_pop), (gst_collectpads_available),
21868 (gst_collectpads_read), (gst_collectpads_flush):
21869 Guard public API with assertions.
21872 Fix docs for gst_pad_set_link_function().
21874 2005-11-02 Johan Dahlin <johan@gnome.org>
21876 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21877 Unref found_caps after we used it.
21879 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21881 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21882 Don't try to ref NULL.
21884 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21886 * win32/common/config.h.in:
21887 provide a GST_FUNCTION that just gives a string for now
21889 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21891 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21892 (gst_object_flags_get_type), (register_gst_bin_flags),
21893 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21894 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21895 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21896 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21897 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21898 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21899 (gst_clock_flags_get_type), (register_gst_state),
21900 (gst_state_get_type), (register_gst_state_change_return),
21901 (gst_state_change_return_get_type), (register_gst_state_change),
21902 (gst_state_change_get_type), (register_gst_element_flags),
21903 (gst_element_flags_get_type), (register_gst_core_error),
21904 (gst_core_error_get_type), (register_gst_library_error),
21905 (gst_library_error_get_type), (register_gst_resource_error),
21906 (gst_resource_error_get_type), (register_gst_stream_error),
21907 (gst_stream_error_get_type), (register_gst_event_type),
21908 (gst_event_type_get_type), (register_gst_seek_type),
21909 (gst_seek_type_get_type), (register_gst_seek_flags),
21910 (gst_seek_flags_get_type), (register_gst_format),
21911 (gst_format_get_type), (register_gst_index_certainty),
21912 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21913 (gst_index_entry_type_get_type),
21914 (register_gst_index_lookup_method),
21915 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21916 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21917 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21918 (gst_index_flags_get_type), (register_gst_debug_level),
21919 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21920 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21921 (gst_iterator_result_get_type), (register_gst_iterator_item),
21922 (gst_iterator_item_get_type), (register_gst_message_type),
21923 (gst_message_type_get_type), (register_gst_mini_object_flags),
21924 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21925 (gst_pad_link_return_get_type), (register_gst_flow_return),
21926 (gst_flow_return_get_type), (register_gst_activate_mode),
21927 (gst_activate_mode_get_type), (register_gst_pad_direction),
21928 (gst_pad_direction_get_type), (register_gst_pad_flags),
21929 (gst_pad_flags_get_type), (register_gst_pad_presence),
21930 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21931 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21932 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21933 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21934 (gst_plugin_flags_get_type), (register_gst_rank),
21935 (gst_rank_get_type), (register_gst_query_type),
21936 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21937 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21938 (gst_tag_flag_get_type), (register_gst_task_state),
21939 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21940 (gst_alloc_trace_flags_get_type),
21941 (register_gst_type_find_probability),
21942 (gst_type_find_probability_get_type), (register_gst_uri_type),
21943 (gst_uri_type_get_type), (register_gst_parse_error),
21944 (gst_parse_error_get_type):
21945 * win32/common/gstversion.h:
21946 update win32 copies
21948 2005-11-01 Luca Ognibene <luogni@tin.it>
21951 fix docs. popt is dead, long live GOption.
21953 2005-10-31 Wim Taymans <wim@fluendo.com>
21958 2005-10-31 Andy Wingo <wingo@pobox.com>
21962 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21964 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21965 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21966 the possibility of deadlocks here if code calling notify() or
21967 set() has a lock that can be taken in another notify handler (ABBA
21968 with class lock and e.g. python GIL state lock).
21970 2005-10-28 Julien MOUTTE <julien@moutte.net>
21972 * gst/gstbus.c: Doc updates.
21974 2005-10-28 Wim Taymans <wim@fluendo.com>
21976 * docs/design/part-TODO.txt:
21977 * gst/gstiterator.c:
21978 * gst/gstsystemclock.c:
21979 * gst/gstsystemclock.h:
21982 2005-10-28 Edward Hervey <edward@fluendo.com>
21984 * docs/gst/gstreamer-docs.sgml:
21985 * docs/gst/gstreamer-sections.txt:
21986 the GstURIType documentation page is private, it only defines GstURIType
21987 which should be defined in the GstURIHandler page
21989 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21991 * gst/gstbin.c: (gst_bin_class_init):
21994 Documentation updates.
21996 2005-10-28 Wim Taymans <wim@fluendo.com>
21998 * docs/gst/gstreamer-sections.txt:
22001 Documented the clocks.
22003 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22005 * docs/gst/gstreamer-sections.txt:
22006 move some macros to private sections
22007 * gst/gstminiobject.c:
22008 * gst/gstminiobject.h:
22009 add descriptions provided by ds and some more
22011 mark macro as to be removed
22013 2005-10-28 Wim Taymans <wim@fluendo.com>
22015 * docs/design/part-TODO.txt:
22016 Add an item to TODO.
22018 * gst/gstiterator.c: (gst_iterator_fold),
22019 (gst_iterator_find_custom):
22020 * gst/gstiterator.h:
22023 2005-10-28 Wim Taymans <wim@fluendo.com>
22025 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22026 (gst_base_transform_init):
22029 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22030 An EOS event marks the queue as completely filled.
22032 2005-10-27 Wim Taymans <wim@fluendo.com>
22034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22035 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22036 Some more debugging.
22038 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22039 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22040 (gst_base_transform_event), (gst_base_transform_getrange),
22041 (gst_base_transform_chain):
22042 * gst/base/gstbasetransform.h:
22044 Protect transform and concurrent buffer alloc with a new lock.
22045 Try not to break ABI/API.
22047 2005-10-27 Wim Taymans <wim@fluendo.com>
22049 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22050 (gst_base_src_init), (gst_base_src_query),
22051 (gst_base_src_default_newsegment),
22052 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22053 (gst_base_src_send_event), (gst_base_src_event_handler),
22054 (gst_base_src_pad_get_range), (gst_base_src_loop),
22055 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22056 (gst_base_src_start), (gst_base_src_deactivate),
22057 (gst_base_src_activate_push), (gst_base_src_change_state):
22058 Move some stuff around and cleanup things.
22060 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22062 * gst/base/gstbasesrc.c: (gst_base_src_query):
22063 Add missing break statements.
22065 2005-10-27 Wim Taymans <wim@fluendo.com>
22067 * check/gst/gstbin.c: (GST_START_TEST):
22068 An extra refcount is taken in basesrc.
22070 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22071 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22072 (gst_base_src_loop):
22073 Small cleanups, check for flushing after being unlocked from the
22074 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22075 Don't send out EOS when going to READY.
22077 2005-10-27 Wim Taymans <wim@fluendo.com>
22079 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22080 (gst_base_sink_get_position):
22083 * gst/gstbin.c: (message_check), (bin_replace_message),
22084 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22085 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22086 (bin_query_duration_init), (bin_query_duration_fold),
22087 (bin_query_duration_done), (bin_query_generic_fold),
22089 * tools/gst-launch.c: (main):
22092 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22094 * examples/controller/audio-example.c: (main):
22095 * examples/queue/queue.c: (event_loop):
22096 * gst/base/gstbasetransform.h:
22097 * gst/gstelement.c: (gst_element_send_event):
22099 * gst/gstpad.c: (gst_pad_send_event):
22102 changing log priority in error situations
22104 2005-10-25 Wim Taymans <wim@fluendo.com>
22106 * gst/gstbin.c: (message_check), (bin_replace_message),
22107 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22108 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22109 (bin_query_duration_init), (bin_query_duration_fold),
22110 (bin_query_duration_done), (bin_query_generic_fold),
22112 Some doc and debug updates.
22113 Cache previously requested query DURATION for speed. invalidate
22114 cached duration if element posts a DURATION message.
22116 2005-10-25 Wim Taymans <wim@fluendo.com>
22118 * docs/design/part-TODO.txt:
22121 * gst/gstbin.c: (message_check), (bin_replace_message),
22122 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22123 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22124 (bin_query_duration_init), (bin_query_duration_fold),
22125 (bin_query_duration_done), (bin_query_generic_fold),
22127 Handle SEGMENT_START/DONE messages correctly.
22128 More evolved query algorithm that handles duration queries
22131 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22132 (gst_element_get_state_func), (gst_element_abort_state),
22133 (gst_element_commit_state), (gst_element_lost_state):
22134 Some more debugging.
22136 * gst/gstmessage.h:
22139 2005-10-25 Wim Taymans <wim@fluendo.com>
22141 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22142 Don't use invalid stream_time.
22144 * gst/gstevent.c: (gst_event_new_newsegment):
22145 stream_time in newsegment cannot be undefined.
22147 2005-10-24 Wim Taymans <wim@fluendo.com>
22152 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22154 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22156 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22158 * docs/libs/tmpl/gstdparam.sgml:
22159 * docs/libs/tmpl/gstdplinint.sgml:
22160 * docs/libs/tmpl/gstdpman.sgml:
22161 * docs/libs/tmpl/gstdpsmooth.sgml:
22162 * docs/libs/tmpl/gstunitconvert.sgml:
22165 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22170 === release 0.9.4 ===
22172 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22175 releasing 0.9.4, "Tyrannosaurus Rex"
22177 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22179 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22180 (gst_file_sink_get_current_offset):
22181 Use fseeko() and ftello() if available. When falling back on
22182 lseek() to get the current offset, fflush() first to make sure
22183 everything is up-to-date and we get the right offset.
22185 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22188 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22189 * gst/gsterror.c: (_gst_stream_errors_init):
22191 * gst/gstqueue.c: (gst_queue_loop):
22193 remove prematurely added error category and clean up the instances
22195 2005-10-21 Wim Taymans <wim@fluendo.com>
22197 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22198 (gst_base_sink_get_position), (gst_base_sink_query),
22199 (gst_base_sink_change_state):
22200 Simply set the right flag when going to playing, that's all
22201 we need to do instead of calling a function inside the object
22202 lock (that could take the lock as well and deadlock)
22204 2005-10-21 Wim Taymans <wim@fluendo.com>
22206 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22207 (gst_base_src_loop):
22208 Don't warn, the peer element knows what to do best when
22209 the seek failed, it might try something else.
22211 2005-10-21 Wim Taymans <wim@fluendo.com>
22213 * gst/base/gstbasesrc.c: (gst_base_src_init),
22214 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22217 2005-10-21 Wim Taymans <wim@fluendo.com>
22219 * docs/design/part-segments.txt:
22222 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22223 Correctly set caps, even on the subbufer.
22225 2005-10-21 Wim Taymans <wim@fluendo.com>
22227 * docs/gst/gstreamer-docs.sgml:
22228 * docs/gst/gstreamer-sections.txt:
22229 * gst/gstelement.h:
22232 * gst/gstmessage.h:
22235 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22239 And 2% more doc coverage.
22241 2005-10-21 Andy Wingo <wingo@pobox.com>
22243 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22244 position reporting.
22246 2005-10-20 Wim Taymans <wim@fluendo.com>
22248 * gst/gsterror.c: (gst_error_get_message):
22251 * gst/gststructure.c:
22256 2005-10-20 Wim Taymans <wim@fluendo.com>
22261 Another 1% more coverage.
22263 2005-10-20 Wim Taymans <wim@fluendo.com>
22265 * docs/gst/gstreamer-sections.txt:
22266 * gst/gstelement.c: (gst_element_get_state_func),
22267 (gst_element_abort_state), (gst_element_commit_state),
22268 (gst_element_lost_state):
22270 * gst/gstquery.c: (gst_query_set_position),
22271 (gst_query_parse_position), (gst_query_set_duration),
22272 (gst_query_parse_duration), (gst_query_new_convert):
22274 Yay! 1% more docs coverage.
22276 2005-10-20 Wim Taymans <wim@fluendo.com>
22279 * gst/gstquery.c: (gst_query_set_position),
22280 (gst_query_parse_position), (gst_query_set_duration),
22281 (gst_query_parse_duration), (gst_query_new_convert):
22283 * gst/gstutils.c: (gst_element_query_convert):
22285 Docs and consistency fixes.
22287 2005-10-20 Wim Taymans <wim@fluendo.com>
22293 2005-10-20 Wim Taymans <wim@fluendo.com>
22295 * gst/gstbin.c: (message_check), (bin_replace_message),
22296 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22297 (update_degree), (gst_bin_sort_iterator_next),
22298 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22299 Reworked the message handling a bit, cache the messages instead of
22300 only the senders. alows us to do more in the future.
22302 2005-10-20 Wim Taymans <wim@fluendo.com>
22304 * docs/design/part-TODO.txt:
22307 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22308 (gst_base_sink_query):
22309 Don't use clock time to report position when in EOS.
22311 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22313 * tools/gst-inspect.c: (print_interfaces),
22314 (print_element_properties_info), (print_element_info):
22315 Fix interface output with gst-inspect -a; don't print
22316 newlines after double/float properties.
22318 2005-10-20 Wim Taymans <wim@fluendo.com>
22320 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22321 (gst_base_sink_query):
22322 Speed up current position calculation.
22324 * gst/base/gstbasesrc.c: (gst_base_src_query),
22325 (gst_base_src_default_newsegment):
22326 Correctly set stream position in newsegment.
22328 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22329 (update_degree), (gst_bin_sort_iterator_next),
22330 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22331 * gst/gstmessage.c: (gst_message_new_custom):
22332 Clean up debugging info
22334 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22335 (gst_queue_loop), (gst_queue_handle_src_query):
22338 2005-10-19 Wim Taymans <wim@fluendo.com>
22340 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22341 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22342 Fix query handling again.
22344 2005-10-19 Wim Taymans <wim@fluendo.com>
22346 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22347 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22348 * gst/base/gstbasesrc.c: (gst_base_src_query):
22349 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22350 * gst/elements/gsttypefindelement.c:
22351 (gst_type_find_handle_src_query), (find_element_get_length),
22352 (gst_type_find_element_activate):
22355 * gst/gstquery.c: (gst_query_new_position),
22356 (gst_query_set_position), (gst_query_parse_position),
22357 (gst_query_new_duration), (gst_query_set_duration),
22358 (gst_query_parse_duration), (gst_query_set_segment),
22359 (gst_query_parse_segment):
22361 Bundling query position/duration is not a good idea since duration
22362 does not change much and we don't want to recalculate it for every
22363 position query, so they are separated again..
22364 Base value in segment query is not needed.
22366 * gst/gstqueue.c: (gst_queue_handle_src_query):
22367 * gst/gstutils.c: (gst_element_query_position),
22368 (gst_element_query_duration), (gst_pad_query_position),
22369 (gst_pad_query_duration):
22371 Updates for query API change.
22372 Added some docs here and there.
22374 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22376 * check/gst/gstbin.c: (GST_START_TEST):
22377 * check/gst/gstghostpad.c: (GST_START_TEST):
22378 * check/pipelines/cleanup.c: (GST_START_TEST):
22379 wait on thread to die so we can check refcount correctly
22381 2005-10-18 Wim Taymans <wim@fluendo.com>
22383 * check/pipelines/stress.c: (GST_START_TEST):
22384 Make check a little more time consuming.
22386 2005-10-18 Wim Taymans <wim@fluendo.com>
22388 * check/Makefile.am:
22389 * check/pipelines/stress.c: (GST_START_TEST),
22390 (simple_launch_lines_suite), (main):
22391 Small state change torture test.
22393 * docs/design/part-states.txt:
22394 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22395 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22396 (gst_base_sink_change_state):
22397 Never take state lock from streaming thread, clean up ugly
22398 hacks. Unfortunatly core does not yet support nice ways to
22399 async commit state.
22401 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22403 Start state recalc if a STATE_DIRTY message is posted, but only
22404 on the toplevel bin.
22406 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22407 (gst_element_get_state_func), (gst_element_abort_state),
22408 (gst_element_commit_state), (gst_element_lost_state),
22409 (gst_element_set_state_func), (gst_element_change_state):
22410 * gst/gstelement.h:
22411 State variables are now protected with the LOCK, the state
22412 lock is only used to serialize _set_state().
22414 2005-10-18 Wim Taymans <wim@fluendo.com>
22416 * check/gst/gstbin.c: (GST_START_TEST):
22417 * check/gst/gstmessage.c: (GST_START_TEST):
22418 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22419 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22421 * gst/gstelement.c: (gst_element_abort_state),
22422 (gst_element_commit_state), (gst_element_lost_state):
22423 * gst/gstmessage.c: (gst_message_new_state_changed),
22424 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22425 (gst_message_new_segment_done), (gst_message_new_duration),
22426 (gst_message_parse_state_changed),
22427 (gst_message_parse_segment_start),
22428 (gst_message_parse_segment_done), (gst_message_parse_duration):
22429 * gst/gstmessage.h:
22430 * tools/gst-launch.c: (event_loop):
22431 Seriously, this is better than a previous commit as we only need
22432 to notify the fact that an element changed state in a streaming
22433 thread, marking the state of the parents dirty, hence the
22434 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22437 2005-10-18 Wim Taymans <wim@fluendo.com>
22439 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22440 (gst_bin_recalc_func):
22441 * gst/gstelement.c: (gst_element_set_clock),
22442 (gst_element_abort_state), (gst_element_lost_state):
22443 Cleanups, prepare for state change fixes.
22445 2005-10-18 Wim Taymans <wim@fluendo.com>
22448 * gst/gstelement.c: (gst_element_class_init),
22449 (gst_element_set_state), (gst_element_set_state_func):
22450 * gst/gstelement.h:
22451 Pending ABI changes.
22452 GThreadPool in GstBinClass to monitor async state changes.
22453 state_cookie in GstElement to detect concurrent gst/set state.
22454 set_state is now virtual too in case a very complicated element
22455 has to be constructed.
22457 2005-10-18 Wim Taymans <wim@fluendo.com>
22459 * check/gst/gstbin.c: (GST_START_TEST):
22460 * check/gst/gstmessage.c: (GST_START_TEST):
22461 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22462 * gst/gstbin.c: (bin_bus_handler):
22463 * gst/gstelement.c: (gst_element_commit_state),
22464 (gst_element_lost_state):
22465 * gst/gstmessage.c: (gst_message_new_state_changed),
22466 (gst_message_new_segment_start), (gst_message_new_segment_done),
22467 (gst_message_new_duration), (gst_message_parse_state_changed),
22468 (gst_message_parse_segment_start),
22469 (gst_message_parse_segment_done), (gst_message_parse_duration):
22470 * gst/gstmessage.h:
22471 * tools/gst-launch.c: (event_loop):
22472 Make messages future proof.
22473 state-change gets a flag if it was a message comming from the
22475 segment-start/stop can also be specified in other formats.
22476 A message to notify an app that a pipeline changed playback
22478 Also fix a GstMessage leak in -launch
22480 2005-10-18 Andy Wingo <wingo@pobox.com>
22482 * gst/gstelement.c (gst_element_dispose): More helpful message.
22484 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22486 reviewed by: <delete if not using a buddy>
22488 * common/gtk-doc.mak:
22490 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22492 * gst/gstregistry.c: (gst_registry_scan_path_level):
22493 unref a plug-in we get that was already initialized
22495 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22497 * docs/gst/gstreamer-sections.txt:
22498 * docs/libs/gstreamer-libs-sections.txt:
22499 * gst/gstelement.h:
22500 add new api entries
22501 hide internal macro
22503 2005-10-17 Andy Wingo <wingo@pobox.com>
22505 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22508 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22510 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22512 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22513 (gst_element_get_state_func): Better debug message.
22514 (gst_element_commit_state): s/INFO/DEBUG/.
22515 (gst_element_lost_state, gst_element_change_state):
22517 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22518 (gst_message_new_custom): s/INFO/LOG/.
22520 2005-10-17 Michael Smith <msmith@fluendo.com>
22522 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22523 Check if end time is valid using end time, not start time.
22525 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22527 * check/gst-libs/controller.c: (GST_START_TEST),
22528 (gst_controller_suite):
22529 * libs/gst/controller/gstcontroller.c:
22530 (gst_controlled_property_set_interpolation_mode):
22531 * libs/gst/controller/gstcontroller.h:
22532 * libs/gst/controller/gstinterpolation.c:
22533 * testsuite/controller/.cvsignore:
22534 * testsuite/controller/Makefile.am:
22535 * testsuite/controller/interpolator.c:
22536 merge controller testsuites
22538 remove mem-chunk from docs
22540 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22542 * gst/gstmemchunk.c:
22543 * gst/gstmemchunk.h:
22544 * gst/gsttrashstack.c:
22545 * gst/gsttrashstack.h:
22546 out. get out. you're fired. to the Attic !
22548 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22550 * gst/gstcaps.c: (gst_caps_intersect):
22551 fix signedness issues in a (hopefully) correct way
22552 * gst/gstelement.c: (gst_element_pads_activate):
22554 * gst/gstobject.c: (gst_object_set_parent):
22557 2005-10-17 Julien MOUTTE <julien@moutte.net>
22559 * gst/gstvalue.h: Fix prototypes.
22561 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22563 * docs/gst/gstreamer-sections.txt:
22564 * gst/gst.c: (gst_version_string):
22566 * gst/gstversion.h.in:
22567 * win32/common/libgstreamer.def:
22568 add gst_version_string ()
22570 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22574 * gst/gst.c: (init_post):
22575 * win32/common/config.h.in:
22577 * gst/gstcaps.c: (gst_caps_intersect):
22578 use gint64, the range could be bigger than a guint
22580 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22583 document potential problem in 2038
22585 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22587 * gst/gstcaps.c: (gst_caps_intersect):
22588 Fix guint j diving under 0
22590 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22593 * win32/common/config.h:
22594 * win32/common/config.h.in:
22595 check for process.h, declares getpid() on Windows
22597 include process.h if we have it
22598 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22599 * gst/gstmemchunk.h:
22600 fix signedness issues
22601 * win32/common/libgstreamer.def:
22604 2005-10-16 Julien MOUTTE <julien@moutte.net>
22606 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22607 fix. Because of unsigned ints, caps intersection was going nuts and
22608 trying to access structures with G_MAXUINT index. That fixes
22609 videotestsrc ! ffmpegcolorspace ! fakesink
22610 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22613 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22616 use the gettext macro
22617 * gst/elements/gstelements.c:
22619 * gst/indexers/gstindexers.c:
22620 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22621 * win32/common/config.h:
22623 * win32/common/config.h.in:
22624 add the template to generate config.h
22625 * win32/common/gstenumtypes.c:
22626 * win32/common/gstversion.h:
22629 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22631 * gst/gst.c: (gst_version):
22632 * gst/gstversion.h.in:
22635 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22638 Oops, add missing closing bracket.
22640 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22643 use common m4's for argument checking
22645 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22647 * docs/gst/gstreamer-sections.txt:
22649 Add GST_EVENT_TYPE_NAME() macro.
22651 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22654 * gst/gstpluginfeature.c:
22656 privatize more symbols
22658 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22661 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22662 everything that uses GStreamer API should have the includes
22664 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22666 * docs/gst/gstreamer-sections.txt:
22667 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22669 give each value a _get_type, removes the DATA exports
22671 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22675 remove _gst_registry_auto_load, not used anymore
22676 * gst/gstbin.c: (gst_bin_get_type):
22678 * gst/gstelement.c: (gst_element_get_type):
22679 * gst/gstelement.h:
22680 * gst/gstobject.c: (gst_object_get_type):
22682 * gst/gstpad.c: (gst_pad_get_type):
22684 make _get_type functions similar, fixes data export from library
22686 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22689 correctly make conditionals
22690 * gst/elements/Makefile.am:
22691 * gst/elements/gstelements.c:
22692 fix typo causing fdsrc not to build
22694 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22696 * testsuite/Makefile.am:
22697 * testsuite/bytestream/.cvsignore:
22698 * testsuite/bytestream/Makefile.am:
22699 * testsuite/bytestream/filepadsink.c:
22700 * testsuite/bytestream/gstbstest.c:
22701 * testsuite/bytestream/test1.c:
22702 * testsuite/bytestream/testfile1:
22703 * testsuite/caps/normalisation.c:
22704 * testsuite/caps/random.c: (main):
22705 * testsuite/cleanup/.cvsignore:
22706 * testsuite/cleanup/Makefile.am:
22707 * testsuite/cleanup/cleanup1.c:
22708 * testsuite/cleanup/cleanup2.c:
22709 * testsuite/cleanup/cleanup3.c:
22710 * testsuite/cleanup/cleanup4.c:
22711 * testsuite/cleanup/cleanup5.c:
22712 * testsuite/controller/interpolator.c:
22713 * testsuite/debug/printf_extension.c: (main):
22714 * testsuite/elements/tee.c:
22715 * testsuite/negotiation/.cvsignore:
22716 * testsuite/negotiation/Makefile.am:
22717 * testsuite/negotiation/pad_link.c:
22718 * testsuite/pad/Makefile.am:
22719 * testsuite/pad/chainnopull.c:
22720 * testsuite/pad/getnopush.c:
22721 * testsuite/pad/link.c:
22722 * testsuite/refcounting/sched.c: (create_pipeline):
22723 * testsuite/registry/Makefile.am:
22724 * testsuite/registry/gst-print-formats.c:
22725 * testsuite/schedulers/.cvsignore:
22726 * testsuite/schedulers/142183-2.c:
22727 * testsuite/schedulers/142183.c:
22728 * testsuite/schedulers/143777-2.c:
22729 * testsuite/schedulers/143777.c:
22730 * testsuite/schedulers/147713.c:
22731 * testsuite/schedulers/147819.c:
22732 * testsuite/schedulers/147894-2.c:
22733 * testsuite/schedulers/147894.c:
22734 * testsuite/schedulers/Makefile.am:
22735 * testsuite/schedulers/group_link.c:
22736 * testsuite/schedulers/queue_link.c:
22737 * testsuite/schedulers/relink.c:
22738 * testsuite/schedulers/unlink.c:
22739 * testsuite/schedulers/unref.c:
22740 * testsuite/schedulers/useless_iteration.c:
22741 * testsuite/states/bin.c:
22742 clean out/remove some stuff from the testsuite directories
22744 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22747 check for some headers
22748 * gst/elements/Makefile.am:
22749 * gst/elements/gstelements.c:
22750 don't compile fdsrc without sys/socket.h
22751 * gst/indexers/Makefile.am:
22752 * gst/indexers/gstindexers.c: (plugin_init):
22753 don't compile fileindex without mmap
22755 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22762 * check/Makefile.am:
22763 * docs/gst/Makefile.am:
22764 * examples/helloworld/Makefile.am:
22766 * gst/base/Makefile.am:
22767 * gst/check/Makefile.am:
22768 * gst/elements/Makefile.am:
22769 * gst/indexers/Makefile.am:
22770 * gst/parse/Makefile.am:
22771 * libs/gst/controller/Makefile.am:
22772 * libs/gst/dataprotocol/Makefile.am:
22773 * examples/helloworld/helloworld.c: (event_loop):
22774 compile fixes, though it's not being compiled currently
22776 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22778 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22779 Add some simple tests for the new taglist date API.
22781 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22783 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22784 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22785 Beautify 'last-message' output: print 'none' for buffer timestamps
22786 and durations if none is set; improve alignment with next messages.
22788 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22790 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22791 * gst/gstpluginfeature.h:
22792 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22793 * gst/gstregistry.h:
22794 * docs/gst/gstreamer-sections.txt:
22795 Add new API to check plugin feature version requirements.
22797 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22798 Some basic tests for the above.
22800 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22802 * gst/gststructure.c: (gst_structure_to_string):
22803 guard against NULL printf - happens when for example
22804 a message structure with GstClock gets serialized
22806 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22808 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22809 Fix presumable copy'n'pasto.
22811 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22813 * gst/elements/gstfakesrc.h:
22814 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22815 * gst/elements/gsttypefindelement.c:
22816 fix some signedness
22817 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22818 I wonder if this could actually write +2GB files before
22820 2005-10-13 Andy Wingo <wingo@pobox.com>
22822 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22823 Fix Timmeke Waymans bug.
22824 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22825 string of the proper length to gst_caps_from_string. There's a
22826 potential for, before this fix, that this could cause someone
22827 connecting over the network to cause a segfault if the payload is
22828 not NUL-terminated.
22830 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22832 * docs/design/draft-push-pull.txt:
22833 * docs/design/part-overview.txt:
22834 * docs/random/TODO-pre-0.9:
22835 * docs/random/old/ChangeLog.gstreamer:
22836 * gst/base/gstpushsrc.c:
22840 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22842 * gst/glib-compat.c: (gst_flags_get_first_value):
22843 * gst/glib-compat.h:
22844 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22845 (gst_value_compare_double), (gst_value_serialize_flags):
22846 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22849 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22852 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22854 * tools/gst-launch.c: (event_loop):
22855 print out clock nicely
22857 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22859 * docs/gst/gstreamer-sections.txt:
22860 * gst/gsttaglist.h:
22861 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22862 (gst_tag_list_get_date_index):
22863 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22864 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22866 2005-10-13 Julien MOUTTE <julien@moutte.net>
22868 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22869 (gst_collectpads_chain):
22870 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22873 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22875 * docs/gst/gstreamer-sections.txt:
22878 * tools/gst-inspect.c: (main):
22879 * tools/gst-launch.c: (main):
22880 * tools/gst-run.c: (main):
22881 * tools/gst-xmlinspect.c: (main):
22882 fix GOption context leaks
22885 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22889 * win32/common/config.h:
22891 * win32/vs6/grammar.dsp:
22892 * win32/vs6/libgstelements.dsp:
22893 * win32/vs6/libgstreamer.dsp:
22896 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22899 * gst/base/gstbasesrc.c: (gst_base_src_query):
22900 fix more guint64<->gdouble conversions
22902 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22905 add win32-update target
22906 * win32/common/gstconfig.h:
22907 * win32/common/gstenumtypes.c:
22908 * win32/common/gstenumtypes.h:
22909 * win32/common/gstversion.h:
22910 add files that visual studio can't generate
22912 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22915 add a win32-update target
22918 2005-10-12 Wim Taymans <wim@fluendo.com>
22920 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22921 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22922 * gst/gstelement.c: (gst_element_commit_state),
22923 (gst_element_set_state):
22924 Protect flags with proper lock.
22925 unref provided cached clock in dispose.
22927 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22930 * gst/gstminiobject.h:
22932 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22933 removed unused flags from miniobject
22936 2005-10-12 Wim Taymans <wim@fluendo.com>
22938 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22939 (gst_file_sink_event), (gst_file_sink_render):
22940 Flush before seeking.
22942 2005-10-12 Andy Wingo <wingo@pobox.com>
22944 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22945 always been the case.
22947 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22949 * check/gst/gstbin.c: (GST_START_TEST):
22950 * docs/gst/gstreamer-sections.txt:
22951 * gst/base/gstbasesink.c: (gst_base_sink_init):
22952 * gst/base/gstbasesrc.c: (gst_base_src_init),
22953 (gst_base_src_get_range), (gst_base_src_check_get_range),
22954 (gst_base_src_start), (gst_base_src_stop):
22955 * gst/base/gstbasesrc.h:
22956 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22957 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22958 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22962 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22964 * gst/gstelement.c: (gst_element_is_locked_state),
22965 (gst_element_set_locked_state), (gst_element_commit_state),
22966 (gst_element_set_state):
22967 * gst/gstelement.h:
22968 * gst/gstindex.c: (gst_index_init):
22970 * gst/gstminiobject.h:
22971 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22972 (gst_object_set_parent):
22974 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22975 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22977 * gst/gstpadtemplate.h:
22978 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22979 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22980 * gst/gstpipeline.h:
22981 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22982 (gst_file_index_commit):
22983 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22984 * testsuite/pad/link.c: (gst_test_src_init),
22985 (gst_test_filter_init), (gst_test_sink_init):
22986 * testsuite/states/locked.c: (main):
22987 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22988 moved bitshift from macro to enum definition
22990 2005-10-12 Wim Taymans <wim@fluendo.com>
22992 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22993 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22994 (gst_file_sink_render):
22995 Some more debugging info.
22997 2005-10-12 Wim Taymans <wim@fluendo.com>
22999 * docs/design/part-states.txt:
23000 * tools/gst-launch.c: (main):
23002 Revert non-intentional change.
23004 2005-10-12 Wim Taymans <wim@fluendo.com>
23006 * check/gst/gstbin.c: (GST_START_TEST):
23007 * check/gst/gstelement.c: (GST_START_TEST):
23008 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23009 * check/gst/gstghostpad.c: (GST_START_TEST):
23010 * check/gst/gstpipeline.c: (GST_START_TEST):
23011 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23012 * check/states/sinks.c: (GST_START_TEST):
23013 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23014 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23015 (gst_bin_remove_func), (gst_bin_get_state_func),
23016 (gst_bin_recalc_state), (gst_bin_change_state_func),
23018 * gst/gstelement.c: (gst_element_get_state_func),
23019 (gst_element_get_state), (gst_element_abort_state),
23020 (gst_element_commit_state), (gst_element_set_state),
23021 (gst_element_change_state), (gst_element_change_state_func):
23022 * gst/gstelement.h:
23023 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23024 (gst_pipeline_provide_clock_func):
23025 * gst/gstutils.c: (gst_element_link_pads_filtered):
23026 * tools/gst-launch.c: (main):
23027 * tools/gst-typefind.c: (main):
23028 Use GstClockTime in _get_state() instead of GTimeVal.
23029 Remove old code in gstutils.c
23031 2005-10-12 Andy Wingo <wingo@pobox.com>
23033 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23036 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23037 there is no task. Shouldn't affect any code, as nothing in our
23038 plugins checks this return value.
23039 (gst_pad_stop_task): Also take the stream lock if the pad has no
23040 task. Docs updated.
23042 2005-10-12 Wim Taymans <wim@fluendo.com>
23044 * gst/gstpad.c: (pre_activate), (post_activate),
23045 (gst_pad_activate_pull), (gst_pad_activate_push):
23046 Cleanup activation code. Reset old state if
23049 2005-10-12 Wim Taymans <wim@fluendo.com>
23051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23052 (gst_base_sink_change_state):
23053 No need to prerol after receiving EOS.
23055 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23056 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23057 * gst/elements/gstidentity.c: (gst_identity_event):
23058 Print events more verbosely.
23060 2005-10-12 Wim Taymans <wim@fluendo.com>
23062 * check/Makefile.am:
23063 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23064 * check/states/sinks2.c:
23065 Moved sinks2 testcode in sinks check.
23067 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23068 (gst_bin_remove_func), (gst_bin_recalc_state),
23069 (gst_bin_change_state_func), (bin_bus_handler):
23070 Fix potential race condition when _get_state() iterated over an
23071 ASYNC element right before it posted a state completion.
23074 Do proper cast here.
23076 * gst/gstevent.c: (gst_event_new_newsegment),
23077 (gst_event_parse_newsegment):
23078 A playback rate of 0.0 is not allowed.
23080 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23082 * win32/common/config.h:
23083 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23084 (_trewinddir), (_ttelldir), (_tseekdir):
23085 * win32/common/dirent.h:
23086 * win32/common/gtchar.h:
23087 * win32/common/libgstbase.def:
23088 * win32/common/libgstreamer.def:
23089 * win32/vs6/grammar.dsp:
23090 * win32/vs6/gst_inspect.dsp:
23091 * win32/vs6/gst_launch.dsp:
23092 * win32/vs6/gstreamer.dsw:
23093 * win32/vs6/libgstbase.dsp:
23094 * win32/vs6/libgstelements.dsp:
23095 * win32/vs6/libgstreamer.dsp:
23096 Visual Studio 6 project files, and a new common directory.
23099 2005-10-11 Wim Taymans <wim@fluendo.com>
23101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23102 (gst_base_sink_do_sync), (gst_base_sink_query),
23103 (gst_base_sink_change_state):
23104 * gst/base/gstbasesink.h:
23105 Correctly parse newsegment info.
23107 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23109 * gst/gst.c: (init_post):
23110 split plugin paths correctly
23112 2005-10-11 Wim Taymans <wim@fluendo.com>
23114 * check/gst/gstevent.c: (GST_START_TEST):
23115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23116 (gst_base_sink_change_state):
23117 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23118 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23119 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23120 * gst/gstevent.c: (gst_event_new_newsegment),
23121 (gst_event_parse_newsegment):
23123 Added extra flag to newsegment for future API freeze.
23124 Updated check and base elements.
23126 2005-10-11 Julien MOUTTE <julien@moutte.net>
23128 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23129 (gst_collectpads_add_pad), (gst_collectpads_pop),
23130 (gst_collectpads_event), (gst_collectpads_chain):
23131 * gst/base/gstcollectpads.h: Handle EOS correctly.
23133 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23135 * tools/gst-launch.c: (main):
23136 more null protecting
23138 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23140 * gst/gst-i18n-lib.h:
23141 check for ENABLE_NLS, not GETTEXT_PACKAGE
23142 * gst/gstregistry.c: (gst_registry_add_plugin),
23143 (gst_registry_scan_path_level),
23144 (_gst_registry_remove_cache_plugins):
23145 protect possibly NULL strings
23146 * gst/parse/types.h:
23147 config.h already included before
23148 * tools/gst-inspect.c: (main):
23149 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23150 check for ENABLE_NLS, not GETTEXT_PACKAGE
23151 * tools/gst-launch.c: (main):
23152 check for ENABLE_NLS, not GETTEXT_PACKAGE
23154 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23157 if we don't have glib, fail before testing 2.8
23158 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23159 fix a leak, should fix plugins-base testsuite
23161 2005-10-11 Andy Wingo <wingo@pobox.com>
23163 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23164 take the mode we're going to as an arg. Go head and set the mode
23165 and flushing flags now, so that if the activate function starts a
23166 thread all the flags will be in the right state.
23167 (post_activate): Renamed also. Just handle making sure streaming
23168 finishes for the deactivation case, and setting the deactivated
23170 (gst_pad_set_active): Complain loudly if deactivation fails.
23171 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23172 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23173 remove the terrible hack.
23175 2005-10-11 Wim Taymans <wim@fluendo.com>
23177 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23178 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23179 (gst_bin_recalc_state), (gst_bin_change_state_func),
23180 (gst_bin_dispose), (bin_bus_handler):
23182 Prepare to make current EOS message queue more generic.
23185 * gst/gstevent.c: (gst_event_new_newsegment),
23186 (gst_event_parse_newsegment):
23188 Rename base to stream_time.
23190 * gst/gstmessage.h:
23193 2005-10-11 Wim Taymans <wim@fluendo.com>
23195 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23196 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23197 (gst_bin_change_state_func), (bin_bus_handler):
23199 Work on proper clock selection.
23201 2005-10-11 Edward Hervey <edward@fluendo.com>
23203 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23204 * libs/gst/controller/gstcontroller.h:
23205 Added GList* version of _remove_properties() in order to be able to wrap
23208 2005-10-11 Wim Taymans <wim@fluendo.com>
23210 * docs/design/part-states.txt:
23213 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23214 (gst_bin_change_state_func), (bin_bus_handler):
23215 Doc updates. Don't distribute the same clock over and over again.
23221 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23222 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23223 (gst_pad_send_event):
23225 Make probe emission threadsafe again.
23226 Register quarks and move _get_name() from utils.
23229 * gst/gstpipeline.c: (gst_pipeline_class_init),
23230 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23231 Only redistribute the clock of it changed.
23233 * gst/gstsystemclock.h:
23238 Moved the _flow_get_name() to GstPad.
23240 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23242 * check/gst-libs/gdp.c: (GST_START_TEST):
23243 * check/gst/gstcaps.c: (GST_START_TEST):
23244 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23245 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23246 (gst_dp_packet_from_caps):
23247 fix more valgrind warnings before turning up the heat
23249 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23251 * gst/parse/grammar.y:
23252 some cleanup before the hacking
23254 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23256 * gst/base/gstbasesrc.c: (gst_base_src_query):
23258 * gst/gstutils.c: (gst_guint64_to_gdouble),
23259 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23261 externalize, basesrc uses it
23262 obviously the implementation needs testing
23264 2005-10-10 Wim Taymans <wim@fluendo.com>
23266 * tests/sched/Makefile.am:
23267 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23268 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23270 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23272 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23273 apparently converting from guint64 to double is not implemented
23276 2005-10-10 Wim Taymans <wim@fluendo.com>
23278 * check/Makefile.am:
23279 * check/generic/states.c: (GST_START_TEST):
23280 * check/gst/gstbin.c: (GST_START_TEST):
23281 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23282 * check/states/sinks.c: (GST_START_TEST):
23283 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23285 Check fixes, use API as stated in design docs, remove hacks.
23287 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23288 (gst_base_sink_change_state):
23289 Catch stopping our task while we're shutting down.
23291 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23292 (gst_bin_remove_func), (gst_bin_get_state_func),
23293 (gst_bin_recalc_state), (gst_bin_change_state_func),
23296 * gst/gstelement.c: (gst_element_init),
23297 (gst_element_get_state_func), (gst_element_abort_state),
23298 (gst_element_commit_state), (gst_element_lost_state),
23299 (gst_element_set_state), (gst_element_change_state),
23300 (gst_element_change_state_func):
23301 * gst/gstelement.h:
23302 New state change algorithm (see #318116)
23304 * gst/gstpipeline.c: (gst_pipeline_class_init),
23305 (gst_pipeline_init), (gst_pipeline_set_property),
23306 (gst_pipeline_get_property), (do_pipeline_seek),
23307 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23308 * gst/gstpipeline.h:
23309 Remove crude state change hacks.
23312 Remove crude hacks.
23314 * tools/gst-launch.c: (main):
23315 Fixes for state change. Needs some more work to fully use the
23318 2005-10-10 Andy Wingo <wingo@pobox.com>
23320 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23322 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23323 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23326 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23328 * gst/gstiterator.c: (gst_iterator_new):
23329 Fix my previous commit: GTypes passed to gst_iterator_new()
23330 can be fundamental types.
23332 2005-10-10 Wim Taymans <wim@fluendo.com>
23334 * gst/gstelement.c: (gst_element_iterate_pad_list),
23335 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23336 (gst_element_iterate_sink_pads):
23337 Use src/sink pads lists for the respective iterators instead
23340 2005-10-10 Andy Wingo <wingo@pobox.com>
23342 Merged in popt removal + GOption addition patch from Ronald, bug
23345 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23346 GstElement macros around, remove popt-related symbols, add goption
23349 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23351 * docs/gst/Makefile.am:
23352 * docs/libs/Makefile.am: No POPT_CFLAGS.
23354 * examples/manual/Makefile.am:
23355 * docs/manual/basics-init.xml: Doc updates with an example.
23357 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23358 (gst_init), (parse_one_option), (parse_goption_arg):
23359 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23360 bit of hand merging and debugging to get the GOption stuff working
23363 * tests/Makefile.am:
23364 * tools/Makefile.am:
23365 * tools/gst-inspect.c: (main):
23366 * tools/gst-launch.c: (main):
23367 * tools/gst-run.c: (main):
23368 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23370 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23372 * gst/gstiterator.c: (gst_iterator_new):
23373 Add assertions to make sure passed GType is likely to really
23374 be a GType (as the compiler won't catch it if the size and
23375 GType arguments get mixed up, see #318447).
23377 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23379 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23381 * gst/gstbin.c: (gst_bin_iterate_sorted):
23382 Pass GType and size arguments to gst_iterator_new() in the right
23383 order (maybe we should make _new() take the GType as first argument
23384 just like _new_list()?) (#318447).
23387 2005-10-10 Wim Taymans <wim@fluendo.com>
23389 * gst/gstelement.c: (gst_element_finalize):
23390 And free the GStaticRecMutex too
23392 2005-10-10 Andy Wingo <wingo@pobox.com>
23394 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23395 Allocate and free the mutex properly.
23397 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23399 (GstElement): The state_lock is now recursive. Rebuild your
23400 plugins, suckers. Old macros adapted.
23402 * docs/gst/gstreamer-sections.txt: Doc updates.
23405 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23406 (g_static_rec_cond_wait): Ported from state changes patch, while
23407 we wait on bug #317802 to be solved in a well-distributed GLib.
23409 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23410 gst_element_change_state, variable name changes.
23411 (gst_element_change_state): Split out of gst_element_set_state in
23412 preparation for the state change merge. Doesn't pay attention to
23413 the 'transition' argument.
23414 (gst_element_set_state): Updates, hopefully purely cosmetic.
23415 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23416 state change patch.
23417 (gst_element_get_state_func): Renamed from get_state, cosmetic
23420 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23422 * gst/elements/gstelements.c:
23423 * win32/GStreamer.vcproj:
23425 * win32/dirent.c: (_tseekdir):
23426 * win32/gst-inspect.vcproj:
23427 * win32/gst-launch.vcproj:
23428 * win32/gstconfig.h:
23429 * win32/gstelements.vcproj:
23430 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23431 * win32/gstreamer.def:
23432 * win32/msvc71.sln:
23433 updates for the win32 build (patch from Sebastien Moutte)
23435 2005-10-10 Andy Wingo <wingo@pobox.com>
23437 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23438 gst_bin_get_state, cleaned up (but no logic changes).
23439 (bin_element_is_sink): Comment updates.
23440 (sink_iterator_filter): Remove needless cast.
23441 (gst_bin_iterate_sinks): Doc update.
23442 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23443 cleaned up (but no logic changes).
23445 * check/states/sinks.c (test_src_sink): Cleanups from the state
23447 (test_livesrc_sink): Sync on the state.
23449 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23450 the state change patch.
23452 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23455 * check/gst/gstbin.c: Merge in some style fixes and additional
23456 checks from Wim's state change patch.
23458 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23460 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23461 (gst_type_find_helper):
23462 Check whether we have the requested data already in our list of
23463 cached buffers before pulling a new buffer; also make the buffer
23464 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23466 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23471 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23472 don't use long long, it's not portable. Replacing with
23473 gint64 seems to work; let's hope no skeletons fall out of the closet.
23475 2005-10-10 Andy Wingo <wingo@pobox.com>
23477 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23479 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23481 * docs/gst/gstreamer-sections.txt:
23486 * gst/gstmessage.c: (gst_message_parse_state_changed):
23489 more docs, fix compilation
23491 2005-10-09 Philippe Khalaf <burger@speedy.org>
23492 * gst/gstmessage.c:
23493 Fixed a few forgotten variables on previous commit
23495 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23497 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23498 Fix evil typefind crasher: getrange() might return a short
23499 buffer at the end of a file, but gst_type_find_peek() must
23500 either return the full data as requested or NULL, but
23501 never a short buffer.
23503 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23505 * gst/gstmessage.c: (gst_message_new_state_changed),
23506 (gst_message_parse_state_changed):
23507 * gst/gstmessage.h:
23508 don't use "new", it's a C++ keyword
23510 2005-10-08 Wim Taymans <wim@fluendo.com>
23512 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23513 * gst/gstelement.c: (gst_element_post_message):
23514 * gst/gstpipeline.c: (gst_pipeline_change_state):
23515 Small docs and debug updates.
23517 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23519 * docs/gst/gstreamer-sections.txt:
23520 * gst/gstelementfactory.c:
23522 * gst/gsttaglist.c:
23525 2005-10-08 Wim Taymans <wim@fluendo.com>
23527 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23528 (gst_bin_dispose), (bin_bus_handler):
23529 Fix typos, add comments.
23530 Clear EOS list when going to PAUSED from any direction and do it
23531 in a threadsafe way.
23532 Get base time in a threadsafe way too.
23533 Fix confusing debug in the change_state function.
23534 Various other small cleanups.
23536 * gst/gstelement.c: (gst_element_post_message):
23537 Fix very verbose bus posting code.
23539 * gst/gstpipeline.c: (gst_pipeline_class_init),
23540 (gst_pipeline_set_property), (gst_pipeline_get_property),
23541 (gst_pipeline_change_state):
23542 Small ARG_ -> PROP_ cleanup
23544 2005-10-08 Wim Taymans <wim@fluendo.com>
23546 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23547 Do a less CPU demanding EOS check because we can.
23549 2005-10-08 Wim Taymans <wim@fluendo.com>
23551 * libs/gst/dataprotocol/dataprotocol.c:
23552 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23553 (gst_dp_packet_from_event):
23554 * libs/gst/dataprotocol/dataprotocol.h:
23555 * libs/gst/dataprotocol/dp-private.h:
23556 It's about time we bump the version number.
23557 Since event types don't fit in the guint8 anymore describing
23558 the payload type, make payload type 16 bits wide.
23560 2005-10-08 Wim Taymans <wim@fluendo.com>
23562 * docs/design/part-TODO.txt:
23563 * docs/design/part-clocks.txt:
23564 * docs/design/part-events.txt:
23565 * docs/design/part-gstbin.txt:
23566 * docs/design/part-gstelement.txt:
23567 * docs/design/part-gstpipeline.txt:
23568 * docs/design/part-live-source.txt:
23569 * docs/design/part-messages.txt:
23570 * docs/design/part-overview.txt:
23571 * docs/design/part-states.txt:
23574 2005-10-08 Wim Taymans <wim@fluendo.com>
23578 Fix event quark registration.
23579 Add some space between events so we can insert them in the
23582 2005-10-08 Wim Taymans <wim@fluendo.com>
23584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23585 (gst_base_sink_handle_buffer):
23586 Better log message.
23589 * gst/gstelement.h:
23592 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23593 (gst_queue_set_property), (gst_queue_get_property):
23595 Remove old unused properties.
23597 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23598 * docs/gst/gstreamer-sections.txt:
23599 * gst/gstmessage.c:
23600 * gst/gstmessage.h:
23601 * gst/gstminiobject.c:
23602 * gst/gstminiobject.h:
23606 lots of new docs and doc fixes
23608 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23610 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23612 * gst/gstregistry.c: (gst_registry_lookup_locked),
23613 (gst_registry_scan_path_level):
23614 * gst/gstregistryxml.c: (load_plugin):
23615 Only ever load one plugin for a given plugin basename.
23616 This ensures correct overriding of GST_PLUGIN_PATH over
23617 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23618 system installed plugins.
23620 2005-10-08 Wim Taymans <wim@fluendo.com>
23622 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23623 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23624 Prepare for doing QOS.
23626 2005-10-08 Wim Taymans <wim@fluendo.com>
23628 * check/gst/gstbin.c: (GST_START_TEST):
23629 * check/pipelines/cleanup.c: (GST_START_TEST):
23630 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23631 Allow new clock message too.
23633 2005-10-08 Wim Taymans <wim@fluendo.com>
23635 * gst/gstmessage.c: (gst_message_new_error),
23636 (gst_message_new_warning), (gst_message_new_tag),
23637 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23638 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23639 (gst_message_new_segment_start), (gst_message_new_segment_done),
23640 (gst_message_parse_state_changed),
23641 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23642 (gst_message_parse_new_clock):
23643 * gst/gstmessage.h:
23644 Also carry the clock in question.
23646 2005-10-08 Wim Taymans <wim@fluendo.com>
23648 * gst/gstmessage.c: (gst_message_new_custom),
23649 (gst_message_new_eos), (gst_message_new_error),
23650 (gst_message_new_warning), (gst_message_new_tag),
23651 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23652 (gst_message_new_new_clock), (gst_message_new_segment_start),
23653 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23654 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23655 * gst/gstmessage.h:
23657 Added clock related messages.
23659 * gst/gstpipeline.c: (gst_pipeline_change_state):
23660 Post message when the clock changed.
23662 * tools/gst-launch.c: (event_loop):
23665 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23667 * tools/gst-inspect.c: (print_element_properties_info):
23668 Can't pass NULL strings to g_print() on windows.
23670 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23672 * docs/Makefile.am:
23673 * docs/gst/Makefile.am:
23674 * docs/gst/gstreamer-docs.sgml:
23675 * docs/gst/running.xml:
23676 * docs/version.entities.in:
23677 add a chapter on running GStreamer.
23678 document GST_DEBUG and GST_PLUGIN* env vars
23680 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23685 remove PLUGINS_BUILDDIR stuff
23686 * gst/gst.c: (init_post):
23687 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23689 remove, it was condescending and not needed
23691 2005-10-08 Wim Taymans <wim@fluendo.com>
23693 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23694 (gst_base_sink_handle_object), (gst_base_sink_event),
23695 (gst_base_sink_wait), (gst_base_sink_handle_event),
23696 (gst_base_sink_change_state):
23697 * gst/base/gstbasesink.h:
23698 Repost EOS message while going to PLAYING if still EOS.
23699 Make sure that when receiving a FLUSH_START we don't attempt
23700 to sync on the clock anymore.
23702 2005-10-08 Wim Taymans <wim@fluendo.com>
23704 * tools/gst-launch.c: (event_loop):
23705 Better message printout.
23707 2005-10-08 Wim Taymans <wim@fluendo.com>
23709 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23710 (gst_bin_child_proxy_get_children_count):
23711 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23712 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23713 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23714 (gst_child_proxy_set_valist):
23715 * gst/parse/grammar.y:
23716 Make ChildProxy threadsafe and fix mem leaks.
23718 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23720 * gst/gst.c: (init_post):
23721 debug the GST_PLUGIN_ env vars
23723 2005-10-08 Wim Taymans <wim@fluendo.com>
23725 * check/gst/gstbin.c: (GST_START_TEST):
23726 * check/gst/gstmessage.c: (GST_START_TEST):
23727 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23728 * gst/gstelement.c: (gst_element_commit_state),
23729 (gst_element_lost_state):
23730 * gst/gstmessage.c: (gst_message_new_state_changed),
23731 (gst_message_parse_state_changed):
23732 * gst/gstmessage.h:
23733 * tools/gst-launch.c: (event_loop):
23734 Added extra field to STATE_CHANGE message with the pending
23735 state, which will be different from the new state soon.
23737 2005-10-08 Wim Taymans <wim@fluendo.com>
23739 * gst/gstbus.c: (gst_bus_pop):
23741 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23742 Small cleanups and doc updates.
23744 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23746 * gst/gst.c: (init_pre):
23747 * gst/gstbin.c: (gst_bin_add_func):
23748 log distributing clocks and base time
23749 * gst/gstregistry.c: (gst_registry_add_plugin),
23750 (gst_registry_scan_path_level), (gst_registry_scan_path):
23751 clean up the debugging output a little
23752 * gst/gstutils.c: (gst_element_state_get_name):
23753 warn about a memleak (I've actually seen this be used, though
23754 it was probably a bug)
23756 2005-10-07 Wim Taymans <wim@fluendo.com>
23758 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23759 (gst_base_src_init), (gst_base_src_default_newsegment),
23760 (gst_base_src_newsegment), (gst_base_src_do_seek),
23761 (gst_base_src_loop), (gst_base_src_start):
23762 * gst/base/gstbasesrc.h:
23763 Make the newsegment event customizable by subclasses.
23765 2005-10-07 Wim Taymans <wim@fluendo.com>
23767 * gst/gstevent.c: (gst_event_new_buffersize),
23768 (gst_event_parse_buffersize):
23770 New event for future idea.
23772 2005-10-07 Andy Wingo <wingo@pobox.com>
23774 * gst/gstelement.c (gst_element_post_message): Doc update.
23776 * docs/gst/gstreamer-sections.txt: Update.
23778 * gst/gstmessage.c (gst_message_new_application): Made into a
23779 function like honest API calls.
23780 (gst_message_new_element): New message type.
23782 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23784 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23785 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23788 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23789 NO_PREROLL from gst_element_change_state to fall through.
23791 2005-10-07 Wim Taymans <wim@fluendo.com>
23793 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23794 (gst_ghost_pad_do_activate_push):
23795 Activating a ghostpad with no internal pad in push mode
23798 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23801 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23802 Fixes compilation on Windows.
23804 2005-10-07 Michael Smith <msmith@fluendo.com>
23806 * tools/gst-inspect.c:
23807 Print out feature and plugin count at the end when printing out
23810 2005-10-04 Michael Smith <msmith@fluendo.com>
23812 * gst/gsterror.c: (_gst_stream_errors_init):
23813 Add another error string used in a few existing plugins.
23816 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23817 * tools/gst-inspect.c: (print_element_info):
23818 When a feature disappears from a plugin (and the feature exists in
23819 the cached registry file), things went horribly wrong. This isn't a
23820 complete fix, we should actually be removing the 'missing' features
23821 from the features list when we load the actual plugin. That's not
23824 2005-10-04 Johan Dahlin <johan@gnome.org>
23826 * check/gst/gstiterator.c: (GST_START_TEST):
23827 * gst/gstbin.c: (gst_bin_iterate_elements),
23828 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23829 * gst/gstelement.c: (gst_element_iterate_pads):
23830 * gst/gstformat.c: (gst_format_iterate_definitions):
23831 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23832 (gst_iterator_new_list), (gst_iterator_filter):
23833 * gst/gstiterator.h:
23834 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23835 Add a GType to GstIterator, update callsites and tests.
23837 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23839 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23840 give events a chance to be handled by event probes when the pad
23843 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23845 * gst/gstevent.c: (gst_event_type_get_name),
23846 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23848 add string representations for event types
23850 2005-10-06 Wim Taymans <wim@fluendo.com>
23852 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23853 Don't use NULL pointers.
23855 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23857 * gst/gst_private.h:
23859 * gst/gstelement.c:
23861 * gst/gstpluginfeature.c:
23862 widen the debug category in output to fit the biggest one we have
23863 add a bus category and use it
23864 play with the colors
23865 fix up some categories
23867 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23869 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23870 add push activation of sink ghost pads.
23871 Andye, please verify
23873 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23875 * gst/gstutils.c: (gst_element_link_pads):
23876 fix a bug in the case where neither element has a pad
23877 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23878 add a test for that case
23880 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23882 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23883 emit have-data before checking for peers. This allows
23884 for probe handlers to connect elements. This helps autopluggers.
23885 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23887 add six checks, linked/unlinked with no/true/false probe
23889 2005-10-04 Wim Taymans <wim@fluendo.com>
23891 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23892 (gst_fake_sink_event), (gst_fake_sink_preroll),
23893 (gst_fake_sink_render), (gst_fake_sink_change_state):
23894 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23895 (gst_fake_src_get_property), (gst_fake_src_create),
23896 (gst_fake_src_stop):
23897 * gst/elements/gstidentity.c: (gst_identity_stop):
23898 Protect last_message with lock.
23900 2005-10-04 Edward Hervey <edward@fluendo.com>
23903 Added precision in the comments for GST_FORMAT_DEFAULT
23905 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23907 * tools/gst-launch.c: (main):
23908 Don't try to run erroneous pipelines.
23910 2005-10-04 Julien MOUTTE <julien@moutte.net>
23912 * gst/gstbus.c: We don't need this header.
23914 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23917 back to development
23919 === release 0.9.3 ===
23921 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23925 Releasing 0.9.3, "Unregistered"
23927 2005-10-03 Andy Wingo <wingo@pobox.com>
23929 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23930 whereby calling a pad's activatepush() function can start a thread
23931 that starts to push or pull before the pad gets the FLUSHING flag
23932 unset. Hack around it by holding the stream lock until the flag is
23933 set. Need to replace this with a proper solution. Together with
23934 the ghost pad fixes, this fixes mp3 playing/tagreading.
23936 * docs/design/part-gstghostpad.txt: Add a note about activation of
23937 proxy pads outside of ghost pads.
23939 * gst/gstghostpad.c: Implement the ghost pad activation design.
23941 2005-10-02 Andy Wingo <wingo@pobox.com>
23943 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23944 It is volatile, after all.
23946 * docs/design/part-gstghostpad.txt: Flesh out activation with
23949 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23952 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23955 Fix (unused) AM_CONDITIONAL tests.
23957 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23959 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23961 * gst/gstutils.c: (gst_pad_query_convert):
23962 Add assertion that makes sure src_val is >=0, just like
23963 gst_query_new_convert() has. (#315895)
23965 2005-09-30 Edward Hervey <edward@fluendo.com>
23967 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23968 Let's not iterate pads we're not interested in, it avoids getting
23969 sky-high refcounts on sinkpad.
23971 2005-09-30 Wim Taymans <wim@fluendo.com>
23973 * gst/gstelement.c: (gst_element_set_state),
23974 (gst_element_change_state):
23975 Small tweak, element in ASYNC remains ASYNC.
23977 2005-09-30 Wim Taymans <wim@fluendo.com>
23979 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23980 Only error is an error.
23982 * gst/gstbin.c: (gst_bin_change_state):
23985 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23986 Also call pad_block in pad alloc.
23988 * gst/gstutils.c: (gst_flow_get_name):
23991 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23993 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23994 (gst_base_src_get_range):
23995 Fix documentation typos. Add some more debug info.
23997 2005-09-29 David Schleef <ds@schleef.org>
23999 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24000 more end-user friendly.
24001 * tools/gst-inspect.c: (main): Check if command-line argument is
24002 a file and attempt to load that file as a plugin.
24004 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24006 * check/gst/gstbin.c:
24007 * check/states/sinks.c:
24008 fix tests for the new warning
24009 * check/gst/gstpipeline.c:
24010 add a test for pipeline and bus interaction
24011 * gst/gstelement.c:
24012 elements should be NULL if they get disposed; add a warning if not
24014 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24017 for 2.6 refcounting, make debug log more correct by printing
24018 the actual refcounts at the time of swap (Wim)
24020 2005-09-29 Andy Wingo <wingo@pobox.com>
24022 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24023 removes signal watches previously added via
24024 gst_bus_add_signal_watch.
24025 (gst_bus_add_signal_watch): Don't return the source id, just store
24026 it on the bus if there wasn't an id already.
24028 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24029 add_signal_watch and remove_signal_watch.
24031 2005-09-29 Edward Hervey <edward@fluendo.com>
24033 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24034 Better if we actually iterate the list :)
24036 2005-09-29 Wim Taymans <wim@fluendo.com>
24038 * check/gst/gstbin.c: (GST_START_TEST):
24039 Change for new bus API.
24041 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24042 (send_messages), (GST_START_TEST), (gstbus_suite):
24043 Change for new bus signal API.
24045 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24046 (gst_bus_source_prepare), (gst_bus_source_check),
24047 (gst_bus_create_watch), (gst_bus_add_watch_full),
24048 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24049 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24051 Remove support for multiple GSources operating on different
24052 message types as it is too complex and unneeded when using
24054 Added support for receiving signals from the bus.
24056 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24058 * docs/libs/tmpl/gstdataprotocol.sgml:
24059 * docs/manual/advanced-dataaccess.xml:
24060 * gst/elements/gstcapsfilter.c:
24062 rename filter-caps to caps property
24064 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24066 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24067 More robust fraction string parsing.
24069 * docs/pwg/appendix-porting.xml:
24070 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24072 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24074 * gst/gstcaps.c: (gst_caps_do_simplify):
24075 Thou shalt not free a structure and then continue using it
24076 in the next loop iteration.
24078 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24080 Add test case for caps simplification.
24082 2005-09-29 Wim Taymans <wim@fluendo.com>
24084 * check/gst/gstbin.c: (GST_START_TEST):
24087 2005-09-29 Wim Taymans <wim@fluendo.com>
24089 * check/gst/gstbin.c: (GST_START_TEST):
24092 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24093 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24094 (find_element), (gst_bin_sort_iterator_next),
24095 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24096 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24097 (gst_bin_change_state), (gst_bin_dispose):
24098 A bin does not have a bus, it gets the bus from the parent.
24100 * gst/gstelement.c: (gst_element_requires_clock),
24101 (gst_element_provides_clock), (gst_element_is_indexable),
24102 (gst_element_is_locked_state), (gst_element_change_state),
24103 (gst_element_set_bus_func):
24106 * gst/gstpipeline.c: (gst_pipeline_class_init),
24107 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24108 The pipeline provides a bus.
24110 2005-09-28 Johan Dahlin <johan@gnome.org>
24112 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24113 gst_structure_get_enum instead of gst_structure_get_int
24115 * gst/gststructure.c (gst_structure_get_enum): Impl.
24117 * gst/gststructure.h (gst_structure_get_enum): Add
24119 * docs/gst/gstreamer-sections.txt: Ditto
24121 * gst/gstmessage.c (gst_message_new_state_changed): Use
24122 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24123 which does introspection.
24124 Reviewed by Christian Schaller
24126 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24128 * gst/gstinfo.c: (gst_debug_log_default):
24129 don't do dummy g_strdup()s
24130 * libs/gst/controller/gstcontroller.c:
24131 (on_object_controlled_property_changed),
24132 (gst_controlled_property_new), (gst_controller_new_valist),
24133 (gst_controller_new_list),
24134 (gst_controller_remove_properties_valist), (gst_controller_set),
24135 (gst_controller_get), (gst_controller_sync_values),
24136 (gst_controller_get_value_array), (_gst_controller_class_init),
24137 (gst_controller_get_type):
24138 * libs/gst/controller/gstcontroller.h:
24139 * libs/gst/controller/gstinterpolation.c:
24140 (gst_controlled_property_find_timed_value_node):
24141 convert // to /**/ comments
24143 2005-09-28 Wim Taymans <wim@fluendo.com>
24145 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24146 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24147 (gst_bus_sync_signal_handler):
24149 Added async-message and sync-message signals to the bus.
24150 Added helper BusFunc to emit signals for all posted messages.
24152 * gst/gstmessage.c: (gst_message_type_get_name),
24153 (gst_message_type_to_quark), (gst_message_get_type):
24154 * gst/gstmessage.h:
24155 Register quarks for message names.
24157 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24159 * docs/libs/gstreamer-libs-sections.txt:
24160 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24161 (gst_controller_new_list):
24162 * libs/gst/controller/gstcontroller.h:
24163 added another constructor for language bindings
24165 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24167 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24171 * gst/gstinfo.c: (_gst_debug_init):
24172 slightly more readable color for refcount debugging
24174 2005-09-28 Wim Taymans <wim@fluendo.com>
24176 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24177 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24178 (find_element), (gst_bin_sort_iterator_next),
24179 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24180 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24181 (gst_bin_change_state), (gst_bin_dispose):
24182 Small doc fixes. get_clock -> provide_clock.
24184 * gst/gstelement.c: (gst_element_class_init),
24185 (gst_element_provides_clock), (gst_element_provide_clock),
24186 (gst_element_get_clock), (gst_element_commit_state),
24187 (gst_element_lost_state):
24188 * gst/gstelement.h:
24189 Make get/set_clock() symetric. Add provide_clock vmethod since
24190 that is actually what this function does.
24192 * gst/gstpipeline.c: (gst_pipeline_class_init),
24193 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24194 (gst_pipeline_get_clock):
24195 get_clock -> provide_clock.
24197 2005-09-28 Andy Wingo <wingo@pobox.com>
24199 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24200 lieu of real docs...
24202 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24204 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24206 * gst/elements/gstcapsfilter.c:
24207 * gst/elements/gstfakesink.c:
24208 * gst/elements/gstfakesrc.c:
24209 * gst/elements/gstfdsink.c:
24210 * gst/elements/gstfdsrc.c:
24211 * gst/elements/gstfilesink.c:
24212 * gst/elements/gstfilesrc.c:
24213 * gst/elements/gstidentity.c:
24214 * gst/elements/gsttee.c:
24215 * gst/elements/gsttypefindelement.c:
24216 Make element details static.
24218 2005-09-28 Wim Taymans <wim@fluendo.com>
24220 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24221 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24222 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24223 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24224 (gst_bin_change_state), (gst_bin_dispose):
24225 Some documentation updates.
24226 Clean up dispose handlers.
24228 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24229 * gst/gstpad.c: (gst_pad_dispose):
24230 Clean up dispose handler.
24232 * gst/gstpipeline.c: (gst_pipeline_change_state):
24233 Removed spurious UNLOCK.
24235 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24237 * docs/gst/gstreamer-sections.txt:
24238 * gst/base/gstbasesrc.h:
24239 * gst/gstelement.h:
24243 * gst/gstpipeline.c:
24244 * gst/gstpipeline.h:
24247 added two new functions to the docs
24248 documents all undocumented GstXXXFlags
24249 completed some incomplete docs
24251 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24253 * gst/gstbin.c: (gst_bin_dispose):
24254 * gst/gstelement.c: (gst_element_dispose):
24255 remove now useless and leaky resurrection code in dispose
24256 * gst/base/gstbasesrc.c: (gst_base_src_init):
24257 * gst/gstelementfactory.c: (gst_element_factory_create):
24258 * gst/gstobject.c: (gst_object_set_parent):
24261 2005-09-27 Wim Taymans <wim@fluendo.com>
24263 * docs/design/part-TODO.txt:
24266 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24267 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24268 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24269 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24270 (gst_bin_change_state):
24271 * gst/gstelement.h:
24272 Remove element variable, we keep element info in the iterator now.
24274 2005-09-27 Andy Wingo <wingo@pobox.com>
24276 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24279 2005-09-27 Wim Taymans <wim@fluendo.com>
24281 * check/gst/gstbin.c: (GST_START_TEST):
24282 Enable check that works now.
24284 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24285 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24286 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24287 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24288 (gst_bin_change_state):
24290 Redid the state change algorithm using a topological sort algo.
24291 Handles all cases correctly.
24292 Exposed iterator for state change order.
24294 * gst/gstelement.h:
24295 Temp storage for state changes. Need to get rid of this soon.
24297 2005-09-27 Wim Taymans <wim@fluendo.com>
24299 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24300 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24301 (link_fold_func), (gst_pad_proxy_setcaps):
24302 Leak fixes, the fold functions need to unref the passed object and
24303 _get_parent_*() returns ref to parent.
24305 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24307 * check/gst/gstbuffer.c: (test_make_writable):
24308 Plug leak in test case and fix 'make check-valgrind'
24310 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24312 * gst/gstbuffer.c: (gst_subbuffer_init):
24313 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24314 works correctly in all circumstances (we could have just copied
24315 the parent buffer's readonly flag, but conceptually it seems
24316 cleaner to mark all subbuffers as read-only). (based on patch
24317 by Alessandro Decina, #314710).
24319 * check/gst/gstbuffer.c: (create_read_only_buffer),
24320 (test_make_writable), (test_subbuffer_make_writable),
24322 Add some tests for gst_buffer_make_writable().
24324 2005-09-27 Wim Taymans <wim@fluendo.com>
24326 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24327 use gst_object_has_ancestor().
24329 * gst/gstobject.c: (gst_object_has_ancestor):
24331 gst_object_has_ancestor() copied from gstbin.c as it is a
24334 * tests/instantiate/create.c: (create_all_elements):
24335 * tests/lat.c: (handoff_src), (handoff_sink):
24336 * tests/sched/runxml.c: (main):
24337 * tests/seeking/seeking1.c: (main):
24338 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24340 Fix compilation of some tests.
24342 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24345 Remove comment. GST_TYPE_G_ERROR is here to stay,
24346 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24347 (#316961, #300610).
24349 2005-09-26 Wim Taymans <wim@fluendo.com>
24351 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24352 Added check that shows error in state change order.
24354 2005-09-26 Wim Taymans <wim@fluendo.com>
24356 * gst/gstbin.c: (gst_bin_change_state):
24357 Make state change function use 3 queues again, we were
24358 adding elements in the wrong order.
24360 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24363 * gst/gstpad.c: (gst_pad_dispose):
24364 Added some debug info first.
24366 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24368 * docs/design/draft-push-pull.txt:
24369 * docs/design/part-events.txt:
24370 * docs/design/part-overview.txt:
24371 * docs/design/part-scheduling.txt:
24372 Replace all _pull_region() with _pull_range()
24374 2005-09-26 Andy Wingo <wingo@pobox.com>
24376 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24378 * check/gst-libs/controller.c: Update for controller api change.
24381 * tests/Makefile.am:
24382 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24383 over by GLib bug 118439.
24385 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24386 routines to a function.
24388 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24390 * libs/gst/controller/gsthelper.c:
24391 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24392 (gst_object_sync_values): Renamed from sink_values. Ugh.
24394 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24396 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24397 Renamed from controller_key, as it is exported.
24399 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24401 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24406 * gst/gstpadtemplate.h:
24409 * gst/gstqueryutils.c:
24410 * gst/gstqueryutils.h:
24411 remove queryutils headers after moving the two used functions
24412 to gstquery. also fixes build problem for gstsiddec
24414 2005-09-26 Michael Smith <msmith@fluendo.com>
24416 * tools/gst-launch.1.in:
24417 Correct documentation in manpage of debug syntax
24419 2005-09-26 Wim Taymans <wim@fluendo.com>
24421 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24422 (gst_base_src_is_seekable), (gst_base_src_change_state):
24423 Some more debugging info.
24425 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24427 * docs/gst/gstreamer-sections.txt:
24428 * gst/base/gstbasetransform.h:
24432 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24434 * docs/gst/.cvsignore:
24435 * docs/gst/tmpl/.cvsignore:
24436 * docs/gst/tmpl/gstpipeline.sgml:
24437 * docs/gst/tmpl/gstplugin.sgml:
24438 * gst/gstpipeline.c:
24441 inlined the last two docs files
24442 removed the tmpl directory from cvs (no more conflicts here!)
24444 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24446 * docs/gst/gstreamer-sections.txt:
24447 * docs/gst/tmpl/.cvsignore:
24448 * docs/gst/tmpl/gstpad.sgml:
24449 * docs/gst/tmpl/gstpadtemplate.sgml:
24451 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24452 (gst_pad_finalize), (gst_pad_set_pad_template):
24454 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24455 (gst_pad_template_class_init), (gst_pad_template_init),
24456 (gst_pad_template_dispose), (name_is_valid),
24457 (gst_static_pad_template_get), (gst_pad_template_new),
24458 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24459 (gst_pad_template_pad_created):
24460 * gst/gstpadtemplate.h:
24461 inlined two more docs
24462 factored gstpadtemplate out of gstpad
24464 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24466 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24467 (test_children_state_change_order_semi_sink):
24468 Fix test case: we can't rely on a fixed state change order when
24469 going from READY => PAUSED because the sink might commit its
24470 new state first when the first buffer created by the source
24471 reaches the sink before the source has finished its change state.
24472 (Test case still fails at times, see #316856, comment 5 onwards)
24474 2005-09-24 Wim Taymans <wim@fluendo.com>
24476 * docs/design/part-events.txt:
24477 * docs/design/part-gstbus.txt:
24478 * docs/design/part-gstpipeline.txt:
24479 * docs/design/part-messages.txt:
24480 * docs/design/part-overview.txt:
24481 * docs/design/part-segments.txt:
24485 * gst/gstelement.c:
24488 * gst/gstiterator.c:
24489 Various documentation updates.
24491 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24494 Well, that's embarassing. Luckily we weren't using
24495 GST_CLOCK_DIFF anywhere.
24497 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24499 * common/gtk-doc.mak:
24500 don't fail on building XML, FC4 slave shows a bunch of doc
24501 missing bits that I don't get
24503 * gst/gstpipeline.c:
24504 * gst/gststructure.c:
24507 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24509 * docs/design/part-gstbin.txt:
24510 * docs/design/part-gstbus.txt:
24512 Add blurb about how the bus goes into flushing mode and
24513 drops all messages when its bin goes from READY into NULL
24516 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24518 * docs/gst/gstreamer-sections.txt:
24519 * gst/gststructure.c: (gst_structure_get_clock_time):
24520 * gst/gststructure.h:
24521 add a method to get a GstClockTime out of a structure
24523 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24525 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24526 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24527 Added test to check state change order in bins (can still be made
24528 to fail here under heavy disk load; bails out with 'Push on pad
24529 fakesink:sink0, but it was not activated in push mode').
24531 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24532 Fix state change order when there is only a semi sink (#316856)
24534 * gst/gstbus.c: (gst_bus_class_init):
24535 Use _class_peek_parent(), not _class_ref(); fix docs to say
24536 'default main context' instead of 'mainloop' where that is
24539 * gst/gstelement.c: (gst_element_commit_state),
24540 (gst_element_set_state):
24541 Fix typos in debug messages
24543 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24546 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24547 * gst/gstpluginfeature.c:
24549 various doc updates
24550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24551 change an assert into an error until it gets fixed properly
24553 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24555 * docs/gst/gstreamer-sections.txt:
24556 * docs/gst/tmpl/.cvsignore:
24557 * docs/gst/tmpl/gstelement.sgml:
24558 * docs/gst/tmpl/gstinfo.sgml:
24559 * docs/gst/tmpl/gstobject.sgml:
24560 * gst/gstelement.c:
24561 * gst/gstelement.h:
24564 * gst/gstobject.c: (gst_object_class_init):
24566 inlined 3 more biiiig doc files and added some missing docs on the fly
24568 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24570 * check/gst/.cvsignore:
24571 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24572 * gst/gstregistryxml.c: (load_plugin),
24573 (gst_registry_xml_save_plugin):
24574 put back source in registry. add checks for find_plugin.
24575 * testsuite/states/bin.c: (assert_state), (empty_bin),
24576 (test_adding_one_element), (main):
24577 * testsuite/states/locked.c: (main):
24578 some compile/run fixes
24580 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24582 * check/gst/gstvalue.c: (GST_START_TEST):
24583 fix leaks in the test itself
24585 2005-09-22 Wim Taymans <wim@fluendo.com>
24587 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24588 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24589 (gst_base_sink_query):
24590 Prepare for more accurate position reporting and query
24593 * gst/gstelement.c: (gst_element_send_event),
24594 (gst_element_set_state):
24597 2005-09-22 Wim Taymans <wim@fluendo.com>
24599 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24600 (gst_query_parse_segment):
24602 More documentation.
24603 Add segment query for future use.
24605 2005-09-22 Wim Taymans <wim@fluendo.com>
24607 * gst/gstbin.c: (gst_bin_add_func):
24608 Some more debug info.
24610 * gst/gstelement.c: (gst_element_send_event):
24611 Simplify send_event
24613 * gst/gstelement.h:
24614 Don't know how flags got broken.
24619 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24621 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24622 Add simplistic test suite for GST_TYPE_DATE serialisation and
24625 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24627 * docs/gst/gstreamer-sections.txt:
24628 * gst/gststructure.c: (gst_structure_set_valist),
24629 (gst_structure_get_date):
24630 * gst/gststructure.h:
24631 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24632 (gst_date_copy), (gst_value_compare_date),
24633 (gst_value_serialize_date), (gst_value_deserialize_date),
24634 (gst_value_transform_date_string),
24635 (gst_value_transform_string_date), (_gst_value_initialize):
24637 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24638 bunch of utility functions along with a hack that checks that
24639 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24640 is required. Part of the grand scheme in #170777.
24642 2005-09-22 Andy Wingo <wingo@pobox.com>
24644 * gst/gstconfig.h.in: Psych out gtk-doc.
24646 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24648 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24650 * tools/gst-inspect.c (print_element_list): Plug some
24651 inconsequential leaks.
24653 * gst/gstregistry.c (gst_registry_get_default): Doc.
24655 * check/gst/gstplugin.c:
24656 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24657 * gst/gstelementfactory.c (gst_element_factory_create):
24658 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24661 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24662 (gst_plugin_feature_load): Doc, don't eat refs.
24664 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24665 (gst_plugin_list_free): Doc.
24666 (gst_plugin_load_file): Doc updates.
24668 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24669 accessors returning refcounted objects, return a ref.
24671 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24672 accessor for caps. IDEMPOTENCE. Oh yes.
24674 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24676 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24678 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24679 (_gst_debug_register_funcptr):
24680 Add mutex to serialise access to the hash table with
24681 the function pointer => function name string mapping;
24682 make that hash table static scope (#316809).
24684 * gst/registries/.cvsignore:
24685 Remove left-over file.
24687 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24689 * docs/pwg/appendix-porting.xml:
24690 And something about newsegment events and caps-on-buffers to
24691 the porting guide (feel free to improve).
24693 2005-09-21 Andy Wingo <wingo@pobox.com>
24695 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24696 data and event probes on the same pad.
24697 (test_buffer_probe_once): Test that removing probes from within
24698 the probe functions works.
24700 2005-09-21 Andy Wingo <wingo@pobox.com>
24702 * check/gst/gstutils.c: New file.
24703 (test_buffer_probe_n_times): A simple buffer probe test. More to
24706 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24707 have-data::buffer, not have-data.
24708 (gst_pad_add_event_probe): Likewise for have-data::event.
24709 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24710 peer' isn't quite right yet though.
24711 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24712 (gst_pad_remove_data_probe): Change to take the guint handler_id
24713 as their arg, not the function+data, which is more glib-like.
24715 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24716 the signal emission to indicate if the data is a buffer or an
24718 (gst_pad_get_type): Initialize buffer and event quarks.
24719 (gst_pad_class_init): have-data is now a detailed signal, yes it
24722 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24724 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24725 * gst/gstutils.c: (gst_util_set_value_from_string),
24726 (gst_util_set_object_arg):
24727 Don't put functional code in g_return_if_fail() or
24728 g_return_val_if_fail() statements, otherwise things will
24729 break when G_DISABLE_CHECKS is defined during compilation.
24731 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24733 * docs/gst/tmpl/.cvsignore:
24734 * docs/gst/tmpl/gstvalue.sgml:
24737 inlied another one and added some obvious docs
24739 2005-09-21 Wim Taymans <wim@fluendo.com>
24741 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24742 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24743 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24744 (gst_fdsrc_get_property), (gst_fdsrc_create):
24745 * gst/elements/gstfdsrc.h:
24746 Properly implement fdsrc. Removed signal and timeout,
24747 better implemented somewhere else.
24749 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24751 * docs/gst/tmpl/.cvsignore:
24752 * docs/gst/tmpl/gstimplementsinterface.sgml:
24753 * gst/gstinterface.c:
24756 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24758 * docs/gst/gstreamer-sections.txt:
24759 * docs/gst/tmpl/.cvsignore:
24760 * docs/gst/tmpl/gstenumtypes.sgml:
24761 remove obsolete doc file
24763 2005-09-21 David Schleef <ds@schleef.org>
24765 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24766 little beer, fix a little leak.
24768 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24770 * docs/gst/gstreamer-docs.sgml:
24771 * docs/gst/gstreamer-sections.txt:
24772 * docs/gst/tmpl/.cvsignore:
24776 * gst/gstelement.h:
24777 * gst/gstindex.c: (gst_index_class_init):
24779 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24780 (gst_index_factory_class_init), (gst_index_factory_init),
24781 (gst_index_factory_finalize), (gst_index_factory_new),
24782 (gst_index_factory_destroy), (gst_index_factory_find),
24783 (gst_index_factory_create), (gst_index_factory_make):
24784 * gst/gstindexfactory.h:
24785 * gst/gstpluginfeature.c:
24786 * gst/gstpluginfeature.h:
24787 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24788 more docs inlined, splitted gstindex.{c,h}
24790 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24792 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24795 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24797 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24798 Set sync to FALSE by default.
24800 2005-09-20 Wim Taymans <wim@fluendo.com>
24802 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24803 (gst_base_sink_init):
24804 Make sync property settable from subclass.
24806 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24807 (gst_fake_sink_change_state):
24808 Set sync to FALSE by default.
24810 2005-09-20 Wim Taymans <wim@fluendo.com>
24812 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24813 * tools/gst-launch.c: (main):
24814 The timeout handler should have lower priority than the source
24815 so we don't timeout before popping a message with 0 timeout.
24816 Dump error messages after failed state change.
24818 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24820 * tools/gst-inspect.c: (print_element_properties_info):
24823 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24825 * check/gst/gstevent.c:
24826 * gst/elements/gstfakesink.c:
24827 * gst/elements/gstfakesink.h:
24828 remove the sync property from fakesink.
24829 has the side effect of setting sync TRUE
24830 for fakesink, which is a change. Anyone who knows how
24831 to fix this nicely in a GObject-y way, feel free.
24833 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24835 * docs/gst/gstreamer-docs.sgml:
24836 remove probe refsection
24838 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24840 * check/Makefile.am:
24841 disable valgrinding the controller test again
24842 * docs/gst/gstreamer-sections.txt:
24843 update for api-changes
24845 2005-09-20 Wim Taymans <wim@fluendo.com>
24847 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24848 (gst_base_sink_set_property), (gst_base_sink_get_property),
24849 (gst_base_sink_do_sync):
24850 * gst/base/gstbasesink.h:
24851 Added sync property to basesink to disable clock sync.
24853 2005-09-20 Andy Wingo <wingo@pobox.com>
24855 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24856 eating the caller's refcount.
24858 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24859 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24862 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24863 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24864 of GLib 2.8 public, so we can know which refcount to check in
24867 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24868 (gst_object_init): Only set the gst refcount if we're going ahead
24869 with the refcount hack.
24871 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24873 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24874 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24875 more leaks plumbed, added more debug-logging
24879 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24881 * gst/gstmessage.c:
24882 remove include of gstmemchunk.h
24884 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24886 * gst/gstclock.c: (_gst_clock_id_free):
24887 Commit from the Political Party For More Atomic CVS Commits,
24888 so that people don't waste too much of their day fishing
24889 out obvious leaks out of massive commits.
24890 Oh, and fix a pretty damn obvious leak in the memchunk
24893 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24895 * check/Makefile.am:
24896 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24897 plug mem-leak, re-add to valgrindable tests
24899 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24902 unbreak the build for those who have chronic arthritis
24903 and typing "make check" is just too taxing on the hands
24905 2005-09-20 Andy Wingo <wingo@pobox.com>
24907 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24908 really want it out, you should fix plugins at the same time.
24910 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24913 * docs/gst/gstreamer-sections.txt:
24915 added missing symbols to api docs
24916 disable ref-count hack if we have glib >= 2.8
24918 2005-09-19 David Schleef <ds@schleef.org>
24920 * docs/gst/Makefile.am: Ignore a few more internal headers
24921 * docs/gst/gstreamer-docs.sgml: Remove old sections
24922 * docs/gst/gstreamer-sections.txt: Remove old sections
24923 * docs/gst/tmpl/gstobject.sgml: update
24924 * docs/gst/tmpl/gstplugin.sgml: update
24925 * docs/gst/tmpl/gstpluginfeature.sgml: update
24926 * docs/random/ds/0.9-suggested-changes: update.
24927 * gst/Makefile.am: remove memchunk and trashstack, since they're
24929 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24930 * gst/gst.h: don't include some headers
24931 * gst/gstchildproxy.c: add gstmarshal.h
24932 * gst/gstclock.c: Don't use memchunks
24933 * gst/gstminiobject.c: Add some docs
24934 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24935 * gst/gstobject.h: same
24936 * gst/gstplugin.c: include gstmacros.h
24937 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24938 * gst/gstquery.c: don't use memchunks
24939 * gst/gstregistry.c: rename gst_registry_deinit()
24940 * gst/gstregistry.h: same
24942 2005-09-19 David Schleef <ds@schleef.org>
24944 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24945 * docs/libs/gstreamer-libs-sections.txt:
24946 * docs/libs/tmpl/gstgetbits.sgml:
24947 * docs/libs/tmpl/gstputbits.sgml:
24949 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24951 * win32/gstenumtypes.c:
24952 * win32/gstenumtypes.h:
24955 2005-09-19 Wim Taymans <wim@fluendo.com>
24957 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24958 Automatically PAUSE and RESUME a pipeline when a flushing seek
24961 2005-09-19 Andy Wingo <wingo@pobox.com>
24963 * gst/gstregistry.h: Spacing fixen.
24965 2005-09-19 Wim Taymans <wim@fluendo.com>
24967 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24968 Handle state change failure more correctly.
24970 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24972 * check/Makefile.am:
24973 * check/pipelines/cleanup.c: (run_pipeline):
24974 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24976 enable cleanup again after fixing the leak
24978 some more info on docs
24980 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24982 * check/Makefile.am:
24983 re-enable tests now that leaks are plugged
24985 * check/gst/gstbin.c:
24986 * check/gst/gstpipeline.c:
24987 add some more tests while fixing leaks
24988 * common/check.mak:
24989 make sure binaries are uptodate when valgrinding/gdbing
24991 * gst/gstelementfactory.c:
24992 remove a ref too many, and add a FIXME for when we get
24993 round to disposing of classes
24995 fix the refcounting when loading a plugin from a file and
24996 the code pretends that the pointer is the same even though
24997 of course it can change
24998 * gst/gstpluginfeature.c:
24999 unref plugins marked cached (a bit confusing as a name)
25000 as the docs state should be done
25001 various doc additions to explain refcounting
25002 * gst/gstregistry.c:
25003 * gst/gstregistryxml.c:
25006 2005-09-19 Wim Taymans <wim@fluendo.com>
25008 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25009 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25010 (send_messages), (GST_START_TEST), (gstbus_suite):
25011 * check/gst/gstpipeline.c: (GST_START_TEST):
25012 * check/pipelines/cleanup.c: (run_pipeline):
25013 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25015 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25016 (gst_bus_source_check), (gst_bus_source_dispatch),
25017 (gst_bus_create_watch), (gst_bus_add_watch_full),
25018 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25020 * tools/gst-launch.c: (event_loop):
25021 * tools/gst-md5sum.c: (event_loop):
25022 GstBusHandler -> GstBusFunc, return value has the same meaning as
25023 any other GSource (FALSE == remove source).
25024 _add_watch() and _add_watch_full() now take a MessageType mask to
25025 only handle specific types of messages.
25026 _poll() returns the GstMessage instead of the message type to avoid
25028 _have_pending() takes a MessageType mask now too.
25029 Added testsuite for multiple bus watches.
25030 Fix testsuites and applications for new bus API.
25032 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25034 * check/Makefile.am:
25035 mark a bunch of the tests as to fix until we fix them
25037 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25039 * common/check.mak:
25040 use GST_PLUGIN settings for valgrind tests as well, so we're
25041 valgrinding the correct thing
25042 * gst/gst.c: (init_post):
25045 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25047 * gst/gst.c: (init_post), (gst_deinit):
25048 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25049 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25050 * gst/gstindex.c: (gst_index_factory_class_init),
25051 (gst_index_factory_finalize):
25052 * gst/gstobject.c: (gst_object_dispose):
25053 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25054 (gst_plugin_load_file), (gst_plugin_desc_free):
25055 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25056 (gst_plugin_feature_finalize):
25057 * gst/gstregistry.c: (gst_registry_class_init),
25058 (gst_registry_init), (gst_registry_finalize),
25059 (gst_registry_get_default), (gst_registry_deinit):
25060 * gst/gstregistry.h:
25061 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25062 various cleanups and memleak plugging. make valgrind is happy now.
25064 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25066 * common/check.mak:
25067 add a check-valgrind target
25069 2005-09-18 David Schleef <ds@schleef.org>
25071 * tools/gst-inspect.c: Revert the GOption code.
25073 2005-09-17 David Schleef <ds@schleef.org>
25075 * check/Makefile.am: Fix environment variables.
25076 * check/gst/gstplugin.c: Fix for API changes.
25077 * tools/gst-inspect.c: Fix for API changes.
25078 * tools/gst-xmlinspect.c: Fix for API changes.
25079 * gst/gstelementfactory.c:
25082 * gst/gstpluginfeature.c:
25083 * gst/gstpluginfeature.h:
25084 * gst/gstregistry.c:
25085 * gst/gstregistry.h:
25086 * gst/gstregistryxml.c:
25087 * gst/gsttypefind.c:
25088 * gst/gsttypefindfactory.c:
25089 * gst/indexers/gstfileindex.c:
25090 * gst/indexers/gstmemindex.c:
25091 * gst/schedulers/Makefile.am:
25092 Change registry to keep track of both plugins and features,
25093 removing the feature tracking from plugins themselves.
25095 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25097 * check/Makefile.am:
25098 * tools/gst-register.1.in:
25099 remove gst-register
25101 2005-09-15 David Schleef <ds@schleef.org>
25103 * check/gst/gstplugin.c:
25104 * gst/gstelementfactory.c:
25106 * gst/gstpluginfeature.c:
25107 * gst/gstregistry.c:
25108 Getting tired of debugging. Disabled all the unreffing of
25109 plugins and features, which fixes the segfaults, but of
25110 course leaks like crazy. At least playbin works.
25112 2005-09-15 David Schleef <ds@schleef.org>
25114 * check/gst/gstplugin.c: (register_check_elements),
25115 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25117 * gst/elements/gsttypefindelement.c: Fix refcounting.
25118 * gst/gsttypefind.c:
25119 * gst/gsttypefindfactory.c:
25120 * gst/gsttypefindfactory.h:
25122 2005-09-15 David Schleef <ds@schleef.org>
25124 * gst/gstindex.c: get refcounting correct.
25125 * gst/gstregistry.c: Handle the case where a feature/plugin is
25128 2005-09-15 David Schleef <ds@schleef.org>
25130 * check/Makefile.am:
25131 * check/gst/gstplugin.c: Add test
25132 * gst/gstplugin.c: Fix problems noticed by testsuite
25134 * gst/gstregistry.c:
25135 * gst/gstregistry.h:
25137 2005-09-15 David Schleef <ds@schleef.org>
25139 * gst/gstplugin.c: Implement semi-decent recounting and locking
25140 in plugins and plugin features.
25142 * gst/gstpluginfeature.c:
25143 * gst/gstpluginfeature.h:
25144 * gst/gstregistry.c:
25146 2005-09-15 Michael Smith <msmith@fluendo.com>
25148 * gst/gstregistry.c: (gst_registry_get_feature_list):
25149 Implement this. Makes oggdemux work; decodebin still broken.
25151 2005-09-14 David Schleef <ds@schleef.org>
25153 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25155 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25156 * gst/check/Makefile.am:
25157 * libs/gst/controller/Makefile.am:
25158 * libs/gst/dataprotocol/Makefile.am:
25160 2005-09-14 David Schleef <ds@schleef.org>
25162 * configure.ac: Remove getbits library. Nothing uses it, and
25163 it should be in something like liboil if someone did want
25165 * libs/gst/Makefile.am:
25166 * libs/gst/getbits/Makefile.am:
25167 * libs/gst/getbits/gbtest.c:
25168 * libs/gst/getbits/getbits.c:
25169 * libs/gst/getbits/getbits.h:
25170 * libs/gst/getbits/gstgetbits_generic.c:
25171 * libs/gst/getbits/gstgetbits_i386.s:
25172 * libs/gst/getbits/gstgetbits_inl.h:
25174 2005-09-14 David Schleef <ds@schleef.org>
25176 * gst/Makefile.am: Dist glib-compat.h
25178 2005-09-14 David Schleef <ds@schleef.org>
25180 * configure.ac: Remove gst/registries, since it's no longer used.
25181 * gst/registries/Makefile.am:
25182 * gst/registries/gstlibxmlregistry.c:
25183 * gst/registries/gstlibxmlregistry.h:
25184 * gst/registries/gstxmlregistry.c:
25185 * gst/registries/gstxmlregistry.h:
25186 * gst/registries/registrytest.c:
25188 2005-09-14 David Schleef <ds@schleef.org>
25190 * gst/glib-compat.h:
25191 * gst/gstregistryxml.c:
25192 Convergence is near. Seriously.
25194 2005-09-14 David Schleef <ds@schleef.org>
25196 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25197 * gst/glib-compat.h:
25198 Attempt #4 to appease the buildbots.
25200 2005-09-14 David Schleef <ds@schleef.org>
25202 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25205 2005-09-14 David Schleef <ds@schleef.org>
25207 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25210 2005-09-14 David Schleef <ds@schleef.org>
25212 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25215 2005-09-14 David Schleef <ds@schleef.org>
25217 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25218 * gst/glib-compat.h: Add some functions that are in newer versions
25219 of glib than we care to require.
25220 * gst/gstregistryxml.c: Use them.
25222 2005-09-14 David Schleef <ds@schleef.org>
25224 * po/POTFILES.in: remove gst-register.c
25226 2005-09-14 David Schleef <ds@schleef.org>
25228 * docs/gst/gstreamer-docs.sgml:
25229 * docs/gst/gstreamer-sections.txt:
25230 * docs/gst/gstreamer.types:
25231 * docs/gst/tmpl/gstelement.sgml:
25232 * docs/gst/tmpl/gstplugin.sgml:
25233 * docs/gst/tmpl/gstpluginfeature.sgml:
25234 Documentation updates for registry changes.
25236 2005-09-14 David Schleef <ds@schleef.org>
25238 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25239 because we don't require glib-2.8.
25241 2005-09-14 David Schleef <ds@schleef.org>
25243 * gst/gstregistryxml.c: Added. Essentially moved out of the
25244 registries directory.
25246 2005-09-14 David Schleef <ds@schleef.org>
25248 * check/Makefile.am:
25249 * check/generic/states.c:
25253 * gst/gst_private.h:
25254 * gst/gstelementfactory.c:
25259 * gst/gstpluginfeature.c:
25260 * gst/gstpluginfeature.h:
25261 * gst/gstregistry.c:
25262 * gst/gstregistry.h:
25263 * gst/gstregistrypool.c: remove
25264 * gst/gstregistrypool.h: remove
25265 * gst/gsttypefind.c:
25266 * gst/gsttypefindfactory.c:
25268 * tools/Makefile.am:
25269 * tools/gst-compprep.c:
25270 * tools/gst-inspect.c:
25271 * tools/gst-register.c: remove
25272 * tools/gst-xmlinspect.c:
25273 Registry rewrite. Changes registry from being a file created
25274 by a tool into a simple cache file created automatically by
25275 libgstreamer. Removed gst-register (because it's no longer
25276 needed). Remove registry pools, because we only have one
25277 registry implementation (XML). Fix up other subsystems as
25280 2005-09-13 Michael Smith <msmith@fluendo.com>
25282 * gst/gstconfig.h.in:
25283 Don't Use windows linking attributes for MinGW. Fixes #316157
25285 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25287 * gst/gstutils.c: (set_state_async_thread_func),
25288 (gst_element_set_state_async):
25289 Apparently people think it's better if this function doesn't
25290 try to set the state to whatever state was asked for on the first
25291 call to this function for any object. Seriously.
25293 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25295 * check/gst/gstpipeline.c: (GST_START_TEST):
25296 * docs/gst/gstreamer-sections.txt:
25297 * gst/gstutils.c: (set_state_async_thread_func),
25298 (gst_element_set_state_async):
25300 add a "gst_element_set_state_async" method that
25301 sets the state and starts a thread to make sure the state
25302 change completes as best as it can
25304 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25306 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25307 codify design+behaviour in testsuite after discussion
25309 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25311 * docs/gst/tmpl/gstelement.sgml:
25312 * docs/manual/appendix-quotes.xml:
25314 * gst/gstelement.c: (gst_element_set_state):
25317 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25319 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25320 (gst_base_transform_prepare_output_buf),
25321 (gst_base_transform_handle_buffer):
25322 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25323 (gst_capsfilter_prepare_buf):
25324 Remove the requirement for sub-classes to call the parent
25325 implementation of prepare_output_buffer with a wrapper function.
25327 * gst/gsttaglist.h:
25328 * gst/gsttagsetter.h:
25329 Fix #define wrapper
25331 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25333 * docs/gst/gstreamer-sections.txt:
25336 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25338 * docs/gst/gstreamer-sections.txt:
25339 * docs/gst/tmpl/gstelement.sgml:
25340 * docs/gst/tmpl/gstplugin.sgml:
25341 * gst/gstminiobject.c:
25343 docs now stop throwing warnings
25345 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25347 * docs/gst/gstreamer-sections.txt:
25348 * docs/gst/gstreamer.types:
25349 * docs/gst/tmpl/gstpad.sgml:
25350 * docs/gst/tmpl/gsttypes.sgml:
25351 * gst/base/gstadapter.h:
25352 * gst/base/gstbasesink.h:
25353 * gst/base/gstbasesrc.h:
25359 * gst/gstelement.h:
25361 * gst/gstmessage.h:
25363 * gst/gststructure.c:
25364 * gst/registries/gstlibxmlregistry.h:
25365 various documentation fixes
25367 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25369 * docs/gst/gstreamer-sections.txt:
25370 * docs/gst/tmpl/gstvalue.sgml:
25371 rearrange gstvalue section
25372 * gst/gstutils.c: (gst_element_state_get_name):
25374 * gst/gstvalue.c: (_gst_value_initialize):
25378 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25380 * check/gst-libs/controller.c:
25381 Header include fix.
25382 * gst/base/gstbasetransform.c:
25383 (gst_base_transform_default_prepare_buf),
25384 (gst_base_transform_handle_buffer):
25385 * gst/base/gstbasetransform.h:
25386 Some more basetransform changes and fixes to enable sub-classes
25387 that modify buffer metadata only.
25388 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25389 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25390 (gst_capsfilter_prepare_buf):
25391 If the output pad has fixed allowed caps and input buffers
25392 don't have any, set the fixed caps on outgoing buffers.
25394 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25395 * check/elements/identity.c: (GST_START_TEST):
25396 Make the error a little clearer when the test fails because
25397 identity made a copy of the buffer.
25398 * docs/gst/gstreamer-sections.txt:
25399 New symbols in gstbasetransform.h
25400 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25401 (gst_base_transform_init), (gst_base_transform_transform_size),
25402 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25403 (gst_base_transform_default_prepare_buf),
25404 (gst_base_transform_get_unit_size),
25405 (gst_base_transform_buffer_alloc),
25406 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25407 (gst_base_transform_change_state),
25408 (gst_base_transform_set_passthrough),
25409 (gst_base_transform_set_in_place),
25410 (gst_base_transform_is_in_place):
25411 * gst/base/gstbasetransform.h:
25412 Change BaseTransform to separate in_place operate from same_caps
25413 output. in_place implies that the element can perform the transform
25414 on incoming buffers in-place, even if the caps on the output are
25416 Sub-class elements can now implement special buffer allocation
25417 methods for outgoing buffers if they wish to.
25418 Big documentation addition.
25419 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25420 * gst/elements/gstelements.c:
25421 Changes for basetransform modifications.
25422 * gst/elements/Makefile.am:
25423 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25424 Compile fix. Extra debug output.
25426 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25428 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25430 add tests for valid pad naming
25431 * gst/check/gstcheck.c: (gst_check_log_message_func),
25432 (gst_check_log_critical_func):
25434 remove printing of code, it is fragile when the code contains
25435 % and the line number is enough info
25436 * gst/check/gstcheck.h:
25437 * gst/gstpad.c: (gst_pad_template_new):
25440 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25443 say what CHECK flags we use
25444 * docs/libs/gstreamer-libs.types:
25445 * libs/gst/controller/Makefile.am:
25446 * libs/gst/controller/gst-controller.c:
25447 * libs/gst/controller/gst-controller.h:
25448 * libs/gst/controller/gst-helper.c:
25449 * libs/gst/controller/gst-interpolation.c:
25450 * libs/gst/controller/gstcontroller.c:
25451 * libs/gst/controller/gsthelper.c:
25452 * libs/gst/controller/gstinterpolation.c:
25453 * tools/gst-inspect.c: (print_plugin_info):
25454 we don't use dashes in header names
25456 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25458 * check/Makefile.am:
25459 * check/gst/.cvsignore:
25460 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25461 (gst_pipeline_suite), (main):
25462 adding a test for pipelines and state changes
25463 * gst/gstutils.c: (get_state_func):
25465 * gstreamer.spec.in:
25468 2005-09-08 Michael Smith <msmith@fluendo.com>
25470 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25471 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25472 (gst_file_src_is_seekable), (gst_file_src_get_size),
25473 (gst_file_src_start):
25474 * gst/elements/gstfilesrc.h:
25475 Various fixes for unseekable, unmmapable, and non-normal files, so
25476 that fallback to read() rather than mmap() works.
25477 * gst/gstevent.c: (gst_event_new_newsegment):
25478 Allow newsegment events with segment_start == segment_end, as will
25479 correctly happen if you use filesrc on a zero-size file, for
25482 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25484 * gst/gstplugin.c: (gst_plugin_load_file):
25485 Call g_module_close when we don't load the module
25487 * gst/registries/gstlibxmlregistry.c:
25488 (gst_xml_registry_get_property):
25489 Port leak fix from 0.8
25491 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25493 * docs/gst/gstreamer-docs.sgml:
25494 * docs/gst/tmpl/.cvsignore:
25495 * docs/gst/tmpl/gsttrace.sgml:
25496 * docs/gst/tmpl/gsttrashstack.sgml:
25499 * gst/gstelement.h:
25501 * gst/gstmessage.c:
25502 * gst/gstmessage.h:
25505 * gst/gsttaginterface.c:
25506 * gst/gsttaginterface.h:
25507 * gst/gsttaglist.c:
25508 * gst/gsttaglist.h:
25509 * gst/gsttagsetter.c:
25510 * gst/gsttagsetter.h:
25513 * gst/gsttrashstack.c:
25514 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25515 inlined docs for gsttrace, gsttrashstack
25517 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25520 * gst/elements/gstbufferstore.h:
25521 * gst/elements/gsttypefindelement.c:
25522 * gst/elements/gsttypefindelement.h:
25524 * gst/gsttypefind.c:
25525 * gst/gsttypefind.h:
25526 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25527 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25528 (gst_type_find_factory_dispose),
25529 (gst_type_find_factory_unload_thyself),
25530 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25531 (gst_type_find_factory_get_caps),
25532 (gst_type_find_factory_get_extensions),
25533 (gst_type_find_factory_call_function):
25534 * gst/gsttypefindfactory.h:
25535 * gst/registries/gstlibxmlregistry.c:
25536 * gst/registries/gstxmlregistry.c:
25537 splitted gsttypefind into gsttypefind, gsttypefindfactory
25539 2005-09-07 Andy Wingo <wingo@pobox.com>
25541 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25542 condition whereby the pad's task function is entered before the
25543 pad_mode variable was set.
25545 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25547 * gst/gstpad.c: (gst_pad_alloc_buffer):
25548 Catch misbehaving pad_alloc functions that don't
25549 set up caps and do it for them.
25551 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25553 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25554 test for pipe!=NULL
25555 * docs/gst/tmpl/.cvsignore:
25556 * docs/gst/tmpl/gstmemchunk.sgml:
25557 * docs/gst/tmpl/gstparse.sgml:
25558 * docs/gst/tmpl/gsttaglist.sgml:
25559 * docs/gst/tmpl/gsttagsetter.sgml:
25560 * docs/gst/tmpl/gsttypefind.sgml:
25561 * docs/gst/tmpl/gsttypefindfactory.sgml:
25562 * gst/gstmemchunk.c:
25565 * gst/gsttaginterface.c:
25566 * gst/gsttypefind.c:
25567 * gst/gsttypefind.h:
25570 === release 0.9.2 ===
25572 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25577 releasing 0.9.2, "South"
25579 2005-09-05 Andy Wingo <wingo@pobox.com>
25581 * gst/registries/gstxmlregistry.h:
25582 * gst/registries/gstxmlregistry.c: Um... resurrect...
25584 * gst/registries/gstxmlregistry.h:
25585 * gst/registries/gstxmlregistry.c: and update to newer API.
25586 Incidentally they should be a bit faster now that they don't have
25589 2005-09-05 Andy Wingo <wingo@pobox.com>
25591 * gst/registries/gstxmlregistry.h:
25592 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25593 replaced by the libxml registry a while back
25595 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25597 * docs/gst/tmpl/gstplugin.sgml:
25598 * gst/elements/gstelements.c:
25600 * gst/gstplugin.c: (gst_plugin_register_func),
25601 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25602 (gst_plugin_get_source):
25604 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25605 (gst_xml_registry_save_plugin):
25606 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25607 (gst_xml_registry_save_plugin):
25608 * tools/gst-inspect.c: (print_plugin_info):
25609 add a "source" plugin description field, to represent the source
25610 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25611 will set it to PACKAGE, which is automake's idea of the name of
25612 the source project.
25614 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25619 * docs/Makefile.am:
25620 * docs/faq/Makefile.am:
25621 * docs/gst/tmpl/gstelement.sgml:
25622 * docs/gst/tmpl/gsttypes.sgml:
25623 * docs/htmlinstall.mak:
25624 * docs/manual/Makefile.am:
25625 * docs/pwg/Makefile.am:
25626 reorganize doc build a little
25627 split out docbook and gtk-doc stuff
25628 have two separate --enable's and enable them through autogen
25629 but disable by default in configure (to be similar to other
25631 * gstreamer.spec.in:
25632 clean up docs install
25650 translation updates
25652 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25654 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25657 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25658 (gst_fake_sink_change_state):
25659 Make state change function thread-safe.
25661 * gst/gstpad.c: (gst_pad_alloc_buffer):
25662 Set offset on generic buffer allocated by fallback.
25664 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25666 * docs/gst/gstreamer-sections.txt:
25667 * docs/gst/tmpl/gstelement.sgml:
25669 * libs/gst/controller/gst-controller.c:
25670 (gst_controlled_property_set_interpolation_mode),
25671 (gst_controlled_property_new),
25672 (gst_controller_find_controlled_property):
25673 run the wingo-magic script against the docs
25675 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25677 * docs/gst/gstreamer-docs.sgml:
25678 * docs/gst/gstreamer-sections.txt:
25679 * docs/gst/tmpl/.cvsignore:
25680 * docs/gst/tmpl/gstelementdetails.sgml:
25681 * docs/gst/tmpl/gstelementfactory.sgml:
25684 * gst/gstelementfactory.c:
25685 * gst/gstelementfactory.h:
25686 merged elementdetails docs into elementfactory docs
25689 2005-09-02 Andy Wingo <wingo@pobox.com>
25691 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25692 consider this enum an enum and not a flags.
25694 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25696 * docs/gst/gstreamer-docs.sgml:
25697 * docs/gst/tmpl/.cvsignore:
25698 * docs/gst/tmpl/gstghostpad.sgml:
25699 * docs/gst/tmpl/gstiterator.sgml:
25700 * docs/gst/tmpl/gstmacros.sgml:
25701 * docs/gst/tmpl/gstrealpad.sgml:
25702 * docs/gst/tmpl/gstregistry.sgml:
25703 * docs/gst/tmpl/gstregistrypool.sgml:
25704 * docs/gst/tmpl/gststructure.sgml:
25705 * docs/gst/tmpl/gstsystemclock.sgml:
25706 * docs/gst/tmpl/gsttrace.sgml:
25707 * gst/gstghostpad.c:
25709 * gst/gstmemchunk.c:
25710 * gst/gstmemchunk.h:
25712 * gst/gstregistry.c:
25713 * gst/gstregistrypool.c:
25714 * gst/gststructure.c:
25715 * gst/gstsystemclock.c:
25718 2005-09-02 Andy Wingo <wingo@pobox.com>
25720 * gst/gstelement.h (GstState): Renamed from GstElementState,
25721 changed to be a normal enum instead of flags.
25722 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25723 munged to be GST_STATE_CHANGE_*.
25724 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25725 work with the new state representation.
25726 (GstStateChange): New enumeration of possible state transitions.
25727 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25728 (GstElementClass::change_state): Pass the GstStateChange along as
25729 an argument. Helps language bindings, so they don't have to use
25730 tricky lock-needing macros like GST_STATE_CHANGE ().
25732 * scripts/update-states (file): New script. Run it on a file to
25733 update it for state naming and API changes. Updates files in
25736 * All files updated for the new API.
25738 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25740 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25741 * gst/gstutils.c: (gst_util_set_value_from_string),
25742 (gst_util_set_object_arg):
25743 fix a bunch of unchecked return values
25744 * tools/gst-complete.c: (main):
25745 * gstreamer.spec.in:
25748 2005-09-01 Wim Taymans <wim@fluendo.com>
25750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25751 (gst_base_sink_event), (gst_base_sink_do_sync),
25752 (gst_base_sink_handle_event):
25753 * gst/base/gstbasesink.h:
25754 Handle newsegments more correctly.
25759 * gst/gstevent.c: (gst_event_new_newsegment):
25760 A newsegment cannot have a start_time of -1
25762 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25764 * win32/gstenumtypes.c:
25765 * win32/gstenumtypes.h:
25768 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25770 * libs/gst/controller/gst-controller.c:
25771 (gst_controlled_property_set_interpolation_mode),
25772 (gst_controlled_property_new):
25773 fixed boolean again
25775 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25777 * docs/faq/gst-uninstalled:
25782 * gst/gstutils.c: (gst_element_link_filtered):
25784 add gst_element_link_filtered
25786 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25788 * docs/gst/gstreamer-docs.sgml:
25789 * docs/gst/gstreamer-sections.txt:
25790 * docs/gst/tmpl/.cvsignore:
25791 * docs/gst/tmpl/gsterror.sgml:
25792 * docs/gst/tmpl/gstfilter.sgml:
25793 * docs/gst/tmpl/gsturihandler.sgml:
25794 * docs/gst/tmpl/gsturitype.sgml:
25795 * docs/gst/tmpl/gstutils.sgml:
25796 * docs/gst/tmpl/gstxml.sgml:
25801 * gst/gsturitype.c:
25804 inlined more docs, fixed double id-ref
25806 2005-08-31 Wim Taymans <wim@fluendo.com>
25808 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25809 (gst_base_transform_handle_buffer):
25810 Passthrough elements don't need the caps as they don't care.
25812 2005-08-31 Wim Taymans <wim@fluendo.com>
25814 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25815 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25816 Don't leak refcounts on buffers.
25818 2005-08-31 Wim Taymans <wim@fluendo.com>
25820 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25821 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25822 (gst_base_transform_chain), (gst_base_transform_change_state):
25823 * gst/base/gstbasetransform.h:
25824 Handle the case where we are not negotiated more gracefully.
25826 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25828 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25829 (gst_file_src_map_region):
25830 Set READONLY flag on mmap'ed buffers, otherwise
25831 gst_buffer_make_writable() won't work properly (#314708).
25833 2005-08-31 Wim Taymans <wim@fluendo.com>
25835 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25836 passthrough elements can even do inplace on non writable
25837 buffers (as they don't touch them).
25839 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25841 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25842 (gst_test_mono_source_set_property),
25843 (gst_test_mono_source_class_init), (GST_START_TEST),
25844 (gst_controller_suite):
25845 more tests (hehe I have the most)
25847 describe popping messages whenusing mulltiple sources
25848 * libs/gst/controller/gst-controller.c:
25849 (gst_controlled_property_set_interpolation_mode),
25850 (gst_controlled_property_new):
25851 * libs/gst/controller/gst-controller.h:
25852 * libs/gst/controller/gst-interpolation.c:
25853 implement boolean properties
25855 2005-08-31 Wim Taymans <wim@fluendo.com>
25857 * gst/gstminiobject.c: (gst_mini_object_ref):
25858 Cannot assert that the refcount has to be positive
25859 since a disposed object can be resurrected.
25861 2005-08-31 Wim Taymans <wim@fluendo.com>
25863 * gst/gstpad.c: (gst_pad_init):
25864 Revert change, need to first fix badly behaving
25867 2005-08-30 Wim Taymans <wim@fluendo.com>
25869 * check/elements/fakesrc.c: (setup_fakesrc):
25870 * check/elements/identity.c: (setup_identity):
25871 Activate pads before using them.
25873 2005-08-30 Wim Taymans <wim@fluendo.com>
25875 * gst/base/gstadapter.c: (gst_adapter_flush):
25876 Flushing out 0 bytes is ok for this function.
25878 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25879 no newsegment gives a warning and sets the start/stop to
25882 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25883 (gst_base_transform_set_passthrough):
25886 * gst/gstminiobject.c: (gst_mini_object_ref):
25887 Check refcount here too.
25889 * gst/gstpad.c: (gst_pad_init):
25890 Pads are initially flushing and refusing data.
25892 * gst/gstutils.c: (gst_element_link_pads_filtered):
25893 When adding a capsfilter element make sure it has the
25894 same state as the parent bin.
25896 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25898 * docs/gst/tmpl/.cvsignore:
25899 * docs/gst/tmpl/gstformat.sgml:
25900 * docs/gst/tmpl/gstversion.sgml:
25904 * gst/gstversion.h.in:
25905 more docs and two more inlined
25907 2005-08-30 Wim Taymans <wim@fluendo.com>
25909 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25910 Don't sync to clock.
25912 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25914 * docs/gst/gstreamer-sections.txt:
25915 ultral33t func10ns deserve to appear in the docs actually
25916 * docs/gst/tmpl/.cvsignore:
25917 * docs/gst/tmpl/gstcompat.sgml:
25918 * docs/gst/tmpl/gstconfig.sgml:
25919 * gst/check/gstcheck.c:
25921 * gst/gstconfig.h.in:
25924 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25926 * docs/gst/tmpl/.cvsignore:
25927 * docs/gst/tmpl/gstquery.sgml:
25928 * docs/gst/tmpl/gstutils.sgml:
25931 inlined and extended docs
25933 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25935 * check/gst-libs/controller.c: (GST_START_TEST),
25936 (gst_controller_suite):
25938 * docs/gst/tmpl/gstutils.sgml:
25939 * docs/libs/gstreamer-libs-sections.txt:
25940 * docs/libs/tmpl/gstdataprotocol.sgml:
25942 * examples/controller/audio-example.c: (main):
25943 controller example works now
25946 * tools/gst-inspect.c: (print_element_properties_info):
25947 show param spec flags
25949 2005-08-29 Andy Wingo <wingo@pobox.com>
25951 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25953 2005-08-28 Andy Wingo <wingo@pobox.com>
25955 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25956 as having two arguments instead of just one. Allows superclasses
25957 to access information on subclasses -- see the terrible for() loop
25958 in gtype.c:g_type_create_instance for the reason why. All callers
25961 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25963 * docs/design/part-messages.txt:
25965 * docs/gst/tmpl/.cvsignore:
25966 * docs/gst/tmpl/gstcaps.sgml:
25967 * docs/gst/tmpl/gstclock.sgml:
25973 * gst/gstmessage.c:
25974 added descriptions for bus and message
25975 inline caps and clock docs
25977 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25979 * gst/gstmessage.c:
25980 * gst/gstmessage.h:
25983 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25985 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25988 2005-08-26 Andy Wingo <wingo@pobox.com>
25990 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25991 element_set_state's return val.
25992 (test_2_elements): Add test that's been disabled for months.
25994 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25995 can-activate-pull properties.
25997 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25998 can-activate-pull properties. Implement is_seekable so fakesrc can
25999 operate in pull mode.
26001 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26003 (gst_base_sink_activate, gst_base_sink_activate_pull)
26004 (gst_base_sink_activate_push): Make activation mode choosing work.
26006 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26007 is right. Make pull mode work. Post an eos before pausing in pull
26009 (gst_base_sink_change_state): Pay attention to the core's
26010 change_state() return val.
26012 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26013 has-getrange properties. Cleanups.
26015 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26016 has_getrange and replace with can_activate_pull and
26019 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26020 locking comments. Remove has_loop, has_chain and replace with
26021 can_activate_pull and can_activate_push.
26023 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26026 * examples/Makefile.am:
26027 * examples/metadata/Makefile.am:
26028 * examples/metadata/read-metadata.c: (message_loop),
26029 (have_pad_handler), (make_pipeline), (print_tag), (main):
26030 Add metadata reading example that loops over a list of filenames,
26031 dumping any tags found.
26033 * gst/gstbus.c: (gst_bus_dispose):
26034 * gst/gstelement.c: (gst_element_dispose):
26035 Release a few potentially-held references in dispose.
26037 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26039 * docs/gst/tmpl/gstminiobject.sgml:
26040 do *not* add tmpl/*.sgml files to CVS!
26042 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26044 * libs/gst/bytestream/.cvsignore:
26045 * libs/gst/bytestream/Makefile.am:
26046 * libs/gst/bytestream/adapter.c:
26047 * libs/gst/bytestream/adapter.h:
26048 * libs/gst/bytestream/bytestream.c:
26049 * libs/gst/bytestream/bytestream.h:
26050 * libs/gst/bytestream/filepad.c:
26051 * libs/gst/bytestream/filepad.h:
26052 removing obsolete files
26054 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26056 * docs/gst/gstreamer-docs.sgml:
26057 * docs/libs/gstreamer-libs-docs.sgml:
26058 disabed additional index entries again, as this makes docs-gen just
26059 slow and they aren't useful yet
26060 * docs/libs/gstreamer-libs-sections.txt:
26061 little -section.txt cleanup for libs
26063 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26066 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26067 fix up some debugging
26068 (gst_base_transform_get_unit_size),
26069 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26070 (gst_base_transform_handle_buffer):
26071 * gst/base/gstbasetransform.h:
26072 handle and store timed NEWSEGMENT events so that subclasses that
26073 calculate time by counting samples have a segment_start time they
26074 need to add to their timestamps - see audioresample
26076 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26079 removed ';' from the end of macro defs
26080 * docs/gst/gstreamer-docs.sgml:
26081 * docs/gst/gstreamer-sections.txt:
26082 * docs/gst/tmpl/.cvsignore:
26084 * gst/gstelement.c: (gst_element_class_init),
26085 (gst_element_set_state), (activate_pads),
26086 (gst_element_save_thyself):
26087 * gst/gstevent.c: (gst_event_new_newsegment):
26089 * gst/gstiterator.c:
26090 * gst/gstiterator.h:
26093 * gst/gstutils.c: (gst_pad_query_convert):
26095 fixed parameter name mismatches between source, header and docs
26096 added some more docs, resolved the last batch of unused elements in
26097 docs (now someone needs to doc them)
26099 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26101 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26102 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26103 don't walk through the plugins backwards. Where is all this
26104 reversed logic coming from ?
26106 2005-08-25 Wim Taymans <wim@fluendo.com>
26108 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26109 (gst_base_transform_transform_size),
26110 (gst_base_transform_configure_caps),
26111 (gst_base_transform_get_unit_size),
26112 (gst_base_transform_buffer_alloc),
26113 (gst_base_transform_change_state):
26114 * gst/base/gstbasetransform.h:
26115 Cache caps unit_size.
26116 Make sure we cannot negotiate up and downstream at the
26119 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26121 * gst/gst.c: (init_pre), (init_post):
26122 register the installed plugin path after the env var
26123 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26124 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26125 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26126 directories, so the tests can prefer uninstalled over installed
26128 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26130 * gst/base/gstbasetransform.h:
26135 2005-08-25 Wim Taymans <wim@fluendo.com>
26137 * gst/gstbin.c: (bin_bus_handler):
26138 Be a bit more conservative about the posted message.
26140 * gst/gstbus.c: (gst_bus_post):
26141 Some cleanups, warn wrong return values.
26143 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26145 * check/gst/gstbin.c: (GST_START_TEST):
26146 * gst/gstbin.c: (bin_bus_handler):
26147 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26148 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26149 (gst_message_new_warning), (gst_message_new_tag),
26150 (gst_message_new_state_changed), (gst_message_new_segment_start),
26151 (gst_message_new_segment_done), (gst_message_new_custom):
26152 * gst/gstmessage.h:
26153 * tools/gst-launch.c: (event_loop):
26154 * tools/gst-md5sum.c: (event_loop):
26155 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26157 2005-08-25 Wim Taymans <wim@fluendo.com>
26159 * check/generic/states.c: (GST_START_TEST):
26160 Cleanup can be done at the end.
26162 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26163 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26164 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26165 Oh boy.. Thanks for finding this, Thomas.
26167 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26169 * docs/gst/gstreamer.types:
26170 added missing types
26172 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26174 * docs/gst/gstreamer-docs.sgml:
26175 * docs/gst/gstreamer-sections.txt:
26176 * docs/gst/tmpl/.cvsignore:
26178 * gst/gstiterator.c:
26180 * gst/registries/gstxmlregistry.h:
26181 added missing classes and symbols (123 more to go)
26182 removed removed symbols from section file
26183 fixed many doc-comments
26185 2005-08-24 Wim Taymans <wim@fluendo.com>
26187 * check/generic/states.c: (GST_START_TEST):
26188 Make sure all tasks are stopped.
26190 * check/gst/gstbin.c: (GST_START_TEST):
26191 Unref after usage for proper valgrinding.
26193 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26194 Really wait for the task to stop before destroying the
26197 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26198 (gst_queue_src_activate_push):
26199 Small cleanups. Don't stop the task when we did not start
26202 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26203 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26204 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26207 Protect the stream lock with the object lock.
26208 Disallow setting the stream lock when running.
26209 Add cleanup_all to wait for the threadpool to finish.
26210 Remove code to autoallocate a mutex if none was provided.
26211 Add _join() to wait for a task to stop.
26212 Protect the thread pool with a global lock.
26214 2005-08-24 Wim Taymans <wim@fluendo.com>
26216 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26217 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26218 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26219 * gst/base/gstbasesink.h:
26220 Handle newsegment events correctly.
26221 Drop buffers out of the segment range.
26223 2005-08-22 Andy Wingo <wingo@pobox.com>
26225 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26226 macro, implements an interface and gstimplementsinterface for a
26229 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26231 * check/Makefile.am:
26232 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26233 add a test that does a bunch of state changes on elements
26234 needs some fixing for valgrind
26235 * check/states/sinks.c: (gst_object_suite):
26238 add prototype for gst_caps_is_equal_fixed
26240 * gst/gstregistrypool.c:
26243 2005-08-24 Andy Wingo <wingo@pobox.com>
26245 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26246 convert a negative value. Doesn't make much sense. Mostly this is
26247 here to force callers to ensure -1 maps to -1.
26249 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26251 * docs/pwg/advanced-types.xml:
26252 Well done to Michael for catching my deliberate introduction
26253 of this spelling mistake.
26254 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26255 * gst/gstelement.h:
26256 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26257 unlink pads before removing the element from the bin.
26259 2005-08-24 Andy Wingo <wingo@pobox.com>
26261 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26262 the same thing as GST_DEBUG=*:4.
26263 (parse_debug_level, parse_debug_category): New helper parsers.
26265 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26267 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26268 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26269 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26270 (gst_base_transform_buffer_alloc),
26271 (gst_base_transform_handle_buffer):
26272 use gboolean return values and pointers to size so we can use the
26273 full GST_BUFFER_SIZE range (guint) for buffer sizes
26274 use GstPadDirection for transform_caps
26275 * gst/base/gstbasetransform.h:
26276 rename get_size to get_unit_size since that's what it is
26277 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26278 use GstPadDirection for transform_caps
26279 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26281 cleanup and debugging
26283 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26285 * gst/gstelement.c: (gst_element_class_init),
26286 (gst_element_set_state), (activate_pads),
26287 (gst_element_save_thyself):
26288 * tools/gst-compprep.c: (main):
26289 * tools/gst-inspect.c: (print_element_properties_info):
26290 * tools/gst-xmlinspect.c: (print_element_properties):
26291 Fixed long standing mem-leak
26293 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26295 * check/gst/gstbin.c: (GST_START_TEST):
26296 * gst/gstbin.c: (bin_bus_handler):
26297 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26298 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26299 (gst_message_new_warning), (gst_message_new_tag),
26300 (gst_message_new_state_changed), (gst_message_new_segment_start),
26301 (gst_message_new_segment_done), (gst_message_new_custom):
26302 * gst/gstmessage.h:
26303 * tools/gst-launch.c: (event_loop):
26304 * tools/gst-md5sum.c: (event_loop):
26305 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26306 that applications can sensibly post custom messages with references
26307 to their own objects.
26309 2005-08-24 Andy Wingo <wingo@pobox.com>
26311 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26314 2005-08-24 Wim Taymans <wim@fluendo.com>
26316 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26317 (gst_base_transform_transform_caps),
26318 (gst_base_transform_transform_size),
26319 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26320 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26321 (gst_base_transform_handle_buffer):
26322 * gst/base/gstbasetransform.h:
26323 Many fixes and new features added by Thomas. Can now also do
26324 transforms with variable sizes and a custom fixate_caps function.
26326 2005-08-24 Wim Taymans <wim@fluendo.com>
26328 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26332 Cast to ClockTime before formatting to time.
26337 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26339 * check/gst-libs/controller.c: (GST_START_TEST),
26340 (gst_controller_suite):
26341 * docs/gst/tmpl/gstcaps.sgml:
26342 * docs/gst/tmpl/gstghostpad.sgml:
26343 * docs/gst/tmpl/gstquery.sgml:
26344 * docs/gst/tmpl/gstutils.sgml:
26345 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26346 (gst_object_sink_values), (gst_object_get_value_arrays),
26347 (gst_object_get_value_array):
26348 gracefully handle helper method calls to objects that are not beeing
26349 controlled, added test case for that
26351 2005-08-23 Wim Taymans <wim@fluendo.com>
26353 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26354 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26355 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26356 (gst_event_parse_qos), (gst_event_new_seek),
26357 (gst_event_parse_seek):
26359 Some more debugging output and doc cleanups.
26361 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26362 Fix possible deadlock.
26364 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26366 * docs/gst/gstreamer-docs.sgml:
26367 * docs/gst/gstreamer-sections.txt:
26368 * docs/gst/gstreamer.types:
26369 * docs/gst/tmpl/.cvsignore:
26372 * gst/gstelement.c:
26374 added 100 symbols from gstreamer-unused.txt to the right sections
26375 fixed more broken comments
26376 added GstBus to docs
26378 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26380 * docs/gst/gstreamer-sections.txt:
26381 * docs/gst/tmpl/.cvsignore:
26382 * docs/gst/tmpl/gstbin.sgml:
26383 * docs/gst/tmpl/gstbuffer.sgml:
26384 * gst/base/gstbasesrc.c:
26385 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26388 * tools/gst-launch.1.in:
26389 inlined more doc comments, added missing comments and fixed comments
26392 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26394 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26398 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26400 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26401 * gst/gststructure.h:
26402 add a fixate function for booleans; add a FIXME that these func
26403 names should probably be gst_structure_fixate_*
26405 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26407 * docs/gst/gstreamer-docs.sgml:
26408 * docs/gst/gstreamer-sections.txt:
26410 * gst/gstbin.c: (gst_bin_get_type),
26411 (gst_bin_child_proxy_get_child_by_index),
26412 (gst_bin_child_proxy_get_children_count),
26413 (gst_bin_child_proxy_init):
26414 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26415 (gst_child_proxy_get_child_by_index),
26416 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26417 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26418 (gst_child_proxy_get), (gst_child_proxy_set_property),
26419 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26420 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26421 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26422 * gst/gstchildproxy.h:
26423 * gst/parse/grammar.y:
26424 * tools/gst-inspect.c: (print_interfaces),
26425 (print_element_properties_info), (print_element_info):
26426 ported gstchildproxy over from 0.8
26427 ported gst-inspect fixes and enhancements over from 0.8
26429 2005-08-22 Wim Taymans <wim@fluendo.com>
26431 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26432 (gst_base_transform_handle_buffer):
26433 Also call the transform function if we have ANY caps.
26435 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26438 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26440 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26441 Don't pretend to handle seek events if the source is not seekable
26443 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26446 Remove extra parameter to debug output
26448 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26449 (gst_base_src_do_seek), (gst_base_src_activate_push):
26450 Fix seek event handling.
26452 * gst/gstpipeline.c: (gst_pipeline_change_state):
26453 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26454 (gst_queue_src_activate_push):
26455 Don't start the src pad task on FLUSH_STOP if the pad
26459 2005-08-22 Wim Taymans <wim@fluendo.com>
26461 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26462 Added check for gst_static_caps_get() refcounting.
26464 2005-08-22 Wim Taymans <wim@fluendo.com>
26466 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26467 Make _static_caps_get() refcounting sane.
26469 * gst/gstelement.c: (gst_element_set_state):
26470 Add g_return_val_if_fail() to protect against segfaults.
26472 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26474 * docs/gst/tmpl/gstevent.sgml:
26477 inlined remaining docs, added missing doc comments
26479 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26481 * check/gst/gstbin.c: (GST_START_TEST):
26482 since we don't know when preroll is done, use refcount range
26484 * gst/check/gstcheck.h:
26485 add macro for checking refcount range
26487 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26489 * check/Makefile.am:
26490 clean up environment for when registry gets built versus
26491 when actual tests are run; valgrind seems to not report
26492 leaks if GST_PLUGIN_PATH is set to some specific values
26493 * check/gst/gstbin.c: (GST_START_TEST):
26494 add more refcounting checks; maybe this exposes a
26496 * common/check.mak:
26497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26498 * gst/check/gstcheck.h:
26499 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26500 (gst_bin_change_state):
26501 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26502 add/fix debugging/whitespace
26504 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26506 * check/gst/gstevent.c: (event_probe), (test_event),
26508 Er, don't call gst_bin_watch_for_state_change you idiot.
26510 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26512 * check/Makefile.am:
26513 Use CHECK_CFLAGS and CHECK_LIBS
26514 * check/gst/gstevent.c: (event_probe), (test_event),
26517 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26518 (gst_base_src_start), (gst_base_src_stop),
26519 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26520 (gst_base_src_change_state):
26521 Sprinkle gst_base_src_stop liberally around error paths to fix
26522 problems reusing a source after failed state changes.
26523 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26524 (helper_find_suggest), (gst_type_find_helper):
26525 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26527 * docs/gst/tmpl/gstevent.sgml:
26528 Migrate part of the docs from the SGML file. Wait for ensonic to
26529 tell me how I did it wrong ;)
26530 * tools/gst-typefind.c: (main):
26531 Extra robustness to state changes between files.
26533 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26535 * check/Makefile.am:
26536 don't valgrind the controller test - it's leaking - Stefan, HELP
26537 * gst/check/gstcheck.c: (gst_check_message_error),
26538 (gst_check_chain_func), (gst_check_setup_element),
26539 (gst_check_teardown_element), (gst_check_setup_src_pad),
26540 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26541 (gst_check_teardown_sink_pad):
26542 * gst/check/gstcheck.h:
26543 add a bunch of methods to set up elements, and src and sink pads
26544 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26545 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26548 * gst/gstmessage.c:
26550 whitespace/doc fixes
26552 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26554 * gst/gstelement.h:
26555 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26556 be handled by the application and not always printed as well
26558 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26560 * check/Makefile.am:
26562 * gst/check/gstcheck.c: (gst_check_message_error):
26563 * gst/check/gstcheck.h:
26564 add a fail_unless_equals_int
26565 add fail_unless for error messages
26567 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26569 * check/Makefile.am:
26571 * common/Makefile.am:
26572 * common/check.mak:
26574 factor out some of the common stuff so we can use it
26576 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26578 * check/Makefile.am:
26579 * check/gst/gstiterator.c: (GST_START_TEST):
26580 * check/gst/gstsystemclock.c: (GST_START_TEST),
26581 (gst_systemclock_suite):
26582 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26584 valgrind more tests
26586 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26588 * check/elements/.cvsignore:
26589 * check/elements/gstfakesrc.c:
26590 rename to name of element
26591 * check/elements/identity.c: (chain_func), (event_func),
26592 (setup_identity), (cleanup_identity), (GST_START_TEST),
26593 (identity_suite), (main):
26594 add a test for identity
26595 * check/Makefile.am:
26596 * pkgconfig/Makefile.am:
26597 * pkgconfig/gstreamer-check.pc.in:
26598 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26602 move the check stuff to a library that gets installed
26603 * check/gst-libs/controller.c: (GST_START_TEST):
26604 * check/gst-libs/gdp.c:
26605 * check/gst/gst.c: (GST_START_TEST):
26606 * check/gst/gstbin.c:
26607 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26608 * check/gst/gstbus.c:
26609 * check/gst/gstcaps.c: (GST_START_TEST):
26610 * check/gst/gstelement.c:
26611 * check/gst/gstghostpad.c:
26612 * check/gst/gstiterator.c:
26613 * check/gst/gstmessage.c:
26614 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26615 * check/gst/gstobject.c:
26616 * check/gst/gstpad.c: (GST_START_TEST):
26617 * check/gst/gststructure.c: (GST_START_TEST):
26618 * check/gst/gstsystemclock.c: (GST_START_TEST),
26619 (gst_systemclock_suite):
26620 * check/gst/gsttag.c: (gst_tag_suite):
26621 * check/gst/gstvalue.c:
26622 * check/pipelines/cleanup.c:
26623 * check/pipelines/simple_launch_lines.c:
26624 * check/states/sinks.c:
26625 change include statement
26627 * docs/gst/gstreamer-sections.txt:
26628 * docs/gst/tmpl/gstpad.sgml:
26629 document more pad stuff
26630 * gst/gstminiobject.c: (gst_mini_object_ref),
26631 (gst_mini_object_unref):
26634 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26636 * docs/gst/tmpl/gst.sgml:
26638 eliminate another tmpl file, fix spelling in the long-description
26640 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26642 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26643 (test_event), (timediff), (gstevents_suite):
26644 Should fix build on 64-bit arch's
26646 2005-08-18 Andy Wingo <wingo@pobox.com>
26648 Make sure that when a pipeline goes to PLAYING, that data has
26649 actually hit the sink.
26651 * check/states/sinks.c (test_sink): A sink that doesn't get any
26652 data shouldn't return SUCCESS for going to either PLAYING or
26653 PAUSED. Test also the return values on the way back down.
26655 * gst/gstelement.c (gst_element_set_state): When changing the
26656 state of an element currently changing state asynchronously, go to
26657 lost-state after commiting the pending state. Makes future calls
26658 to get_state continue to return ASYNC.
26660 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26661 ASYNC when going to PLAYING if we still don't have preroll, as can
26662 happen with live sources.
26664 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26666 * docs/pwg/advanced-types.xml:
26667 Hack long paragraph into 2 chunks as a workaround for buggy
26668 jadetex version in sid and breezy that loops infinitely and
26671 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26673 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26674 (test_event), (timediff), (gstevents_suite):
26675 Provide more error margin in clock measurements to allow for
26676 g_get_current_time inaccuracies.
26678 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26680 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26681 (test_event), (timediff), (gstevents_suite):
26682 Fix error message output so I might be able to tell why the
26683 test works here but fails on the build farm.
26685 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26687 * check/Makefile.am:
26688 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26689 (test_event), (timediff), (gstevents_suite), (main):
26692 * docs/design/part-seeking.txt:
26693 Spelling correction
26695 * docs/gst/tmpl/gstevent.sgml:
26696 * docs/gst/tmpl/gstfakesrc.sgml:
26699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26700 Treat a buffer-without-newsegment the same as a receiving
26701 a newsegment not in time format, and disable syncing to the clock
26704 * gst/gstbus.c: (gst_bus_set_sync_handler):
26705 Assert if anyone tries to replace the existing sync_handler for bus,
26706 as only the owner should be setting it.
26709 Have a fixed set of custom event enums with events identified by
26710 their structure name (as in 0.8), rather than a free-for-all
26711 allowing collisions between enum values from different plugins.
26713 * gst/gstpad.c: (gst_pad_class_init):
26716 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26717 Handle out-of-band downstream events from the sending thread.
26719 2005-08-17 Andy Wingo <wingo@pobox.com>
26721 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26722 play-timeout==0 to mean no timeout at all. In that case, don't
26723 bother with a get_state or a warning, just return directly, even
26726 * gst/base/gstbasetransform.c: Debug changes.
26729 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26730 ensure bins post state change messages. A bit of a hack but I can't
26731 think of a way to avoid it.
26733 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26735 2005-08-16 Andy Wingo <wingo@pobox.com>
26737 * gst/base/gstadapter.h:
26738 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26739 peek() but you own the data. Not terribly efficient atm.
26741 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26743 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26744 (gst_element_found_tags):
26746 Add two utility functions for tag handling.
26748 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26750 * docs/manual/advanced-dataaccess.xml:
26751 * docs/manual/basics-helloworld.xml:
26752 Fix docs to use _bin_add() before _link(), which fixes the examples
26753 with recent core versions (reported by Madhan Raj M
26754 <raj_madan@rediffmail.com>, #313199).
26756 2005-08-16 Wim Taymans <wim@fluendo.com>
26758 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26759 Added subtract checks.
26761 * docs/design/part-events.txt:
26762 Some more docs about newsegment
26764 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26767 * gst/gstcaps.c: (gst_caps_to_string):
26768 Add comments, cleanups.
26770 * gst/gstelement.c: (gst_element_save_thyself):
26773 * gst/gstvalue.c: (gst_value_collect_int_range),
26774 (gst_string_unwrap), (gst_value_union_int_int_range),
26775 (gst_value_union_int_range_int_range),
26776 (gst_value_intersect_int_int_range),
26777 (gst_value_intersect_int_range_int_range),
26778 (gst_value_intersect_double_double_range),
26779 (gst_value_intersect_double_range_double_range),
26780 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26781 (gst_value_subtract_int_range_int),
26782 (gst_value_subtract_double_range_double),
26783 (gst_value_subtract_double_range_double_range),
26784 (gst_value_subtract_from_list), (gst_value_subtract_list),
26785 (gst_value_can_compare), (gst_value_compare_fraction):
26786 Cleanups, add comments, remove unneeded asserts.
26788 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26790 * tools/gst-launch.c: (event_loop):
26791 don't convert NULL structures to strings
26793 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26795 * docs/gst/gstreamer-sections.txt:
26796 made some defines private
26797 * docs/gst/tmpl/gstconfig.sgml:
26798 * docs/gst/tmpl/gstqueue.sgml:
26799 * docs/gst/tmpl/gsttaglist.sgml:
26800 * docs/gst/tmpl/gsttypes.sgml:
26801 * docs/gst/tmpl/gstutils.sgml:
26802 * docs/pwg/appendix-porting.xml:
26803 * gst/base/gstbasesink.h:
26804 * gst/base/gstbasesrc.c:
26805 * gst/base/gstbasesrc.h:
26806 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26807 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26808 * gst/gstelement.c: (gst_element_class_init):
26809 * gst/gstpad.c: (gst_pad_class_init):
26810 * gst/gstqueue.c: (gst_queue_class_init):
26811 * gst/gstxml.c: (gst_xml_class_init):
26812 documented all undocumented signal inline
26813 * libs/gst/controller/gst-controller.h:
26816 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26818 * docs/pwg/appendix-porting.xml:
26819 Document _set_link_function -> _set_setcaps_function.
26821 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26823 * check/Makefile.am:
26824 add a .check target for running the check
26825 * check/gst-libs/controller.c: (GST_START_TEST):
26827 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26828 complete checks for gstbuffer; would be nice if I could get the
26829 gcov stuff to work so I can see if I actually completed gstbuffer.c
26830 * check/gstcheck.h:
26831 add ASSERT_BUFFER_REFCOUNT
26833 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26835 * docs/gst/gstreamer-sections.txt:
26836 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26838 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26839 spew out a warning if a tag that is already registered
26840 is re-registered, unless it is re-registered with a
26841 different type (#308438).
26843 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26845 * docs/pwg/appendix-porting.xml:
26846 * docs/pwg/building-state.xml:
26847 Add some paragraphs about state changes in 0.9 to the PWG
26848 and the porting guide, in particular about the new meaning
26849 of GST_STATE_PAUSED and how to write state change functions
26850 with concurrent access by multiple threads in mind.
26852 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26854 * docs/gst/gstreamer-docs.sgml:
26855 * docs/libs/gstreamer-libs-docs.sgml:
26856 added deprecation and since indexes
26857 * libs/gst/controller/gst-controller.c:
26858 * libs/gst/controller/gst-helper.c:
26862 2005-08-11 Wim Taymans <wim@fluendo.com>
26864 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26865 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26866 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26867 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26868 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26869 (gst_ghost_pad_set_target):
26870 Actually implement (re)setting the target on a ghostpad
26871 as described in the docs.
26873 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26875 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26876 Check whether GST_DEBUG_NO_COLOR environment variable is
26877 set and disable coloured debug output if that is the case.
26879 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26881 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26882 (gst_type_find_helper):
26883 The memory returned by gst_type_find_peek() needs to
26884 stay valid until the end of a typefind function, and
26885 typefind functions may keep results from different
26886 offsets around, so we can't just unref the buffer from
26887 the previous _peek(), but have to save all buffers
26888 returned by _peek() until typefinding is done and only
26891 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26893 * docs/gst/gstreamer-sections.txt:
26895 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26897 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26899 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26900 Fix a pretty good memleak.
26902 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26904 * gst/gstiterator.h:
26905 Fix wrong include and 'make distcheck'.
26907 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26909 * gst/gstbin.c: (bin_bus_handler):
26910 Use gst_element_post_message() instead.
26912 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26914 * gst/base/gstadapter.h:
26915 * gst/base/gstbasesink.h:
26916 * gst/base/gstbasesrc.h:
26917 * gst/base/gstbasetransform.h:
26918 * gst/base/gstcollectpads.h:
26919 * gst/base/gstpushsrc.h:
26920 * gst/gstiterator.h:
26921 Add padding to our base elements' class and instance structs and
26922 to GstIterator (you will need to rebuild all plugins and apps!)
26924 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26926 * gst/gstbin.c: (bin_bus_handler):
26927 Make default message forwarding from child->bus to bin->bus
26928 threadsafe and make it not emit warnings if the parent has no bus.
26930 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26932 * gst/gstelement.c: (activate_pads):
26933 On paused->ready, set pad->caps to NULL, as is the documented
26934 behaviour in this state change. Fixes playback of series of
26935 media files when visualization is enabled in Totem.
26937 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26939 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26940 Allow NULL as filter-caps (which means "any").
26942 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26944 * docs/libs/gstreamer-libs-sections.txt:
26945 * libs/gst/controller/gst-controller.c:
26946 * libs/gst/controller/gst-controller.h:
26947 * libs/gst/controller/gst-helper.c:
26948 adding more entries to the docs and fix small doc-bugs
26950 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26952 * docs/gst/gstreamer-docs.sgml:
26953 * docs/gst/gstreamer-sections.txt:
26954 * docs/gst/gstreamer.types:
26955 * docs/gst/tmpl/gstbasesink.sgml:
26956 * docs/gst/tmpl/gstbasesrc.sgml:
26957 * docs/gst/tmpl/gstbasetransform.sgml:
26958 * docs/gst/tmpl/gstfakesrc.sgml:
26959 * gst/base/gstcollectpads.c:
26960 * gst/base/gstcollectpads.h:
26961 * libs/gst/controller/gst-controller.c:
26962 * libs/gst/controller/gst-controller.h:
26963 * libs/gst/controller/gst-helper.c:
26964 * libs/gst/controller/gst-interpolation.c:
26965 * libs/gst/controller/lib.c:
26966 added long/short desc for controller docs
26967 added collectpads base class docs
26968 added correct includes to base-class docs
26970 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26972 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26973 (gst_test_mono_source_set_property),
26974 (gst_test_mono_source_class_init), (GST_START_TEST),
26975 (gst_controller_suite):
26976 * docs/gst/gstreamer-docs.sgml:
26977 * docs/gst/gstreamer-sections.txt:
26978 * docs/gst/gstreamer.types:
26979 * docs/libs/gstreamer-libs-docs.sgml:
26980 * docs/libs/gstreamer-libs-sections.txt:
26981 * gst/base/gstadapter.c:
26982 * libs/gst/controller/gst-controller.c:
26983 (gst_controlled_property_new), (gst_controlled_property_free),
26984 (gst_controller_new_valist),
26985 (gst_controller_remove_properties_valist),
26986 (gst_controller_sink_values), (_gst_controller_finalize):
26987 * libs/gst/controller/gst-controller.h:
26988 * libs/gst/controller/gst-helper.c:
26989 (gst_object_control_properties), (gst_object_uncontrol_properties),
26990 (gst_object_get_controller), (gst_object_set_controller),
26991 (gst_object_sink_values), (gst_object_get_value_arrays),
26992 (gst_object_get_value_array):
26993 more tests (and fixes) for the controller
26994 more docs for the controller
26995 integrated companies docs for the adapter
26997 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26999 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27000 (GST_START_TEST), (fakesrc_suite):
27001 add tests for sizetype
27003 2005-08-04 Andy Wingo <wingo@pobox.com>
27005 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27006 fixes buffer_alloc proxying among other things.
27008 * gst/base/gstbasetransform.c:
27009 * gst/base/gstbasetransform.h:
27010 Revert patch to gstbasetransform from 7-28 removing
27013 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27014 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27015 Semantics changed, should return not the size of the output buffer
27016 but the byte size of a buffer with a given caps.
27018 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27020 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27021 out) are not the pad caps until setcaps finishes.
27022 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27023 not-in-place case as well. Deal with changing from in-place to
27024 not-in-place within calling pad_alloc_buffer. Still a bit
27025 concerned about the overhead here...
27027 2005-08-03 Andy Wingo <wingo@pobox.com>
27029 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27030 fixating is an error.
27032 2005-08-04 Edward Hervey <edward@fluendo.com>
27034 * gst/base/gstadapter.h:
27035 Added gst_adapter_get_type() to the header
27037 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27039 * check/Makefile.am:
27040 * check/gst-libs/controller.c:
27041 * libs/gst/controller/gst-controller.c:
27042 (gst_controller_new_valist):
27043 added check test suite for the controller
27044 * gst/base/gstpushsrc.c:
27047 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27049 * docs/gst/Makefile.am:
27050 * docs/gst/gstreamer-docs.sgml:
27051 * docs/gst/gstreamer-sections.txt:
27052 * docs/gst/gstreamer.types:
27053 * docs/gst/tmpl/gstfakesrc.sgml:
27055 * gst/base/gstbasesink.c:
27056 * gst/base/gstbasesink.h:
27057 * gst/base/gstbasesrc.c:
27058 * gst/base/gstbasesrc.h:
27059 * gst/base/gstbasetransform.c:
27060 * gst/base/gstpushsrc.c:
27061 * gst/base/gstpushsrc.h:
27062 add short/long description docs to base classes
27063 add pushsrc to the docs
27064 remove consolidated doc fragments
27066 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27069 * docs/libs/Makefile.am:
27070 * docs/libs/gstreamer-libs-docs.sgml:
27071 * docs/libs/gstreamer-libs-sections.txt:
27072 * docs/libs/gstreamer-libs.types:
27073 * examples/Makefile.am:
27074 * examples/controller/.cvsignore:
27075 * examples/controller/Makefile.am:
27076 * examples/controller/audio-example.c: (main):
27077 * libs/gst/Makefile.am:
27078 * libs/gst/controller/.cvsignore:
27079 * libs/gst/controller/Makefile.am:
27080 * libs/gst/controller/gst-controller.c:
27081 (on_object_controlled_property_changed), (gst_timed_value_compare),
27082 (gst_timed_value_find),
27083 (gst_controlled_property_set_interpolation_mode),
27084 (gst_controlled_property_new), (gst_controlled_property_free),
27085 (gst_controller_find_controlled_property),
27086 (gst_controller_new_valist), (gst_controller_new),
27087 (gst_controller_remove_properties_valist),
27088 (gst_controller_remove_properties), (gst_controller_set),
27089 (gst_controller_set_from_list), (gst_controller_unset),
27090 (gst_controller_get), (gst_controller_get_all),
27091 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27092 (gst_controller_get_value_array),
27093 (gst_controller_set_interpolation_mode),
27094 (_gst_controller_finalize), (_gst_controller_init),
27095 (_gst_controller_class_init), (gst_controller_get_type):
27096 * libs/gst/controller/gst-controller.h:
27097 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27098 (g_object_uncontrol_properties), (g_object_get_controller),
27099 (g_object_set_controller), (g_object_sink_values),
27100 (g_object_get_value_arrays), (g_object_get_value_array):
27101 * libs/gst/controller/gst-interpolation.c:
27102 (gst_controlled_property_find_timed_value_node),
27103 (interpolate_none_get), (interpolate_trigger_get),
27104 (interpolate_trigger_get_value_array):
27105 * libs/gst/controller/lib.c: (gst_controller_init):
27106 * pkgconfig/Makefile.am:
27107 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27108 * pkgconfig/gstreamer-control.pc.in:
27109 * testsuite/Makefile.am:
27110 * testsuite/controller/.cvsignore:
27111 * testsuite/controller/Makefile.am:
27112 * testsuite/controller/interpolator.c: (main):
27113 added controller code
27114 removed dparam pc files
27116 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27117 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27118 (gst_collectpads_stop):
27119 Broadcast the condition when shutting down, to make sure we wake all
27120 threads up. Shut down pads on finalize, for safety.
27122 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27123 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27124 (gst_base_transform_handle_buffer),
27125 (gst_base_transform_change_state):
27126 Handle PAUSED->READY->PAUSED transition after negotiation
27128 * gst/gstmessage.c: (gst_message_init):
27129 Extra piece of debug for new messages.
27131 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27134 * docs/gst/tmpl/gstbasesrc.sgml:
27135 * docs/gst/tmpl/gstelement.sgml:
27136 * docs/gst/tmpl/gstevent.sgml:
27137 * docs/gst/tmpl/gstfakesrc.sgml:
27138 * docs/gst/tmpl/gstformat.sgml:
27139 * docs/gst/tmpl/gstghostpad.sgml:
27140 * docs/gst/tmpl/gstpad.sgml:
27141 * docs/gst/tmpl/gstquery.sgml:
27142 * docs/gst/tmpl/gststructure.sgml:
27143 * docs/gst/tmpl/gsttaglist.sgml:
27144 * docs/gst/tmpl/gstvalue.sgml:
27145 * docs/libs/gstreamer-libs-docs.sgml:
27146 * docs/libs/gstreamer-libs-sections.txt:
27147 * docs/libs/gstreamer-libs.types:
27148 * libs/gst/Makefile.am:
27149 * libs/gst/control/.cvsignore:
27150 * libs/gst/control/Makefile.am:
27151 * libs/gst/control/control.c:
27152 * libs/gst/control/control.h:
27153 * libs/gst/control/dparam.c:
27154 * libs/gst/control/dparam.h:
27155 * libs/gst/control/dparam_smooth.c:
27156 * libs/gst/control/dparam_smooth.h:
27157 * libs/gst/control/dparamcommon.h:
27158 * libs/gst/control/dparammanager.c:
27159 * libs/gst/control/dparammanager.h:
27160 * libs/gst/control/dplinearinterp.c:
27161 * libs/gst/control/dplinearinterp.h:
27162 * libs/gst/control/unitconvert.c:
27163 * libs/gst/control/unitconvert.h:
27164 * testsuite/Makefile.am:
27165 * testsuite/dynparams/.cvsignore:
27166 * testsuite/dynparams/Makefile.am:
27167 * testsuite/dynparams/dparamstest.c:
27168 * tools/Makefile.am:
27169 * tools/gst-inspect.c: (print_element_info), (main):
27170 * tools/gst-xmlinspect.c: (print_element_info), (main):
27171 deactivate and remove dparams (libgstcontrol)
27173 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27175 * gst/elements/gsttypefindelement.c:
27176 (gst_type_find_element_have_type), (gst_type_find_element_init),
27177 (stop_typefinding), (gst_type_find_element_handle_event),
27178 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27179 * gst/elements/gsttypefindelement.h:
27180 Set caps on all outgoing buffers, not just the first one.
27182 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27184 * gst/elements/gsttypefindelement.c:
27185 (gst_type_find_element_have_type),
27186 (gst_type_find_element_check_set_buffer_caps),
27187 (gst_type_find_element_init), (stop_typefinding),
27188 (gst_type_find_element_handle_event),
27189 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27190 * gst/elements/gsttypefindelement.h:
27191 Set caps on first outgoing buffer when we've found the type.
27193 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27195 * docs/gst/gstreamer-docs.sgml:
27196 * docs/gst/gstreamer-sections.txt:
27197 * docs/gst/tmpl/gstscheduler.sgml:
27198 * docs/gst/tmpl/gstschedulerfactory.sgml:
27199 Remove some old cruft from docs.
27201 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27204 Fix inline docs for GstPadLinkReturn.
27206 * gst/gststructure.c: (gst_structure_has_name):
27207 * gst/gststructure.h:
27208 * docs/gst/gstreamer-sections.txt:
27209 New API: gst_structure_has_name().
27211 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27214 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27215 and _LARGEFILE_SOURCE in config.h as required. Do not
27216 export those flags in our .pc files any longer (#142209).
27218 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27220 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27221 (gst_file_sink_do_seek), (gst_file_sink_event),
27222 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27223 Redo seek/tell calls with large file support in mind; add some
27224 debugging messages; add log message that tells us when large
27225 file support is unavailable or not enabled for some reason.
27227 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27228 Add log message that tells us when large file support
27229 is unavailable or not enabled for some reason.
27231 2005-07-29 Wim Taymans <wim@fluendo.com>
27233 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27234 Added test for removing an element with ghostpad from a bin.
27235 Fixed test as current implementation does the right thing.
27237 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27238 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27239 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27240 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27241 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27242 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27243 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27244 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27245 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27246 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27247 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27248 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27249 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27250 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27251 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27252 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27253 * gst/gstghostpad.h:
27254 Clean up ghostpads, remove properties for internal stuff.
27257 Prepare for switching targets, not all use cases work yet.
27259 2005-07-29 Wim Taymans <wim@fluendo.com>
27261 * docs/design/part-gstghostpad.txt:
27264 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27265 (gst_bin_remove_func):
27266 Unlinking pads while holding the bin LOCK is not a good
27269 * gst/gstpad.c: (gst_pad_class_init),
27270 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27271 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27272 No prob setting template after creating the pad.
27274 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27276 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27277 (gst_bus_peek), (gst_bus_source_dispatch),
27278 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27279 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27280 gst_bus_poll may be called from other threads. Handle
27281 this nicely by not making poll_data disappear off the
27282 stack once gst_bus_poll returns.
27283 gst_bus_peek now increments the refcount on the returned
27286 2005-07-29 Wim Taymans <wim@fluendo.com>
27288 * docs/design/part-gstghostpad.txt:
27289 Overview of current GhostPad datastructures and use
27290 cases for changing the target.
27292 2005-07-28 Wim Taymans <wim@fluendo.com>
27294 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27295 Added checks for hierarchy consistency whan adding linked
27298 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27299 Added check to test element scheduling without bin/pipeline.
27301 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27302 First add elements to bin, then link.
27304 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27305 (gst_bin_remove_func):
27306 Unlink pads from elements added/removed from bin to maintain
27307 hierarchy consistency.
27309 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27311 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27312 (gst_base_transform_handle_buffer):
27313 * gst/base/gstbasetransform.h:
27314 Remove broken delay_configure (fixes renegotiation of software
27315 scaling pipelines); remove some leftover printf()s.
27317 2005-07-28 Wim Taymans <wim@fluendo.com>
27319 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27320 Added some more tests for wrong hierarchy
27322 * docs/design/part-overview.txt:
27325 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27328 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27329 (gst_element_dispose):
27330 Some more cleanups.
27332 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27333 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27334 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27335 (gst_pad_set_caps), (gst_pad_send_event):
27336 Check for correct hierarchy when linking pads. Moving to
27337 strict requirement for ghostpads when linking elements in
27341 Clean ups. Added WRONG_HIERARCHY return value.
27343 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27345 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27346 Better debug if no transform is possible.
27348 2005-07-27 Wim Taymans <wim@fluendo.com>
27350 * docs/random/wtay/network-transp:
27351 Some old doc I had.
27353 2005-07-27 Wim Taymans <wim@fluendo.com>
27355 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27356 (gst_dp_event_from_packet):
27357 Fix serialization of seek events.
27359 2005-07-27 Wim Taymans <wim@fluendo.com>
27361 * check/gst-libs/gdp.c: (GST_START_TEST):
27362 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27363 Fix compilation and fix event serialization.
27365 2005-07-27 Wim Taymans <wim@fluendo.com>
27368 * docs/design/part-TODO.txt:
27369 * docs/design/part-events.txt:
27372 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27373 (gst_base_sink_event), (gst_base_sink_do_sync),
27374 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27375 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27376 (gst_base_src_do_seek), (gst_base_src_event_handler),
27377 (gst_base_src_loop):
27378 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27379 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27380 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27381 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27382 (gst_base_transform_set_passthrough),
27383 (gst_base_transform_is_passthrough):
27384 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27385 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27391 * gst/gstelement.c: (gst_element_seek):
27392 * gst/gstelement.h:
27393 Update gst_element_seek.
27395 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27396 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27397 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27398 (gst_event_new_eos), (gst_event_new_newsegment),
27399 (gst_event_parse_newsegment), (gst_event_new_tag),
27400 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27401 (gst_event_parse_qos), (gst_event_new_seek),
27402 (gst_event_parse_seek), (gst_event_new_navigation):
27404 Make GstEvent use GstStructure. Add parsing code, make sure the
27405 API is sufficiently generic.
27406 Mark possible directions of events and serialization.
27408 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27409 (_gst_message_copy), (gst_message_new_segment_start),
27410 (gst_message_new_segment_done), (gst_message_new_custom),
27411 (gst_message_parse_segment_start),
27412 (gst_message_parse_segment_done):
27415 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27416 (gst_pad_set_caps), (gst_pad_send_event):
27417 Update for new events.
27418 Catch events sent in wrong directions.
27420 * gst/gstqueue.c: (gst_queue_link_src),
27421 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27422 (gst_queue_handle_src_query):
27427 Remove event code from this file.
27429 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27430 (gst_dp_event_from_packet):
27433 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27435 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27436 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27437 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27438 Make debugging actually useful.
27440 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27442 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27443 (gst_pad_fixate_caps):
27444 Implement default fixation once again, so that gst_pad_fixate()
27445 actually does anything at all. This probably needs to be some
27446 sort of a last resort, and use profile-based fixation first, but
27447 since that doesn't exist yet, this is the best we have. Fixes
27448 visualization in Totem.
27450 2005-07-22 Wim Taymans <wim@fluendo.com>
27452 * docs/design/part-events.txt:
27455 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27456 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27457 (gst_base_sink_activate_pull):
27458 Some more comments.
27460 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27461 (gst_fake_src_create):
27462 Fix handoff marshall.
27464 * gst/elements/gstidentity.c: (gst_identity_class_init),
27465 (gst_identity_transform_ip):
27466 We're a real inplace element.
27468 * gst/gstbus.c: (gst_bus_post):
27469 Added some comments.
27471 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27472 * tests/muxing/case1.c: (main):
27473 * tests/sched/dynamic-pipeline.c: (main):
27474 * tests/sched/interrupt1.c: (main):
27475 * tests/sched/interrupt2.c: (main):
27476 * tests/sched/interrupt3.c: (main):
27477 * tests/sched/runxml.c: (main):
27478 * tests/sched/sched-stress.c: (main):
27479 * tests/seeking/seeking1.c: (event_received), (main):
27480 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27482 * tests/threadstate/threadstate3.c: (main):
27483 * tests/threadstate/threadstate4.c: (main):
27484 * tests/threadstate/threadstate5.c: (main):
27487 2005-07-21 Wim Taymans <wim@fluendo.com>
27489 * docs/design/part-seeking.txt:
27490 Some small additions.
27492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27493 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27494 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27495 * gst/base/gstbasesink.h:
27496 discont values are gint64, handle the math correctly.
27498 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27499 Make the basesrc report error if the source pad is not linked.
27501 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27502 (gst_queue_loop), (gst_queue_handle_src_query),
27503 (gst_queue_src_activate_push):
27504 Make queue collect data even if the srcpad is not linked.
27505 Start pushing out data as soon as it is linked.
27507 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27509 Added gst_flow_get_name() to ease error reporting.
27511 2005-07-20 Wim Taymans <wim@fluendo.com>
27513 * gst/gstmessage.c: (gst_message_new_segment_start),
27514 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27515 (gst_message_parse_segment_done):
27516 * gst/gstmessage.h:
27517 Added a bunch of messages for advanced seeking.
27519 * gst/parse/grammar.y:
27520 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27521 (gst_dpman_state_changed):
27522 Fix some new-pad -> pad-added signals
27524 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27526 * docs/manual/appendix-porting.xml:
27527 * docs/pwg/appendix-porting.xml:
27528 Document new-pad/state-change signal renames and the FixedList
27531 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27533 * docs/manual/advanced-autoplugging.xml:
27534 * docs/manual/basics-helloworld.xml:
27535 * docs/manual/basics-pads.xml:
27536 * docs/random/ds/0.9-suggested-changes:
27537 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27538 * gst/gstelement.h:
27542 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27543 (gst_structure_parse_array), (gst_structure_parse_value):
27544 * gst/gstvalue.c: (gst_type_is_fixed),
27545 (gst_value_list_prepend_value), (gst_value_list_append_value),
27546 (gst_value_list_get_size), (gst_value_list_get_value),
27547 (gst_value_transform_array_string), (gst_value_serialize_array),
27548 (gst_value_deserialize_array), (gst_value_intersect_array),
27549 (gst_value_is_fixed), (_gst_value_initialize):
27551 GstElement::new-pad -> pad-added, GstElement::state-change ->
27552 state-changed, GstValueFixedList -> GstValueArray, add format and
27553 flags as their own arguments in gst_element_seek() (should improve
27554 "bindeability"), remove function generators since they don't work
27555 under a whole bunch of compilers (they were deprecated already
27558 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27560 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27561 (_gst_debug_register_funcptr):
27563 Fix illegal cast on some platforms (#309253).
27565 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27567 * gst/gstmessage.c: (gst_message_new_custom):
27568 * gst/gstmessage.h:
27569 Add _new_custom, make _new_application a macro to _new_custom.
27571 2005-07-20 Wim Taymans <wim@fluendo.com>
27573 * gst/base/gstbasesrc.c: (gst_base_src_init),
27574 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27575 * gst/base/gstbasesrc.h:
27576 Add a gboolean to decide when to push out a discont.
27578 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27579 (gst_queue_loop), (gst_queue_handle_src_query),
27580 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27581 (gst_queue_set_property), (gst_queue_get_property):
27584 * tests/threadstate/threadstate1.c: (main):
27585 Make a thread test compile and run... very silly..
27588 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27590 * docs/manual/appendix-porting.xml:
27591 Mention removal of libgstgconf-0.9.la and existence of gconf
27594 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27596 * docs/pwg/advanced-clock.xml:
27597 * docs/pwg/appendix-porting.xml:
27598 * docs/pwg/intro-preface.xml:
27599 * docs/pwg/other-base.xml:
27600 * docs/pwg/other-manager.xml:
27601 * docs/pwg/other-nton.xml:
27602 * docs/pwg/other-ntoone.xml:
27603 * docs/pwg/other-oneton.xml:
27604 * docs/pwg/pwg.xml:
27605 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27606 demuxer), remove n-to-n (was never written), fix some code examples
27607 and links and update the porting section to include all this.
27609 2005-07-19 Wim Taymans <wim@fluendo.com>
27611 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27612 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27613 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27614 (gst_queue_src_activate_push), (gst_queue_change_state),
27615 (gst_queue_get_property):
27617 Propagate GstFlowReturn more intelligently upstream and output
27618 an ERROR/EOS when streaming stopped due to fatal error.
27620 2005-07-19 Wim Taymans <wim@fluendo.com>
27622 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27623 Don't block forever for the state change to complete, the
27624 pipeline already did with a sensible timeout.
27626 2005-07-19 Wim Taymans <wim@fluendo.com>
27628 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27629 Make sure we never call the create function is we
27632 2005-07-19 Andy Wingo <wingo@pobox.com>
27634 * gst/parse/parse.l: Attempt to solve bug #172815.
27636 2005-07-19 Wim Taymans <wim@fluendo.com>
27638 * docs/design/part-clocks.txt:
27639 * docs/design/part-events.txt:
27640 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27641 Small docs updates.
27642 Only update the seeking values when we are not
27645 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27647 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27648 Oops, ignore the result of gst_pad_push_event here.
27650 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27652 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27653 (gst_base_src_activate_push):
27654 Send discont event from the loop function, as pads
27655 aren't activated yet in the activate_push handler.
27657 * gst/gstbin.c: (bin_bus_handler):
27658 Don't leak element name.
27660 2005-07-18 Andy Wingo <wingo@pobox.com>
27662 * configure.ac: Use AS_LIBTOOL_TAGS.
27664 2005-07-18 Wim Taymans <wim@fluendo.com>
27666 * docs/gst/gstreamer.types:
27667 Remove deleted types.
27669 2005-07-18 Wim Taymans <wim@fluendo.com>
27671 * check/elements/gstfakesrc.c: (GST_START_TEST):
27674 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27675 (init_popt_callback):
27677 * gst/gst_private.h:
27678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27679 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27682 * gst/gstconfig.h.in:
27683 * gst/gstelement.c: (gst_element_class_init),
27684 (gst_element_set_base_time), (gst_element_get_base_time),
27685 (iterator_fold_with_resync), (gst_element_change_state),
27686 (gst_element_dispose), (gst_element_get_bus):
27687 * gst/gstelement.h:
27688 * gst/gstelementfactory.h:
27689 * gst/gsterror.c: (_gst_core_errors_init):
27692 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27694 * gst/gstinfo.c: (_gst_debug_init):
27695 * gst/gstmessage.c: (_gst_message_copy):
27696 * gst/gstmessage.h:
27697 * gst/gstminiobject.h:
27700 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27701 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27704 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27705 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27706 (gst_pipeline_get_last_stream_time):
27707 * gst/gstpipeline.h:
27708 * gst/gstpluginfeature.h:
27710 * gst/gstscheduler.c:
27711 * gst/gstscheduler.h:
27712 * gst/gststructure.h:
27713 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27714 (gst_task_finalize), (gst_task_func), (gst_task_create),
27715 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27716 (gst_task_stop), (gst_task_pause):
27718 * gst/gsttypefind.h:
27720 * gst/registries/gstlibxmlregistry.c: (load_feature),
27721 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27722 * gst/registries/gstxmlregistry.c:
27723 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27724 * gst/schedulers/threadscheduler.c:
27725 * libs/gst/control/dparammanager.h:
27726 * tools/gst-inspect.c: (print_element_list),
27727 (print_plugin_features), (print_element_features):
27728 * tools/gst-xmlinspect.c: (print_element_list),
27729 (print_plugin_info), (main):
27730 Removed plugable schedulers.
27731 Removed Scheduler/Manager from elements.
27732 Removed gsttypes.h, rearranged includes.
27733 Removed dependency pad<->element, element<>pipeline, and
27734 various others, fix includes.
27735 implement gst_pad_get_parent() with gst_object_get_parent()
27736 Make GstTask sefcontained.
27737 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27739 Fix endless loop in iterator_fold_with_resync.
27742 2005-07-18 Wim Taymans <wim@fluendo.com>
27748 2005-07-18 Wim Taymans <wim@fluendo.com>
27751 No more cothreads.h
27753 2005-07-18 Wim Taymans <wim@fluendo.com>
27757 Let's remove these.
27759 2005-07-18 Wim Taymans <wim@fluendo.com>
27761 * docs/design/part-dynamic.txt:
27762 * docs/design/part-events.txt:
27763 * docs/design/part-seeking.txt:
27764 Some more docs in the works.
27766 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27767 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27768 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27769 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27770 (gst_base_transform_handle_buffer),
27771 (gst_base_transform_sink_activate_push),
27772 (gst_base_transform_src_activate_pull),
27773 (gst_base_transform_set_passthrough),
27774 (gst_base_transform_is_passthrough):
27777 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27780 * gst/gstevent.c: (gst_event_finalize):
27783 * gst/gstutils.c: (gst_element_unlink),
27784 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27785 (gst_pad_proxy_setcaps):
27787 Add _get_parent_element() to get a pads parent as an element.
27789 2005-07-18 Wim Taymans <wim@fluendo.com>
27791 * check/gst/gstbin.c: (GST_START_TEST):
27794 2005-07-18 Wim Taymans <wim@fluendo.com>
27796 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27797 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27798 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27799 (gst_base_sink_event), (gst_base_sink_do_sync),
27800 (gst_base_sink_chain), (gst_base_sink_loop),
27801 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27802 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27804 Fix logic for returning ASYNC when not prerolled.
27806 2005-07-18 Wim Taymans <wim@fluendo.com>
27808 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27809 Fix nasty refcount bug.
27811 2005-07-16 Philippe Khalaf <burger@speedy.org>
27813 * gst/elements/gstfdsrc.c:
27814 * gst/elements/gstfdsrc.h:
27815 * gst/elements/gstelements.c:
27816 * gst/elements/Makefile.am:
27817 Ported fdsrc to 0.9.
27819 2005-07-16 Wim Taymans <wim@fluendo.com>
27821 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27822 (gst_base_sink_do_sync):
27825 2005-07-16 Wim Taymans <wim@fluendo.com>
27827 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27828 (gst_base_sink_event), (gst_base_sink_get_times),
27829 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27830 * gst/base/gstbasesink.h:
27831 Store and use discont values when syncing buffers as described
27834 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27835 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27836 (gst_base_src_activate_push):
27837 Push discont event when starting.
27839 * gst/elements/gstidentity.c: (gst_identity_transform):
27842 * gst/gstbin.c: (gst_bin_change_state):
27843 Small cleanups in base_time distribution.
27845 * gst/gstelement.c: (gst_element_set_base_time),
27846 (gst_element_get_base_time), (gst_element_change_state):
27847 * gst/gstelement.h:
27848 Added methods for the base_time of the element.
27851 * gst/gstpipeline.c: (gst_pipeline_send_event),
27852 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27853 (gst_pipeline_get_last_stream_time):
27854 * gst/gstpipeline.h:
27856 Handle seeking as described in design doc, remove stream_time
27858 Cleanups clock and stream_time selection code. Added accessors
27859 for the stream_time.
27862 2005-07-16 Andy Wingo <wingo@pobox.com>
27864 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27867 2005-07-16 Wim Taymans <wim@fluendo.com>
27869 * check/gst/gstbin.c: (GST_START_TEST):
27870 Make elements silent as the deep_notify refs the
27871 parent, which might make the test fail.
27873 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27874 Don't hold the lock for too long.
27876 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27878 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27879 Don't unref the caps we passed to gst_caps_make_writable() after
27880 passing them. gst_caps_make_writable() will do that for us.
27882 2005-07-15 Andy Wingo <wingo@pobox.com>
27884 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27887 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27888 own marshalling function for the handoff signal. Properly type the
27889 buffer as a buffer. Fixes some warnings. Should do a more general
27891 (gst_identity_class_init): Plug into the right marshaller.
27893 2005-07-15 Wim Taymans <wim@fluendo.com>
27895 * docs/design/part-TODO.txt:
27896 * docs/design/part-clocks.txt:
27897 * docs/design/part-element-sink.txt:
27898 * docs/design/part-events.txt:
27899 * docs/design/part-gstpipeline.txt:
27900 Updated docs, mostly DISCONT related.
27902 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27904 * docs/pwg/building-pads.xml:
27905 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27907 2005-07-15 Andy Wingo <wingo@pobox.com>
27909 * tools/gst-typefind.c: Update, add copyright block.
27911 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27912 Normalize and truncate caps before fixation.
27915 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27916 discards all but the first structure from its argument.
27918 2005-07-15 Wim Taymans <wim@fluendo.com>
27920 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27921 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27922 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27923 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27924 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27925 (gst_base_transform_chain), (gst_base_transform_change_state),
27926 (gst_base_transform_set_passthrough),
27927 (gst_base_transform_is_passthrough):
27928 * gst/base/gstbasetransform.h:
27929 Make passthrough work using the bufferpools.
27930 Changed API a bit, subclasses have to write into a buffer
27931 provided by the base class.
27932 More debug info in nego functions.
27934 * gst/elements/gstidentity.c: (gst_identity_init),
27935 (gst_identity_transform):
27936 Port to new base class.
27938 2005-07-15 Wim Taymans <wim@fluendo.com>
27940 * gst/gstmessage.c: (gst_message_new_state_changed):
27941 * tools/gst-launch.c: (event_loop), (main):
27942 Totally dump messages in -launch with the -m option.
27943 Fix message name for State messages,
27945 2005-07-14 Wim Taymans <wim@fluendo.com>
27947 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27948 Post error messages on errors.
27950 2005-07-14 Wim Taymans <wim@fluendo.com>
27952 * gst/gstcaps.c: (gst_caps_do_simplify):
27956 Define error for stream stopped.
27958 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27959 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27960 Do proper return values.
27962 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27963 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27964 (gst_pad_get_range):
27965 Better return values.
27968 Reorganise return values, add macro to check for fatal errors.
27970 * gst/gstqueue.c: (gst_queue_chain):
27971 Return proper GstFlowReturn values,
27973 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27975 * docs/gst/gstreamer-sections.txt:
27976 * docs/gst/gstreamer.types:
27977 * docs/gst/tmpl/gst.sgml:
27978 * docs/gst/tmpl/gstbasesink.sgml:
27979 * docs/gst/tmpl/gstbasesrc.sgml:
27980 * docs/gst/tmpl/gstbasetransform.sgml:
27981 * docs/gst/tmpl/gstbin.sgml:
27982 * docs/gst/tmpl/gstbuffer.sgml:
27983 * docs/gst/tmpl/gstcaps.sgml:
27984 * docs/gst/tmpl/gstclock.sgml:
27985 * docs/gst/tmpl/gstcompat.sgml:
27986 * docs/gst/tmpl/gstconfig.sgml:
27987 * docs/gst/tmpl/gstelement.sgml:
27988 * docs/gst/tmpl/gstelementdetails.sgml:
27989 * docs/gst/tmpl/gstelementfactory.sgml:
27990 * docs/gst/tmpl/gstenumtypes.sgml:
27991 * docs/gst/tmpl/gsterror.sgml:
27992 * docs/gst/tmpl/gstevent.sgml:
27993 * docs/gst/tmpl/gstfakesink.sgml:
27994 * docs/gst/tmpl/gstfakesrc.sgml:
27995 * docs/gst/tmpl/gstfilesink.sgml:
27996 * docs/gst/tmpl/gstfilesrc.sgml:
27997 * docs/gst/tmpl/gstfilter.sgml:
27998 * docs/gst/tmpl/gstformat.sgml:
27999 * docs/gst/tmpl/gstghostpad.sgml:
28000 * docs/gst/tmpl/gstimplementsinterface.sgml:
28001 * docs/gst/tmpl/gstindex.sgml:
28002 * docs/gst/tmpl/gstindexfactory.sgml:
28003 * docs/gst/tmpl/gstinfo.sgml:
28004 * docs/gst/tmpl/gstiterator.sgml:
28005 * docs/gst/tmpl/gstmacros.sgml:
28006 * docs/gst/tmpl/gstmemchunk.sgml:
28007 * docs/gst/tmpl/gstminiobject.sgml:
28008 * docs/gst/tmpl/gstobject.sgml:
28009 * docs/gst/tmpl/gstpad.sgml:
28010 * docs/gst/tmpl/gstpadtemplate.sgml:
28011 * docs/gst/tmpl/gstparse.sgml:
28012 * docs/gst/tmpl/gstpipeline.sgml:
28013 * docs/gst/tmpl/gstplugin.sgml:
28014 * docs/gst/tmpl/gstpluginfeature.sgml:
28015 * docs/gst/tmpl/gstquery.sgml:
28016 * docs/gst/tmpl/gstqueue.sgml:
28017 * docs/gst/tmpl/gstregistry.sgml:
28018 * docs/gst/tmpl/gstregistrypool.sgml:
28019 * docs/gst/tmpl/gstscheduler.sgml:
28020 * docs/gst/tmpl/gstschedulerfactory.sgml:
28021 * docs/gst/tmpl/gststructure.sgml:
28022 * docs/gst/tmpl/gstsystemclock.sgml:
28023 * docs/gst/tmpl/gsttaglist.sgml:
28024 * docs/gst/tmpl/gsttagsetter.sgml:
28025 * docs/gst/tmpl/gsttrace.sgml:
28026 * docs/gst/tmpl/gsttrashstack.sgml:
28027 * docs/gst/tmpl/gsttypefind.sgml:
28028 * docs/gst/tmpl/gsttypefindfactory.sgml:
28029 * docs/gst/tmpl/gsttypes.sgml:
28030 * docs/gst/tmpl/gsturihandler.sgml:
28031 * docs/gst/tmpl/gsturitype.sgml:
28032 * docs/gst/tmpl/gstutils.sgml:
28033 * docs/gst/tmpl/gstvalue.sgml:
28034 * docs/gst/tmpl/gstversion.sgml:
28035 * docs/gst/tmpl/gstxml.sgml:
28036 * docs/libs/tmpl/gstcontrol.sgml:
28037 * docs/libs/tmpl/gstdataprotocol.sgml:
28038 * docs/libs/tmpl/gstdparam.sgml:
28039 * docs/libs/tmpl/gstdplinint.sgml:
28040 * docs/libs/tmpl/gstdpman.sgml:
28041 * docs/libs/tmpl/gstdpsmooth.sgml:
28042 * docs/libs/tmpl/gstgetbits.sgml:
28043 * docs/libs/tmpl/gstunitconvert.sgml:
28044 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28045 (gst_push_src_base_init), (gst_push_src_class_init),
28046 (gst_push_src_init), (gst_push_src_create):
28047 * gst/base/gstpushsrc.h:
28048 * gst/elements/gstelements.c:
28049 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28050 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28051 (gst_fake_sink_init), (gst_fake_sink_set_property),
28052 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28053 (gst_fake_sink_event), (gst_fake_sink_preroll),
28054 (gst_fake_sink_render), (gst_fake_sink_change_state):
28055 * gst/elements/gstfakesink.h:
28056 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28057 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28058 (gst_fake_src_base_init), (gst_fake_src_class_init),
28059 (gst_fake_src_init), (gst_fake_src_event_handler),
28060 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28061 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28062 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28063 (gst_fake_src_create_buffer), (gst_fake_src_create),
28064 (gst_fake_src_start), (gst_fake_src_stop):
28065 * gst/elements/gstfakesrc.h:
28066 * gst/elements/gstfilesink.c: (_do_init),
28067 (gst_file_sink_base_init), (gst_file_sink_class_init),
28068 (gst_file_sink_init), (gst_file_sink_dispose),
28069 (gst_file_sink_set_location), (gst_file_sink_set_property),
28070 (gst_file_sink_get_property), (gst_file_sink_open_file),
28071 (gst_file_sink_close_file), (gst_file_sink_query),
28072 (gst_file_sink_event), (gst_file_sink_render),
28073 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28074 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28075 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28076 * gst/elements/gstfilesink.h:
28077 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28078 (gst_file_src_class_init), (gst_file_src_init),
28079 (gst_file_src_finalize), (gst_file_src_set_location),
28080 (gst_file_src_set_property), (gst_file_src_get_property),
28081 (gst_file_src_map_region), (gst_file_src_map_small_region),
28082 (gst_file_src_create_mmap), (gst_file_src_create_read),
28083 (gst_file_src_create), (gst_file_src_is_seekable),
28084 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28085 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28086 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28087 (gst_file_src_uri_handler_init):
28088 * gst/elements/gstfilesrc.h:
28089 more autistic cleanliness in functions/names/defines
28091 2005-07-13 Andy Wingo <wingo@pobox.com>
28093 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28094 source couldn't negotiate.
28096 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28100 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28101 function. I am channeling Hades. Put your boots on suckers!!!
28103 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28105 * testsuite/caps/Makefile.am:
28106 * testsuite/caps/value_compare.c:
28107 * testsuite/caps/value_intersect.c:
28108 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28109 move two testsuite apps over to the check dir
28111 2005-07-12 Wim Taymans <wim@fluendo.com>
28113 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28114 Added more debug info in the negotiate process.
28116 * gst/gstmessage.h:
28117 Prepare for segment playback.
28119 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28125 * tools/gst-launch.c: (main):
28126 NULL pipeline on errors.
28128 2005-07-12 Andy Wingo <wingo@pobox.com>
28130 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28131 not it comes from a malloc region. Make sure our copy gets freed.
28133 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28135 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28136 * check/gst/gstmessage.c: (GST_START_TEST):
28137 * check/gst/gststructure.c: (GST_START_TEST),
28138 (gst_structure_suite), (main):
28140 * gst/gstelement.c: (gst_element_message_full):
28141 clean up GError and debug string now that they get copied
28142 * gst/gstmessage.c: (gst_message_new_error),
28143 (gst_message_new_warning), (gst_message_parse_error),
28144 (gst_message_parse_warning):
28145 use GST_TYPE_G_ERROR for structure_new, and take copies of
28146 arguments, so that we don't mess up refcounting
28148 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28150 * check/Makefile.am:
28151 add per-test valgrind targets
28152 * check/gst-libs/gdp.c: (GST_START_TEST),
28153 (gst_data_protocol_suite), (main):
28156 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28158 * check/Makefile.am:
28159 instate more valgrindable tests
28160 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28161 (GST_START_TEST), (fakesrc_suite):
28162 * check/gst/gstpad.c: (GST_START_TEST):
28163 * check/gst/gststructure.c: (GST_START_TEST):
28165 * docs/gst/tmpl/gstminiobject.sgml:
28166 * gst/gstpad.c: (gst_pad_finalize):
28167 fix the static mutex leak
28169 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28171 * check/Makefile.am:
28172 add two more tests for valgrinding
28173 * check/gst/gstvalue.c: (GST_START_TEST):
28174 test refcount of deserialized buffer, found a leak
28175 * docs/gst/gstreamer-docs.sgml:
28176 * docs/gst/gstreamer-sections.txt:
28177 * docs/gst/gstreamer.types:
28178 * docs/gst/tmpl/gstminiobject.sgml:
28179 add miniobject to docs
28180 * gst/gstminiobject.c:
28182 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28183 (gst_string_unwrap):
28184 fix a hard-to-find invalid write for one of the tests
28185 fix a leak for deserialized buffers
28187 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28189 * docs/pwg/advanced-events.xml:
28190 * docs/pwg/advanced-request.xml:
28191 * docs/pwg/advanced-scheduling.xml:
28192 * docs/pwg/appendix-porting.xml:
28193 * docs/pwg/building-boiler.xml:
28194 * docs/pwg/intro-preface.xml:
28195 * docs/pwg/other-ntoone.xml:
28196 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28197 of example code and explanation for pad activation, loop() and
28198 getrange() functions and a bit more. Remove old comments pointing
28200 * examples/pwg/Makefile.am:
28201 Add loop/getrange examples.
28203 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28206 check for valgrind binary + some fixes
28208 valgrind suppressions for the tests
28209 * check/Makefile.am:
28210 add a valgrind: target that valgrinds the unit tests
28211 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28212 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28213 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28214 * check/gst/gstghostpad.c:
28216 * check/gst/gstdata.c:
28218 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28219 (thread_unref), (gst_mini_object_suite), (main):
28221 * gst/gst.c: (gst_deinit):
28223 add a method to clean up.
28224 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28225 (gst_system_clock_obtain):
28226 allow for disposing the system clock.
28227 * tools/gst-launch.c: (main):
28230 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28232 * docs/gst/tmpl/gstbasesrc.sgml:
28233 * docs/gst/tmpl/gstfakesrc.sgml:
28234 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28235 (gst_base_src_init), (gst_base_src_set_property),
28236 (gst_base_src_get_property), (gst_base_src_get_range),
28237 (gst_base_src_start):
28238 * gst/base/gstbasesrc.h:
28239 add num-buffers property
28240 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28241 (gst_fakesrc_init), (gst_fakesrc_set_property),
28242 (gst_fakesrc_get_property), (gst_fakesrc_create),
28243 (gst_fakesrc_start):
28244 remove num-buffers property
28246 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28248 * docs/gst/gstreamer-sections.txt:
28249 * docs/gst/tmpl/gstbasesink.sgml:
28250 * docs/gst/tmpl/gstbasesrc.sgml:
28251 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28252 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28253 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28254 (gst_base_sink_set_property), (gst_base_sink_get_property),
28255 (gst_base_sink_handle_object), (gst_base_sink_event),
28256 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28257 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28258 (gst_base_sink_loop), (gst_base_sink_deactivate),
28259 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28260 (gst_base_sink_change_state):
28261 * gst/base/gstbasesink.h:
28262 * gst/base/gstbasesrc.h:
28263 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28264 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28265 (gst_filesink_init):
28266 more macro splitting
28268 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28270 * gst/gstelement.c: (gst_element_get_bus):
28272 * tools/gst-launch.c: (check_intr), (event_loop):
28275 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28277 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28280 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28282 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28283 (gst_base_src_finalize):
28284 add finalize method and clean up properly
28285 * gst/gstpipeline.c: (gst_pipeline_dispose):
28288 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28290 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28292 add more things to check
28293 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28294 * gst/gstelement.c:
28297 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28299 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28300 (GST_START_TEST), (fakesrc_suite):
28301 * check/gst-libs/gdp.c: (GST_START_TEST):
28302 * check/gst/gst.c: (GST_START_TEST):
28303 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28304 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28305 * check/gst/gstbus.c: (GST_START_TEST):
28306 * check/gst/gstcaps.c: (GST_START_TEST):
28307 * check/gst/gstdata.c: (GST_START_TEST):
28308 * check/gst/gstelement.c: (GST_START_TEST):
28309 * check/gst/gstghostpad.c: (GST_START_TEST):
28310 * check/gst/gstiterator.c: (GST_START_TEST):
28311 * check/gst/gstmessage.c: (GST_START_TEST):
28312 * check/gst/gstobject.c: (GST_START_TEST):
28313 * check/gst/gstpad.c: (GST_START_TEST):
28314 * check/gst/gststructure.c: (GST_START_TEST):
28315 * check/gst/gstsystemclock.c: (GST_START_TEST),
28316 (gst_systemclock_suite):
28317 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28318 * check/gst/gstvalue.c: (GST_START_TEST):
28319 * check/pipelines/cleanup.c: (GST_START_TEST):
28320 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28321 * check/states/sinks.c: (GST_START_TEST):
28322 * check/gstcheck.c: (gst_check_init):
28323 * check/gstcheck.h:
28324 add debugging category
28325 use GST_START_TEST now, so we add a debug line
28327 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28329 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28330 add test for state change message on a bin
28331 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28333 * gst/gstbin.c: (gst_bin_init):
28334 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28335 * gst/gstelement.c: (gst_element_post_message),
28336 (gst_element_set_state):
28337 * gst/gstelementfactory.c: (gst_element_factory_create):
28338 * gst/gstmessage.c: (gst_message_new):
28339 * gst/gstscheduler.c:
28340 various debugging additions and cleanups
28342 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28344 * check/Makefile.am:
28345 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28347 adding tests for elements
28348 * gst/gstelement.c: (gst_element_dispose):
28350 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28352 * gst/registries/gstlibxmlregistry.c: (load_feature):
28353 plug more leaks. A simple gst_init() now is leakfree, yay.
28355 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28357 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28358 (gst_xml_registry_load):
28359 plug another memleak
28361 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28364 use GST_SET_ERROR_CFLAGS
28365 * docs/faq/cvs.xml:
28366 change to ERROR_CFLAGS
28368 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28371 make GST_ERROR_CFLAGS overridable and re-enable Werror
28372 * docs/faq/cvs.xml:
28373 add a note about error CFLAGS
28374 * docs/gst/tmpl/gstfakesrc.sgml:
28375 * gst/elements/gstfakesrc.c:
28376 comment out some unused code
28377 * gst/gst.c: (split_and_iterate):
28378 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28382 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28384 * common/Makefile.am:
28385 * common/gtk-doc.mak:
28386 * docs/gst/Makefile.am:
28387 factor out gtk-doc.mak
28389 2005-07-07 Wim Taymans <wim@fluendo.com>
28391 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28392 (gst_thread_scheduler_dispose):
28393 Unlock the STREAM_LOCK completely.
28395 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28397 * check/Makefile.am:
28398 * check/elements/.cvsignore:
28399 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28400 (START_TEST), (fakesrc_suite), (main):
28401 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28402 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28403 (gst_fakesrc_create), (gst_fakesrc_start):
28404 * gst/elements/gstfakesrc.h:
28405 adding a first element test
28407 2005-07-07 Andy Wingo <wingo@pobox.com>
28409 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28412 2005-07-07 Wim Taymans <wim@fluendo.com>
28418 2005-07-07 Wim Taymans <wim@fluendo.com>
28420 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28421 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28422 Allow subclasses to implement their own negotiation.
28424 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28426 * docs/design/part-gstbin.txt:
28427 * docs/design/part-gstpipeline.txt:
28428 Update design notes to reflect the movement of
28429 responsibility for bus handling from GstPipeline to
28432 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28435 Remove unnecessary queue2/3/4 examples.
28437 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28439 * examples/Makefile.am:
28440 * examples/helloworld/helloworld.c: (event_loop), (main):
28441 * examples/queue/queue.c: (event_loop), (main):
28442 * examples/queue2/queue2.c: (main):
28443 Update a couple of the examples to work again.
28445 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28446 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28447 Spelling corrections and extra debug.
28449 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28450 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28451 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28453 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28454 (gst_pipeline_change_state):
28455 * gst/gstpipeline.h:
28456 Move the bus handler for children to the GstBin, and create a
28457 separate bus for receiving messages from children to the one the
28458 bus sends 'upwards' on.
28460 2005-07-06 Wim Taymans <wim@fluendo.com>
28463 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28464 (gst_base_sink_handle_object), (gst_base_sink_loop),
28465 (gst_base_sink_change_state):
28466 * gst/base/gstbasesink.h:
28467 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28468 (gst_base_src_init), (gst_base_src_setcaps),
28469 (gst_base_src_getcaps), (gst_base_src_loop),
28470 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28471 (gst_base_src_start), (gst_base_src_change_state):
28472 * gst/base/gstbasesrc.h:
28473 Make basesrc negotiate.
28474 Handle the case where preroll fails in basesink.
28477 2005-07-06 Wim Taymans <wim@fluendo.com>
28479 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28480 Implement the fixate function.
28481 Clean up acceptcaps.
28483 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28485 * docs/pwg/building-filterfactory.xml:
28486 * docs/pwg/pwg.xml:
28487 Remove never-written filter-factory chapter; I'll add the various
28488 base classes to part 4 ("other element types") later on.
28490 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28492 * docs/pwg/advanced-negotiation.xml:
28493 * docs/pwg/building-boiler.xml:
28494 * docs/pwg/building-pads.xml:
28495 * docs/pwg/pwg.xml:
28496 * examples/pwg/Makefile.am:
28497 Add a chapter on caps negotiation, simplify the original code
28498 samples a bit w.r.t. caps negotiation, add link to the advanced
28499 section. Add a bunch of examples showing different use cases of
28500 different types of caps negotiation. Upstream renegotiation isn't
28501 fully documented yet since nobody knows how that works.
28503 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28505 * check/gst/gstpad.c:
28506 * check/gstcheck.c:
28507 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28508 if pad has no parent, return NULL as list of internal links
28510 2005-07-05 Andy Wingo <wingo@pobox.com>
28512 * gst/elements/gstfilesrc.c:
28513 * gst/elements/gstfakesrc.c:
28514 * gst/base/gstpushsrc.c:
28515 * gst/base/gstbasesrc.h:
28516 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28518 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28521 better report generation target (lcov needs a patch)
28523 2005-07-05 Andy Wingo <wingo@pobox.com>
28525 * gst/elements, testsuite: Null if we got it...
28527 2005-07-05 Wim Taymans <wim@fluendo.com>
28530 * libs/gst/dataprotocol/Makefile.am:
28531 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28532 * libs/gst/dataprotocol/dataprotocol.h:
28533 * pkgconfig/Makefile.am:
28534 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28535 * pkgconfig/gstreamer-dataprotocol.pc.in:
28536 Ported dataprotol to 0.9.
28537 Added pkgconfig files.
28539 2005-07-05 Andy Wingo <wingo@pobox.com>
28541 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28542 Default to returning TRUE for the case when tranform_caps returns
28543 a fixed caps, like for identity or volume.
28545 * check/gst/gstbus.c (pound_bus_with_messages):
28546 * check/gst/gstmessage.c (START_TEST):
28547 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28548 message API change.
28550 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28551 logic weaks here: always run transform_caps, trying passthrough
28552 operation only if the original caps intersects with the transform.
28554 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28555 source and sink caps.
28557 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28558 Intersect the peer caps with the pad template before going into
28560 (gst_base_transform_transform_caps): More debugging.
28562 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28565 2005-07-04 Edward Hervey <edward@fluendo.com>
28569 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28572 2005-07-04 Andy Wingo <wingo@pobox.com>
28574 * check/gst/gstpad.c: Only set explicit caps on pads.
28576 2005-07-01 Andy Wingo <wingo@pobox.com>
28578 * tests/network-clock.scm: Commentary update.
28580 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28581 Didn't really make sense, not implementable with basetransform,
28583 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28584 attempt at implementing the sync property, needs an unlock method.
28586 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28587 New func, by default returns the same caps (the identity
28589 (gst_base_transform_getcaps): Uses transform_caps to return
28590 something sensible.
28591 (gst_base_transform_setcaps): Complicated logic to get caps on
28592 both pads, even if they are different, and to call set_caps once
28593 for every time both pads get their caps set.
28594 (gst_base_transform_handle_buffer): Give the ref to the transform
28595 function. Allows in-place modification of the buffer.
28597 * gst/base/gstbasetransform.h (transform_caps): New class method.
28598 Given caps on one side, what can I do on the other.
28599 (set_caps): Take two caps, one for each side of the element.
28602 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28603 caps in place. This is safe because we can check the mutability of
28604 the caps, and a good idea because fixate functions are just called
28605 as a matter of last resort. (Not actually implemented.)
28606 (gst_pad_set_caps): If the caps we're setting is actually the same
28607 as the existing pad caps, just update the pointer without calling
28608 setcaps. Assert that caps is either NULL or fixed, as per the
28611 * gst/gstghostpad.c: Update for fixate changes.
28613 2005-07-02 Andy Wingo <wingo@pobox.com>
28616 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28617 two refcounts makes it immutable, which is enough. Doc more.
28619 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28621 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28622 Put the mini_object into GValue as a mini_object,
28623 not a gpointer, since that's how we declared
28626 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28628 * examples/pwg/Makefile.am:
28629 Fix buildbot again.
28631 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28633 * docs/pwg/building-testapp.xml:
28635 * examples/pwg/Makefile.am:
28638 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28641 * examples/Makefile.am:
28642 * examples/pwg/Makefile.am:
28643 * examples/pwg/extract.pl:
28644 Enable building the PWG examples.
28645 * docs/pwg/advanced-interfaces.xml:
28646 Add URI interface stub.
28647 * docs/pwg/advanced-types.xml:
28648 * docs/pwg/other-autoplugger.xml:
28649 * docs/pwg/appendix-porting.xml:
28650 * docs/pwg/pwg.xml:
28651 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28652 * docs/pwg/building-boiler.xml:
28653 * docs/pwg/building-chainfn.xml:
28654 * docs/pwg/building-pads.xml:
28655 * docs/pwg/building-props.xml:
28656 * docs/pwg/building-state.xml:
28657 * docs/pwg/building-testapp.xml:
28658 Update the building-*.xml parts for 0.9 changes. All examples
28659 code blocks compile in examples/pwg/*.
28661 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28663 * docs/manual/advanced-autoplugging.xml:
28664 * docs/manual/appendix-checklist.xml:
28665 * docs/manual/appendix-integration.xml:
28666 * docs/manual/highlevel-components.xml:
28667 Fix playbin/decodebin examples, update docs a bit, mention bus
28668 instead of signals in various places, mention kmplayer and
28669 kaffeine since they have a working GStreamer backend in the KDE
28672 2005-06-30 Wim Taymans <wim@fluendo.com>
28675 * docs/design/draft-ghostpads.txt:
28676 * docs/design/draft-push-pull.txt:
28677 * docs/design/draft-query.txt:
28678 * docs/design/part-TODO.txt:
28679 * docs/design/part-query.txt:
28680 Added CHANGES-0.9 doc, updated status of other docs.
28685 2005-06-30 Wim Taymans <wim@fluendo.com>
28687 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28688 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28689 (gst_base_sink_change_state):
28690 * gst/base/gstbasesink.h:
28691 Some tweaks, only EOS and a buffer complete a preroll.
28693 2005-06-30 Andy Wingo <wingo@pobox.com>
28695 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28696 activate_push down to the internal pad as well.
28698 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28700 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28702 * gst/gsttaginterface.c:
28703 Some documentation fixes (#307394 and #307397).
28705 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28707 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28709 * gst/gstvalue.c: (gst_value_intersect_list):
28710 Fix memleak (#309125).
28712 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28714 * docs/manual/advanced-dataaccess.xml:
28715 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28716 * docs/manual/basics-pads.xml:
28717 Add reference for filtered caps to above chapter.
28719 2005-06-30 Wim Taymans <wim@fluendo.com>
28721 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28722 (gst_bin_change_state):
28724 Lame attempt at making the state change function a bit
28727 2005-06-30 Wim Taymans <wim@fluendo.com>
28729 * docs/design/part-clocks.txt:
28730 * docs/design/part-element-sink.txt:
28731 * docs/design/part-events.txt:
28732 * docs/design/part-preroll.txt:
28733 * docs/design/part-states.txt:
28734 Some more tweeks and additions to the docs.
28736 2005-06-30 Wim Taymans <wim@fluendo.com>
28738 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28739 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28740 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28741 (gst_pad_check_pull_range), (gst_pad_get_range),
28742 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28744 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28745 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28746 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28747 (gst_pad_remove_buffer_probe):
28748 Removed atomic operations, use existing LOCK.
28749 Move exception handling out of main code path.
28751 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28753 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28754 (silly_return_true_function), (gst_pad_class_init),
28755 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28756 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28757 (gst_pad_send_event):
28758 Fix accumulator, add default value by using _emitv() instead
28759 of _emit() for signal emission.
28761 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28763 * docs/manual/advanced-dataaccess.xml:
28764 * examples/manual/Makefile.am:
28766 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28769 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28771 * gst/elements/gstfilesink.c: (gst_filesink_render):
28772 Simplify code so that we don't have to handle short
28773 writes and return GST_FLOW_ERROR if an error occured.
28775 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28777 * docs/gst/gstreamer-docs.sgml:
28778 Remove probes more.
28780 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28782 * docs/gst/gstreamer-sections.txt:
28783 * docs/gst/tmpl/gstpad.sgml:
28784 * docs/gst/tmpl/gstprobe.sgml:
28786 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28787 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28788 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28789 (gst_pad_push_event), (gst_pad_send_event):
28791 * gst/gstutils.c: (gst_pad_add_data_probe),
28792 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28793 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28794 (gst_pad_remove_buffer_probe):
28796 Remove old probes, add new g-signal-based probes and some utility
28799 2005-06-29 Edward Hervey <edward@fluendo.com>
28801 * gst/gstelementfactory.c:
28804 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28805 the definition to the header file.
28807 2005-06-29 Andy Wingo <wingo@pobox.com>
28809 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28810 plugins from the source directory.
28812 2005-06-29 Wim Taymans <wim@fluendo.com>
28814 * docs/gst/tmpl/gstbuffer.sgml:
28815 * docs/gst/tmpl/gstclock.sgml:
28816 Some fixings for blantently wrong text.
28818 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28820 * check/Makefile.am:
28821 * gst/gst.c: (add_path_func), (init_pre):
28822 * gst/gstregistry.c: (gst_registry_add_path):
28823 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28824 only scan the GST_PLUGIN_PATH locations, and not add
28827 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28829 * docs/gst/gstreamer-sections.txt:
28830 * docs/gst/tmpl/gstbasesrc.sgml:
28831 * gst/gstelement.c:
28832 * gst/gstelement.h:
28837 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28839 * docs/manual/advanced-autoplugging.xml:
28840 Fix autoplugging example.
28842 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28844 * docs/manual/advanced-autoplugging.xml:
28845 * docs/manual/mime-world.fig:
28846 Try to get autoplugging working, fix type detection. Fix text
28847 in hello-world image.
28849 2005-06-29 Wim Taymans <wim@fluendo.com>
28851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28852 (gst_base_sink_change_state):
28856 map SIGNAL and BROADCAST to the right function.
28859 Remove redundant braces.
28861 * gst/gstpad.c: (gst_pad_set_caps):
28862 Don't call setcaps function when reseting caps to NULL.
28864 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28865 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28866 (gst_system_clock_id_unschedule):
28867 Use BROADCAST as this is what we do.
28869 2005-06-29 Wim Taymans <wim@fluendo.com>
28871 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28872 We are actually prerolling before commiting the state
28875 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28877 * docs/manual/advanced-clocks.xml:
28878 * docs/manual/advanced-interfaces.xml:
28879 * docs/manual/advanced-metadata.xml:
28880 * docs/manual/advanced-position.xml:
28881 * docs/manual/advanced-schedulers.xml:
28882 * docs/manual/advanced-threads.xml:
28883 * docs/manual/appendix-porting.xml:
28884 * docs/manual/basics-bins.xml:
28885 * docs/manual/basics-bus.xml:
28886 * docs/manual/basics-elements.xml:
28887 * docs/manual/basics-helloworld.xml:
28888 * docs/manual/basics-pads.xml:
28889 * docs/manual/highlevel-components.xml:
28890 * docs/manual/manual.xml:
28891 * docs/manual/thread.fig:
28892 Update (until threads/scheduling) Application Development Manual;
28893 remove GstThread, add GstBus, add simple porting checklist, add
28894 documentation for tag writing, clocks, make all examples until this
28895 part compile and run.
28896 * examples/manual/Makefile.am:
28897 Update from changes to Application Development Manual; add bus
28898 example, remove thread example.
28900 2005-06-28 Wim Taymans <wim@fluendo.com>
28902 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28903 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28904 (gst_bus_source_dispatch):
28905 Add debugging messages.
28906 Make internal methods static.
28907 Handle the case where the bus is flushed in the handler.
28909 * gst/gstelement.c: (gst_element_get_bus):
28910 Fix refcount in _get_bus();
28912 * gst/gstpipeline.c: (gst_pipeline_change_state),
28913 (gst_pipeline_get_clock_func):
28914 Clock refcounting fixes.
28915 Handle the case where preroll timed out more gracefully.
28917 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28918 Clean up the internal thread in dispose. This is needed
28919 for subclasses that actually get disposed.
28921 * gst/schedulers/threadscheduler.c:
28922 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28923 (gst_thread_scheduler_dispose):
28924 Free thread pool in dispose.
28926 2005-06-28 Andy Wingo <wingo@pobox.com>
28928 * tests/network-clock-utils.scm (debug, print-event): New utils.
28930 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28931 (*packet-loss*): Unified loss probability.
28932 (network-time): Report out-of-band events.
28934 * tests/plot-data: Add support for out-of-band events. Hack it
28935 into this script instead of passing it down the pipe; should fix
28938 2005-06-28 Wim Taymans <wim@fluendo.com>
28940 * docs/gst/gstreamer.types:
28941 * docs/gst/tmpl/gstbasesrc.sgml:
28942 * docs/gst/tmpl/gstpad.sgml:
28945 2005-06-28 Wim Taymans <wim@fluendo.com>
28947 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28948 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28949 (gst_proxy_pad_do_fixatecaps):
28950 Correctly proxy the check_pull_range function.
28952 2005-06-28 Andy Wingo <wingo@pobox.com>
28954 * tests/network-clock.scm: Removed need for slib.
28956 2005-06-28 Wim Taymans <wim@fluendo.com>
28958 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28959 (gst_basesink_preroll_queue_flush):
28960 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28961 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28962 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28963 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28964 (gst_proxy_pad_set_property):
28967 * gst/gstqueue.c: (gst_queue_init):
28968 The deprecated pad loop function is removed now.
28970 2005-06-28 Andy Wingo <wingo@pobox.com>
28972 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28973 New parameters, simulate network packet loss.
28975 * tests/network-clock-utils.scm: Initialize the RNG.
28977 2005-06-28 Wim Taymans <wim@fluendo.com>
28979 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28980 (gst_basesink_event), (gst_basesink_deactivate):
28981 Flushing the preroll queue always needs to unlock the waiters.
28983 2005-06-28 Edward Hervey <edward@fluendo.com>
28985 * gst/gstpipeline.c: (gst_pipeline_send_event):
28986 Wheen a seek was successful on a pipeline, set the stream_time to the
28987 seek offset in order to have a synchronized stream_time.
28989 2005-06-28 Wim Taymans <wim@fluendo.com>
28991 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28992 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28993 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28994 (gst_proxy_pad_do_fixatecaps):
28995 Call wrapper function instead of just calling the function
28996 pointers. This takes care of any locking and whatmore.
28998 2005-06-28 Wim Taymans <wim@fluendo.com>
29000 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29001 (gst_pad_pull_range):
29003 CONNECTED -> LINKED.
29005 2005-06-28 Andy Wingo <wingo@pobox.com>
29007 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29008 source-munging commit!!!
29010 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29011 (gst_object_sink): Take gpointer arguments, not GstObject --
29012 avoids casts. Like GLib.
29014 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29017 2005-06-27 Andy Wingo <wingo@pobox.com>
29019 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29022 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29023 returns a sorted copy of the trace list.
29024 (gst_alloc_trace_print_live): New API, only prints traces with
29025 live objects. Sort the list.
29026 (gst_alloc_trace_print_all): Sort the list.
29027 (gst_alloc_trace_print): Align columns.
29029 * gst/elements/gstttypefindelement.c:
29030 * gst/elements/gsttee.c:
29031 * gst/base/gstbasesrc.c:
29032 * gst/base/gstbasesink.c:
29033 * gst/base/gstbasetransform.c:
29034 * gst/gstqueue.c: Adapt for pad activation changes.
29036 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29038 (gst_pipeline_dispose): Drop ref on sched.
29040 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29041 (gst_pad_activate_default): Push mode by default.
29042 (pre_activate_switch, post_activate_switch): New stubs, things to
29043 do before and after switching activation modes on pads.
29044 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29045 the pad's activate function to choose which mode to activate.
29046 Shortcut on deactivation and call the right function directly.
29047 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29049 (gst_pad_activate_push): New API, same for push mode.
29050 (gst_pad_set_activate_function)
29051 (gst_pad_set_activatepull_function)
29052 (gst_pad_set_activatepush_function): Setters for new API.
29054 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29055 Trace all miniobjects.
29056 (gst_mini_object_make_writable): Unref the arg if we copy, like
29057 gst_caps_make_writable.
29059 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29061 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29062 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29063 Adapt for new pad API.
29065 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29067 * gst/gstelement.h:
29068 * gst/gstelement.c (gst_element_iterate_src_pads)
29069 (gst_element_iterate_sink_pads): New API functions.
29071 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29072 should fold into gstiterator.c in some form.
29073 (gst_element_pads_activate): Simplified via use of fold and
29074 delegation of decisions to gstpad->activate.
29076 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29079 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29080 class once in init, like gstmessage. Didn't run into this issue
29081 but it seems correct. Don't initialize a trace, gstminiobject does
29084 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29085 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29087 (assert_live_count): New util function, uses alloc traces to check
29090 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29091 To be modified when unlink drops the internal pad.
29093 2005-06-27 Wim Taymans <wim@fluendo.com>
29095 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29096 (gst_bin_change_state):
29097 Cleanup the get_state() function a little, make sure it
29098 iterates the same set of elements.
29099 Added stub iterate_state_order().
29101 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29103 * docs/gst/gstreamer-docs.sgml:
29104 * docs/gst/gstreamer-sections.txt:
29105 * docs/gst/gstreamer.types:
29106 * docs/gst/tmpl/gstbasesink.sgml:
29107 * docs/gst/tmpl/gstbasesrc.sgml:
29108 * docs/gst/tmpl/gstbasetransform.sgml:
29109 * docs/gst/tmpl/gstelement.sgml:
29110 * docs/gst/tmpl/gstiterator.sgml:
29111 * gst/base/gstbasesrc.c:
29112 * gst/base/gstbasesrc.h:
29113 * gst/base/gstbasetransform.h:
29114 * gst/gstelement.c:
29115 * gst/gstiterator.h:
29116 adding basetransform and iterator docs
29118 2005-06-27 Andy Wingo <wingo@pobox.com>
29120 * docs/design/part-activation.txt: Notes on how activation should
29121 work -- not quite implemented yet.
29123 2005-06-25 Wim Taymans <wim@fluendo.com>
29125 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29126 At least get the chain function correct, needs more
29129 2005-06-25 Wim Taymans <wim@fluendo.com>
29131 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29132 (gst_basesink_handle_object), (gst_basesink_event),
29133 (gst_basesink_do_sync), (gst_basesink_handle_event),
29134 (gst_basesink_change_state):
29136 Right, two problems here: ghostpads don't take locks and
29137 glib _rec_mutex_lock_full() with depth==0 still locks.
29138 Catch illegal locking and g_warn them.
29140 2005-06-25 Wim Taymans <wim@fluendo.com>
29142 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29143 Have to check for completion now...
29145 2005-06-25 Wim Taymans <wim@fluendo.com>
29147 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29148 (gst_basesink_handle_object), (gst_basesink_event),
29149 (gst_basesink_do_sync), (gst_basesink_handle_event),
29150 (gst_basesink_change_state):
29152 Unlock STREAM_LOCK whatever the recursion was.
29154 2005-06-25 Wim Taymans <wim@fluendo.com>
29156 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29157 (gst_basesink_preroll_queue_empty),
29158 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29159 (gst_basesink_event), (gst_basesink_do_sync),
29160 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29161 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29162 (gst_basesink_change_state):
29163 Reworked the base sink, handle event and buffer serialisation
29164 correctly and removed possible deadlock.
29165 Handle EOS correctly.
29167 2005-06-25 Wim Taymans <wim@fluendo.com>
29169 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29170 (gst_pipeline_change_state):
29171 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29172 Allow elements to post EOS in the state change function.
29173 Fix up -launch, make it exit the poll loop when the
29174 pipeline actually changed state.
29175 Fix up warning parsing in -launch.
29177 2005-06-25 Wim Taymans <wim@fluendo.com>
29179 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29180 (gst_tee_sink_activate):
29181 Core takes STREAM_LOCK for us now.
29183 2005-06-25 Wim Taymans <wim@fluendo.com>
29185 * gst/gstelement.c: (gst_element_get_state_func),
29186 (gst_element_set_state):
29187 * gst/gstelement.h:
29188 * gst/gstmessage.c: (gst_message_parse_error),
29189 (gst_message_parse_warning):
29190 Keep track of current target state while performing a state
29191 change so that subclasses can do something interesting.
29192 Fix parsing of warning/error messages when GError is NULL.
29194 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29196 * docs/gst/Makefile.am:
29197 * docs/gst/gstreamer-docs.sgml:
29198 * docs/gst/gstreamer-sections.txt:
29199 * docs/gst/gstreamer.types:
29200 * docs/gst/tmpl/gstbasesink.sgml:
29201 * docs/gst/tmpl/gstbasesrc.sgml:
29202 * docs/gst/tmpl/gstbin.sgml:
29203 * docs/gst/tmpl/gstcompat.sgml:
29204 * docs/gst/tmpl/gstfakesink.sgml:
29205 * docs/gst/tmpl/gstfakesrc.sgml:
29206 * docs/gst/tmpl/gstfilesink.sgml:
29207 * docs/gst/tmpl/gstfilesrc.sgml:
29208 * docs/gst/tmpl/gstindex.sgml:
29209 * docs/manual/appendix-quotes.xml:
29210 * gst/base/gstbasesrc.h:
29211 * gst/elements/gstfakesrc.h:
29212 * gst/gstmessage.h:
29213 start pulling in base classes and elements in our docs
29215 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29217 * docs/gst/Makefile.am:
29218 * docs/libs/Makefile.am:
29219 fixed make distcheck with gtk-doc 1.3
29221 2005-06-23 Wim Taymans <wim@fluendo.com>
29223 * gst/gstelement.c: (gst_element_get_state_func),
29224 (gst_element_set_state), (gst_element_change_state):
29225 When the state did not change, also report NO_PREROLL
29228 2005-06-23 Wim Taymans <wim@fluendo.com>
29230 * gst/gstpad.c: (gst_pad_event_default):
29231 * gst/gstqueue.c: (gst_queue_loop):
29232 No unsafe task pausing please.
29234 2005-06-23 Wim Taymans <wim@fluendo.com>
29236 * gst/schedulers/threadscheduler.c:
29237 (gst_thread_scheduler_task_start),
29238 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29239 Ref the task before pushing it on the threadpool. This
29240 makes sure that we have a ref when the threadfunction is
29243 2005-06-23 Andy Wingo <wingo@pobox.com>
29245 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29246 offset is greater than the file's size.
29248 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29249 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29250 * gst/gstobject.c (gst_object_class_init): Make the class lock
29251 recursive. Wim won't let me drop deep_notify. Decodebin works
29252 again, whoopdy doo.
29254 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29255 internal pad, and hacks accordingly. Doesn't do it on the target
29256 pad because we change its caps. Probably catches all cases of
29258 (gst_ghost_pad_set_property): Connect to notify::caps as
29261 * tests/network-clock.scm (plot-simulation): Pipe data to the
29262 elite python skript.
29264 * tests/network-clock-utils.scm (define-parameter): New macro,
29265 defines a parameter that can be set via the command line.
29266 (set-parameter!, parse-parameter-arguments): Command line args
29269 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29272 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29274 * gst/elements/gsttypefindelement.c:
29275 (gst_type_find_element_handle_event):
29276 Don't restart typefinding on a discont.
29277 * gst/gstelement.c: (gst_element_set_state):
29278 Debug spelling fix.
29279 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29280 Allow changing mode of an active pad.
29281 Debug output fixes.
29282 * gst/registries/gstlibxmlregistry.c: (load_feature):
29283 Don't cast a static pad template to a normal pad template.
29285 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29287 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29288 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29289 remove gst_strtoll completely, since it didn't actually do
29290 anything more than what g_ascii_strtoull already does.
29291 check for range errors when deserializing
29292 do a cast for the unsigned cases; but further fixing needs
29293 a decision on what the interpretation of "(int)" and
29294 deserialization should be for values that fall outside the
29295 type's boundaries (ie, refuse, or interpret as casting)
29297 2005-06-23 Wim Taymans <wim@fluendo.com>
29299 * check/Makefile.am:
29300 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29301 * docs/design/part-live-source.txt:
29302 * docs/design/part-states.txt:
29303 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29304 (gst_basesrc_set_live), (gst_basesrc_is_live),
29305 (gst_basesrc_get_range), (gst_basesrc_activate),
29306 (gst_basesrc_change_state):
29307 * gst/base/gstbasesrc.h:
29308 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29309 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29310 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29311 * gst/gstelement.c: (gst_element_get_state_func),
29312 (gst_element_set_state):
29313 * gst/gstelement.h:
29315 * tools/gst-launch.c: (event_loop), (main):
29316 Added support for live sources and other elements that
29318 Updated design docs, added live-source design doc.
29319 Implemented live source functionality in basesrc
29320 Fix error condition in _bin_get_state()
29321 Implement live source handling in -launch.
29322 Added check for live sources.
29323 Fixed case in GstBin where elements were changed state
29327 2005-06-23 Andy Wingo <wingo@pobox.com>
29329 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29330 borken refcounting.
29332 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29333 gst_caps_replace takes care of this for us.
29335 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29336 gst_pad_set_caps on the target, not just its setcaps() function.
29338 * tests/network-clock.scm:
29339 * tests/network-clock-utils.scm: A network clock simulator.
29340 Something of an algorithmic testbed before doing something in C.
29342 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29344 * check/Makefile.am:
29345 * check/gst/capslist.h:
29346 copy over from 0.8, and add two with bitmasks specified with
29348 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29349 add test to parse everything from capslist.h
29350 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29352 add test for structure deserialization
29353 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29354 add tests for deserialization of strings to int types
29355 * gst/gststructure.c: (gst_structure_nth_field_name):
29356 * gst/gststructure.h:
29357 add a way to get the name of a field referenced by index
29358 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29359 instead of checking if the resulting long long lies between
29360 min and max, we check if the long long would fit into
29361 a number of bytes for the final type.
29362 This fixes cases where a string represents 2^32 - 1, which
29363 when cast to int would be the (valid) -1, but is bigger than
29366 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29368 * gst/parse/grammar.y:
29369 add a log line for type deserialization
29371 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29373 * check/gst/gstvalue.c: (START_TEST):
29374 * gst/gstvalue.c: (gst_value_deserialize):
29375 return long long, not int, so gint64 deserialization actually
29376 works. Is there any flag that makes the compiler check this ?
29379 2005-06-22 Wim Taymans <wim@fluendo.com>
29382 Added convenience macros for setting buffers in GValue.
29384 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29386 * check/gst/.cvsignore:
29387 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29388 add a test deserializing int64, and comment part out because
29391 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29393 * check/Makefile.am:
29394 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29395 * testsuite/Makefile.am:
29396 * testsuite/caps/Makefile.am:
29397 * testsuite/caps/value_serialize.c:
29398 * testsuite/test_gst_init.c:
29399 move a value_serialize test over
29401 2005-06-20 Wim Taymans <wim@fluendo.com>
29406 * gst/gstvalue.c: (gst_value_compare_buffer),
29407 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29408 (gst_value_compare_flags), (gst_value_serialize_flags),
29409 (gst_value_deserialize_flags), (_gst_value_initialize):
29410 Fix serialisation of buffers, they are not boxed types anymore
29412 2005-06-20 Wim Taymans <wim@fluendo.com>
29414 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29415 Testcase to show error in buffer-on-caps serialisation.
29417 2005-06-20 Andy Wingo <wingo@pobox.com>
29419 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29420 will be adding to later.
29422 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29423 if its socks fill with rocks.
29424 (gst_system_clock_obtain): Set the name on object construction.
29425 Avoid double-checked locking.
29427 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29429 * gst/gsturi.c: (gst_element_make_from_uri):
29430 Fix potential endless loop.
29432 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29434 * check/Makefile.am:
29436 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29438 move over from testsuite dir and clean up
29441 * testsuite/Makefile.am:
29442 * testsuite/tags/.cvsignore:
29443 * testsuite/tags/Makefile.am:
29444 * testsuite/tags/merge.c:
29445 remove testsuite/tags
29447 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29449 * docs/gst/gstreamer-sections.txt:
29450 * docs/gst/tmpl/gstenumtypes.sgml:
29451 * win32/gstenumtypes.c:
29452 clean up documentation build a little
29454 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29456 * check/gstcheck.h:
29457 add macros for checking refcounts on objects and caps
29458 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29459 add some more unit tests
29460 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29461 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29462 fix leaked refcounts (I hope :)) so unittest works
29466 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29468 * configure.ac: back to HEAD
29470 === release 0.9.1 ===
29472 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29478 2005-06-17 Andy Wingo <wingo@pobox.com>
29480 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29481 assert; it's always possible that the pad gets deactivated in
29482 between the checks in gstpad.c and the implementation. Rely on
29483 finish_preroll() to return a FLUSHING or similar instead of on the
29486 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29487 clock and post an EOS message if we come out of finish_preroll in
29490 2005-06-16 David Schleef <ds@schleef.org>
29492 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29493 (gst_capsfilter_set_property): Allow NULL as possible value
29494 for filter_caps property, indicating GST_CAPS_ANY.
29496 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29498 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29500 * gst/schedulers/Makefile.am:
29502 * gstreamer.spec.in:
29505 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29507 * gstreamer.spec.in:
29510 2005-06-08 Andy Wingo <wingo@pobox.com>
29512 * gst/gstutils.c: RPAD fixes all around.
29513 (gst_element_link_pads): Refcounting fixes.
29515 * tools/gst-inspect.c:
29516 * tools/gst-xmlinspect.c:
29518 * gst/base/gsttypefindhelper.c:
29519 * gst/base/gstbasesink.c:
29520 * gst/gstqueue.c: RPAD fixes.
29522 * gst/gstghostpad.h:
29523 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29524 pads. The tricky thing is they provide both source and sink
29525 interfaces, since they proxy the internal pad for the external
29526 pad, and vice versa. Implement with lower-level ProxyPad objects,
29527 with the interior proxy pad as a child of the exterior ghost pad.
29528 Should write a doc on this.
29530 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29531 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29534 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29535 pads are real pads. No ghost pads in this file. Not documenting
29536 the myriad s/RPAD/PAD/ and REALIZE fixes.
29537 (gst_pad_class_init): Add properties for "direction" and
29538 "template". Both are construct-only, so they can't change during
29539 the life of the pad. Fixes properly deriving from GstPad.
29540 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29541 derived objects, just set properties when creating the objects via
29543 (gst_pad_get_parent): Implement as a function, return NULL if the
29544 parent is not an element.
29545 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29546 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29548 * gst/gstobject.c (gst_object_class_init): Make name a construct
29549 property. Don't set it in the object init.
29551 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29552 with UNKNOWN direction.
29553 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29554 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29555 (gst_element_remove_pad): Remove ghost-pad special cases.
29556 (gst_element_pads_activate): Remove rpad cruft.
29558 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29559 catch the pad's-parent-not-an-element case.
29561 * gst/gst.h: Include gstghostpad.h.
29563 * gst/gst.c (init_post): No more real, ghost pads.
29565 * gst/Makefile.am: Add gstghostpad.[ch].
29567 * check/Makefile.am:
29568 * check/gst/gstbin.c:
29569 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29570 into a bin creates ghost pads, and that the refcounts are right.
29571 Partly moved from gstbin.c.
29573 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29575 * check/gst-libs/.cvsignore:
29576 * check/gst/.cvsignore:
29577 * check/pipelines/.cvsignore:
29579 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29580 (START_TEST), (cleanup_suite), (main):
29581 add some tests related to cleanup after running pipelines
29583 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29585 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29586 add a testsuite for GstBuffer
29588 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29590 * gst/gstminiobject.h:
29591 add defines for accessing the refcount
29593 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29595 * Makefile.am: added support for html unit test coverage reports
29597 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29599 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29600 Free existing caps if the capsfilter changes. Add a FIXME about
29601 setting those caps on the pads.
29603 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29604 Before adding a ghost pad to a parent bin, check that there isn't
29605 already one for the element on the bin. Prevents infinite recursion
29606 when using decodebin in parse pipelines. Andy says he'll rewrite the
29607 way this works anyway, so ignore the hack.
29609 2005-06-02 Andy Wingo <wingo@pobox.com>
29611 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29612 file size, pass it on to the type find helper.
29614 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29615 segment_start and segment_end properly according to the seek
29616 method. Segment_end is still a bit flaky because offset can be
29617 negative for CUR and END cases, but it takes -1 as an "unset"
29620 2005-06-02 Wim Taymans <wim@fluendo.com>
29622 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29623 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29624 (gst_basesink_activate):
29625 * gst/base/gstbasesink.h:
29626 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29627 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29628 (gst_pad_query), (gst_pad_start_task):
29630 * gst/gstqueue.c: (gst_queue_bufferalloc),
29631 (gst_queue_handle_sink_event), (gst_queue_chain):
29632 Bufferalloc: return GstFlowReturn to more accuratly report
29633 why allocation failed.
29635 2005-06-02 Wim Taymans <wim@fluendo.com>
29637 * gst/gstpipeline.c: (gst_pipeline_send_event):
29638 Take snapshot of state without blocking.
29640 2005-06-02 Wim Taymans <wim@fluendo.com>
29642 * docs/design/part-TODO.txt:
29643 * docs/design/part-caps.txt:
29644 * docs/design/part-clocks.txt:
29645 * docs/design/part-negotiation.txt:
29646 * docs/design/part-preroll.txt:
29649 2005-05-30 Wim Taymans <wim@fluendo.com>
29651 * gst/elements/gstidentity.c: (gst_identity_event),
29652 (gst_identity_transform), (gst_identity_get_property):
29653 Protect last_message property as it is accessed from
29656 2005-05-30 Wim Taymans <wim@fluendo.com>
29658 * gst/gstelement.c: (gst_element_init),
29659 (gst_element_pads_activate), (gst_element_change_state):
29660 Slicker pad activation code.
29662 2005-05-30 Wim Taymans <wim@fluendo.com>
29665 * gst/gstelement.h:
29666 * gst/gstelementfactory.h:
29668 Move elementfactory methods to separate .h file.
29670 2005-05-30 Wim Taymans <wim@fluendo.com>
29672 * docs/design/part-overview.txt:
29673 * gst/gstsystemclock.h:
29674 Small typo fixes, doc updates.
29676 2005-05-30 Wim Taymans <wim@fluendo.com>
29678 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29679 (init_popt_callback):
29680 Remove cpu-opt flag.
29682 2005-05-30 Wim Taymans <wim@fluendo.com>
29684 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29685 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29687 Avoid typechecking in places where not needed.
29688 Added accessor for malloc_data.
29690 2005-05-30 Wim Taymans <wim@fluendo.com>
29692 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29693 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29694 (gst_pad_configure_sink), (gst_pad_configure_src),
29695 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29696 (gst_pad_start_task):
29697 Propagate errors from _set_caps() in configure_src/sink
29698 functions instead of returning TRUE.
29699 FLUSH events can travel up and downstream
29702 2005-05-30 Wim Taymans <wim@fluendo.com>
29704 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29705 (gst_basesink_activate):
29706 Handle EOS in preroll.
29708 2005-05-30 Wim Taymans <wim@fluendo.com>
29710 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29711 (gst_queue_loop), (gst_queue_handle_src_event):
29712 Remove old pieces of code
29713 Flushing the queue in an upstream event is a very bad idea.
29715 2005-05-26 Andy Wingo <wingo@pobox.com>
29717 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29718 gst_value_set_mini_object so as to add a ref on the object (which
29719 will be removed when the value is unset).
29721 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29722 arg type in ::handoff.
29724 * gst/gstelement.c (gst_element_change_state): Also deactivate
29725 pads in READY->NULL, just in case the element didn't make it to
29726 PAUSED. Wingo tested, Wim approved.
29728 2005-05-26 Wim Taymans <wim@fluendo.com>
29730 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29731 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29732 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29733 A flushing pad cannot be used to alloc_buffer from.
29735 2005-05-26 Wim Taymans <wim@fluendo.com>
29737 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29738 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29739 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29740 (gst_bus_create_watch), (gst_bus_add_watch_full):
29742 Implement a real GSource and use g_main_context_wakeup() to
29743 signal new messages instead of the socketpair.
29745 2005-05-25 Wim Taymans <wim@fluendo.com>
29747 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29748 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29749 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29750 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29751 (gst_pad_send_event), (gst_pad_start_task):
29752 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29753 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29754 (gst_queue_sink_activate), (gst_queue_src_activate),
29755 (gst_queue_change_state):
29757 Fix state changes for non sinks. We now change sinks, then elements
29758 with unconnected srcpads, then the rest.
29759 More efficient queue unlocking in flush and state changes.
29760 Set the pad activate mode even if it does not have an activate
29763 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29765 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29766 Don't go in pull mode for non-seekable sources.
29767 * gst/elements/gsttypefindelement.h:
29768 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29769 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29770 (free_entry), (stop_typefinding),
29771 (gst_type_find_element_handle_event), (find_peek),
29772 (gst_type_find_element_chain), (do_pull_typefind),
29773 (gst_type_find_element_change_state):
29774 Allow typefinding (w/o seeking) in push-mode, simplified version
29775 of what was in 0.8.
29776 * gst/gstutils.c: (gst_buffer_join):
29778 gst_buffer_join() from 0.8.
29780 2005-05-25 Wim Taymans <wim@fluendo.com>
29782 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29783 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29784 (gst_pad_send_event), (gst_pad_start_task):
29785 Disable attempt at mode switching until it is figured out.
29787 2005-05-25 Wim Taymans <wim@fluendo.com>
29789 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29790 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29791 (gst_basesink_finish_preroll), (gst_basesink_chain),
29792 (gst_basesink_loop), (gst_basesink_activate),
29793 (gst_basesink_change_state):
29794 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29795 (gst_basesrc_get_range), (gst_basesrc_loop),
29796 (gst_basesrc_activate):
29797 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29798 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29799 (gst_real_pad_init), (gst_real_pad_set_property),
29800 (gst_real_pad_get_property), (gst_pad_set_active),
29801 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29802 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29803 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29804 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29805 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29806 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29807 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29808 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29809 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29810 (gst_pad_stop_task):
29812 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29813 (gst_queue_loop), (gst_queue_src_activate):
29814 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29815 (gst_task_get_state):
29817 * gst/schedulers/threadscheduler.c:
29818 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29819 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29821 Remove ACTIVE pad flag, use FLUSHING everywhere
29822 Added _pad_chain(), _pad_get_range() to call chain/getrange
29824 Add locks around IS_FLUSHING when reading.
29825 Take STREAM lock in chain(), get_range() functions so plugins
29826 don't need to take it anymore.
29830 2005-05-25 Wim Taymans <wim@fluendo.com>
29832 * tools/gst-launch.c: (event_loop):
29833 Unref message after using its contents instead of
29836 2005-05-24 Wim Taymans <wim@fluendo.com>
29838 * docs/design/draft-ghostpads.txt:
29839 * docs/design/draft-push-pull.txt:
29840 * docs/design/draft-query.txt:
29841 * docs/design/part-overview.txt:
29842 Docs updates, added general overview doc.
29844 2005-05-21 David Schleef <ds@schleef.org>
29846 * docs/gst/tmpl/old/GstBin.sgml:
29847 * docs/gst/tmpl/old/GstBuffer.sgml:
29848 * docs/gst/tmpl/old/GstCaps.sgml:
29849 * docs/gst/tmpl/old/GstClock.sgml:
29850 * docs/gst/tmpl/old/GstCompat.sgml:
29851 * docs/gst/tmpl/old/GstData.sgml:
29852 * docs/gst/tmpl/old/GstElement.sgml:
29853 * docs/gst/tmpl/old/GstEvent.sgml:
29854 * docs/gst/tmpl/old/GstIndex.sgml:
29855 * docs/gst/tmpl/old/GstStructure.sgml:
29856 * docs/gst/tmpl/old/GstTag.sgml:
29857 * docs/gst/tmpl/old/cothreads.sgml:
29858 * docs/gst/tmpl/old/cothreads_compat.sgml:
29859 * docs/gst/tmpl/old/gettext.sgml:
29860 * docs/gst/tmpl/old/gobject2gtk.sgml:
29861 * docs/gst/tmpl/old/grammar.tab.sgml:
29862 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29863 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29864 * docs/gst/tmpl/old/gst_private.sgml:
29865 * docs/gst/tmpl/old/gstaggregator.sgml:
29866 * docs/gst/tmpl/old/gstarch.sgml:
29867 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29868 * docs/gst/tmpl/old/gstbufferstore.sgml:
29869 * docs/gst/tmpl/old/gstdata_private.sgml:
29870 * docs/gst/tmpl/old/gstdisksink.sgml:
29871 * docs/gst/tmpl/old/gstdisksrc.sgml:
29872 * docs/gst/tmpl/old/gstelementfactory.sgml:
29873 * docs/gst/tmpl/old/gstextratypes.sgml:
29874 * docs/gst/tmpl/old/gstfakesink.sgml:
29875 * docs/gst/tmpl/old/gstfakesrc.sgml:
29876 * docs/gst/tmpl/old/gstfdsink.sgml:
29877 * docs/gst/tmpl/old/gstfdsrc.sgml:
29878 * docs/gst/tmpl/old/gstfilesink.sgml:
29879 * docs/gst/tmpl/old/gstfilesrc.sgml:
29880 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29881 * docs/gst/tmpl/old/gstidentity.sgml:
29882 * docs/gst/tmpl/old/gstindexfactory.sgml:
29883 * docs/gst/tmpl/old/gstmarshal.sgml:
29884 * docs/gst/tmpl/old/gstmd5sink.sgml:
29885 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29886 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29887 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29888 * docs/gst/tmpl/old/gstpipefilter.sgml:
29889 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29890 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29891 * docs/gst/tmpl/old/gstshaper.sgml:
29892 * docs/gst/tmpl/old/gstspider.sgml:
29893 * docs/gst/tmpl/old/gstspideridentity.sgml:
29894 * docs/gst/tmpl/old/gststatistics.sgml:
29895 * docs/gst/tmpl/old/gsttee.sgml:
29896 * docs/gst/tmpl/old/gsttimecache.sgml:
29897 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29898 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29899 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29900 * docs/gst/tmpl/old/types.sgml:
29901 I didn't intend to add these or check them in.
29903 2005-05-19 David Schleef <ds@schleef.org>
29905 * configure.ac: Use -no-common everywhere. In a sane world, it
29906 would be the default in libtool, because without it, you can't
29907 build DLLs on Windows.
29908 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29909 * docs/gst/gstreamer-sections.txt:
29910 * docs/gst/tmpl/gstcpu.sgml:
29911 * docs/gst/tmpl/gstdata.sgml:
29912 * docs/gst/tmpl/gstthread.sgml:
29914 2005-05-19 David Schleef <ds@schleef.org>
29916 * gst/gstminiobject.c: (gst_value_set_mini_object),
29917 (gst_value_take_mini_object), (gst_value_get_mini_object):
29918 * gst/gstminiobject.h: Add GValue set/get functions.
29920 2005-05-19 Wim Taymans <wim@fluendo.com>
29922 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29923 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29924 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29926 * gst/gstbus.c: (gst_bus_post):
29927 * gst/gstelement.c: (gst_element_get_random_pad):
29928 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29929 Make subbufer unref the parent in finalize.
29930 some more debugging info.
29933 2005-05-19 Wim Taymans <wim@fluendo.com>
29935 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29936 (gst_basesink_init), (gst_basesink_finalize),
29937 (gst_basesink_activate), (gst_basesink_change_state):
29938 Don't free preroll queue too early.
29940 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29944 Hi, I'm outdated. Please shoot me.
29946 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29948 * gst/gstpipeline.c: (gst_pipeline_send_event):
29949 Do not access variables after they have been deleted.
29951 2005-05-19 Wim Taymans <wim@fluendo.com>
29953 * tools/gst-inspect.c: (print_plugin_features):
29954 A plugin feature does unfortunatly not use the
29957 2005-05-18 Wim Taymans <wim@fluendo.com>
29959 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29960 Port _span() functions to new subbuffers.
29962 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29964 * gst/gstbin.c: (gst_bin_add_func):
29965 Fix clock settery in bins when adding kids after the clock has
29968 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29970 * gst/elements/gstidentity.c: (gst_identity_class_init):
29971 Workaround until signals support GstMiniObject.
29973 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29976 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29978 2005-05-18 Wim Taymans <wim@fluendo.com>
29980 * gst/base/Makefile.am:
29981 * gst/base/gstadapter.c: (gst_adapter_base_init),
29982 (gst_adapter_class_init), (gst_adapter_init),
29983 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29984 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29985 (gst_adapter_flush), (gst_adapter_available),
29986 (gst_adapter_available_fast):
29987 * gst/base/gstadapter.h:
29988 Ported and added adapter to the base classes.
29990 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29993 * gst/gstmessage.c:
29994 Make sure the class is reffed/unreffed once before threads can be
29995 used. Fixes #304551.
29997 2005-05-17 Wim Taymans <wim@fluendo.com>
29999 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30000 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30001 * gst/gstminiobject.c: (gst_mini_object_get_type),
30002 (gst_mini_object_free):
30003 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30004 (gst_pad_push), (gst_pad_push_event):
30005 * gst/gstqueue.c: (gst_queue_change_state):
30006 Don't queue buffers in basesink when we are flushing.
30007 Unref buffer when flushing in basesink.
30008 Flush queue when going to READY
30009 Unref buffer when _push() returns an error.
30010 Don't free MiniObject instance when refcount is incremented
30011 in _finalize() so that we can recover objects.
30013 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30015 * docs/manual/advanced-schedulers.xml:
30016 * docs/manual/appendix-checklist.xml:
30017 * docs/pwg/advanced-clock.xml:
30018 * docs/pwg/advanced-interfaces.xml:
30019 * docs/pwg/advanced-request.xml:
30020 * docs/pwg/advanced-types.xml:
30021 * docs/pwg/intro-preface.xml:
30022 * examples/plugins/example.c: (gst_example_get_type),
30023 (gst_example_class_init), (gst_example_chain),
30024 (gst_example_set_property), (gst_example_get_property),
30025 (gst_example_change_state), (plugin_init):
30026 * examples/plugins/example.h:
30029 2005-05-17 Wim Taymans <wim@fluendo.com>
30031 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30032 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30033 * gst/gstqueue.c: (gst_queue_change_state):
30034 Clear queue when going to READY.
30035 Remove IN_SETCAPS flag too.
30037 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30039 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30040 Remove implicit cast from gboolean to GstElementStateReturn;
30041 make sure we still return failure in paused => ready case if
30042 the parent class fails to change state and our own stop
30045 2005-05-17 Wim Taymans <wim@fluendo.com>
30047 * tools/gst-launch.c: (event_loop):
30048 Message was unreffed too soon.
30050 2005-05-16 Andy Wingo <wingo@pobox.com>
30052 * gst/gstbin.c (sink_iterator_filter): Err... um...
30054 * check/gst/gstbin.c (test_ghost_pads): New test for the
30055 ghosting-if-elements-not-in-same-bin behavior.
30057 2005-05-16 David Schleef <ds@schleef.org>
30059 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30060 accessing refcount directly.
30062 2005-05-15 David Schleef <ds@schleef.org>
30064 * check/Makefile.am: remove GstData checks
30065 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30066 * gst/Makefile.am: add miniobject, remove data
30067 * gst/gst.h: add miniobject, remove data
30068 * gst/gstdata.c: remove
30069 * gst/gstdata.h: remove
30070 * gst/gstdata_private.h: remove
30071 * gst/gsttypes.h: remove GstEvent and GstMessage
30072 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30073 * gst/gstmarshal.list: change BOXED -> OBJECT
30075 Implement GstMiniObject.
30076 * gst/gstminiobject.c:
30077 * gst/gstminiobject.h:
30079 Modify to be subclasses of GstMiniObject.
30080 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30081 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30082 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30083 (gst_subbuffer_get_type), (gst_subbuffer_init),
30084 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30087 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30088 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30089 (_gst_event_copy), (gst_event_new):
30091 * gst/gstmessage.c: (_gst_message_initialize),
30092 (gst_message_get_type), (gst_message_class_init),
30093 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30094 (gst_message_new), (gst_message_new_error),
30095 (gst_message_new_warning), (gst_message_new_tag),
30096 (gst_message_new_state_changed), (gst_message_new_application):
30097 * gst/gstmessage.h:
30098 * gst/gstprobe.c: (gst_probe_perform),
30099 (gst_probe_dispatcher_dispatch):
30101 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30102 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30103 (_gst_query_copy), (gst_query_new):
30105 Update elements for GstData -> GstMiniObject changes
30107 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30108 (gst_queue_chain), (gst_queue_loop):
30109 * gst/elements/gstbufferstore.c:
30110 (gst_buffer_store_add_buffer_func),
30111 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30112 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30113 (gst_fakesink_render):
30114 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30115 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30116 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30117 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30118 (gst_filesrc_create_read):
30119 * gst/elements/gstidentity.c: (gst_identity_class_init):
30120 * gst/elements/gsttypefindelement.c:
30121 (gst_type_find_element_src_event), (free_entry_buffers),
30122 (gst_type_find_element_handle_event):
30123 * libs/gst/dataprotocol/dataprotocol.c:
30124 (gst_dp_header_from_buffer):
30125 * libs/gst/dataprotocol/dataprotocol.h:
30126 * libs/gst/dataprotocol/dp-private.h:
30128 2005-05-15 David Schleef <ds@schleef.org>
30130 * gst/elements/gstelements.c: Don't include headers that were
30133 2005-05-15 David Schleef <ds@schleef.org>
30135 * gst/elements/Makefile.am: Remove some elements that don't
30136 need to be in the core (or even exist at all).
30137 * gst/elements/gstaggregator.c:
30138 * gst/elements/gstaggregator.h:
30139 * gst/elements/gstmd5sink.c:
30140 * gst/elements/gstmd5sink.h:
30141 * gst/elements/gstmultifilesrc.c:
30142 * gst/elements/gstmultifilesrc.h:
30143 * gst/elements/gstpipefilter.c:
30144 * gst/elements/gstpipefilter.h:
30145 * gst/elements/gstshaper.c:
30146 * gst/elements/gstshaper.h:
30147 * gst/elements/gststatistics.c:
30148 * gst/elements/gststatistics.h:
30149 * po/POTFILES.in: Remove above files.
30151 2005-05-14 Andy Wingo <wingo@pobox.com>
30153 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30154 so as to get the refs right.
30155 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30156 unreffing objects that don't pass the filter.
30158 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30159 gst_element_set_bus.
30160 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30161 normal cases, this will destroy the bus.
30163 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30166 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30169 2005-05-13 Andy Wingo <wingo@pobox.com>
30171 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30172 gst_pad_link, call pad_link_maybe_ghosting,
30173 (pad_link_maybe_ghosting): Links pads, making sure that the
30174 elements being linked are in the same bin.
30175 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30176 Helpers for pad_link_maybe_ghosting.
30178 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30181 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30183 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30185 * docs/design/part-element-source.txt:
30188 2005-05-12 Wim Taymans <wim@fluendo.com>
30190 * gst/base/gstbasesink.c: (gst_basesink_init),
30191 (gst_basesink_activate):
30192 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30193 (gst_basesrc_is_seekable):
30194 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30195 (bin_element_is_sink), (gst_bin_change_state):
30196 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30197 * gst/gstelement.h:
30198 Identify sinks by their flag to avoid overly complicated
30200 Do state changes even for elements not reachable from the
30202 BaseSink is a sink now :)
30203 Some more debugging info in the basesrc.
30206 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30208 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30209 Implement _query on a bin, similar to _send_event.
30211 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30213 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30214 Discont event offset format should be GST_FORMAT_BYTES,
30215 not GST_FORMAT_TIME.
30217 2005-05-12 Wim Taymans <wim@fluendo.com>
30219 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30220 Same fix as Ronald's but without the signal.
30222 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30224 * gst/gstutils.c: (gst_element_query_position):
30225 No, an element is not a pad.
30227 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30229 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30230 (gst_bin_get_state):
30231 If a child is removed from a bin while we remove the child from
30232 the bin and while we're retrieving its state, signal this to the
30233 get_state function so we abort the wait (instead of waiting for
30234 a timeout) and can immediately re-iterate over all other elements.
30236 2005-05-12 Wim Taymans <wim@fluendo.com>
30238 * gst/base/Makefile.am:
30239 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30240 (gst_basesrc_start):
30241 * gst/base/gstbasesrc.h:
30242 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30243 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30244 (gst_pushsrc_init), (gst_pushsrc_create):
30245 * gst/base/gstpushsrc.h:
30246 Added is_seekable to BaseSrc
30247 Added simple PushSrc.
30249 2005-05-11 Wim Taymans <wim@fluendo.com>
30251 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30252 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30253 (gst_element_link_pads), (gst_element_query_position),
30254 (gst_element_query_convert), (intersect_caps_func),
30255 (gst_pad_query_position), (gst_pad_query_convert):
30256 Fix refcounting in utils function.
30257 No point in trying to activate a pad when it's added, it could
30258 be added from the state change function and then we deadlock, the
30259 element has to decide what to do.
30261 2005-05-10 Andy Wingo <wingo@pobox.com>
30263 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30264 *all* the arguments.
30266 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30267 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30268 lock (according to the docs -- if this is wrong change the docs).
30270 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30271 flush messages in the NULL state.
30273 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30274 message immediately and return.
30275 (gst_bus_set_flushing): New function. If a bus is flushing, it
30276 flushes out any queued messages and immediately unrefs new
30277 messages. This is so when an element goes to NULL, all of the
30278 unhandled messages coming from it can be freed, and their
30279 references to the element dropped. In other words: message source
30280 ref considered harmful :P
30282 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30283 we're finished with it.
30285 * gst/gstmessage.c (gst_message_new_state_changed):
30287 2005-05-10 Wim Taymans <wim@fluendo.com>
30289 * gst/gstvalue.c: (gst_value_compare_flags),
30290 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30291 (_gst_value_initialize):
30292 Added flags serialize/deserialize/compare code.
30294 2005-05-09 Andy Wingo <wingo@pobox.com>
30296 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30297 Intersect the peer's caps with our caps.
30299 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30301 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30302 * gst/elements/gsttypefindelement.c: (find_peek):
30303 Handle negative offsets better. Fixes decodebin.
30305 2005-05-09 Wim Taymans <wim@fluendo.com>
30307 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30308 (gst_base_transform_event):
30309 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30310 Implement accept_caps.
30311 Fix silly lock/unlock mismatch in base class.
30313 2005-05-09 Wim Taymans <wim@fluendo.com>
30315 * docs/design/draft-push-pull.txt:
30316 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30317 * gst/elements/gstfilesink.c: (gst_filesink_init),
30318 (gst_filesink_query):
30319 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30320 (gst_type_find_handle_src_query), (find_element_get_length):
30321 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30322 * gst/gstelement.h:
30323 * gst/gstmessage.c:
30324 * gst/gstmessage.h:
30325 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30326 (gst_real_pad_get_caps_unlocked),
30327 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30328 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30329 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30330 (gst_real_pad_dispose), (gst_real_pad_finalize),
30331 (gst_pad_load_and_link), (gst_pad_save_thyself),
30332 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30333 (gst_pad_check_pull_range), (gst_pad_pull_range),
30334 (gst_pad_template_get_type), (gst_pad_template_class_init),
30335 (gst_pad_template_init), (gst_pad_template_dispose),
30336 (name_is_valid), (gst_static_pad_template_get),
30337 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30338 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30339 (gst_pad_get_element_private), (gst_pad_start_task),
30340 (gst_pad_pause_task), (gst_pad_stop_task),
30341 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30342 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30343 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30344 (gst_ghost_pad_new):
30346 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30347 (gst_query_new_position), (gst_query_set_position),
30348 (gst_query_parse_position), (gst_query_new_convert),
30349 (gst_query_set_convert), (gst_query_parse_convert):
30351 * gst/gstqueryutils.c:
30352 * gst/gstqueryutils.h:
30353 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30354 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30355 (gst_queue_handle_src_query):
30356 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30357 (gst_element_query_position), (gst_element_query_convert),
30358 (intersect_caps_func), (gst_pad_query_position),
30359 (gst_pad_query_convert):
30361 * tools/gst-inspect.c: (print_pad_info):
30362 * tools/gst-xmlinspect.c: (print_element_info):
30363 Remove old query functions. Ported old code.
30364 Added position/convert helper functions to gstutils.
30365 Reordered gstpad.c code, grouping relevant things.
30366 Remove gst_message_new(), always need to speficy a specific
30370 2005-05-09 Andy Wingo <wingo@pobox.com>
30372 * gst/gstiterator.h: Add some includes.
30374 * gst/gstqueryutils.h: Include more headers.
30377 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30378 some uses of gst_pad_query.
30380 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30381 NULL out parameters.
30382 (gst_query_new_position): New proc, allocates a new position
30385 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30386 gstqueryutils.c to the build.
30388 * gst/gststructure.c (gst_structure_set_valist): Implement with
30389 the generic G_VALUE_COLLECT.
30391 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30393 * gst/Makefile.am: (gst_headers):
30394 Added gstqueryutils.h to the list of headers to install, that was
30395 a 'nachty' move wingo :)
30397 2005-05-06 Andy Wingo <wingo@pobox.com>
30400 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30401 GstData, init a memchunk.
30402 (standard_definitions): Add a few query types, deprecate a few.
30403 (gst_query_get_type): New proc.
30404 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30406 (gst_query_new_application, gst_query_get_structure): New public
30409 * docs/design/draft-query.txt: Removed LINKS from the query types,
30410 because all the rest can be dispatched to other pads -- seemed
30411 ugly to have a query that couldn't be dispatched. internal_links
30412 is fine as a pad method.
30414 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30415 in gstpad.c, but maintain binary compatibility for the moment.
30416 Will fix before 0.9 is out.
30418 * gst/gstqueryutils.c:
30419 * gst/gstqueryutils.h: New files, implement 3 methods for each
30420 query type: parse_query, parse_response, and set. Probably need an
30423 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30425 * gst/elements/gstfilesink.c (gst_filesink_query2):
30426 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30427 query_types, and formats methods.
30429 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30430 (gst_pad_set_query2_function): New functions.
30431 (gst_real_pad_init): Set query2_default as the default query2
30432 function. Basically just dispatches to internally linked pads.
30436 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30437 without using the atomic operations. Only one thread can possibly
30438 be accessing the data at this point. Changed so as to avoid
30439 gst_atomic operations.
30441 2005-05-06 Wim Taymans <wim@fluendo.com>
30443 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30444 Also set caps if we use the fallback buffer alloc.
30446 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30448 * docs/gst/Makefile.am:
30449 * docs/gst/gstreamer-docs.sgml:
30450 * docs/gst/gstreamer-sections.txt:
30451 * docs/gst/tmpl/gstatomic.sgml:
30452 * docs/gst/tmpl/gstmemchunk.sgml:
30453 * testsuite/elements/struct_i386.h:
30454 * win32/GStreamer.vcproj:
30456 Purge GstAtomic stuff from docs and win32 makefiles as well
30458 2005-05-06 Wim Taymans <wim@fluendo.com>
30460 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30461 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30462 * gst/gstpad.c: (gst_pad_peer_get_caps):
30463 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30464 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30465 (gst_queue_src_activate), (gst_queue_change_state):
30467 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30468 (intersect_caps_func):
30469 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30470 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30471 Some fixes for the peer_get_caps() change.
30473 2005-05-06 Wim Taymans <wim@fluendo.com>
30475 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30476 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30477 (gst_basesink_activate):
30478 Actually do something with error codes returned from the push
30481 2005-05-06 Wim Taymans <wim@fluendo.com>
30483 * docs/design/part-element-sink.txt:
30484 * docs/design/part-element-source.txt:
30485 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30486 (gst_basesink_event), (gst_basesink_activate):
30487 * gst/base/gstbasesink.h:
30488 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30489 (gst_basesrc_activate):
30490 * gst/base/gstbasesrc.h:
30491 * gst/gstelement.c: (gst_element_pads_activate):
30492 Some more documentation.
30493 Fixed scheduling decision in _pads_activate().
30495 2005-05-05 Andy Wingo <wingo@pobox.com>
30497 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30500 2005-05-05 Wim Taymans <wim@fluendo.com>
30502 * gst/base/Makefile.am:
30503 * gst/base/gstbasesink.h:
30504 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30505 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30506 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30507 (gst_collectpads_class_init), (gst_collectpads_init),
30508 (gst_collectpads_finalize), (gst_collectpads_new),
30509 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30510 (find_pad), (gst_collectpads_remove_pad),
30511 (gst_collectpads_is_active), (gst_collectpads_collect),
30512 (gst_collectpads_collect_range), (gst_collectpads_start),
30513 (gst_collectpads_stop), (gst_collectpads_peek),
30514 (gst_collectpads_pop), (gst_collectpads_available),
30515 (gst_collectpads_read), (gst_collectpads_flush),
30516 (gst_collectpads_chain):
30517 * gst/base/gstcollectpads.h:
30518 * gst/elements/Makefile.am:
30519 * gst/elements/gstelements.c:
30520 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30521 (gst_fakesink_get_times), (gst_fakesink_event),
30522 (gst_fakesink_preroll), (gst_fakesink_render):
30523 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30524 (gst_filesink_init), (gst_filesink_set_location),
30525 (gst_filesink_open_file), (gst_filesink_close_file),
30526 (gst_filesink_pad_query), (gst_filesink_event),
30527 (gst_filesink_render), (gst_filesink_change_state):
30528 * gst/elements/gstfilesink.h:
30529 Added object to help in making collect pad based elements.
30531 Make event function in sink baseclass return gboolean.
30533 2005-05-05 Wim Taymans <wim@fluendo.com>
30535 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30536 (gst_bin_get_by_name):
30538 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30539 (gst_clock_finalize):
30540 * gst/gstdata.c: (gst_data_replace):
30542 * gst/gstelement.c: (gst_element_request_pad),
30543 (gst_element_pads_activate):
30544 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30545 (gst_object_unref):
30546 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30547 (gst_pad_set_checkgetrange_function),
30548 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30549 (gst_pad_check_pull_range), (gst_pad_pull_range),
30550 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30551 (gst_pad_pause_task), (gst_pad_stop_task):
30552 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30553 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30554 Fix name lookup in GstBin.
30555 Added _data_replace() function and _buffer_replace()
30556 Use finalize method to clean up clock.
30557 Fix refcounting on request pads.
30558 Fix pad schedule mode error.
30559 Some more object refcounting debug info,
30562 2005-05-04 Andy Wingo <wingo@pobox.com>
30564 * check/Makefile.am:
30565 * docs/gst/tmpl/gstatomic.sgml:
30566 * docs/gst/tmpl/gstplugin.sgml:
30567 * gst/base/gstbasesink.c: (gst_basesink_activate):
30568 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30569 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30570 (gst_basesrc_query), (gst_basesrc_set_property),
30571 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30572 (gst_basesrc_activate):
30573 * gst/base/gstbasesrc.h:
30574 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30575 (gst_base_transform_src_activate):
30576 * gst/elements/gstelements.c:
30577 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30578 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30579 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30580 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30581 (gst_type_find_element_checkgetrange),
30582 (gst_type_find_element_activate):
30583 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30584 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30585 (gst_caps_load_thyself):
30586 * gst/gstelement.c: (gst_element_pads_activate),
30587 (gst_element_save_thyself), (gst_element_restore_thyself):
30588 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30589 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30591 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30592 (gst_xml_parse_file), (gst_xml_parse_memory),
30593 (gst_xml_get_element), (gst_xml_make_element):
30594 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30595 (_file_index_id_save_xml), (gst_file_index_commit):
30596 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30597 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30599 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30600 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30601 * tools/gst-complete.c: (main):
30602 * tools/gst-compprep.c: (main):
30603 * tools/gst-inspect.c: (print_element_properties_info):
30604 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30605 * tools/gst-xmlinspect.c: (print_element_properties):
30608 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30610 * gst/gstplugin.c: (gst_plugin_check_module),
30611 (gst_plugin_check_file), (gst_plugin_load_file):
30612 apply patch from #172526 to make register work on MacOSX
30614 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30616 * docs/gst/tmpl/gstconfig.sgml:
30617 * gst/gstconfig.h.in:
30618 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30619 * testsuite/debug/printf_extension.c: (main):
30620 Do not use GST_PTR_FORMAT on pointers to types with
30621 sizeof < sizeof(gpointer). Fixes test on 64-bit
30622 * testsuite/elements/property.h:
30623 use correct printf format
30625 2005-05-02 Wim Taymans <wim@fluendo.com>
30627 * docs/design/draft-push-pull.txt:
30628 * docs/design/draft-query.txt:
30629 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30630 (gst_basesrc_start):
30631 Added draft for new query API.
30632 Added draft for better selecting scheduling methods.
30633 Make basesrc ignore length if the subclass does not support
30636 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30639 possible fixes for automake-1.5 - _LIBADD is reserved
30641 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30643 * docs/faq/Makefile.am:
30644 * docs/manual/Makefile.am:
30645 * docs/manuals.mak:
30646 * docs/pwg/Makefile.am:
30648 possible fixes for automake-1.5
30650 2005-04-28 Wim Taymans <wim@fluendo.com>
30652 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30653 (gst_basesink_pad_getcaps), (gst_basesink_init),
30654 (gst_basesink_do_sync):
30655 * gst/gstclock.c: (gst_clock_entry_new):
30656 * gst/gstevent.c: (gst_event_discont_get_value):
30657 * gst/gstpipeline.c: (pipeline_bus_handler),
30658 (gst_pipeline_change_state):
30659 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30660 Better debugging of clocking info.
30661 Allow NULL values when getting discont values.
30663 2005-04-27 Wim Taymans <wim@fluendo.com>
30665 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30666 * check/gst/gstpad.c: (gst_pad_suite):
30667 Increase timeout for checks.
30669 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30671 * check/Makefile.am:
30672 fix the broken rule for cleanup. Apparently this rule is
30673 only needed on FC2, so maybe this warrants further autotool
30676 2005-04-26 Wim Taymans <wim@fluendo.com>
30678 * gst/gsttrashstack.h:
30679 Ooohh. a nasty one! After having a failed pop() from the stack,
30680 it's possible that the stack is empty. In that case, don't
30681 follow the NULL pointer.
30683 2005-04-25 Wim Taymans <wim@fluendo.com>
30685 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30686 (gst_pad_set_checkgetrange_function),
30687 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30688 (gst_pad_check_pull_range), (gst_pad_pull_range),
30689 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30690 (gst_pad_pause_task), (gst_pad_stop_task):
30691 * gst/gstplugin.c: (gst_plugin_load):
30693 Remove gst_library_load as it does more harm than good with
30694 the new g_module flags.
30695 Revert bogus caps template check in pad linking, pad caps
30696 are important when linking not the template, which is more
30697 general than the current caps.
30699 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30701 * gst/autoplug/.cvsignore:
30702 * gst/autoplug/Makefile.am:
30703 * gst/autoplug/gstsearchfuncs.c:
30704 * gst/autoplug/gstsearchfuncs.h:
30705 * gst/autoplug/gstspider.c:
30706 * gst/autoplug/gstspider.h:
30707 * gst/autoplug/gstspideridentity.c:
30708 * gst/autoplug/gstspideridentity.h:
30709 * gst/autoplug/spidertest.c:
30712 2005-04-25 Wim Taymans <wim@fluendo.com>
30714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30715 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30716 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30717 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30719 Added stubs for unimplemented functions.
30721 2005-04-24 David Schleef <ds@schleef.org>
30723 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30726 2005-04-24 David Schleef <ds@schleef.org>
30728 Convert everything from GstAtomicInt to g_atomic_int_*, and
30733 * gst/gstatomic_impl.h:
30741 * gst/gstdata_private.h:
30745 * gst/gstmessage.c:
30748 * gst/gststructure.c:
30749 * gst/gststructure.h:
30750 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30753 2005-04-24 David Schleef <ds@schleef.org>
30755 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30756 make the regressions tests work. Remove some code that is no
30758 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30759 Disable warning for pads without templates.
30761 2005-04-24 David Schleef <ds@schleef.org>
30763 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30764 functions that handle filtered links.
30765 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30767 * gst/gstutils.c: Fix/remove utility functions that handle
30770 * gst/gstvalue.c: Add serialization/deserialization of caps
30771 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30772 requires fixing so that the filter caps notation creates
30773 a capsfilter element and sets the filter_caps property. I
30774 think everyone probably wants to keep the shorthand notation.
30775 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30776 * docs/gst/tmpl/gstpad.sgml:
30778 * gst/elements/gstelements.c: Register capsfilter element.
30779 * gst/Makefile.am: fix spacing
30780 * docs/random/ds/0.9-suggested-changes: random
30782 2005-04-23 David Schleef <ds@schleef.org>
30784 * gst/elements/Makefile.am:
30785 * gst/elements/gstcapsfilter.c: New element that acts like an
30786 identity, but filters caps. Will eventually replace filtered
30787 caps in pad linking.
30788 * gst/gstutils.c: (gst_element_create_all_pads): New function
30789 to create all the ALWAYS pads that are registered with an
30790 element class. This functionality should eventually be
30791 merged in with GstElement initialization.
30793 * testsuite/trigger/README: part of trigger test code that should
30794 have been checked in a long time ago.
30796 2005-04-23 David Schleef <ds@schleef.org>
30798 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30799 needed with new versions of libtool (nobody will confirm this),
30800 and hard to carry around.
30801 * gst/autoplug/Makefile.am:
30802 * gst/base/Makefile.am:
30803 * gst/elements/Makefile.am:
30804 * gst/indexers/Makefile.am:
30805 * gst/schedulers/Makefile.am:
30806 * libs/gst/bytestream/Makefile.am:
30807 * libs/gst/control/Makefile.am:
30808 * libs/gst/dataprotocol/Makefile.am:
30809 * libs/gst/getbits/Makefile.am:
30811 2005-04-21 Wim Taymans <wim@fluendo.com>
30813 * docs/design/draft-push-pull.txt:
30814 * docs/design/part-MT-refcounting.txt:
30815 * docs/design/part-TODO.txt:
30816 * docs/design/part-caps.txt:
30817 * docs/design/part-events.txt:
30818 * docs/design/part-gstbus.txt:
30819 * docs/design/part-gstpipeline.txt:
30820 * docs/design/part-messages.txt:
30821 * docs/design/part-push-pull.txt:
30822 * docs/design/part-query.txt:
30825 2005-04-21 Wim Taymans <wim@fluendo.com>
30827 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30828 (gst_message_new), (gst_message_new_error),
30829 (gst_message_new_warning), (gst_message_new_tag),
30830 (gst_message_new_state_changed), (gst_message_new_application),
30831 (gst_message_get_structure):
30832 * gst/gstmessage.h:
30833 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30834 (gst_structure_copy_conditional):
30835 Use parent refcount in GstMessage to ensure GstStructure
30837 Cleaned up headers a bit.
30840 2005-04-20 Wim Taymans <wim@fluendo.com>
30842 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30843 (gst_basesink_pad_getcaps), (gst_basesink_init),
30844 (gst_basesink_chain_unlocked):
30845 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30846 (gst_type_find_helper):
30847 * gst/elements/gsttypefindelement.c:
30848 (gst_type_find_element_have_type), (gst_type_find_element_init),
30849 (stop_typefinding), (gst_type_find_element_handle_event),
30850 (find_suggest), (gst_type_find_element_chain),
30851 (gst_type_find_element_checkgetrange),
30852 (gst_type_find_element_getrange), (do_typefind),
30853 (gst_type_find_element_activate):
30854 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30855 (gst_buffer_default_free), (gst_buffer_default_copy),
30856 (gst_buffer_set_caps):
30857 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30858 (gst_caps_replace):
30859 * gst/gstmessage.c: (gst_message_new),
30860 (gst_message_new_state_changed):
30861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30862 (gst_pad_set_checkgetrange_function),
30863 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30864 (gst_pad_set_caps), (gst_pad_check_pull_range),
30865 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30867 * gst/gsttypefind.c: (gst_type_find_register):
30868 Make gst_caps_replace() work like other _replace() functions.
30869 Use _caps_replace() where possible.
30870 Make sure _message_new() initialises its field.
30871 Add gst_static_pad_template_get_caps()
30874 2005-04-18 Andy Wingo <wingo@pobox.com>
30876 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30877 on the peer, not the pad. I think that was a typo. Pass an extra
30878 arg to see if random access is possible. Activate the pads as
30879 PULL_RANGE if possible.
30881 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30883 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30884 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30887 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30889 * docs/faq/using.xml:
30890 Add note on gstreamer-properties (#154996).
30892 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30894 * docs/random/bbb/optional-properties:
30895 Some analysis on optional properties.
30897 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30899 * docs/gst/tmpl/gstelementfactory.sgml:
30900 * gst/gstelement.h:
30901 * gst/gstelementfactory.c: (gst_element_factory_init),
30902 (gst_element_factory_cleanup), (gst_element_register),
30903 (__gst_element_factory_add_static_pad_template),
30904 (gst_element_factory_get_static_pad_templates),
30905 (gst_element_factory_can_src_caps),
30906 (gst_element_factory_can_sink_caps):
30907 * gst/registries/Makefile.am:
30908 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30909 (gst_xml_registry_class_init), (gst_xml_registry_init),
30910 (gst_xml_registry_new), (gst_xml_registry_set_property),
30911 (gst_xml_registry_get_property), (get_time), (make_dir),
30912 (gst_xml_registry_get_perms_func),
30913 (plugin_times_older_than_recurse), (plugin_times_older_than),
30914 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30915 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30916 (add_to_char_array), (read_string), (read_uint), (read_enum),
30917 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30918 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30919 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30920 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30921 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30922 (gst_xml_registry_rebuild):
30923 * gst/registries/gstlibxmlregistry.h:
30924 * tools/gst-compprep.c: (main):
30925 * tools/gst-inspect.c: (print_pad_templates_info):
30926 * tools/gst-xmlinspect.c: (print_element_info):
30927 Use libxml2 for registry parsing, use staticpadtemplates in
30928 elementfactories. Makes gst_init() +/- 10x faster.
30930 2005-04-12 Wim Taymans <wim@fluendo.com>
30932 * gst/base/Makefile.am:
30933 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30934 (gst_basesink_pad_getcaps), (gst_basesink_init),
30935 (gst_basesink_event), (gst_basesink_change_state):
30936 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30937 (gst_basesrc_init), (gst_basesrc_query),
30938 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30939 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30940 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30941 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30942 (gst_basesrc_stop), (gst_basesrc_activate),
30943 (gst_basesrc_change_state):
30944 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30945 (helper_find_suggest), (gst_type_find_helper):
30946 * gst/base/gsttypefindhelper.h:
30947 * gst/elements/Makefile.am:
30948 * gst/elements/gstelements.c:
30949 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30950 (gst_fakesink_get_times), (gst_fakesink_event),
30951 (gst_fakesink_preroll), (gst_fakesink_render):
30952 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30953 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30954 (gst_fakesrc_get_property), (gst_fakesrc_create),
30955 (gst_fakesrc_start), (gst_fakesrc_stop):
30956 * gst/elements/gstfakesrc.h:
30957 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30958 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30959 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30960 (gst_filesrc_create_read), (gst_filesrc_create),
30961 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30962 (gst_filesrc_start):
30963 * gst/elements/gsttypefindelement.c:
30964 (gst_type_find_element_have_type), (gst_type_find_element_init),
30965 (start_typefinding), (stop_typefinding), (push_buffer_store),
30966 (gst_type_find_element_handle_event),
30967 (gst_type_find_element_chain),
30968 (gst_type_find_element_checkgetrange),
30969 (gst_type_find_element_getrange), (do_typefind),
30970 (gst_type_find_element_activate),
30971 (gst_type_find_element_change_state):
30972 * gst/elements/gsttypefindelement.h:
30973 * gst/gstpipeline.c: (pipeline_bus_handler):
30974 Added typefind helper.
30975 Small preroll fix in the base sink.
30976 Disable typefind code in basesrc.
30977 Crude port of typefindelement.
30981 2005-04-11 Wim Taymans <wim@fluendo.com>
30983 * check/gst/gstbus.c: (gstbus_suite):
30984 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30985 * check/gstcheck.h:
30986 Fix up the timeout so that the test does not fail.
30988 2005-04-06 Wim Taymans <wim@fluendo.com>
30991 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30992 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30993 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30994 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30995 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30996 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30997 (gst_basesrc_stop), (gst_basesrc_activate),
30998 (gst_basesrc_change_state), (basesrc_find_peek),
30999 (basesrc_find_suggest), (gst_basesrc_type_find):
31000 * gst/base/gstbasesrc.h:
31001 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31002 (gst_filesrc_class_init), (gst_filesrc_init),
31003 (gst_filesrc_finalize), (gst_filesrc_set_location),
31004 (gst_filesrc_set_property), (gst_filesrc_get_property),
31005 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31006 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31007 (gst_filesrc_create_read), (gst_filesrc_create),
31008 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31009 * gst/elements/gstfilesrc.h:
31010 * gst/gstelement.c: (gst_element_get_state_func),
31011 (gst_element_lost_state), (gst_element_pads_activate):
31012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31013 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31014 (gst_pad_pull_range):
31016 More work on the generic source base class, implement seeking,
31018 Make filesrc extend the base source class.
31019 Added gst_pad_set_checkgetrange_function to GstPad.
31021 2005-04-06 Andy Wingo <wingo@pobox.com>
31023 * pkgconfig/gstreamer-base.pc.in:
31024 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31026 * pkgconfig/Makefile.am:
31027 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31029 2005-04-04 Wim Taymans <wim@fluendo.com>
31031 * gst/base/Makefile.am:
31033 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31034 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31035 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31036 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31037 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31038 (gst_basesrc_base_init), (gst_basesrc_class_init),
31039 (gst_basesrc_init), (gst_basesrc_get_formats),
31040 (gst_basesrc_get_query_types), (gst_basesrc_query),
31041 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31042 (gst_basesrc_set_property), (gst_basesrc_get_property),
31043 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31044 (gst_basesrc_loop), (gst_basesrc_activate),
31045 (gst_basesrc_change_state):
31046 * gst/base/gstbasesrc.h:
31047 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31048 (gst_fakesrc_class_init), (gst_fakesrc_init),
31049 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31050 (gst_fakesrc_get_property), (gst_fakesrc_create):
31051 * gst/elements/gstfakesrc.h:
31052 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31053 (gst_filesrc_open_file), (gst_filesrc_loop),
31054 (gst_filesrc_activate), (filesrc_find_peek),
31055 (gst_filesrc_type_find):
31056 Made base source class, make fakesrc extend it.
31057 Add comments to basesink class.
31058 Some filesrc cleanup.
31060 2005-03-31 David Schleef <ds@schleef.org>
31062 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31063 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31064 expected to link against libgstreamer.
31065 * gst/base/Makefile.am: link against libgstreamer
31066 * gst/elements/Makefile.am: same
31068 2005-03-31 Andy Wingo <wingo@pobox.com>
31070 * tests/instantiate/Makefile.am:
31071 * tests/instantiate/caps.c: Add test to test speed of caps copy
31074 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31075 GMemChunk to be fair.
31077 * gst/gsttrashstack.h: Remove warning about using the fallback
31078 trash stack implementation, it's still faster than malloc.
31080 2005-03-30 Andy Wingo <wingo@pobox.com>
31082 * tests/complexity.c: Add a copyright.
31084 2005-03-31 Wim Taymans <wim@fluendo.com>
31086 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31087 (gst_base_transform_class_init), (gst_base_transform_init),
31088 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31089 (gst_base_transform_get_property),
31090 (gst_base_transform_sink_activate),
31091 (gst_base_transform_src_activate),
31092 (gst_base_transform_change_state):
31093 * gst/base/gstbasetransform.h:
31094 * gst/elements/gstidentity.c: (gst_identity_class_init),
31095 (gst_identity_event), (gst_identity_check_perfect),
31096 (gst_identity_transform), (gst_identity_start),
31097 (gst_identity_stop):
31098 Added start/stop methods to transform base class so subclasses
31099 don't need to deal with state changes even.
31101 2005-03-31 Wim Taymans <wim@fluendo.com>
31103 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31104 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31106 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31107 (gst_pad_pull_range):
31108 Added rate to the discont event to prepare for variable speed
31109 and reverse playback.
31111 2005-03-29 David Schleef <ds@schleef.org>
31114 * testsuite/trigger/Makefile.am:
31115 * testsuite/trigger/trigger.c: A little example program to show
31116 how trigger-based elements can work.
31118 2005-03-29 Wim Taymans <wim@fluendo.com>
31120 * gst/base/Makefile.am:
31122 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31123 (gst_basesink_base_init), (gst_basesink_class_init),
31124 (gst_basesink_pad_getcaps), (gst_basesink_init),
31125 (gst_basesink_activate), (gst_basesink_change_state):
31126 * gst/base/gstbasesink.h:
31127 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31128 (gst_base_transform_base_init), (gst_base_transform_finalize),
31129 (gst_base_transform_class_init), (gst_base_transform_init),
31130 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31131 (gst_base_transform_event), (gst_base_transform_getrange),
31132 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31133 (gst_base_transform_set_property),
31134 (gst_base_transform_get_property),
31135 (gst_base_transform_sink_activate),
31136 (gst_base_transform_src_activate),
31137 (gst_base_transform_change_state):
31138 * gst/base/gstbasetransform.h:
31139 * gst/elements/gstidentity.c: (gst_identity_finalize),
31140 (gst_identity_class_init), (gst_identity_init),
31141 (gst_identity_event), (gst_identity_check_perfect),
31142 (gst_identity_transform), (gst_identity_set_property),
31143 (gst_identity_get_property), (gst_identity_change_state):
31144 * gst/elements/gstidentity.h:
31145 * gst/gstelement.c: (gst_element_get_state_func),
31146 (gst_element_lost_state), (gst_element_pads_activate):
31147 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31148 (gst_pad_check_pull_range), (gst_pad_pull_range):
31150 Simplify pad activation.
31151 Added function to check if pull_range can be performed.
31152 Error out when pulling inactive or flushing pads.
31153 Removed const from refcounted types as it does not make sense.
31154 Simplify pad templates in basesink
31155 Added base class for simple 1-to-1 transforms.
31156 Make identity subclass the base transform.
31158 2005-03-29 Andy Wingo <wingo@pobox.com>
31160 * docs/libs/gstreamer-libs-overrides.txt:
31161 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31162 really don't understand what's going on, but like whatever. I want
31165 * docs/gst/Makefile.am:
31166 * docs/libs/Makefile.am: Dist the overrides files.
31168 * check/Makefile.am (clean-local): Remove .libs directories.
31170 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31171 elements to EXTRA_DIST, so po/ files are happy.
31173 * po/POTFILES.in: Er, remove it here.
31175 * po/POTFILES: Remove gstspider.c.
31177 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31179 * docs/libs/gstreamer-libs-docs.sgml:
31180 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31183 * tests/complexity.c (main): Set the length of the preroll queue
31184 on the sinks to prevent a lockup.
31186 * libs/gst/dataprotocol/Makefile.am:
31187 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31188 the same as the one in check/gst-libs/gdp.c.
31190 * po/, docs/gst/: Commit automatic changes to docs and po files.
31192 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31193 the versioned libgstbase.
31195 * check/Makefile.am: Depend on an unversioned gst-register, seems
31196 to make autoconf happier.
31198 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31200 2005-03-28 Wim Taymans <wim@fluendo.com>
31203 * docs/design/part-gstelement.txt:
31204 * docs/design/part-negotiation.txt:
31205 * docs/design/part-preroll.txt:
31206 * docs/design/part-scheduling.txt:
31207 * docs/design/part-states.txt:
31209 * gst/base/Makefile.am:
31211 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31212 (gst_basesink_base_init), (gst_basesink_class_init),
31213 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31214 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31215 (gst_basesink_set_pad_functions),
31216 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31217 (gst_basesink_set_property), (gst_basesink_get_property),
31218 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31219 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31220 (gst_basesink_preroll_queue_push),
31221 (gst_basesink_preroll_queue_empty),
31222 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31223 (gst_basesink_event), (gst_basesink_get_times),
31224 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31225 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31226 (gst_basesink_loop), (gst_basesink_activate),
31227 (gst_basesink_change_state):
31228 * gst/base/gstbasesink.h:
31229 * gst/elements/Makefile.am:
31230 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31231 (gst_fakesink_class_init), (gst_fakesink_init),
31232 (gst_fakesink_set_property), (gst_fakesink_get_property),
31233 (gst_fakesink_get_times), (gst_fakesink_event),
31234 (gst_fakesink_preroll), (gst_fakesink_render),
31235 (gst_fakesink_change_state):
31236 * gst/elements/gstfakesink.h:
31237 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31238 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31239 * gst/gstelement.c: (gst_element_add_pad),
31240 (gst_element_get_state_func), (gst_element_abort_state),
31241 (gst_element_commit_state), (gst_element_lost_state),
31242 (gst_element_set_state), (gst_element_pads_activate):
31243 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31244 * gst/gstpipeline.c: (gst_pipeline_send_event),
31245 (gst_pipeline_change_state):
31246 Added state change code.
31247 Added/updated docs.
31248 Added sink base class, make fakesink extend the base class.
31249 Small cleanups in GstPipeline.
31251 2005-03-26 David Schleef <ds@schleef.org>
31253 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31254 is broken and should be implemented in a different library.
31255 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31256 * gst/gst.h: remove gstcpu.h
31257 * gst/gstcpu.c: remove
31258 * gst/gstcpu.h: remove
31259 * gst/Makefile.am.future: Remove this file. It's ancient.
31261 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31264 (gst_bin_send_event):
31265 Add default event/set_manager handlers. The set_manager handler
31266 takes care that the manager is distributed over kids that were
31267 already in the bin before the manager was set. The event handler
31268 is a utility virtual function that sends the event over all sinks,
31269 so that gst_element_send_event (bin, event); has the expected
31271 * gst/gstpad.c: (gst_pad_event_default):
31272 Re-install default event handling for discontinuities, so that
31273 seeking works without requiring hacks in applications or extra
31275 * gst/gstpipeline.c: (gst_pipeline_class_init),
31276 (gst_pipeline_send_event):
31277 Half hack, half utility: set a pipeline to PAUSED for seek events,
31278 since that is the only way we can guarantee a/v sync. Means that
31279 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31280 and it "just works".
31282 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31284 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31285 Lock/unlock mismatch.
31287 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31289 * docs/faq/gst-uninstalled:
31290 add gst-plugins-base
31291 * docs/gst/Makefile.am:
31292 don't error out until docs are fixed
31293 * docs/gst/gstreamer.types:
31296 2005-03-22 Wim Taymans <wim@fluendo.com>
31298 * check/Makefile.am:
31299 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31300 * gst/gststructure.c: (gst_structure_set_valist),
31301 (gst_structure_copy_conditional):
31302 Activated more tests.
31303 Added message test.
31304 Added G_TYPE_POINTER to GstStructure.
31307 2005-03-22 Wim Taymans <wim@fluendo.com>
31309 * docs/design/part-TODO.txt:
31310 * docs/design/part-events.txt:
31311 * docs/design/part-gstbin.txt:
31312 * docs/design/part-gstbus.txt:
31313 * docs/design/part-gstpipeline.txt:
31314 * docs/design/part-messages.txt:
31316 * gst/gstmessage.c:
31319 2005-03-21 Wim Taymans <wim@fluendo.com>
31321 * gst/gstbus.c: (gst_bus_post):
31322 Fix copy-and-paste error.
31324 2005-03-21 Wim Taymans <wim@fluendo.com>
31326 * check/Makefile.am:
31328 * gst/elements/Makefile.am:
31329 * gst/elements/gstelements.c:
31330 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31331 (gst_fakesink_event), (gst_fakesink_chain):
31332 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31333 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31334 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31335 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31336 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31337 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31338 (gst_fakesrc_loop), (gst_fakesrc_activate),
31339 (gst_fakesrc_change_state):
31340 * gst/elements/gstfakesrc.h:
31341 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31342 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31343 (gst_filesrc_open_file), (gst_filesrc_loop),
31344 (gst_filesrc_activate), (gst_filesrc_change_state),
31345 (filesrc_find_peek), (filesrc_find_suggest),
31346 (gst_filesrc_type_find):
31347 * gst/elements/gstidentity.c: (gst_identity_finalize),
31348 (gst_identity_class_init), (gst_identity_init),
31349 (gst_identity_proxy_getcaps), (identity_queue_push),
31350 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31351 (gst_identity_getrange), (gst_identity_chain),
31352 (gst_identity_sink_loop), (gst_identity_src_loop),
31353 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31354 (gst_identity_set_property), (gst_identity_get_property),
31355 (gst_identity_change_state):
31356 * gst/elements/gstidentity.h:
31357 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31358 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31359 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31360 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31361 (gst_tee_sink_activate):
31362 * gst/elements/gsttee.h:
31363 * gst/gst.c: (gst_register_core_elements), (init_post):
31365 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31366 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31367 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31368 (gst_bin_change_state):
31370 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31371 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31372 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31373 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31374 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31375 (bus_watch_callback), (bus_watch_destroy),
31376 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31377 (poll_timeout), (gst_bus_poll):
31381 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31382 (gst_element_post_message), (gst_element_message_full),
31383 (gst_element_get_state_func), (gst_element_get_state),
31384 (gst_element_abort_state), (gst_element_commit_state),
31385 (gst_element_lost_state), (gst_element_set_state),
31386 (gst_element_pads_activate), (gst_element_change_state),
31387 (gst_element_dispose), (gst_element_set_manager_func),
31388 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31389 (gst_element_set_manager), (gst_element_get_manager),
31390 (gst_element_set_bus), (gst_element_get_bus),
31391 (gst_element_set_scheduler), (gst_element_get_scheduler):
31392 * gst/gstelement.h:
31393 * gst/gstevent.c: (gst_event_new_segment_seek),
31394 (gst_event_new_flush):
31396 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31397 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31398 (gst_message_new_eos), (gst_message_new_error),
31399 (gst_message_new_warning), (gst_message_new_tag),
31400 (gst_message_new_state_changed), (gst_message_new_application),
31401 (gst_message_get_structure), (gst_message_parse_tag),
31402 (gst_message_parse_state_changed), (gst_message_parse_error),
31403 (gst_message_parse_warning):
31404 * gst/gstmessage.h:
31405 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31406 (gst_real_pad_set_property), (gst_pad_set_active),
31407 (gst_pad_is_active), (gst_pad_set_blocked_async),
31408 (gst_pad_set_blocked), (gst_pad_is_blocked),
31409 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31410 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31411 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31412 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31413 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31414 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31415 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31416 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31417 (gst_pad_set_caps), (gst_pad_configure_sink),
31418 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31419 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31420 (gst_real_pad_dispose), (gst_real_pad_finalize),
31421 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31422 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31423 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31425 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31426 (pipeline_bus_handler), (gst_pipeline_change_state),
31427 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31428 * gst/gstpipeline.h:
31430 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31431 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31432 (gst_queue_link_src), (gst_queue_bufferalloc),
31433 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31434 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31435 (gst_queue_loop), (gst_queue_handle_src_event),
31436 (gst_queue_handle_src_query), (gst_queue_src_activate),
31437 (gst_queue_change_state):
31439 * gst/gstscheduler.c: (gst_scheduler_init),
31440 (gst_scheduler_dispose), (gst_scheduler_create_task),
31441 (gst_scheduler_factory_create):
31442 * gst/gstscheduler.h:
31443 * gst/gststructure.c: (gst_structure_get_type),
31444 (gst_structure_copy_conditional):
31445 * gst/gststructure.h:
31446 * gst/gsttaginterface.h:
31447 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31448 (gst_task_init), (gst_task_dispose), (gst_task_create),
31449 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31455 * gst/schedulers/Makefile.am:
31456 * gst/schedulers/cothreads_compat.h:
31457 * gst/schedulers/entryscheduler.c:
31458 * gst/schedulers/faircothreads.c:
31459 * gst/schedulers/faircothreads.h:
31460 * gst/schedulers/fairscheduler.c:
31461 * gst/schedulers/gstbasicscheduler.c:
31462 * gst/schedulers/gstoptimalscheduler.c:
31463 * gst/schedulers/gthread-cothreads.h:
31464 * gst/schedulers/threadscheduler.c:
31465 (gst_thread_scheduler_task_get_type),
31466 (gst_thread_scheduler_task_class_init),
31467 (gst_thread_scheduler_task_init),
31468 (gst_thread_scheduler_task_start),
31469 (gst_thread_scheduler_task_stop),
31470 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31471 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31472 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31473 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31475 * libs/gst/Makefile.am:
31476 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31477 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31478 (gst_file_pad_parent_set):
31479 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31480 (gst_dp_event_from_packet):
31481 * tests/complexity.c: (main):
31482 * tests/mass_elements.c: (main):
31483 * testsuite/states/locked.c: (message_received), (main):
31484 * testsuite/states/parent.c: (main):
31485 * tools/gst-inspect.c: (print_element_flag_info),
31486 (print_implementation_info), (print_pad_info):
31487 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31489 * tools/gst-md5sum.c: (event_loop), (main):
31490 * tools/gst-typefind.c: (main):
31491 * tools/gst-xmlinspect.c: (print_element_info):
31493 Added GstBus for mainloop integration.
31494 Added GstMessage for sending notifications on the bus.
31495 Added GstTask as an abstraction for pipeline entry points.
31497 Removed Schedulers.
31498 Simplified GstQueue for multithreaded core.
31499 Made _link threadsafe, removed old capsnego.
31500 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31501 Added pad blocking functions.
31502 Reworked scheduling functions in GstPad to prepare for
31503 scheduling updates soon.
31504 Moved events out of data stream.
31505 Simplified GstEvent types.
31506 Added return values to push/pull.
31507 Removed clocking from GstElement.
31508 Added prototypes for state change function for next merge.
31509 Removed iterate from bins and state change management.
31510 Fixed some elements, disabled others for now.
31511 Fixed -inspect and -launch.
31512 Added check for GstBus.
31514 2005-03-10 Wim Taymans <wim@fluendo.com>
31516 * docs/design/part-MT-refcounting.txt:
31517 * docs/design/part-clocks.txt:
31518 * docs/design/part-gstelement.txt:
31519 * docs/design/part-gstobject.txt:
31520 * docs/design/part-standards.txt:
31521 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31522 (gst_bin_remove_func), (gst_bin_remove):
31526 * testsuite/clock/clock1.c: (main):
31527 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31529 * testsuite/dlopen/loadgst.c: (do_test):
31530 * testsuite/refcounting/bin.c: (add_remove_test1),
31531 (add_remove_test2), (main):
31532 * testsuite/refcounting/element.c: (main):
31533 * testsuite/refcounting/element_pad.c: (main):
31534 * testsuite/refcounting/pad.c: (main):
31535 * tools/gst-launch.c: (sigint_handler_sighandler):
31536 * tools/gst-typefind.c: (main):
31538 Added doc about clock.
31539 removed gst_bin_iterate_recurse_up(), marked methods
31541 Fix more testsuites.
31543 2005-03-09 Wim Taymans <wim@fluendo.com>
31545 * gst/gstpad.c: (gst_pad_get_direction),
31546 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31547 (gst_pad_collect_valist):
31548 * testsuite/bins/interface.c: (main):
31549 * testsuite/caps/audioscale.c: (test_caps):
31550 * testsuite/caps/caps.c: (test1), (test2), (test3):
31551 * testsuite/caps/deserialize.c: (main):
31552 * testsuite/caps/enumcaps.c: (main):
31553 * testsuite/caps/filtercaps.c: (main):
31554 * testsuite/caps/intersect2.c: (main):
31555 * testsuite/caps/random.c: (main):
31556 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31557 * testsuite/caps/sets.c: (check_caps):
31558 * testsuite/caps/simplify.c: (check_caps), (main):
31559 * testsuite/caps/subtract.c: (check_caps):
31560 Fix _pad_get_direction wrt ghostpads.
31561 Fix caps testsuite.
31563 2005-03-09 Wim Taymans <wim@fluendo.com>
31565 * check/Makefile.am:
31566 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31567 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31568 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31569 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31570 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31571 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31572 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31573 (bin_element_is_sink), (gst_bin_iterate_sinks),
31574 (gst_bin_iterate_all_by_interface):
31576 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31577 (gst_element_change_state), (gst_element_dispose),
31578 (gst_element_finalize), (gst_element_set_loop_function):
31579 * gst/gstelement.h:
31580 * gst/gstiterator.c: (find_custom_fold_func):
31581 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31582 (gst_pad_collectv), (gst_pad_collect_valist),
31583 (gst_pad_template_new):
31584 * gst/gstpipeline.c: (gst_pipeline_class_init),
31585 (gst_pipeline_dispose), (gst_pipeline_set_property),
31586 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31587 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31588 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31590 * gst/schedulers/entryscheduler.c:
31591 * gst/schedulers/gstbasicscheduler.c:
31592 (gst_basic_scheduler_cothreaded_chain),
31593 (gst_basic_scheduler_chain_add_element):
31594 * testsuite/bins/interface.c: (main):
31596 Added GstSystemClock test.
31597 Implemented clock distribution code in GstBin.
31598 Implemented iterate sinks method for future use.
31599 Rearranged gstelement.h
31600 Fix GstIterator comparison bug.
31601 Moved some code to GstPipeline, mostly clocking related.
31603 2005-03-09 Wim Taymans <wim@fluendo.com>
31606 * gst/gst_private.h:
31607 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31608 (gst_bin_remove_func), (gst_bin_remove),
31609 (gst_bin_get_by_name_recurse_up):
31610 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31611 (gst_clock_id_compare_func), (gst_clock_id_wait),
31612 (gst_clock_id_wait_async), (gst_clock_init),
31613 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31614 * gst/gstelement.h:
31615 * gst/gstinfo.c: (_gst_debug_init):
31617 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31618 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31620 Bump version number, we're now 0.9.0
31621 Add future debugging category.
31622 Fix NULL _unref() in _get_by_name_recurse_up
31623 Rearrange gstpad.h.
31626 2005-03-08 Wim Taymans <wim@fluendo.com>
31628 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31629 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31630 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31631 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31632 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31633 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31634 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31635 * gst/elements/gstidentity.c: (gst_identity_class_init):
31636 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31637 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31638 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31639 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31640 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31642 * gst/gstelement.c: (gst_element_class_init),
31643 (gst_element_base_class_init), (gst_element_init),
31644 (gst_element_get_random_pad), (gst_element_wait_state_change),
31645 (gst_element_change_state), (gst_element_dispose),
31646 (gst_element_finalize), (gst_element_set_loop_function):
31647 * gst/gstelement.h:
31648 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31649 * gst/gstthread.c: (gst_thread_class_init),
31650 (gst_thread_release_children_locks), (gst_thread_change_state):
31651 * gst/schedulers/gstbasicscheduler.c:
31652 (gst_basic_scheduler_loopfunc_wrapper),
31653 (gst_basic_scheduler_chain_wrapper),
31654 (gst_basic_scheduler_src_wrapper),
31655 (gst_basic_scheduler_remove_element):
31656 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31657 Remove threadsafe properties. Fix elements because GObject
31658 complains when installing a property before declaring a
31659 set/get_property handler.
31660 Rearrange gstelement.h file, use STATE macros for state locks.
31661 Free mutexes in the finalize method instead of dispose.
31663 2005-03-08 Wim Taymans <wim@fluendo.com>
31665 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31666 * gst/gstthread.c: (gst_thread_release_children_locks):
31667 Added parentage check.
31668 Fix build og GstThread again.
31670 2005-03-08 Wim Taymans <wim@fluendo.com>
31672 * docs/design/part-MT-refcounting.txt:
31673 * docs/design/part-conventions.txt:
31674 * docs/design/part-gstobject.txt:
31675 * docs/design/part-relations.txt:
31676 * docs/design/part-standards.txt:
31677 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31678 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31679 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31680 (gst_bin_iterate_all_by_interface):
31683 * gst/gstelement.c: (gst_element_class_init),
31684 (gst_element_change_state), (gst_element_set_loop_function):
31685 * gst/gstelement.h:
31686 * gst/gstiterator.c:
31687 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31688 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31689 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31690 (gst_object_set_parent), (gst_object_unparent),
31691 (gst_object_check_uniqueness):
31693 Docs updates, clean up some headers.
31695 2005-03-07 Wim Taymans <wim@fluendo.com>
31697 * check/.cvsignore:
31698 * check/Makefile.am:
31699 * check/gst-libs/.cvsignore:
31700 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31701 * check/gst/.cvsignore:
31702 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31703 (START_TEST), (gstbus_suite), (main):
31704 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31705 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31706 (gst_data_suite), (main):
31707 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31708 (add_fold_func), (gstiterator_suite), (main):
31709 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31710 (thread_name_object), (thread_name_object_default),
31711 (gst_object_name_compare), (gst_object_suite), (main):
31712 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31713 (gst_pad_suite), (main):
31714 * check/gstcheck.c: (gst_check_log_message_func),
31715 (gst_check_log_critical_func), (gst_check_init):
31716 * check/gstcheck.h:
31717 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31718 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31721 2005-03-07 Wim Taymans <wim@fluendo.com>
31723 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31724 (gst_list_iterator_next), (gst_list_iterator_resync),
31725 (gst_list_iterator_free), (gst_iterator_new_list),
31726 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31727 (gst_iterator_free), (gst_iterator_push), (filter_next),
31728 (filter_resync), (filter_uninit), (filter_free),
31729 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31730 (gst_iterator_foreach), (find_custom_fold_func),
31731 (gst_iterator_find_custom):
31732 * gst/gstiterator.h:
31733 Added missing files.
31735 2005-03-07 Wim Taymans <wim@fluendo.com>
31739 * docs/design/part-MT-refcounting.txt:
31740 * docs/design/part-conventions.txt:
31741 * docs/design/part-gstobject.txt:
31742 * docs/design/part-relations.txt:
31743 * examples/mixer/mixer.c: (main):
31744 * examples/thread/thread.c: (eos), (main):
31746 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31747 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31748 (gst_spider_plug_from_srcpad):
31749 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31750 (gst_spider_identity_change_state),
31751 (gst_spider_identity_sink_loop_type_finding):
31752 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31753 * gst/elements/gstidentity.c: (gst_identity_init):
31754 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31755 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31756 * gst/elements/gsttypefindelement.c: (free_entry):
31759 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31760 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31761 (gst_bin_set_index), (gst_bin_set_element_sched),
31762 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31763 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31764 (gst_bin_iterate_elements), (iterate_child_recurse),
31765 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31766 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31767 (compare_interface), (gst_bin_get_by_interface),
31768 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31770 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31771 (gst_buffer_default_free), (gst_buffer_default_copy),
31772 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31773 (gst_buffer_create_sub):
31775 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31776 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31777 (gst_caps_unref), (gst_static_caps_get),
31778 (gst_caps_remove_and_get_structure), (gst_caps_append),
31779 (gst_caps_append_structure), (gst_caps_remove_structure),
31780 (gst_caps_copy_nth), (gst_caps_set_simple),
31781 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31782 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31783 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31784 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31785 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31786 (gst_caps_structure_figure_out_union),
31787 (gst_caps_switch_structures), (gst_caps_do_simplify),
31788 (gst_caps_replace), (gst_caps_from_string),
31789 (gst_caps_copy_conditional):
31791 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31792 (_gst_clock_id_free), (gst_clock_id_unref),
31793 (gst_clock_id_compare_func), (gst_clock_id_wait),
31794 (gst_clock_id_wait_async), (gst_clock_class_init),
31795 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31796 (gst_clock_get_time), (gst_clock_set_time_adjust),
31797 (gst_clock_set_property), (gst_clock_get_property):
31800 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31801 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31803 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31804 (gst_element_requires_clock), (gst_element_provides_clock),
31805 (gst_element_set_clock), (gst_element_clock_wait),
31806 (gst_element_wait), (gst_element_set_time_delay),
31807 (gst_element_is_indexable), (gst_element_add_pad),
31808 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31809 (pad_compare_name), (gst_element_get_static_pad),
31810 (gst_element_request_pad), (gst_element_get_request_pad),
31811 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31812 (gst_element_class_get_pad_template_list),
31813 (gst_element_class_get_pad_template), (gst_element_error_func),
31814 (gst_element_get_random_pad), (gst_element_get_event_masks),
31815 (gst_element_send_event), (gst_element_seek),
31816 (gst_element_get_query_types), (gst_element_query),
31817 (gst_element_get_formats), (gst_element_convert),
31818 (gst_element_is_locked_state), (gst_element_set_locked_state),
31819 (gst_element_sync_state_with_parent), (gst_element_change_state),
31820 (gst_element_finalize), (gst_element_yield),
31821 (gst_element_interrupt), (gst_element_set_scheduler),
31822 (gst_element_get_scheduler), (gst_element_set_loop_function):
31823 * gst/gstelement.h:
31825 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31826 (gst_format_get_by_nick), (gst_format_get_details),
31827 (gst_format_iterate_definitions):
31829 * gst/gstindex.c: (gst_index_gtype_resolver):
31832 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31833 (gst_mem_chunk_free):
31834 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31835 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31836 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31837 (gst_object_dispatch_properties_changed),
31838 (gst_object_set_name_default), (gst_object_set_name),
31839 (gst_object_get_name), (gst_object_set_name_prefix),
31840 (gst_object_get_name_prefix), (gst_object_set_parent),
31841 (gst_object_get_parent), (gst_object_unparent),
31842 (gst_object_check_uniqueness), (gst_object_save_thyself),
31843 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31844 (gst_object_set_property), (gst_object_get_property),
31845 (gst_object_get_path_string):
31847 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31848 (gst_real_pad_init), (gst_real_pad_get_property),
31849 (gst_pad_custom_new), (gst_pad_get_direction),
31850 (gst_pad_set_active), (gst_pad_is_active),
31851 (gst_pad_set_event_function), (gst_pad_is_linked),
31852 (gst_pad_link_free), (gst_pad_link_intersect),
31853 (gst_pad_link_fixate), (gst_pad_set_caps),
31854 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31855 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31856 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31857 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31858 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31859 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31860 (gst_pad_realize), (gst_pad_get_allowed_caps),
31861 (gst_real_pad_dispose), (gst_real_pad_finalize),
31862 (gst_pad_collectv), (gst_pad_collect_valist),
31863 (gst_pad_template_dispose), (gst_pad_template_new),
31864 (gst_pad_get_internal_links):
31866 * gst/gstpipeline.c: (gst_pipeline_dispose),
31867 (gst_pipeline_change_state):
31868 * gst/gstpipeline.h:
31870 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31871 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31872 * gst/gstpluginfeature.h:
31873 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31874 * gst/gstquery.c: (_gst_query_type_initialize),
31875 (gst_query_type_register), (gst_query_type_get_by_nick),
31876 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31878 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31879 * gst/gstscheduler.c: (gst_scheduler_add_element),
31880 (gst_scheduler_factory_create):
31881 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31882 (gst_structure_free), (gst_structure_set_name),
31883 (gst_structure_id_set_value), (gst_structure_set_value),
31884 (gst_structure_set_valist), (gst_structure_remove_field),
31885 (gst_structure_remove_fields),
31886 (gst_structure_remove_fields_valist),
31887 (gst_structure_remove_all_fields), (gst_structure_foreach),
31888 (gst_structure_map_in_place),
31889 (gst_caps_structure_fixate_field_nearest_int),
31890 (gst_caps_structure_fixate_field_nearest_double):
31891 * gst/gststructure.h:
31892 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31893 (gst_system_clock_init), (gst_system_clock_dispose),
31894 (gst_system_clock_async_thread),
31895 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31896 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31897 * gst/gstsystemclock.h:
31898 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31899 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31900 * gst/gsttaginterface.c:
31901 * gst/gstthread.c: (gst_thread_dispose),
31902 (gst_thread_release_children_locks), (gst_thread_change_state),
31903 (gst_thread_main_loop):
31904 * gst/gsttrashstack.h:
31905 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31907 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31908 (gst_element_request_pad), (gst_element_get_pad_from_template),
31909 (gst_element_request_compatible_pad),
31910 (gst_element_get_compatible_pad_filtered),
31911 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31912 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31913 (gst_element_link_many), (gst_element_link),
31914 (gst_element_link_pads), (gst_element_unlink_pads),
31915 (gst_element_unlink_many), (gst_element_unlink),
31916 (gst_pad_can_link_filtered), (gst_pad_can_link),
31917 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31918 (gst_object_default_error), (gst_bin_add_many),
31919 (gst_bin_remove_many), (gst_element_populate_std_props),
31920 (gst_element_class_install_std_props), (gst_buffer_merge),
31921 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31922 (link_fold_func), (gst_pad_proxy_setcaps):
31924 * gst/gstvalue.c: (gst_value_deserialize_string):
31925 * gst/parse/grammar.y:
31926 * gst/schedulers/gstbasicscheduler.c:
31927 (gst_basic_scheduler_cothreaded_chain),
31928 (gst_basic_scheduler_chain_recursive_add),
31929 (gst_basic_scheduler_pad_link):
31930 * gst/schedulers/gstoptimalscheduler.c:
31931 (get_group_schedule_function),
31932 (gst_opt_scheduler_state_transition),
31933 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31934 * libs/gst/bytestream/bytestream.c:
31935 * libs/gst/dataprotocol/dataprotocol.c:
31936 (gst_dp_header_from_buffer):
31939 * tests/threadstate/threadstate2.c: (eos):
31940 * tools/gst-compprep.c: (main):
31941 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31942 (print_pad_info), (print_children_info):
31943 * tools/gst-launch.c: (idle_func), (main):
31944 * tools/gst-md5sum.c: (idle_func), (main):
31945 * tools/gst-xmlinspect.c: (print_element_info):
31946 First THREADED backport attempt, focusing on adding locks and
31947 making sure the API is threadsafe. Needs more work. More docs
31950 2005-02-24 Andy Wingo <wingo@pobox.com>
31952 * tests/bench-complexity.scm:
31953 * tests/complexity.gnuplot: New files, good for running complexity
31956 * tests/Makefile.am:
31957 * tests/complexity.c: New test, sets up N elements, at each level
31958 teeing into M streams per element. Eeeenteresting.
31960 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31961 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31962 running bench-mass_elements.scm.
31964 * tests/bench-mass_elements.scm: New script, runs mass_elements
31965 for various numbers of identities, outputting the results to a
31966 file. Requires guile 1.6. Just for testing.
31968 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31970 * gst/schedulers/fairscheduler.c:
31971 compile with debug disabled
31973 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31976 hunting season on 0.9 is now OPEN