1 2008-06-20 Stefan Kost <ensonic@users.sf.net>
3 * libs/gst/controller/gstinterpolation.c:
4 * libs/gst/controller/gstinterpolationcontrolsource.c:
5 * tests/check/libs/controller.c:
6 Rewrite handling of default values. Fix overflow with unsigned types
7 in linear interpolation. Remove now obsolete _first_value() function.
8 Add more tests. Fixes #538201.
10 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
12 * libs/gst/base/gstbasetransform.c:
13 (gst_base_transform_class_init), (gst_base_transform_init),
14 (gst_base_transform_transform_caps),
15 (gst_base_transform_prepare_output_buffer):
17 When a buffer is writable, its metadata is also writable so we don't
18 need to subbuffer (which then makes the buffer not-writable anymore).
20 === release 0.10.20 ===
22 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
25 releasing 0.10.20, "You Crazy Diamond"
27 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
32 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
36 Rename DATADIR to GST_DATADIR to avoid build problems
37 on win32. Patch By: David Schleef <ds@schleef.org>
40 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
43 Explicitely link with -ldl if dladdr() is found there. Before it was
44 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
45 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
47 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
49 * gst/gsterror.c: (_gst_stream_errors_init):
50 Fix typo (spotted by Fabricio Godoy, #536723).
52 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
57 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
59 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
60 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
62 Make sure we don't generate invalid QoS messages.
64 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
66 * gst/gstevent.c: (gst_event_new_qos):
67 Add some assert and docs for invalid input to the qos function.
69 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
71 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
72 (gst_base_sink_get_position):
73 The reported position must always be smaller than the last seen
74 timestamps (or timestamp + duration for reverse).
76 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
78 Patch by: Rob Bradford <rob at robster dot org dot uk>
80 * gst/gstregistry.c: (gst_registry_scan_path_level):
81 Don't recurse into .debug directories as some distros install
82 the debugging symbols next to the plugins in .debug directories
83 and dlopen() crashes on them sometimes. Fixes bug #508070.
85 Add FIXME for 0.11 to not recurse into directories at all because
86 it's very inconsistent to the behaviour of other PATH environment
89 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
91 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
92 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
93 Fix position query range checks in reverse playback.
95 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
99 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
100 clear of the reference to the resulting pad must be released later
101 or not, resulting in possible leaks. Fixes bug #533865.
103 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
105 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
107 * gst/gstelementfactory.c:
108 Small doc fix. Fixes #535285.
110 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
112 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
114 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
115 (gst_base_src_get_range), (gst_base_src_pad_get_range),
116 (gst_base_src_loop), (gst_base_src_set_flushing),
117 (gst_base_src_change_state):
118 Make sending an EOS event to the basesrc non-blocking even if the
119 implementation does blocking waits in the create function. This is done
120 by unlocking the create function when EOS is sent.
123 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
125 * tools/gst-inspect.c: (print_element_properties_info):
126 If possible print the element type of GValueArray properties.
128 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
131 Remove an unused field from the private GstListIterator struct.
133 2008-05-27 Stefan Kost <ensonic@users.sf.net>
135 * libs/gst/controller/gstcontroller.c:
136 Add parameter guards.
138 2008-05-27 Stefan Kost <ensonic@users.sf.net>
140 * tests/check/gst/gstpipeline.c:
141 Revert test change and add comment why it should not work.
143 2008-05-27 Stefan Kost <ensonic@users.sf.net>
145 * tests/check/gst/gstpipeline.c:
146 Extending the test a little to verify that we also get the NULL state-
149 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
151 * gst/gstpreset.c: (gst_preset_default_get_meta),
152 (gst_preset_get_preset_names), (gst_preset_get_property_names),
153 (gst_preset_load_preset), (gst_preset_save_preset),
154 (gst_preset_rename_preset), (gst_preset_delete_preset),
155 (gst_preset_set_meta):
156 Add Since: markers to docs blurbs.
158 * win32/common/libgstreamer.def:
159 Add recently-added API.
161 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
163 Patch by: Stefan Kost <ensonic@users.sf.net>
166 Add DATADIR for storing presets.
168 * docs/gst/gstreamer-docs.sgml:
169 * docs/gst/gstreamer-sections.txt:
170 * docs/gst/gstreamer.types.in:
171 Add GstPreset to docs.
175 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
176 (preset_open_and_parse_header), (preset_parse_version),
177 (preset_merge), (preset_get_keyfile),
178 (gst_preset_default_get_preset_names),
179 (gst_preset_default_get_property_names),
180 (gst_preset_default_load_preset),
181 (gst_preset_default_save_presets_file),
182 (gst_preset_default_save_preset),
183 (gst_preset_default_rename_preset),
184 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
185 (gst_preset_default_get_meta), (gst_preset_default_randomize),
186 (gst_preset_default_reset), (gst_preset_get_preset_names),
187 (gst_preset_get_property_names), (gst_preset_load_preset),
188 (gst_preset_save_preset), (gst_preset_rename_preset),
189 (gst_preset_delete_preset), (gst_preset_set_meta),
190 (gst_preset_get_meta), (gst_preset_class_init),
191 (gst_preset_base_init), (gst_preset_get_type):
193 Add GstPreset to core. Fixes #396779
195 * tests/check/Makefile.am:
196 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
197 (gst_preset_test_set_property), (gst_preset_test_class_init),
198 (gst_preset_test_base_init), (gst_preset_test_get_type),
199 (gst_preset_test_plugin_init), (GST_START_TEST),
200 (remove_preset_file), (test_setup), (test_teardown),
202 Add GstPreset unit tests.
204 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
206 * gst/gstpad.c: (gst_pad_event_default_dispatch):
207 The default event function on a sinkpad should return TRUE when
208 there are no internal links but should collect the return values from
209 the internal links otherwise.
211 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
213 * plugins/elements/gsttypefindelement.c:
214 (gst_type_find_element_src_event),
215 (gst_type_find_element_handle_event):
216 Use faster and safer _pad_push_event().
218 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
220 * docs/gst/gstreamer-sections.txt:
221 * gst/gstutils.c: (element_find_unlinked_pad),
222 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
224 API: add gst_bin_find_unlinked_pad()
225 API: deprecate gst_bin_find_unconnected_pad() (#401456)
227 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
233 Fixed a bunch of typos.
235 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
238 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
239 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
240 (gst_parse_bin_from_description_full):
242 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
244 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
246 * docs/pwg/advanced-tagging.xml:
247 Small docs update, can't be bothered to rewrite the nonsensical
250 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
253 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
255 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
257 * gst/parse/grammar.y:
258 Remove unneeded casts.
260 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
262 * gst/parse/grammar.y:
263 * tests/check/pipelines/parse-launch.c:
264 Get all missing elements from a parse launch string if possible
265 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
267 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
269 * tests/check/Makefile.am:
270 * tests/check/pipelines/parse-launch.c:
271 Add some unit tests for the new gst_parse_launch*_full() API.
272 (Exposes a previously-existing memory leak in the error code
273 path, so adding to VALGRIND_TO_FIX for now).
275 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
277 * docs/gst/gstreamer-sections.txt:
278 * gst/gst.c: (init_post):
279 * gst/gst_private.h: (_GstParseContext):
280 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
281 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
282 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
283 (gst_parse_launch_full):
284 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
285 (GstParseFlags), (GstParseContext):
286 * gst/gstutils.c: (gst_parse_bin_from_description),
287 (gst_parse_bin_from_description_full):
289 * gst/parse/grammar.y:
291 * win32/common/libgstreamer.def:
292 Add new gst_parse_*_full API (#528178):
293 API: gst_parse_launch_full()
294 API: gst_parse_launchv_full()
295 API: gst_parse_bin_from_description_full()
296 API: gst_parse_context_new()
297 API: gst_parse_context_free()
298 API: gst_parse_context_get_missing_elements()
300 2008-05-23 Stefan Kost <ensonic@users.sf.net>
302 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
304 * docs/faq/gst-uninstalled:
305 Also support ffmpeg in gst-uninstalled.
307 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
310 After discussion on IRC use the binary registry as default
311 but allow to disable it with --disable-binary-registry.
313 * win32/common/libgstreamer.def:
314 Add the two new symbols for the binary registry.
316 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
318 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
319 * gst/gstutils.c: (gst_parse_bin_from_description):
320 * gst/parse/grammar.y: (graph):
321 More guards against bad input; typo fix; some minor clean-ups.
323 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
325 Patch by: Sjoerd Simons <sjoerd at luon dot net>
327 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
328 If nothing else can be used, use the last buffer's start time as
329 the segment's last stop. Fixes bug #534258.
331 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
333 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
334 Move size sanity check to the right place: downstream may return
335 a buffer with a smaller size if the buffer caps are different than
336 the requested ones, as may happen when doing reverse negotiation.
338 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
340 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
341 (gst_file_sink_render):
342 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
343 (gst_file_src_start):
344 Small cleanups. Add note adbout g_fopen() on windows and why we don't
347 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
349 * gst/gstpad.c: (gst_pad_load_and_link):
350 * gst/gstutils.c: (gst_element_link_pads),
351 (gst_element_unlink_pads):
352 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
353 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
354 (gst_check_teardown_sink_pad),
355 (gst_check_element_push_buffer_list):
356 * tests/check/elements/fakesink.c: (GST_START_TEST):
357 * tests/check/elements/filesink.c:
358 * tests/check/elements/filesrc.c: (GST_START_TEST):
359 * tests/check/elements/multiqueue.c: (setup_multiqueue),
360 (mq_sinkpad_to_srcpad):
361 * tests/check/elements/tee.c: (GST_START_TEST):
362 * tests/check/generic/sinks.c: (GST_START_TEST):
363 * tests/check/gst/gstbin.c: (GST_START_TEST):
364 * tests/check/gst/gstevent.c: (GST_START_TEST):
365 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
366 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
367 * tests/check/gst/gstquery.c: (GST_START_TEST):
368 * tests/check/gst/gstutils.c: (GST_START_TEST):
369 * tests/check/libs/basesrc.c: (GST_START_TEST):
370 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
371 (gst_parse_test_element_change_state):
372 Don't use gst_element_get_pad().
374 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
377 Fix installing plugin documentation when gtk-doc is disabled.
379 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
381 * docs/manual/advanced-autoplugging.xml:
382 * docs/manual/basics-helloworld.xml:
383 * docs/manual/basics-pads.xml:
384 * docs/manual/highlevel-components.xml:
385 Avoid using a bad function in the example code.
387 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
389 * gst/gstclock.c: (gst_clock_set_calibration):
390 Fix debug of the new clock rate.
392 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
394 * win32/common/libgstbase.def:
395 Add gst_base_sink_wait_clock() to the exported symbols.
397 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
399 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
401 * libs/gst/base/gstbasetransform.c:
402 (gst_base_transform_sink_event):
403 Unref events that the GstBaseTransform::event vfunc didn't want to
404 have forwarded by the base class. Closes a leak in identity.
407 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
409 * docs/libs/gstreamer-libs-sections.txt:
410 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
411 * libs/gst/base/gstbasesink.h:
412 Expose a method that was previously used internally to synchronize
413 against the clock because it can be useful for subclasses too.
414 API: GstBaseSink::gst_base_sink_wait_clock()
416 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
418 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
419 Add sanity check to make sure we don't get smaller buffers
420 than requested (and fallback to normal buffer alloc if we do).
422 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
424 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
425 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
426 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
427 Refactor adjusting the running_time with latency and offset into a
429 When doing clipping, we still want to use the subclass get_times method,
430 just in case the DURATION or TIMESTAMP are not set.
432 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
434 * docs/gst/gstreamer-sections.txt:
435 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
437 * win32/common/libgstreamer.def:
438 API: add gst_type_find_suggest_simple(), #533740.
440 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
442 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
443 Use right error code when typefinding fails, so we can use
444 the default (translated) error messages.
446 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
448 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
449 (gst_base_src_start):
450 When the subclass did not set caps on outgoing buffers, configure the
451 caps we negotiated on the source pad.
452 When the typefind helper does not find caps, error out properly instead
453 of doing things with NULL caps.
455 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
458 Tabs to spaces, oh yes!
460 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
462 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
463 Add David's and Benjamin's tests for array intersection to the
464 unit test suite (#147931).
466 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
469 Document that gst_event_new_tag() and gst_event_new_navigation()
470 take ownership of the taglist/structure passed to them. (#533635).
472 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
475 Don't descend into the plugins dir if plugin docs building
479 Add a note about the new type:GTypeName syntax for the plugin
480 documentation .types file.
482 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
484 * gst/gstmessage.c: (gst_message_new_error),
485 (gst_message_new_warning), (gst_message_new_info):
487 Mark the debug string parameters as const. Fixes bug #533490.
489 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
491 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
492 Sort buffer cache list by end offsets. This makes sure that we don't
493 stop to search for a cached buffer that contains the requested data
495 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
496 more efficient. Fixes bug #459862.
498 2008-05-14 Stefan Kost <ensonic@users.sf.net>
501 Explain why we copy the list.
507 Add one debug-log statement to help tracing probelms with linking pads.
509 2008-05-12 Stefan Kost <ensonic@users.sf.net>
511 * tests/check/gst/gstinfo.c:
512 Add a test for removing the default log handler. Seems to fail under
515 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
517 * gst/gstpad.c: (gst_pad_peer_accept_caps):
518 Release pad lock before calling out to avoid a possible deadlock.
520 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
522 * gst/parse/grammar.y:
523 Remove unneeded value unset.
525 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
526 Add unit test for de/serialization of caps.
528 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
530 * plugins/elements/gstfakesink.c:
531 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
532 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
533 (gst_fake_src_class_init):
534 Use custom marshalers that take GstMiniObject as first parameter.
535 Using OBJECT as parameter while a GstMiniObject is given will lead
536 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
538 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
540 * plugins/elements/gsttypefindelement.c:
541 (gst_type_find_element_handle_event),
542 (gst_type_find_element_send_cached_events),
543 (gst_type_find_element_change_state):
544 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
547 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
549 * plugins/elements/gsttypefindelement.c:
550 (gst_type_find_handle_src_query), (stop_typefinding),
551 (gst_type_find_element_handle_event),
552 (gst_type_find_element_send_cached_events),
553 (gst_type_find_element_change_state):
554 Forward FLUSH_START events immediately and clean up instead of
557 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
559 Patch by: Sjoerd Simons <sjoerd at luon dot net>
561 * libs/gst/base/gstbasetransform.c:
562 (gst_base_transform_buffer_alloc):
563 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
564 fall back to default negotiation in the chain function if the caps
565 are different from what was requested. Fixes bug #526768.
567 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
570 * tests/check/gst/gstsegment.c:
571 No, let's not use g_slice_{dup|copy} here, since they only exist
572 since GLib 2.14 and we still depend only on >= 2.12. Also add
573 unit test for gst_segment_copy().
575 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
577 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
578 Try to fix 'dereferencing type-punned pointer will break strict
579 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
580 changed the default GType typedef from gulong to gsize at some point,
581 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
582 g_once_* functions all take a gsize * though, so work around the type
583 mismatch for C++ by doing everything in gsize and casting to GType
586 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
588 * plugins/elements/gstmultiqueue.c:
589 Add documentation for the signals to push our core plugin docs
590 coverage back up to 100%.
592 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
594 * gst/gstinfo.h (GST_FUNCTION):
595 Reverted GST_FUNCTION to the old version as we don't want the
596 full signature in C++ code. Also added support for MSVC.
598 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
601 Intern the type name string, similar to what G_DEFINE_TYPE does.
603 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
606 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
608 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
610 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
612 * libs/gst/base/gstbasetransform.c:
613 (gst_base_transform_buffer_alloc):
614 Don't passthrough buffer allocation too easily if the caps change.
615 This breaks when working in passthrough mode and upstream changes
616 it's caps. Fixes bug #526768.
618 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
620 * gst/gstinfo.c (gst_debug_log_valist):
621 Improved the __FILE__ part of debug output for MSVC.
623 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
625 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
626 Declaration after statement fix for compilers like MSVC.
628 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
630 * win32/common/config.h.in:
631 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
632 use the real thing than having "???" unconditionally.
634 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
636 * gst/gstinfo.h (GST_FUNCTION):
637 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
639 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
641 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
644 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
645 (gst_base_sink_set_flushing):
646 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
649 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
651 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
652 (gst_fake_src_init), (gst_fake_src_set_property),
653 (gst_fake_src_get_property), (gst_fake_src_start):
654 * plugins/elements/gstfakesrc.h:
655 Added format property to control the format of the newsegment events.
656 API: GstFakeSrc:format
658 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
660 * win32/common/libgstreamer.def:
661 Add gst_pad_has_name() to the exported symbols.
663 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
665 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
666 * libs/gst/base/gstbasetransform.c:
667 (gst_base_transform_prepare_output_buffer):
668 Don't allow negative sizes when allocating new buffers.
671 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
673 Patch by: Sjoerd Simons <sjoerd at luon net>
675 * gst/gstbus.c: (gst_bus_source_dispatch):
676 Don't print a warning if the queue is empty when we try to pop
677 here. That could happen if another thread or callback set the
678 bus to flushing between the source's check/prepare and the
679 dispatch being called (#531538).
681 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
683 * plugins/elements/gstmultiqueue.c:
686 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
688 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
689 Add unit test for deserializing uint64s and check some really large
690 numbers in the int64 test.
692 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
694 * tools/gst-inspect.c: (n_print), (print_hierarchy),
695 (print_interfaces), (print_element_properties_info),
697 Use "%s" as format string instead of printing strings directly.
699 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
701 * gst/gstclock.c: (gst_clock_set_calibration):
702 Make some checks actually useful.
704 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
705 Remove some unused code. Unsigned integers tend to be >= 0.
707 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
709 * gst/gstminiobject.c: (gst_value_get_mini_object):
710 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
711 function was not in the unscheduled 0.10.19 release.
713 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
715 * gst/gstregistry.c: (gst_registry_scan_path_level):
716 Only print one log message per non-plugin file.
718 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
720 * gst/gstinfo.c: (gst_debug_log_default):
721 Fix alignment of debug log columns on 64-bit.
723 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
725 * docs/libs/Makefile.am:
726 * docs/libs/gstreamer-libs-sections.txt:
727 Ignore private controller headers for docs.
729 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
731 * libs/gst/controller/gstcontrollerprivate.h:
732 * libs/gst/controller/gsthelper.c:
733 * libs/gst/controller/gstinterpolation.c:
734 * libs/gst/controller/gstinterpolationcontrolsource.c:
735 (gst_interpolation_control_source_set_interpolation_mode):
736 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
737 * libs/gst/controller/lib.c:
738 Move some private declarations into private headers.
740 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
742 * gst/gstdebugutils.c: (debug_dump_element_pad):
743 Remove some code that is unused after Stefan's refactoring and uses
744 uninitialized variables now, resulting in a compiler warning.
746 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
748 * gst/gstregistry.c: (gst_registry_scan_path_level):
749 Run g_str_has_suffix() only on the file name, not the
752 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
754 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
755 Since we're not called only from the chain function any longer,
756 we can't assume that there's always data in the queue, so move
757 the is_full check to the beginning of the loop (otherwise we'd
758 hit the assert when changing the limit properties while the
759 queue is empty or not running yet).
760 Also, only set a discont if items were actually removed from
763 * tests/check/elements/queue.c: (test_leaky_downstream):
764 Test case for the above.
766 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
768 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
770 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
771 (gst_queue_chain), (queue_capacity_change),
772 (gst_queue_set_property):
773 When changing thr max capacity of a leaky queue, immediatly drop buffers
774 instead of waiting for a push on the sinkpad. Fixes #530637.
776 2008-04-30 Stefan Kost <ensonic@users.sf.net>
778 * gst/gstdebugutils.c:
779 Refactor code and fix handling of ghostpads and their proxypads.
781 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
783 * docs/gst/gstreamer-sections.txt:
784 * gst/gstevent.c: (gst_event_has_name):
786 * tests/check/gst/gstevent.c: (GST_START_TEST):
787 Add method to conveniently check the name of a custom event with
788 gst_event_has_name().
789 Reformat the event docs so that related methods are put together instead
790 of the default alphabetical sort.
791 Update unit test with new method.
792 API: GstEvent::gst_event_has_name()
794 2008-04-28 Michael Smith <msmith@songbirdnest.com>
796 * libs/gst/check/Makefile.am:
797 Don't add an explicit link to libgstreamer-0.10.la; it's already
798 included in GST_OBJ_LIBS.
800 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
803 Register GstClock type from a type-safe context. Fixes bug #530317.
805 2008-04-25 Michael Smith <msmith@songbirdnest.com>
807 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
809 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
811 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
813 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
815 Use the GLib stuff to create a private structure.
816 Add some locking around some dispose methods to make them a little
817 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
819 2008-04-25 Stefan Kost <ensonic@users.sf.net>
821 * libs/gst/base/gstbasesink.h:
822 * libs/gst/base/gstbasesrc.h:
823 * libs/gst/base/gstbasetransform.h:
824 * libs/gst/base/gstcollectpads.h:
825 Fix doc typos and unify caps a bit.
827 2008-04-25 Stefan Kost <ensonic@users.sf.net>
829 * tools/gst-launch.1.in:
830 Forgot to also add the envvar docs here.
832 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
834 * gst/gst.c: (init_post), (gst_deinit):
835 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
836 (test_concurrent_create), (gst_pipeline_suite):
837 Ref some more classes in gst_init() to work around thread-safety
838 issues in pre-2.16 GLibs, and add basic unit test.
840 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
842 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
843 (gst_base_sink_send_event):
844 Rearrange the latency query code. We always want to do the upstream
845 query, even if we are not live so that the upstream elements can get the
846 latency results too. If we fail doing the query and we are live, we
847 return TRUE afterwards.
849 2008-04-24 Stefan Kost <ensonic@users.sf.net>
851 patch by: Jason Zhao <e3423c@motorola.com>
853 * docs/gst/running.xml:
855 Enable/disable scan_and_update_registry() based on commandline switch
856 or environment variable. Fixes #520468.
859 Fix typo in my previous commit.
861 2008-04-24 Stefan Kost <ensonic@users.sf.net>
863 * gst/gstregistrybinary.c:
864 Add a warning if we hit unhandled factories when saving.
865 More debug logging detail, but move to LOG category.
867 2008-04-24 Stefan Kost <ensonic@users.sf.net>
870 Tell the *truth* when improving the documentation.
872 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
874 * gst/gstelementfactory.c: (gst_element_factory_make):
875 Unref the factory after it was used the last time, not before.
877 * gst/gstindexfactory.c: (gst_index_factory_make):
878 Improve debugging a bit and don't leak a ref to the index factory with
881 2008-04-23 Stefan Kost <ensonic@users.sf.net>
884 Improve the documentation.
886 2008-04-23 Stefan Kost <ensonic@users.sf.net>
889 The glib macro seems to be borked. Use g_slice_copy directly and cast
890 in the hope that this fixes the warning on 64bit.
892 2008-04-23 Stefan Kost <ensonic@users.sf.net>
895 Document the new function. Use g_slice_dup() (no need for
898 2008-04-23 Stefan Kost <ensonic@users.sf.net>
900 * docs/gst/gstreamer-sections.txt:
901 Move GParamSepc macros to standart section.
904 Dn't document _get_type - its in private section in docs anyway and
905 this doc-blob was incomplete.
908 Fix wrong symbol names in docs.
911 Add once doc sentence.
913 * tests/check/gst/.cvsignore:
916 2008-04-21 Stefan Kost <ensonic@users.sf.net>
918 * docs/gst/Makefile.am:
919 And remove those libs here.
921 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
923 * docs/libs/Makefile.am:
924 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
926 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
928 Patch by: Olivier Crete <tester at tester dot ca>
930 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
931 Add the min-threshold to the min latency if possible. Fixes #529148.
933 2008-04-21 Stefan Kost <ensonic@users.sf.net>
935 * docs/gst/gstreamer.types.in:
936 Stupid editor, I removed that line as it should go in yet.
938 2008-04-21 Stefan Kost <ensonic@users.sf.net>
940 * docs/gst/gstreamer.types.in:
941 * docs/libs/gstreamer-libs.types:
942 Remove library types fro core docs and have them in libs docs.
943 Reformat and cleanup. Add comment for miniobject types.
945 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
947 * gst/gsturi.c: (gst_uri_get_protocol):
948 Fix leak: g_strdown operates on the string in place, while
949 g_ascii_strdown() returns a newly-allocated string.
951 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
953 * tools/gst-inspect.c: (print_uri_handler_info),
954 (print_element_info):
955 Print the URI protocols and the URI type supported by the element.
957 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
959 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
960 Use g_value_take_string() instead of the deprecated
961 g_value_set_string_take_ownership().
963 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
965 * gst/gstregistrybinary.c: (_gst_crc32):
966 Return the old CRC instead of 0 if we give a NULL buffer
967 or a buffer with a length of 0.
969 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
971 * gst/gsturi.c: (gst_uri_protocol_check_internal),
972 (gst_uri_get_protocol), (gst_uri_has_protocol),
973 (gst_uri_construct), (gst_uri_handler_set_uri):
974 A valid URI scheme can also include '+', '-' and '.' additional
975 to alphanumeric characters as per RFC 3986 Section 3.1.
977 Handle URI schemes case insensitive in all places and convert
978 to lower-case when constructing an URI or setting an URI with
979 the GstURIHandler interface. Fixes bug #528868.
980 All elements can still assume (as before) that they will
981 get passed URIs with a lower-case URI scheme by the GstURIHandler
984 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
986 * gst/gstcaps.c: (gst_static_caps_get):
987 * gst/gstclock.c: (gst_clock_entry_new):
988 Don't use g_atomic_set_int where it's not needed.
990 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
992 * gst/gstvalue.c: (gst_value_deserialize_caps):
993 * gst/parse/grammar.y:
996 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
998 * gst/gstutils.c: (gst_atomic_int_set):
999 Use g_atomic_int_set() here too instead of assignment +
1002 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1006 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1007 now that we depend on new enough GLib.
1009 * gst/gstcaps.c: (gst_static_caps_get):
1010 * gst/gstclock.c: (gst_clock_entry_new):
1011 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1012 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1013 (gst_debug_category_set_threshold):
1014 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1015 (gst_base_sink_set_qos_enabled):
1016 * libs/gst/net/gstnettimeprovider.c:
1017 (gst_net_time_provider_set_property):
1018 Use g_atomic_int_set() instead of gst_atomic_int_set().
1020 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1023 Also use G_GINT64_CONSTANT for the queries.
1025 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1028 Use G_GINT64_CONSTANT in varargs function.
1030 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1032 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1033 Initialize the registry magic with zeroes.
1035 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1037 * gst/gstregistrybinary.c: (_gst_crc32),
1038 (gst_registry_binary_write),
1039 (gst_registry_binary_initialize_magic),
1040 (gst_registry_binary_write_cache),
1041 (gst_registry_binary_check_magic),
1042 (gst_registry_binary_read_cache):
1043 * gst/gstregistrybinary.h:
1044 Add crc32 checksum to the binary registry file and check this before
1045 accepting a registry file.
1047 Also free the data list when writing to the registry file fails.
1049 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1051 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1052 (gst_registry_binary_load_feature),
1053 (gst_registry_binary_load_plugin):
1054 If an element supports the Uri interface, returns a valid pointer
1055 to the supported URI protocols but this pointer contains nothing
1056 don't try to save that as it will corrupt the registry.
1058 Don't unref the plugin if we added it to the registry already but
1059 fail to load a feature as gst_registry_add_plugin() takes ownership
1062 Improve debugging a bit.
1064 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1067 Clarify some tag item docs after discussion on irc.
1069 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1071 * docs/gst/gstreamer-docs.sgml:
1072 Remove commented out plugins (they have their own docs). Update
1075 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1077 * docs/gst/gstreamer-docs.sgml:
1078 * docs/gst/gstreamer-sections.txt:
1079 * gst/gstparamspecs.c:
1080 * gst/gstparamspecs.h:
1081 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1082 docs to own section.
1085 This now only documents GValue.
1087 * docs/libs/gstreamer-libs-sections.txt:
1088 * libs/gst/controller/gstcontroller.h:
1089 Remove GST_PARAM_CONTROLLABLE.
1091 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1094 Correct file path. Tell about how to use -overrides.txt.
1095 * docs/design/draft-tagreading.txt:
1096 Small design update.
1098 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1100 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1101 (gst_registry_binary_load_plugin):
1102 Fix a typo in a debug message and revert change from yesterday as
1103 gst_registry_add_plugin() will only fail if something is really wrong
1104 already and we can't survive it anyway.
1106 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1108 * gst/gst.c: (init_post), (gst_deinit):
1109 Pre-register GstGError GType from a thread-safe context
1110 (fixes #527967); unref enum type classes in deinit.
1112 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1114 Patch by: Rene Stadler <mail at renestadler de>
1116 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1117 Merging an empty list with another list in KEEP_ALL mode should
1118 yield an empty list as result and not the second list (#512578).
1120 * tests/check/gst/gsttagsetter.c:
1121 Add unit test for tag merge modes and the aforementioned bug.
1123 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1125 Patch by: Rene Stadler <mail at renestadler de>
1128 Fix description to match the order in the table (#512577).
1130 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1132 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1134 * libs/gst/net/gstnettimepacket.h:
1135 * docs/libs/gstreamer-libs-sections.txt:
1136 Define socklen_t as int if it's not defined yet. Fixes compilation
1137 with MSVC6 and other versions where socklen_t is not defined in
1138 the windows headers (#518022).
1140 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1142 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1143 If gst_registry_add_plugin() fails our reference to the plugin is
1144 invalid so don't try to use it anymore and instead error out.
1146 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1148 * tools/gst-xmlinspect.c: (print_element_info), (main):
1149 De-cruft a bit. If no argument is specified, print all elements in
1150 XML syntax rather than a freestyle list of elements like gst-inspect.
1151 Also, don't print XML header chunk unless we actually have something
1152 to print (ie. don't print it before an error message); print error
1153 message to stderr not stdout. Remove support for printing plugin
1154 info (it would just output something freestyle along the lines of
1155 gst-inspect so far), which fixes #514507. Also add license header.
1157 2008-04-11 Julien Moutte <julien@fluendo.com>
1160 * configure.ac: Merge platform specific defines, introduce a new
1161 define on OS X to remember that forking when updating registry is
1163 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1165 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1167 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1168 condition that leads to absolutely no plugins being registered on
1171 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1173 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1175 * gst/gstutils.c: (gst_pad_add_data_probe),
1176 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1177 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1178 (gst_pad_add_buffer_probe_full):
1180 * docs/gst/gstreamer-sections.txt:
1181 * win32/common/libgstreamer.def:
1182 Add gst_pad_add_*_probe_full() functions with a notify callback that
1183 lets the caller free the data it passes to the probe functions. This
1184 is useful for bindings such as gst-python or gstreamermm (#526814).
1185 API: gst_pad_add_data_probe_full
1186 API: gst_pad_add_buffer_probe_full
1187 API: gst_pad_add_event_probe_full
1189 * tests/check/gst/gstutils.c:
1190 Add minimal unit test to make sure freeing the data actually works
1193 * tests/benchmarks/.cvsignore:
1194 Random cvsignore addendum.
1196 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1198 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1199 (GST_DEBUG_BIN_TO_DOT_FILE):
1200 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1201 to it in the docs (since these are macros the types of the arguments
1202 won't be shown in the docs otherwise).
1204 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1207 Do not abort on out of memory for pad_alloc_buffer.
1209 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1211 * libs/gst/check/gstcheck.c:
1212 Remove blank line between symbol name ad parameters to fix gtkdoc
1215 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1217 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1219 * docs/gst/gstreamer-sections.txt:
1222 * win32/common/libgstreamer.def:
1223 Expose gst_segment_copy() to make things easier for the c++ bindings.
1225 API: gst_segment_copy()
1227 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1229 * gst/gst.c: (gst_init_get_option_group), (init_post):
1230 Fix const position; ref GType classes for enum types to work
1231 around thread-safety issues in GLib versions < 2.16.
1233 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1235 * docs/design/part-buffering.txt:
1236 Fix some typos and set the estimated total for push mode to -1.
1238 * gst/gstquery.c: (gst_query_new_buffering):
1239 Set buffering-left to 0 as we're not buffering by default.
1241 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1242 Implement BUFFERING query.
1244 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1246 Based on patch by: Milosz Derezynski <internalerror gmail com>
1248 * gst/gsterror.c: (_gst_stream_errors_init):
1250 Add two new error codes for encrypted content. Fixes #524659.
1251 API: GST_STREAM_ERROR_DECRYPT
1252 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1254 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1259 * win32/common/libgstreamer.def:
1262 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1264 * plugins/elements/gstidentity.c: (gst_identity_event),
1265 (gst_identity_start):
1266 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1267 event after processing some data. Fixes bug #526042.
1269 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1271 * docs/gst/gstreamer-sections.txt:
1272 * gst/gstquery.c: (gst_query_parse_latency),
1273 (gst_query_set_buffering_percent),
1274 (gst_query_parse_buffering_percent),
1275 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1277 Rename _avail -> _range
1278 API: gst_query_set_buffering_range
1279 API: gst_query_parse_buffering_range
1281 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1283 * docs/design/part-buffering.txt:
1286 * gst/gstquery.c: (gst_query_parse_latency),
1287 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1288 (gst_query_parse_buffering_percent):
1290 Add busy field and quark for the buffering query so that the app can
1291 only use the query to see if buffering is in progress.
1293 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1295 * docs/gst/gstreamer-sections.txt:
1296 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1297 (gst_message_parse_buffering_stats):
1299 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1300 (gst_query_parse_latency), (gst_query_new_buffering),
1301 (gst_query_set_buffering_percent),
1302 (gst_query_parse_buffering_percent),
1303 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1304 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1306 Reorder the message docs and headers for clarity.
1307 Add aditional buffering stats API for messages.
1308 Add buffering query.
1309 Convert some leftover queries to use GstQuark.
1310 API: gst_message_set_buffering_stats
1311 API: gst_message_parse_buffering_stats
1312 API: GST_QUERY_BUFFERING
1313 API: GstBufferingMode
1314 API: gst_query_new_buffering
1315 API: gst_query_set_buffering_percent
1316 API: gst_query_parse_buffering_percent
1317 API: gst_query_set_buffering_stats
1318 API: gst_query_parse_buffering_stats
1320 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1322 * gst/gstmessage.c: (gst_message_new_error),
1323 (gst_message_new_warning), (gst_message_new_info),
1324 (gst_message_new_buffering), (gst_message_new_state_changed),
1325 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1326 (gst_message_new_new_clock), (gst_message_new_segment_start),
1327 (gst_message_new_segment_done), (gst_message_new_duration),
1328 (gst_message_new_async_start), (gst_message_parse_buffering),
1329 (gst_message_parse_state_changed),
1330 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1331 (gst_message_parse_new_clock), (gst_message_parse_error),
1332 (gst_message_parse_warning), (gst_message_parse_info),
1333 (gst_message_parse_segment_start),
1334 (gst_message_parse_segment_done), (gst_message_parse_duration),
1335 (gst_message_parse_async_start):
1336 Use GstQuark for messages.
1338 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1340 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1342 Add some more quarks needed for messages and queries.
1344 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1346 * docs/design/part-buffering.txt:
1347 Remove the "none" buffering mode, STREAM is a good default.
1348 Move estimated-time to the avail query, that's when it will be needed.
1349 Other small typo fixes and updates.
1351 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1353 * gst/gstindex.c: (gst_index_resolver_get_type):
1354 Don't put descriptions into the nick field of a GEnumValue: it's not
1355 meant for that and some language bindings rely on the nick field to
1356 construct constants and the like. Fixes #526705.
1358 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1363 Merge other changes from 0.10.19 release branch.
1365 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1367 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1370 Actually build dlls when cross-compiling with mingw32.
1373 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1375 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1378 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1380 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1382 * docs/design/draft-latency.txt:
1385 * docs/design/part-buffering.txt:
1386 Update design docs with more buffering ideas.
1388 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1391 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1393 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1396 Revert part that belongs to the preset patch.
1398 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1401 Add qoutes to the define. Fixes # 525961.
1403 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1405 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1406 (gst_file_index_load), (gst_file_index_add_id),
1407 (gst_file_index_get_assoc_entry):
1408 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1409 (gst_mem_index_free_id), (gst_mem_index_add_id),
1410 (gst_mem_index_index_format):
1411 Use GSlice when possible.
1413 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1415 * libs/gst/controller/gstinterpolationcontrolsource.c:
1416 (gst_control_point_free),
1417 (gst_interpolation_control_source_set_internal):
1418 Use GSlice for allocating the control points.
1420 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1422 * plugins/elements/gsttypefindelement.c:
1423 (gst_type_find_element_class_init),
1424 (gst_type_find_element_set_property),
1425 (gst_type_find_element_get_property),
1426 (gst_type_find_element_activate):
1427 * plugins/elements/gsttypefindelement.h:
1429 Fix pad leak when peer query fails.
1430 We can still typefind when the peer returns -1.
1431 Add property to force caps and bypass typefinding. This will be used in
1435 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1440 * gst/glib-compat-private.h:
1441 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1442 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1443 Unconditionally use GSlice for allocation.
1445 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1446 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1447 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1448 (gst_structure_free):
1449 Use GSlice for allocation.
1451 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1453 * gst/parse/Makefile.am:
1454 * gst/parse/grammar.tab.pre.c:
1455 * gst/parse/grammar.tab.pre.h:
1456 * gst/parse/lex._gst_parse_yy.pre.c:
1457 Require a new enough flex and bison and remove the parser hacks to use
1458 a pre-regenerated version.
1460 2008-04-01 Julien Moutte <julien@fluendo.com>
1462 patch by: Jason Zhao <E3423C@motorola.com>
1464 * configure.ac: Add a configure switch to disable option parsing
1468 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1471 * gst/gstregistry.c:
1472 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1473 and handle this case.
1476 Add a comment here describing, why we stat each plugin and not try to
1479 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1481 * libs/gst/base/gstbasetransform.c:
1482 (gst_base_transform_prepare_output_buffer):
1483 Also unset the GAP flag on buffers if we're working inplace but
1484 the element is not GAP-aware.
1486 Mark a comment as FIXME 0.11.
1488 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1491 Fix type in log message and add one to ease seeing how long registry
1492 cache verification takes.
1494 * gst/gstregistry.c:
1495 Only test plugin filenames against G_MODULE_SUFFIX.
1497 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1499 * gst/gstdebugutils.c:
1500 Improve handling ghost/proxy pads.
1502 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1504 * docs/gst/gstreamer-sections.txt:
1507 Expose macro to docs and fix link to it.
1509 2008-03-27 Michael Smith <msmith@fluendo.com>
1511 * libs/gst/dataprotocol/dataprotocol.c:
1512 (gst_dp_packet_from_event_1_0):
1513 When calculating GDP body CRC, use the correct pointer.
1514 Fixes part of #522401.
1516 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1518 Patch by: Mark Nauwelaerts <manauw at skynet be>
1520 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1521 (gst_identity_init), (gst_identity_prepare_output_buffer):
1522 Identity is not always a passthrough element, it can modify the buffer
1523 timestamps when it has a datarate and operates in single-segment mode.
1524 We therefore make it an in_place filter with a custom buffer prepare
1525 function that conditionally makes the input buffer metadata writable
1526 when needed. Fixes #523985.
1528 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1530 Patch by: Mark Nauwelaerts <manauw at skynet be>
1533 * libs/gst/base/gstbasesrc.h:
1534 * libs/gst/base/gstbasetransform.c:
1535 * libs/gst/check/gstcheck.c:
1536 Small documentation fixes. Fixes #523978.
1538 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1540 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1541 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1542 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1544 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1546 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1547 (single_queue_underrun_cb):
1548 When trying to make room in the queue, bump the max allowed buffers
1549 bigger than the current amount of buffers in the queue. this fixes some
1550 nasty deadlocks in multiqueue when dynamically changing the limits of
1553 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1555 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1557 * gst/gstcaps.c: (gst_caps_set_simple),
1558 (gst_caps_set_simple_valist), (gst_caps_intersect):
1560 Constify the field gchar * params in set_simple and friends.
1563 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1565 * gst/gstvalue.c: (gst_value_transform_object_string):
1566 Transform a GstObject to a more meaningfull string that includes the
1567 object type in addition to its name.
1569 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1572 ChangeLog surgery to add bugnumber to commit.
1574 2008-03-23 Rene Stadler <mail@renestadler.de>
1576 * libs/gst/base/gstbasetransform.c:
1577 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1579 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1581 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1582 Rename constant everywhere and don't forget one occurence.
1584 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1586 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1587 Align memory to the pointer size even if the architecture allows
1588 unaligned memory access. Unaligned memory access usually comes with
1589 performance penality.
1591 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1593 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1594 (gst_registry_binary_check_magic),
1595 (gst_registry_binary_load_pad_template),
1596 (gst_registry_binary_load_feature),
1597 (gst_registry_binary_load_plugin):
1598 Align memory to the pointer size instead of always 32 bit. Fixes
1599 unaligned memory accesses on ia64 and friends.
1601 * gst/gstregistrybinary.h:
1602 Bump binary registry format version for this as it changes the
1603 format on those architectures that don't have unaligned access
1604 and 64 bit pointers.
1606 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1608 * docs/pwg/advanced-dparams.xml:
1609 * docs/pwg/building-props.xml:
1610 * docs/pwg/other-source.xml:
1611 * gst/glib-compat.h:
1612 * gst/gstbin.c: (gst_bin_class_init):
1613 * gst/gstclock.c: (gst_clock_class_init):
1614 * gst/gstindex.c: (gst_index_class_init):
1615 * gst/gstobject.c: (gst_object_class_init):
1616 * gst/gstpad.c: (gst_pad_class_init):
1617 * gst/gstpipeline.c: (gst_pipeline_class_init):
1618 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1619 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1620 * libs/gst/base/gstbasetransform.c:
1621 (gst_base_transform_class_init):
1622 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1623 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1624 (_gst_check_fault_handler_sighandler),
1625 (_gst_check_fault_handler_setup), (gst_check_init):
1626 * libs/gst/controller/gstcontroller.c:
1627 (_gst_controller_class_init):
1628 * libs/gst/controller/gstlfocontrolsource.c:
1629 (gst_lfo_control_source_class_init):
1630 * libs/gst/net/gstnetclientclock.c:
1631 (gst_net_client_clock_class_init):
1632 * libs/gst/net/gstnettimeprovider.c:
1633 (gst_net_time_provider_class_init):
1634 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1635 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1636 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1637 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1638 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1639 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1640 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1641 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1642 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1643 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1644 * plugins/elements/gsttee.c: (gst_tee_class_init):
1645 * plugins/elements/gsttypefindelement.c:
1646 (gst_type_find_element_class_init):
1647 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1648 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1649 use it everywhere for GParamSpecs that use static strings (i.e. all).
1650 This gives us less memory usage, fewer allocations and thus less
1651 memory defragmentation. Fixes bug #523806.
1653 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1655 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1656 (gst_param_spec_mini_object):
1657 * gst/gstminiobject.h:
1658 * win32/common/libgstreamer.def:
1659 * docs/gst/gstreamer-sections.txt:
1660 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1661 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1662 GstParamSpecMiniObject into a public header for this.
1664 This make GstMiniObject a bit more consistent with GObject and makes
1665 it possible to extend the param specs.
1667 gst_value_dup_mini_object is mainly useful for set_property methods.
1671 * tools/gst-inspect.c: (print_element_properties_info):
1672 Print something useful for GstMiniObject properties and not just
1675 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1677 * docs/gst/gstreamer-sections.txt:
1678 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1679 (gst_registry_binary_check_magic):
1680 * gst/gstregistrybinary.h:
1681 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1682 and add it to the (private part) of the docs to fix the build.
1684 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1686 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1687 (gst_registry_binary_check_magic),
1688 (gst_registry_binary_read_cache):
1689 * gst/gstregistrybinary.h:
1690 Don't use GST_MAJORMINOR for the binary registry version. Instead
1691 hardcode a value that must be changed whenever the format changes
1692 in an incompatible way.
1693 Also don't GST_ERROR when there is a version mismatch, just
1694 regenerate the registry silently.
1696 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1699 Back to development - 0.10.18.1
1701 === release 0.10.18 ===
1703 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1706 releasing 0.10.18, "So far away"
1708 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1711 * win32/common/config.h:
1712 0.10.17.4 pre-release
1714 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1716 Patch by: Ole André Vadla Ravnås
1717 <ole dot andre dot ravnas at tandberg dot com>
1719 * docs/gst/gstreamer-sections.txt:
1720 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1721 (gst_poll_update_winsock_event_mask),
1722 (gst_poll_prepare_winsock_active_sets),
1723 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1724 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1725 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1726 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1727 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1729 * win32/common/libgstreamer.def:
1730 Add new function gst_poll_fd_ignored() for improved Windows
1732 Various minor fixes and cleanups. See #520808.
1734 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1736 * gst/gstindex.c: (gst_index_entry_free):
1738 Don't free key strings which we don't own. Fixes crash in
1739 gst_index_entry_free() (#522741).
1741 * tests/check/Makefile.am:
1742 * tests/check/gst/.cvsignore:
1743 * tests/check/gst/gstindex.c: (test_index_entries),
1744 (gst_index_suite), (gst_index):
1745 Add unit test for the above.
1747 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1749 * win32/common/libgstreamer.def:
1750 Remove symbols that were removed recently. Fixes bug #521740.
1752 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1755 * win32/common/config.h:
1756 0.10.17.3 pre-release
1758 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1760 Patch by: Ole André Vadla Ravnås
1761 <ole dot andre dot ravnas at tandberg dot com>
1763 * docs/gst/gstreamer-sections.txt:
1764 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1765 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1766 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1767 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1768 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1769 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1770 (gst_poll_fd_can_write), (gst_poll_wait),
1771 (gst_poll_set_controllable), (gst_poll_restart),
1772 (gst_poll_set_flushing):
1774 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1775 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1776 (gst_net_time_provider_new):
1777 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1778 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1779 * tests/benchmarks/gstpollstress.c: (main):
1780 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1781 Remove GstPollMode from the API, it does not make sense to let the
1782 application control this.
1783 Add support for Win32.
1784 Fix the testsuite. Fixes #520671.
1786 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1788 Patch by: Ole André Vadla Ravnås
1789 <ole dot andre dot ravnas at tandberg dot com>
1791 * gst/gstregistrybinary.c:
1792 Include io.h for write() and close() when building with MSVC. Fixes
1795 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1798 * gst/gst_private.h:
1799 * gst/gstconfig.h.in:
1800 * gst/gstregistry.h:
1801 * gst/gstregistrybinary.c:
1802 * win32/common/gstconfig.h:
1803 Move registry backend API to private headers where we can. Add
1804 fixme-0.11 comments for the others. Add stubs for the xml backend when
1805 using the binary to ensure they functions exists (they should not be
1806 used though). Fixes #520756.
1808 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1811 * win32/common/config.h:
1814 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1816 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1817 (gst_registry_binary_read_cache):
1818 * gst/gstregistryxml.c: (gst_registry_save):
1819 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1820 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1821 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1822 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1823 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1826 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1828 * gst/gstminiobject.c:
1829 Import gst_private.h before any other header that might include other
1830 glib headers. This fixes the build on windows using native compilers.
1832 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1834 * win32/common/gstconfig.h:
1835 Add here too, just for completeness.
1837 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1840 * gst/gstconfig.h.in:
1841 * gst/gstregistry.h:
1842 Fix broken use of config.h-defined preprocessor directive in a public
1843 header file. Add a corresponding define to gstconfig.h, since we can't
1844 really remove those function declarations from the header file now
1845 (or can we? and why are they there in the first place?).
1847 2008-03-03 Andy Wingo <wingo@pobox.com>
1849 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1852 * gst/gststructure.c (gst_structure_from_string): Warn if
1853 structure_from_string didn't consume the whole string, but the
1854 caller did not provide an end pointer.
1856 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1858 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1860 * gst/gstregistryxml.c: (read_string), (load_feature):
1861 Strings allocated by libxml2 should be freed with xmlFree(), not
1862 with g_free(). Fixes issues on windows in certain contexts (#519698).
1864 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1866 * gst/gstinterface.c: (gst_element_implements_interface):
1867 Don't crash if the element supports the interface queried, but does
1868 not implement GstImplementsInterface. Fixes #519584.
1870 * tests/check/Makefile.am:
1871 * tests/check/gst/.cvsignore:
1872 * tests/check/gst/gstinterface.c:
1873 Add unit test for the above.
1875 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1877 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1880 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1882 * gst/gstsegment.c: (gst_segment_set_seek),
1883 (gst_segment_to_stream_time):
1884 Improve some comment.
1885 Update variables where it makes more sense.
1887 2008-02-29 Rene Stadler <mail@renestadler.de>
1889 * gst/gsturi.c: (gst_uri_handler_get_protocols):
1890 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
1891 URIHandlers implemented using language bindings.
1893 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1895 * gst/gstelementfactory.h:
1896 * tests/check/elements/fakesink.c:
1897 * tests/check/elements/fakesrc.c: (setup_fakesrc):
1898 * tests/check/elements/fdsrc.c: (setup_fdsrc):
1899 * tests/check/elements/filesink.c: (setup_filesink):
1900 * tests/check/elements/filesrc.c: (setup_filesrc):
1901 * tests/check/elements/identity.c: (setup_identity):
1902 * tests/check/elements/tee.c:
1903 * tests/check/generic/sinks.c:
1904 * tests/check/generic/states.c: (setup), (teardown):
1905 * tests/check/gst/gst.c:
1906 * tests/check/gst/gstabi.c:
1907 * tests/check/gst/gstbin.c:
1908 * tests/check/gst/gstbus.c: (pull_messages):
1909 * tests/check/gst/gstcaps.c:
1910 * tests/check/gst/gstelement.c:
1911 * tests/check/gst/gstevent.c:
1912 * tests/check/gst/gstghostpad.c:
1913 * tests/check/gst/gstiterator.c:
1914 * tests/check/gst/gstmessage.c:
1915 * tests/check/gst/gstminiobject.c: (my_foo_init):
1916 * tests/check/gst/gstobject.c: (thread_name_object),
1918 * tests/check/gst/gstpad.c:
1919 * tests/check/gst/gstplugin.c:
1920 * tests/check/gst/gstpoll.c:
1921 * tests/check/gst/gstquery.c:
1922 * tests/check/gst/gstsegment.c:
1923 * tests/check/gst/gststructure.c:
1924 * tests/check/gst/gstsystemclock.c:
1925 * tests/check/gst/gsttask.c:
1926 * tests/check/gst/gstutils.c:
1927 * tests/check/gst/gstvalue.c:
1928 * tests/check/gst/struct_hppa.h:
1929 * tests/check/gst/struct_i386.h:
1930 * tests/check/gst/struct_ppc32.h:
1931 * tests/check/gst/struct_ppc64.h:
1932 * tests/check/gst/struct_x86_64.h:
1933 * tests/check/libs/adapter.c: (create_and_fill_adapter):
1934 * tests/check/libs/basesrc.c:
1935 * tests/check/libs/controller.c: (GST_START_TEST):
1936 * tests/check/libs/gdp.c:
1937 * tests/check/libs/gstnetclientclock.c:
1938 * tests/check/libs/gstnettimeprovider.c:
1939 * tests/check/libs/libsabi.c:
1940 * tests/check/libs/struct_hppa.h:
1941 * tests/check/libs/struct_i386.h:
1942 * tests/check/libs/struct_ppc32.h:
1943 * tests/check/libs/struct_ppc64.h:
1944 * tests/check/libs/struct_x86_64.h:
1945 * tests/check/pipelines/cleanup.c:
1946 * tests/check/pipelines/simple-launch-lines.c:
1947 * tests/check/pipelines/stress.c:
1948 And correct even more valid sparse warnings.
1950 * win32/common/libgstreamer.def:
1951 Add gst_poll_fd_init to the list of symbols.
1953 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1955 * gst/gstconfig.h.in:
1956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1957 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1958 (gst_check_log_critical_func), (gst_check_drop_buffers),
1959 (gst_check_element_push_buffer_list):
1960 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1961 (gst_controller_get_type):
1962 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1963 (gst_object_get_controller), (gst_object_get_control_source):
1964 * libs/gst/controller/gstinterpolationcontrolsource.c:
1965 (gst_interpolation_control_source_new):
1966 * libs/gst/controller/gstlfocontrolsource.c:
1967 (gst_lfo_control_source_new):
1968 * libs/gst/dataprotocol/dataprotocol.c:
1969 (gst_dp_event_from_packet_0_2):
1970 * plugins/elements/gstfdsrc.c:
1971 * plugins/elements/gstmultiqueue.c:
1972 * plugins/elements/gsttee.c:
1973 * plugins/elements/gsttypefindelement.c:
1974 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1975 (gst_file_index_add_association):
1976 * plugins/indexers/gstmemindex.c:
1977 * tests/benchmarks/gstpollstress.c: (mess_some_more):
1978 * tests/check/elements/queue.c: (setup_queue):
1979 * tests/check/gst/gstpipeline.c:
1980 * tests/check/libs/collectpads.c: (setup), (teardown),
1981 (gst_collect_pads_suite):
1982 * tests/examples/adapter/adapter_test.c:
1983 * tests/examples/metadata/read-metadata.c: (make_pipeline):
1984 * tests/examples/xml/createxml.c:
1985 * tests/examples/xml/runxml.c:
1986 * tools/gst-inspect.c:
1988 Correct all relevant warnings found by the sparse semantic code
1989 analyzer. This include marking several symbols static, using
1990 NULL instead of 0 for pointers, not using variable sized arrays
1991 on the stack, moving variable declarations to the beginning of
1992 a block and using "foo (void)" instead of "foo ()" for declarations.
1994 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1996 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1997 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1998 Don't reset GstPollFDs, this is not necessary at all.
2000 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2001 (delayed_restart), (delayed_control):
2002 Use GST_POLL_FD_INIT.
2004 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2006 * gst/gstpoll.c: (gst_poll_fd_init):
2010 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2011 Use some more init macros.
2013 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2015 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2016 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2017 Use init macros and functions.
2019 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2021 * docs/gst/gstreamer-sections.txt:
2022 * gst/gstpoll.c: (gst_poll_fd_init):
2024 Add INIT macro and _init method for initializing the GstPollFD.
2026 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2028 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2029 (gst_fd_sink_update_fd):
2030 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2031 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2032 (delayed_restart), (delayed_control):
2033 Initialize some uninitialized variables as spotted by valgrind.
2035 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2037 * tests/benchmarks/Makefile.am:
2038 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2040 Add poll stress test.
2042 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2044 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2046 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2047 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2048 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2049 * plugins/elements/gstfdsink.h:
2050 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2051 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2052 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2053 (gst_fd_src_uri_set_uri):
2054 * plugins/elements/gstfdsrc.h:
2055 Port to GstPoll. See #505417.
2057 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2059 * win32/common/libgstreamer.def:
2060 Add new gst_poll_ symbols to win32 defs.
2062 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2064 * docs/libs/gstreamer-libs-sections.txt:
2065 * libs/gst/net/gstnetclientclock.c:
2066 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2067 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2068 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2069 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2070 * libs/gst/net/gstnetclientclock.h:
2071 * libs/gst/net/gstnettimeprovider.c:
2072 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2073 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2074 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2075 (gst_net_time_provider_new):
2076 * libs/gst/net/gstnettimeprovider.h:
2077 Use a private stuct to not break ABI.
2079 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2081 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2083 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2084 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2085 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2086 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2087 * libs/gst/net/gstnetclientclock.h:
2088 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2089 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2090 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2091 (gst_net_time_provider_new):
2092 * libs/gst/net/gstnettimeprovider.h:
2093 Massive code removal and cleanups because of GstPoll.
2096 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2099 Add checks for poll, ppoll and pselect.
2101 * docs/gst/gstreamer-docs.sgml:
2102 * docs/gst/gstreamer-sections.txt:
2103 Add docs for GstPoll.
2107 * gst/gstpoll.c: (find_index), (selectable_fds),
2108 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2109 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2110 (gst_poll_set_mode), (gst_poll_get_mode),
2111 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2112 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2113 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2114 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2115 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2116 (gst_poll_fd_can_write), (gst_poll_wait),
2117 (gst_poll_set_controllable), (gst_poll_restart),
2118 (gst_poll_set_flushing):
2120 Add generic poll abstraction. We ideally don't want to have this in core
2121 here but in glib intead...
2122 This code will be used in various network elements and ultimately for
2123 the nanosecond precision monotonic clock (that's why it's here in core).
2124 It'll allow us to implement cancelable socket operations for windows too.
2126 * tests/check/Makefile.am:
2127 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2128 (delayed_stop), (delayed_restart), (delayed_flush),
2129 (delayed_control), (gst_poll_suite):
2130 Add GstPoll unit test.
2132 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2135 Improve documentation of gst_filter_run(). Fixes #518627.
2137 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2140 Add a few lines about the new 'check-inspected-versions' target.
2142 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2144 * tests/check/gst/gstevent.c:
2145 Add qos to the event test. Rename tcase/tsuite; is not only about
2148 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2150 * plugins/elements/gstqueue.c:
2151 Ensure that buffer metadata is writeable, before modifying. Spotted by
2154 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2156 * plugins/elements/gstqueue.c:
2157 * plugins/elements/gstqueue.h:
2158 When dropping buffers in leaky modes, mark next buffers we sent as
2161 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2163 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2164 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2166 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2168 * plugins/elements/Makefile.am:
2169 * plugins/elements/gstbufferstore.c:
2170 * plugins/elements/gstbufferstore.h:
2171 * plugins/elements/gsttypefindelement.h:
2172 Remove GstBufferStore, no idea why we were still building it.
2173 It's not used anywhere and superseded by GstAdapter.
2175 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2176 (gst_file_src_create_mmap):
2177 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2178 Printf format fixes for 64-bit integers.
2180 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2183 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2184 We're not in 0.8 times anymore.
2186 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2188 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2189 (gst_check_element_push_buffer_list):
2190 * libs/gst/check/gstcheck.h:
2191 Make the declaration in the header for
2192 gst_check_element_push_buffer_list match the implementation.
2194 Fix up spelling, grammar and wording of the documentation in a few
2195 places, and add the Since keyword to new API functions.
2196 Use g_list_delete_link instead of g_list_remove in
2197 gst_check_drop_buffers, since it's immeasurably more efficient.
2199 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2200 Use new gst_check_drop_buffers function where appropriate.
2202 * win32/common/libgstbase.def:
2203 * win32/common/libgstreamer.def:
2204 Add new symbols gst_collect_pads_take_buffer,
2205 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2208 Changelog surgery to add API keyword to new gst_check API.
2210 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2212 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2213 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2214 Update pre-generated flex files with flex 2.3.34.
2216 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2218 * gst/gstminiobject.c:
2219 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2220 friendly to subclasses and not require them to know all internals
2221 of their parent class.
2223 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2225 * docs/libs/gstreamer-libs-sections.txt:
2226 * libs/gst/base/gstcollectpads.c:
2227 * libs/gst/base/gstcollectpads.h:
2228 Add sub-buffer functions to collectpads. Fixes #516187.
2229 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2231 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2234 Copy selected buffer-flags when creating subbuffers.
2237 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2239 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2240 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2241 * gst/gstmessage.c: (gst_message_class_init),
2242 (gst_message_finalize):
2243 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2244 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2245 (gst_mmap_buffer_finalize):
2246 Properly chain up finalize functions to the parent class.
2248 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2250 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2252 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2253 (gst_index_set_resolver_full):
2255 Add new function with option to dispose of user_data in resolver.
2256 Actually call the dispose function when finalizing the object and not
2257 just when changing the resolver/filter.
2258 API: GstIndex::gst_index_set_resolver_full()
2260 * docs/gst/gstreamer-sections.txt:
2261 Add new function to docs. Fixes #515469.
2263 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2265 * gst/gstindex.c: (gst_index_finalize):
2266 Chain up finalize to the parent class. Fixes leaking the GstObject
2267 name and other things.
2269 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2272 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2273 pre-releases or releases.
2275 * docs/faq/gst-uninstalled:
2278 * docs/random/release:
2279 Change one of the steps - we only upload core & base to Gnome FTP
2281 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2283 * gst/gstconfig.h.in:
2284 Add 'id' for example.
2288 * plugins/elements/gstfdsink.c:
2289 Link to signals. Doc and comment fixes.
2291 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2293 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2294 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2295 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2296 unused and unimplemented; finally, it is plugin features, not
2297 plugins, that have ranks.
2299 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2301 * gst/gstpluginfeature.h:
2302 Clarify GstRank range docs.
2304 2008-02-05 David Schleef <ds@schleef.org>
2306 * gst/gst.c: Add a separate gst_deinitialized that prevents
2307 gst_init() from being called after gst_deinit(). Fixes #509559
2309 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2311 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2312 (gst_bin_class_init):
2313 * gst/gstelement.c: (gst_element_base_class_init),
2314 (gst_element_class_add_pad_template):
2315 * gst/gstpadtemplate.c: (gst_pad_template_init):
2316 * gst/gstpipeline.c: (gst_pipeline_get_type),
2317 (gst_pipeline_base_init), (gst_pipeline_class_init):
2318 * libs/gst/base/gstbasesink.c:
2319 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2320 (gst_base_src_base_init), (gst_base_src_class_init):
2321 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2322 (gst_capsfilter_class_init):
2323 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2324 (gst_fake_sink_class_init):
2325 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2326 (gst_fake_src_class_init):
2327 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2328 (gst_fd_sink_class_init):
2329 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2330 (gst_fd_src_class_init):
2331 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2332 (gst_file_sink_class_init):
2333 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2334 (gst_file_src_class_init):
2335 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2336 (gst_identity_class_init):
2337 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2338 (gst_multi_queue_class_init):
2339 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2340 (gst_queue_class_init):
2341 * plugins/elements/gsttee.c: (gst_tee_base_init),
2342 (gst_tee_class_init):
2343 * plugins/elements/gsttypefindelement.c:
2344 (gst_type_find_element_base_init),
2345 (gst_type_find_element_class_init):
2346 * tests/check/gst/gstelement.c: (gst_element_suite):
2347 Revert previous changes to the behaviour of GstPadTemplates, etc
2348 and the possiblity to call them in class_init as it breaks too
2349 many elements. Reopens bug #491501.
2351 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2354 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2356 * tools/gst-launch.c:
2357 Dump one graph per pipeline state-change and state change name
2358 (if GST_DEBUG_DUMP_DOT_DIR is set).
2360 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2363 * tests/check/gst/gstpad.c:
2364 Be sure that we have a new copy of the caps and not
2365 reffed caps from a template
2367 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2369 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2370 * gst/gstpipeline.c: (gst_pipeline_get_type),
2371 (gst_pipeline_class_init):
2372 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2373 (gst_base_sink_class_init):
2374 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2375 (gst_base_src_class_init):
2376 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2377 (gst_base_transform_class_init):
2378 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2379 (gst_collect_pads_class_init):
2380 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2381 * libs/gst/net/gstnettimeprovider.c:
2382 (gst_net_time_provider_base_init),
2383 (gst_net_time_provider_class_init):
2384 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2385 (gst_capsfilter_class_init):
2386 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2387 (gst_fake_sink_class_init):
2388 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2389 (gst_fake_src_class_init):
2390 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2391 (gst_fd_sink_class_init):
2392 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2393 (gst_fd_src_class_init):
2394 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2395 (gst_file_sink_class_init):
2396 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2397 (gst_file_src_class_init):
2398 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2399 (gst_identity_class_init):
2400 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2401 (gst_multi_queue_class_init):
2402 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2403 (gst_queue_class_init):
2404 * plugins/elements/gsttee.c: (gst_tee_base_init),
2405 (gst_tee_class_init):
2406 * plugins/elements/gsttypefindelement.c:
2407 (gst_type_find_element_base_init),
2408 (gst_type_find_element_class_init):
2409 Don't use base_init where not absolutely necessary. For example it's
2410 not necessary anymore for adding pad templates or setting element
2413 Leave empty base_init functions in several places as GST_BOILERPLATE
2414 still defines and uses them.
2416 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2418 * gst/gstelement.c: (gst_element_base_class_init),
2419 (gst_element_class_add_pad_template):
2420 * gst/gstpadtemplate.c:
2421 Make it possible (and recommended) to set element details and add
2422 pad templates in the class_init functions by copying the details/pad
2423 templates in GstElement's base_init.
2425 Also make it possible to replace existing pad templates by adding
2426 a new one with the same name. This was done in a hackish fashion
2427 in same elements before already.
2429 Don't reference pad templates that are added a second time. A
2430 new pad template has a refcount of one and is not floating anymore
2431 and to be owned by the element's class. Make this more explicit by
2432 mentioning it in the docs of gst_element_class_add_pad_template().
2434 These changes are backwards compatible. Fixes bug #491501.
2436 * tests/check/gst/gstelement.c:
2437 Add unit test for setting element details, adding pad templates and
2438 replacing them in a subclass.
2440 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2442 * tools/gst-inspect.c: (print_interfaces),
2443 (print_element_properties_info), (print_pad_info),
2444 (print_signal_info), (print_element_info):
2445 Fix a few memory leaks.
2447 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2449 * docs/libs/gstreamer-libs-sections.txt:
2450 * libs/gst/check/gstcheck.c:
2451 * libs/gst/check/gstcheck.h:
2452 Add more functions for unit testing: gst_check_drop_buffers,
2453 gst_check_caps_equal, gst_check_element_push_buffer_list,
2454 gst_check_element_push_buffer
2455 API: gst_check_drop_buffers
2456 API: gst_check_caps_equal
2457 API: gst_check_element_push_buffer_list
2458 API: gst_check_element_push_buffer
2460 2008-02-01 Julien Moutte <julien@fluendo.com>
2462 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2463 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2464 (gst_index_finalize), (gst_index_entry_free),
2465 (gst_index_add_association): Fix memory leaks.
2466 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2467 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2468 (gst_mem_index_free_format), (gst_mem_index_free_id),
2469 (gst_mem_index_finalize): Fix memory leaks.
2470 * win32/common/config.h: Updated to CVS HEAD.
2472 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2475 Some more details about how the plugin docs works.
2477 * docs/plugins/gstreamer-plugins-sections.txt:
2480 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2482 * gst/parse/grammar.tab.pre.c:
2483 * gst/parse/grammar.tab.pre.h:
2484 * gst/parse/grammar.y:
2485 * gst/parse/lex._gst_parse_yy.pre.c:
2486 Add delayed set-property. This allows to set properties on dynamicaly
2487 created objects (pads in videomxer). Fixes #509391.
2489 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2492 Check if caps are not NULL (fix bug #510194)
2494 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2496 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2497 (gst_base_sink_get_position_paused):
2498 Add fixme regarding EOS in pull mode.
2499 Fix position reporting in PAUSED for negative rates.
2501 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2503 * gst/gstminiobject.c: (gst_mini_object_replace):
2504 When replacing a miniobject, do a quick equality check first so that we
2505 can avoid a ref/unref pair.
2507 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2509 * docs/design/part-synchronisation.txt:
2512 * docs/plugins/Makefile.am:
2513 * docs/plugins/gstreamer-plugins-docs.sgml:
2514 * docs/plugins/gstreamer-plugins-sections.txt:
2515 * plugins/elements/gstmultiqueue.c:
2516 Add multiqueue to the docs.
2518 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2523 === release 0.10.17 ===
2525 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2528 releasing 0.10.17, "Due Negligence"
2530 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2533 Revert caps != NULL check temporarily for 0.10.17 release.
2535 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2538 Check if caps are not NULL (fix bug #510194)
2540 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2543 Fix compilation on systems that have posix timers but no
2546 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2549 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2551 * tools/gst-inspect.c:
2552 Revert previous commit in preparation for an impromptu 0.10.17 release
2554 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2556 * tools/gst-inspect.c: (print_interfaces),
2557 (print_element_properties_info), (print_pad_info),
2558 (print_signal_info), (print_element_info):
2559 Fix a few memory leaks.
2561 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2566 === release 0.10.16 ===
2568 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2571 releasing 0.10.16, "Special Dispensation"
2573 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2576 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2577 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2578 not fail when trying to crosscompile on OpenEmbedded (#511750).
2580 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2583 Use $(MAKE) instead of make to fix the build if GNU make is
2584 called different. Fixes bug #510747.
2586 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2588 * gst/gstplugin.c: (_gst_plugin_initialize):
2589 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2590 again, which I broke two commits ago when changing the API
2591 of gst_plugin_register_static(): the g_list_foreach() in
2592 _gst_plugin_register_static still assumed the old function
2593 signature and would therefore fail (re-fixes #510187).
2595 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2596 (_gst_plugin_register_static), (gst_plugin_register_static):
2597 Revert the (technically correct) change to call g_thread_init() from
2598 the pre-main() constructor. This will break programs which call
2599 g_thread_init() without an if (!g_thread_supported()) guard in their
2600 main function. We could just blame it on GLib or the application, but
2601 it's probably best to just avoid this altogether and simply not use
2602 any GLib functions here and use plain old malloc() with a simple
2603 array to store the plugins to register later when gst_init() is
2604 finally called (re-fixes #510187).
2606 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2607 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2608 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2609 (GST_START_TEST), (gst_plugin_suite):
2610 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2613 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2615 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2616 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2617 This makes gtk-doc complain, but results in slightly better
2618 compiler errors. The old _gst_plugin_register_static() is
2619 still guarded, so there'll be a compiler warning about that
2620 instead. Fixes #510187 too.
2622 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2624 * gst/gst.c: (init_post):
2625 * gst/gstplugin.c: (_gst_plugin_register_static),
2626 (gst_plugin_register_static), (_gst_plugin_initialize):
2627 * gst/gstplugin.h: (GstPluginFilter):
2628 Change API of gst_plugin_register_static() to not take
2629 a GstPluginDesc, but rather just take all the arguments
2630 in a GstPluginDesc directly. This is more intuitive and
2631 avoids certain mistakes when porting code from
2632 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2635 * tests/check/gst/gstplugin.c:
2636 Fix up for changed API.
2638 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2640 * docs/faq/legal.xml:
2641 Update FAQ, Totem actually has an exception these days.
2643 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2645 * win32/common/libgstreamer.def:
2646 Add new API declarations
2648 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2650 * gst/gstminiobject.c:
2651 Spelling fixes for the API docs.
2653 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2655 * libs/gst/base/gstbasetransform.c:
2656 Fix long property description for QoS.
2658 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2661 _gst_trace_on is already provided by gsttrace.h, no need to declare
2664 * docs/libs/gstreamer-libs-sections.txt:
2665 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2666 and remove strange tcase_add_test which is outputting a warning.
2668 * libs/gst/check/gstcheck.c:
2669 * libs/gst/check/gstcheck.h:
2670 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2671 and define them in gstcheck.c instead of having every .c file whcih
2672 includes gstcheck.h be defining its own copy and relying on symbol
2673 interposing to marry them all, which doesn't work on Solaris.
2675 * tests/check/elements/identity.c: (GST_START_TEST):
2676 Don't define 'buffers' locally, it comes from libgstcheck.
2678 * tests/check/generic/sinks.c: (send_buffer):
2679 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2681 * tests/check/gst/gststructure.c: (GST_START_TEST):
2682 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2683 * tests/check/gst/gstutils.c: (GST_START_TEST):
2684 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2685 Add a bunch of casts to make various constants fit the types
2686 they're being assigned to.
2688 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2690 * gst/gstchildproxy.c:
2691 Improve docs and add some ideas for making this more general-purpose.
2693 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2695 * gst/gst_private.h: (GST_CAT_TYPES):
2696 Add GST_CAT_TYPES, for consistency, and so that the other
2697 debug categories don't make fun of it. Spotted by Saur on IRC.
2699 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2701 * gst/parse/Makefile.am:
2702 Move types.h from EXTRA_DIST to noinst_HEADERS.
2704 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2707 Add -Wno-portability to the automake parameters to stop warnings
2708 about GNU make extensions being used. We require GNU make in almost
2709 every Makefile anyway.
2712 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2713 at the same time is required for per target flags.
2715 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2718 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2719 __GNUC__ is defined before using it.
2721 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2723 * docs/gst/gstreamer-sections.txt:
2724 * gst/gst.c: (init_post):
2725 * gst/gstplugin.c: (_gst_plugin_register_static),
2726 (gst_plugin_register_static), (_gst_plugin_initialize),
2727 (gst_plugin_register_func):
2728 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2729 API: add gst_plugin_register_static() and deprecate
2730 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2732 Also, in _gst_plugin_register_static(), make sure to call
2733 g_thread_init() before calling GLib functions such as
2734 g_list_append() if we're not initialised yet, since that
2735 may lead to random crashes with older GSlice/GLib versions.
2737 * tests/check/gst/gstplugin.c:
2738 Adapt unit test to above changes.
2740 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2742 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2743 * gst/gstcaps.c: (gst_caps_to_string):
2744 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2745 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2746 Yet another gratuitous GString micro-optimisation: add a (private)
2747 function that serialises a structure appending to an existing
2748 GString, so that when we serialise caps we don't need to alloc+free
2749 a throwaway GString for each structure (each of which also entailing
2750 multiple reallocs on the way); also use g_string_sized_new() in
2751 various places with an approximate string length to avoid reallocs
2752 within GString. See #500143.
2754 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2756 * gst/gststructure.c: (gst_structure_id_set_value):
2757 Always check UTF-8 conformance of structure strings and not only
2758 if the debugging system is enabled; reasoning: the behaviour of
2759 the actual code shouldn't really change depending on whether the
2760 debugging system is enabled or not (#508291).
2762 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2765 Remove old coverage target in favour of "make lcov".
2767 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2769 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2770 (gst_base_src_loop):
2771 The start segment for reverse playback goes from start to last_stop.
2773 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2775 Patch by: Peter Kjellerstedt <pkj axis com>
2778 Cast the results from the timeval/spec_to_time macros to what the
2779 docs say it casts to, a GstClockTime. fixes #508175.
2781 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2784 Update some comments.
2786 * tools/gst-inspect.c: (print_element_properties_info):
2787 Improve printing of flags.
2789 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2791 * libs/gst/base/gstbasetransform.c:
2792 (gst_base_transform_transform_size):
2793 Print element name with g_warning() if there's a problem
2796 2008-01-07 David Schleef <ds@schleef.org>
2798 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2800 * libs/gst/controller/gstcontroller.h:
2801 * libs/gst/controller/gstcontrolsource.h:
2802 * libs/gst/controller/gstinterpolationcontrolsource.h:
2803 * libs/gst/controller/gstlfocontrolsource.h:
2804 * libs/gst/dataprotocol/dataprotocol.h:
2805 Fix empty prototypes. Fixes bug #507957.
2807 2008-01-07 David Schleef <ds@schleef.org>
2809 * docs/faq/dependencies.xml: Fix typo.
2811 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2813 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2814 (gst_base_src_loop):
2815 Don't update the last_stop position in do_seek, that's the position we
2817 Read backwards when we have a negative rate.
2819 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2820 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2822 Add check for reverse reading.
2824 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2826 Patch by: Alexis Ballier <aballier at gentoo org>
2828 * tests/check/gst/gstabi.c:
2829 * tests/check/gst/struct_ppc64.h:
2830 * tests/check/libs/libsabi.c:
2831 * tests/check/libs/struct_ppc64.h:
2832 Decide which header to include based on the userland ABI target
2833 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2834 for 64-bit userland (#503590). Might need something similar for
2837 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2839 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2840 Log the reason why fopen fails in addition to the fact that it failed.
2842 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2844 * gst/parse/parse.l:
2845 Use "%option never-interactive" to prevent useless calls to isatty()
2846 on every input when parsing. Also use "%option noinput" to not define
2847 the static input/yyinput functions which we don't use anyway. This
2848 removes a compiler warning with gcc 4.3 and saves some bytes in the
2851 * gst/parse/lex._gst_parse_yy.pre.c:
2852 Regenerated for the above change.
2854 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2856 * gst/gstpad.c: (fixate_value):
2857 Don't crash when trying to fixate and empty list.
2860 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2862 * docs/faq/gst-uninstalled:
2863 Clarify the comments to make the usage of this script and what it
2864 does easier to understand.
2866 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2868 * tools/gst-plot-timeline.py:
2869 Add more options to gst-plot-timeline
2871 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2873 * docs/design/part-synchronisation.txt:
2874 Some more info on how the stream_time in GstBaseSink is done.
2876 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
2878 * tests/check/generic/sinks.c: (gst_sinks_suite):
2879 Put back the tcase_set_timeout(), apparently it's needed after
2880 all; fix it up in a way that makes things work with valgrind too.
2882 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
2884 * gst/gstdebugutils.c:
2885 Add warning when failed to open file for writing.
2887 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2889 Based on patch by: Laurent Glayal <spglegle yahoo fr>
2891 * gst/gstvalue.c: (gst_value_is_fixed):
2892 Optimisation: bail out of the loop as early as possible (#500143).
2894 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2896 * gst/gstcaps.c: (gst_caps_to_string):
2897 * gst/gstinfo.c: (gst_debug_construct_term_color):
2898 * gst/gstparse.c: (gst_parse_launchv):
2899 * gst/gstutils.c: (gst_util_dump_mem):
2900 * gst/gstvalue.c: (gst_value_serialize_any_list),
2901 (gst_value_transform_any_list_string):
2902 Bunch of gratuitous nano-optimisations.
2904 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2906 * tests/check/generic/sinks.c: (async_done_func),
2907 (async_done_eos_func):
2908 Fix leak in unit test (bus sync handler must unref the message
2909 if it returns GST_BUS_DROP). Don't fiddle with the default test
2910 timeout, this is smaller than the current preconfigured value
2911 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2912 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2914 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2916 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2919 Check for stdio_ext.h for the filesink changes.
2921 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2922 (gst_file_sink_class_init), (gst_file_sink_init),
2923 (gst_file_sink_dispose), (gst_file_sink_set_property),
2924 (gst_file_sink_get_property), (gst_file_sink_open_file),
2925 (gst_file_sink_close_file):
2926 * plugins/elements/gstfilesink.h:
2927 Add two properties to control the buffering mode and size.
2928 API: GstFileSink::buffer-mode
2929 API: GstFileSink::buffer-size
2932 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2934 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2935 Add some more docs to explain why a FIXME was wrongly added.
2937 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
2940 Fix typo in the gst_object_{ref,unref} documentation.
2942 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2944 * tests/check/libs/controller.c:
2945 * tests/check/libs/typefindhelper.c:
2946 * tests/check/pipelines/parse-launch.c:
2947 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2948 going to be deprecated (see #498924).
2950 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2952 * gst/gsttypefind.c: (gst_type_find_register):
2953 Make gst_type_find_register work for static typefind functions,
2954 ie. allow passing plugin == NULL (prerequisite for #498924).
2956 * gst/gstelementfactory.c: (gst_element_register):
2957 Small docs addition.
2959 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
2961 * gst/gstpad.c: (gst_pad_dispose):
2962 Really unlink the peer pad instead of setting the peer pointer to NULL
2963 when we dispose the pad.
2964 This correctly calls the unlink functions and makes sure that the peer
2965 does not have a handle to invalid memory. See #504671.
2967 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2968 Add testsuite for above case.
2970 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
2972 Patch by: Peter Kjellerstedt <pkj axis com>
2974 * libs/gst/check/gstcheck.h:
2975 Fix detection of the check version we're compiling against (would
2976 otherwise break if check goes v0.10.0); correctly report the
2977 name of the failed test again in case of failure, instead of
2978 just 'tf' (fixes #504499).
2980 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
2982 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2983 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2984 (gst_base_src_loop), (gst_base_src_set_flushing),
2985 (gst_base_src_change_state):
2986 Allow sending EOS to the source to make it send out an EOS event from
2987 the streaming thread.
2988 Update docs and deprecate the old NULL/READY shutdown method.
2990 * tests/check/libs/basesrc.c: (GST_START_TEST),
2991 (gst_basesrc_suite):
2992 Add unit test for controlled shutdown.
2994 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
2996 * docs/design/part-synchronisation.txt:
2999 * gst/gstsegment.c: (gst_segment_set_seek),
3000 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3001 (gst_segment_to_running_time):
3002 The seek format can be different from the segment format when the start
3003 and stop values are not to be updated, when we only do a rate change for
3006 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3007 (gst_segment_suite):
3008 Add a testcase for the rate-only seeks, checking that the format is
3009 correctly ignored when start and stop are not updated.
3011 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3013 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3015 * win32/vs8/grammar.vcproj:
3016 * win32/vs8/libgstcontroller.vcproj:
3017 * win32/vs8/libgstreamer.vcproj:
3018 Fix compilation with VS8 and include some missing files.
3020 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3023 Small docs addition: mention that the strings returned by
3024 gst_tag_list_get_string*() are in UTF-8 encoding.
3026 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3029 The check-exports stuff moved to common/win32.mak, so include that.
3031 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3033 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3034 (gst_base_src_perform_seek), (gst_base_src_get_range),
3035 (gst_base_src_set_playing), (gst_base_src_change_state):
3036 Make _wait_playing() not check any variables so that we can call this
3037 function from subclasses. Move the checks elsewhere similar to
3038 _wait_preroll() in basesink.
3040 Only signal the LIVE cond when we are going back to PLAYING.
3042 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3044 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3045 Use g_remove() and g_rename(). Check result of g_rename(), and
3046 don't leak the open file descriptor if we error out when writing.
3048 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3049 Must check the return value of close() after writing out the new
3050 registry file. Sometimes write problems such as out-of-diskspace
3051 are only reported when the file is closed and not already during
3052 the write. This may have caused partial/broken registry files in
3053 some rare circumstances. Should fix #503675.
3055 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3057 * docs/gst/.cvsignore:
3058 * docs/libs/.cvsignore:
3059 * docs/plugins/.cvsignore:
3060 Ignore files generated by new common/* modifications
3062 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3064 * win32/common/libgstbase.def:
3065 Yes, you can also have a <TAB> if you want.
3067 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3069 * win32/common/libgstbase.def:
3070 Add new basetransform API to win export file.
3072 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3074 * tests/check/gst/gstbin.c:
3075 Adjust the test to the refcount change two days ago.
3077 2007-12-14 David Schleef <ds@schleef.org>
3079 * docs/faq/getting.xml: Fix typo.
3081 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3083 * docs/libs/gstreamer-libs-sections.txt:
3084 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3085 (gst_base_transform_prepare_output_buffer),
3086 (gst_base_transform_set_gap_aware):
3087 * libs/gst/base/gstbasetransform.h:
3088 API: Add gst_base_transform_set_gap_aware() to control whether
3089 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3090 get buffers with this flag at all. Fixes #503231.
3092 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3094 * libs/gst/base/gstbasesink.c:
3095 * libs/gst/base/gstbasesrc.c:
3096 * libs/gst/base/gstbasetransform.c:
3097 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3098 thread. Correct log message in gstbasesrc.c.
3100 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3102 * gst/gstutils.c: (element_find_unconnected_pad):
3103 Fix possible compiler warning (#503417).
3105 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3107 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3108 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3110 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3112 * tools/gst-inspect.c: (print_element_properties_info):
3113 Add support for GstFraction properties.
3115 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3118 Add check-exports target and run it as part of 'make check'
3119 (see #499140 and #493983).
3121 * gst/gst_private.h:
3122 * gst/gstelementfactory.h:
3123 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3124 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3125 (_priv_gst_in_valgrind):
3126 * gst/gstinfo.h: (GstLogFunction):
3127 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3128 (gst_type_find_register):
3129 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3130 (gst_type_find_factory_get_type):
3131 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3132 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3133 (gst_controller_new_valist), (gst_controller_new_list),
3134 (_gst_controller_dispose), (_gst_controller_class_init):
3135 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3136 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3137 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3138 (gst_object_get_controller), (gst_object_set_controller),
3139 (gst_object_suggest_next_sync), (gst_object_sync_values),
3140 (gst_object_set_control_source), (gst_object_get_control_source),
3141 (gst_object_get_value_arrays), (gst_object_get_value_array),
3142 (gst_object_get_control_rate), (gst_object_set_control_rate):
3143 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3144 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3145 Make some functions that should be static static; rename some
3146 private symbols so that they don't get exported; add some FIXME
3147 comments so we can move accidentally exported functions into
3148 our private section in 0.11.
3150 * win32/common/libgstreamer.def:
3151 Add gst_utils_get_timestamp().
3153 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3157 Add more missing "Since:" tags to docs.
3159 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3162 Add mising "Since:" to docs.
3164 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3167 Include "glib-compat-private.h" to fix the build on system with
3168 glib < 2.10. Fixes #503131.
3170 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3174 Actually its not PURE as it gets the time from elsewhere.
3176 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3178 * docs/gst/gstreamer-sections.txt:
3180 * gst/gstdebugutils.c:
3184 * libs/gst/base/gstbasesink.c:
3185 * tools/gst-launch.c:
3186 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3187 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3188 Thanks Tim for spotting.
3189 API: gst_util_get_timestamp
3191 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3194 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3196 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3198 * gst/gststructure.c: (gst_structure_validate_name),
3199 (gst_structure_new_valist), (gst_structure_parse_value),
3200 (gst_structure_from_string):
3201 Don't crash in _from_string() if the structure name is not valid
3202 (fixes #501560). Allow structure names to start with a number
3203 again (this apparently broke the ubuntu codec installer).
3205 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3207 Add unit test for the crash; update unit tests for new behaviour.
3209 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3212 Clarify gst_element_get_compatible_pad() documentation.
3215 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3217 * tests/check/Makefile.am:
3218 Don't forget to dist {gst,libs}/struct_hppa.h.
3220 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3222 * libs/gst/base/gstbasesink.c:
3223 Use new API to get elapsed time.
3225 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3227 * gst/gstdebugutils.c:
3229 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3231 * tools/gst-launch.c:
3232 Use new API to get elapsed time.
3234 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3236 * docs/gst/gstreamer-sections.txt:
3238 * gst/gstdebugutils.c:
3240 Rename new API + ChangeLog surgery to remove old name from last entry..
3242 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3244 * docs/gst/gstreamer-sections.txt:
3246 * gst/gstdebugutils.c:
3248 Now hide the different clock stuff behind a macro.
3250 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3253 * gst/gstdebugutils.c:
3255 Apply the posix-timer check from #361155. Conditionally use the posix
3256 timer for logging. This gives better timestamp precission, less
3257 overhead and no ntp jitter.
3259 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3261 * gst/gstminiobject.c: (gst_mini_object_get_type),
3262 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3263 (gst_mini_object_finalize), (gst_mini_object_copy),
3264 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3265 (gst_mini_object_replace), (param_mini_object_validate),
3266 (gst_param_spec_mini_object_get_type):
3267 Some cleanup and checking against invalid function parameters.
3269 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3271 * docs/gst/gstreamer-sections.txt:
3273 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3274 (gst_systemclock_suite):
3275 Start merging in the easy bits of #361155, the monotonic clock patch.
3276 This one adds a few handy macros with docs and a testsuite.
3278 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3280 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3281 Be a bit smarter when seeking, like, don't try to do a seek when it's
3282 not needed. This avoids errors when the file is not seekable.
3285 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3287 * docs/gst/gstreamer-docs.sgml:
3288 * docs/gst/gstreamer-sections.txt:
3289 * docs/gst/gstreamer.types.in:
3294 * plugins/elements/gstqueue.c:
3295 Due to popular request remove preset interface again. :-(.
3297 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3299 * tools/gst-inspect.c:
3300 Print 'default value' for enums and flags too.
3302 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3304 * docs/random/ensonic/profiling.txt:
3308 Fix typo and give better log output.
3310 * gst/gstdebugutils.c:
3311 * gst/gstdebugutils.h:
3312 More ideas, make graphs a bit smaller and fix param name in macro.
3314 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3317 Try harder to use the return value from fgets().
3319 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3322 For theses two fgets we handle the error below.
3324 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3326 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3327 Only send upstream events upstream. Fixes #498746.
3329 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3331 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3333 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3334 (gst_identity_init), (gst_identity_transform_ip),
3335 (gst_identity_set_property), (gst_identity_get_property):
3336 * plugins/elements/gstidentity.h:
3337 Add property to disable handoff signal emission. Fixes #498694.
3338 API: GstIdentity::signal-handoffs
3340 2007-11-21 Julien Moutte <julien@fluendo.com>
3342 * docs/faq/gst-uninstalled: Yet another missing library for the
3343 uninstalled script (fft)
3345 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3347 * docs/faq/developing.xml:
3348 Add a question about how to submit new translations.
3350 * docs/random/release:
3351 Update the contact email address for the Translation Project
3353 * plugins/elements/gstfdsrc.c:
3354 The parent_class for fdsrc is pushsrc, not GstElement.
3356 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3359 Plug a leak and fix saving.
3361 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3363 * docs/gst/gstreamer-sections.txt:
3364 Add new gst_preset__get_property_names() function to the docs
3367 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3371 Change _get_preset_names API to return a strv with copies. Add
3372 _get_property_names to allow implementations to filter and provide
3373 good default implementation.
3375 2007-11-20 Julien MOUTTE <julien@moutte.net>
3377 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3380 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3383 More cleanups, docs, and TODOs from comments that now slowly come in.
3385 2007-11-19 Julien MOUTTE <julien@moutte.net>
3387 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3390 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3393 Fix bogus warning and make the property type specific code more
3396 2007-11-19 Julien MOUTTE <julien@moutte.net>
3398 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3401 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3403 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3404 (gst_bin_add_func), (gst_bin_remove_func),
3405 (gst_bin_change_state_func), (gst_bin_continue_func):
3406 Change email, cleanups add some more debug and comments.
3407 Also set bus and clock on new elements when the pipeline was in error.
3409 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3412 * gst/gstdebugutils.c:
3413 Fix build with --disable-gst-debug. Fixes #497859.
3414 Spotted by Sameer Naik.
3416 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3419 Little documentation improvment.
3422 More TODO cleanups. Remove c++ comments.
3424 * libs/gst/controller/gstcontroller.c:
3425 Add TODO and use quark from static string.
3427 * tests/check/gst/gstmessage.c:
3428 * tests/check/gst/gststructure.c:
3429 Use quark from static string.
3431 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3434 Add some comments and TODOs.
3437 Add padding for future changes.
3439 * plugins/elements/gstqueue.c:
3440 Implement the iface.
3442 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3444 * docs/gst/gstreamer-docs.sgml:
3445 * docs/gst/gstreamer-sections.txt:
3446 * docs/gst/gstreamer.types.in:
3451 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3453 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3459 === release 0.10.15 ===
3461 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3464 releasing 0.10.15, "October"
3466 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3468 * win32/vs6/libgstreamer.dsp:
3469 Convert line endings back to DOS.
3471 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3473 * docs/design/draft-tagreading.txt:
3474 * docs/random/ensonic/profiling.txt:
3475 Update fast tagreading draft and performance profiling ideas.
3477 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3479 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3480 Don't hold the object lock when unreffing a buffer because it could
3481 cause a deadlock when the finalize function wants to grab the object
3482 lock too. Fixes #495133.
3484 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3486 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3487 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3488 Also accumulate time correctly when doing reverse playback. Fixes
3490 When converting to running and stream time, use default values for
3491 start/stop/time/accum when comparing different formats. Fixes #494245.
3493 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3494 Do running/stream time in TIME format.
3496 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3497 (gst_segment_suite):
3498 2 new unit tests for segment accumulation.
3500 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3502 * gst/gst.c: (init_pre):
3503 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3504 (_gst_debug_bin_to_dot_file):
3505 Move getenv() back into gst_init, so everyone can live happily
3506 ever after. Make sure the symbol isn't exported though.
3508 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3510 Patch by: Sebastien Moutte <sebastien moutte net>
3512 * win32/common/gstenumtypes.c:
3513 * win32/common/gstenumtypes.h:
3516 * win32/vs6/libgstreamer.dsp:
3517 Update vs6 project files (#494343).
3519 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3521 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3522 (gst_base_src_perform_seek), (gst_base_src_default_event),
3523 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3524 (gst_base_src_activate_pull):
3525 Unify flushing code, remove some old unlock code that is no longer used.
3526 Take the streaming lock when seeking to avoid races. Fixes #492729.
3527 Added some more comments.
3529 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3531 * gst/gst.c: (_gst_disable_segtrap):
3532 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3533 we can use gst_segtrap_is_enabled() there now that we have that API.
3534 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3535 to do the getenv here (and export the variable).
3537 * gst/gstdebugutils.c: (debug_dump_element),
3538 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3539 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3541 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3542 (gst_debug_log_default):
3543 Rename _gst_info_start_time to priv_gst_info_start_time so it
3544 doesn't get exported (was never in any header).
3546 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3547 (gst_plugin_loading_mutex):
3548 Make static mutex gst_plugin_loading_mutex really static (was never
3549 in any header), and use gst_segtrap_is_enabled() instead of
3550 _gst_disable_segtrap.
3552 * gst/gsttrace.c: (_gst_trace_default):
3553 Make local _gst_trace_default static (was never in any header).
3555 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3557 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3559 * win32/common/libgstbase.def:
3560 * win32/common/libgstcontroller.def:
3561 * win32/common/libgstdataprotocol.def:
3562 * win32/common/libgstnet.def:
3563 * win32/common/libgstreamer.def:
3564 Add more missing symbols, remove some duplicates, and sort
3565 as the 'sort' command sorts it (partially fixes #493983).
3567 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3569 * gst/gstelement.c: (gst_element_set_state_func):
3570 Only change the state cookie if a different state was set on the
3571 element. See #492729.
3573 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3576 Remove unused and uninitialised type variables that were still
3577 exported for some reason (they were never in any header files
3580 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3582 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3583 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3584 (gst_base_sink_event), (gst_base_sink_get_position_last),
3585 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3586 (gst_base_sink_change_state):
3587 Don't try to report a 0 position when we don't know, return -1 and FALSE
3588 instead. This mostly happens when we are prerolling.
3589 Make sure we can report the right position before we post the ASYNC_DONE
3590 message so that a message handler can query position without races.
3592 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3593 (async_done_handoff), (async_done_func), (send_buffer),
3594 (async_done_eos_func), (gst_sinks_suite):
3595 Add two tests for the above.
3597 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3600 Update with new email address.
3602 * docs/design/part-TODO.txt:
3603 Add some more info about future pad-block and negotiation changes.
3605 * docs/design/part-buffering.txt:
3606 Add some ideas about buffering reporting.
3608 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3610 * tests/check/gst/gstobject.c:
3611 Disable silly racy test that always fails on this combination of CPU
3614 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3616 Patch by: Murray Cumming <murrayc@murrayc.com>
3619 Corrected the registration of the parent-set and parent-unset
3620 signals: The parameter is a GstObject, not a GObject (#493134).
3622 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3624 * gst/gst_private.h:
3633 Move declaration of private _gst_foo_initialize() functions into
3634 our private header file where they should have been all along.
3636 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3638 * docs/plugins/gstreamer-plugins-sections.txt:
3639 * gst/gstdebugutils.h:
3641 * plugins/elements/gstqueue.c:
3642 gtk-doc fixes; trailing-comma-in-enum fix.
3644 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3646 * gst/gst.c: (gst_deinit):
3647 Clean up on deinit (not the external ones though, doesn't seem to be
3648 needed for some reason).
3650 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3652 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3653 Remove __declspec(dllimport) for MSVC that was copied over into core
3654 from a plugin, obviously without ever having been tested (note the
3655 single underscore in _declspec in the initial commit), and that doesn't
3656 really make sense. See #492077.
3658 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3660 * gst/gst.c: (init_post):
3661 * gst/gstevent.c: (_gst_event_initialize):
3662 * gst/gstquery.c: (_gst_query_initialize):
3663 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3664 g_type_class_ref() other types as well, see #349410 and #64764.
3666 * gst/gstbuffer.c: (_gst_buffer_initialize):
3667 * gst/gstmessage.c: (_gst_message_initialize):
3668 Simplify existing g_type_class_ref().
3670 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3672 * gst/gstformat.c: (_gst_format_initialize):
3673 g_type_class_ref() our GstFormat type to make sure we avoid the
3674 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3675 bug #64764. Should fix intermittent tee unit test failures (#474823).
3677 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3679 * tests/check/elements/tee.c: (test_num_buffers):
3680 Simplify, simplify, simplify - or not. Rewrite unit test
3681 not to use gst_parse_launch(); allow N sub-streams. Increasing
3682 the number of sub-streams seems to reproduce #474823 more easily.
3684 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3686 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3689 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3690 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3691 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3692 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3693 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3694 so use _pipe() directly (#492077).
3696 * win32/common/dirent.c: (_treaddir):
3697 Add a couple of casts to make it build without warnings with MSVC.
3699 * win32/common/libgstreamer.def:
3700 Add some more symbols that need to be exported.
3702 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3704 * tests/examples/metadata/read-metadata.c: (message_loop):
3705 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3706 arriving in a second or third tag message are added to
3707 the tag list as well.
3709 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3711 * libs/gst/base/gstbasesrc.c:
3712 Its "Since:" and not "@Since:". And remove an superflous cast.
3714 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3716 * docs/libs/gstreamer-libs-sections.txt:
3717 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3718 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3719 (gst_base_sink_get_property), (gst_base_sink_render_object),
3720 (gst_base_sink_preroll_object),
3721 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3722 (gst_base_sink_change_state):
3723 * libs/gst/base/gstbasesink.h:
3724 Add a new last-buffer property that contains the last buffer used in
3725 basesink for preroll or rendering. useful for making snapshots.
3726 API: gst_base_sink_get_last_buffer()
3727 API: GstBaseSink::last-buffer
3729 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3731 * docs/gst/running.xml:
3733 * gst/gstdebugutils.c:
3734 * gst/gstdebugutils.h:
3735 * tools/gst-launch.c:
3736 Improve bin graph dumping, by using the envvar to specify a path.
3737 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3739 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3741 * plugins/elements/gsttypefindelement.c:
3742 (gst_type_find_element_handle_event),
3743 (gst_type_find_element_activate):
3744 Post special error message if we can't determine the type of a stream
3747 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3749 * docs/gst/running.xml:
3750 * gst/gstdebugutils.c:
3751 Document new env-var. Add one log-line after dumpng a graph.
3753 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3756 Ugly hack to put the (recently removed and non-portable, apparently)
3757 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3758 GNU ld, because without that 'make check' fails miserably on my debian
3759 stable box. Someone with more knowledge of linker intricacies and
3760 portability issues than me fix this properly please.
3762 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3764 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3765 Reset last seen position after flushing so that we don't report the old
3768 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3770 * gst/gstelementfactory.c: (gst_element_register):
3772 Patch from Alessandro Decina adding get_type_full and
3773 get_protocols_full private vfuncs to the URIHandler interface
3774 to allow bindings to support creating URI handlers.
3775 Partially fixes: #339279
3776 API: GstURIHandlerInterface::get_type_full
3777 API: GstURIHandlerInterface::get_protocols_full
3779 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3781 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3782 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3783 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3784 Make it so that pads are considered linked until a buffer is pushed
3785 and discovered otherwise. This avoids problems with decodebin2 hanging
3786 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3789 Make sure we lock the multiqueue when updating the max-size properties.
3791 Fix a crash on Solaris in a debug statement in get_request_pad that
3792 passes a NULL string to GST_DEBUG.
3794 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3795 (run_output_order_test):
3796 Fix the test to allow the first buffer on not-linked pads to come out
3797 of sequence while multiqueue discovers that they are not-linked.
3799 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3802 * libs/gst/check/Makefile.am:
3803 Use a custom export symbol regex for libgstcheck, as it needs
3804 to export symbols that don't match the standard GStreamer gst_*
3805 pattern, and --export-dynamic is not portable (only works on
3808 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3809 (gst_check_setup_sink_pad):
3810 Make sure to pass a message parameter to the fail_* macros.
3812 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3813 Fix some compiler warnings.
3815 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3817 * tests/check/gst/gststructure.c: (test_to_string):
3818 Disable test that checks that white spaces are not allowed
3819 in structure names or field names, since we need to
3820 support that for now for backwards compatibility reasons.
3822 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3824 * docs/gst/gstreamer-sections.txt:
3827 API: add GST_TAG_ARTIST_SORTNAME
3828 API: add GST_TAG_ALBUM_SORTNAME
3829 API: add GST_TAG_TITLE_SORTNAME
3830 Add tag variants for sorting (#414539).
3832 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3834 * gst/gststructure.c:
3835 Also allow white space for names so we don't break
3836 backwards compatibility.
3838 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3840 * docs/design/part-TODO.txt:
3841 * docs/design/part-segments.txt:
3842 * docs/design/part-streams.txt:
3845 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3847 * docs/gst/gstreamer-sections.txt:
3848 Fixed documentation from my previous commit (added new API add
3849 gst_value_set_structure(), add gst_value_get_structure() and
3850 GST_VALUE_HOLDS_STRUCTURE).
3852 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3854 * gst/gstdebugutils.c:
3855 Reflow code to fix uninitialized variable warning.
3857 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3859 * gst/gstcaps.c: (gst_caps_to_string),
3860 (gst_caps_from_string_inplace):
3861 * gst/gststructure.c: (gst_structure_get_abbrs),
3862 (gst_structure_to_string), (gst_structure_from_string):
3863 * gst/gstvalue.c: (gst_value_set_structure),
3864 (gst_value_get_structure), (gst_value_serialize_structure),
3865 (gst_value_deserialize_structure), (_gst_value_initialize):
3867 * tests/check/gst/gststructure.c: (GST_START_TEST),
3868 (gst_structure_suite):
3869 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3870 Added GstStructure to gst_value_table and its related functions.
3871 Changed gst_structure_to_string to print ';' in the end.
3872 Changed gst_caps_to_string to not print ';' beteween its
3873 fields (structures) anymore and remove the lastes ';' from latest
3874 structure. Now it is possible to have nested structures.
3875 In addition, backward compatibilty is assured by accepting '\0' as
3876 end delimiter. Fixes: #487969.
3877 API: add gst_value_set_structure()
3878 API: add gst_value_get_structure()
3879 API: add GST_VALUE_HOLDS_STRUCTURE
3881 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
3884 When no GSource callback has been set up, tell developer
3885 to use a function that actually exists.
3887 2007-10-17 Stefan Kost <ensonic@users.sf.net>
3889 * docs/gst/gstreamer-sections.txt:
3893 * gst/gstdebugutils.c:
3894 * gst/gstdebugutils.h:
3897 * tools/gst-launch.c:
3898 Allow dumping pipelines as dot graphs. Fixes #456573.
3900 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3902 * gst/gststructure.c:
3903 Allow '+' as well, it can be part of media or mime types
3904 such as image/svg+xml.
3906 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3908 * docs/gst/gstreamer-sections.txt:
3911 API: add gst_bus_pop_filtered
3912 API: add gst_bus_timed_pop_filtered
3913 Two new functions for waiting for specific message types on the
3914 bus for a specified amount of time without iterating any main
3915 loops or main contexts.
3917 * tests/check/gst/gstbus.c:
3918 Some tests for the new functions.
3920 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3922 * docs/libs/gstreamer-libs-sections.txt:
3923 Make gtk-doc ignore stuff it should ignore.
3925 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3927 * libs/gst/check/gstcheck.c:
3928 * libs/gst/check/gstcheck.h:
3929 Allow runtime selection of unit tests to run via the GST_CHECKS
3930 environment variable (test case function names, comma-separated).
3932 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3934 * gst/gststructure.c:
3935 * tests/check/gst/gststructure.c:
3936 Revert serialisation change and constrain structure-names after
3937 consensus on irc. Update api documentation to reflect the change.
3939 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3941 * gst/gststructure.c:
3942 Improve serialization and fix tests.
3944 * tests/check/gst/gststructure.c:
3945 Add another test that covers why I actually did the previous structure
3948 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3950 * tools/gst-inspect.c: (print_element_info):
3951 Don't crash when inspecting an element.
3953 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
3955 * tests/check/gst/gststructure.c:
3956 Add unit test for escaping of structure name when serialising
3957 and deserialising to/from strings.
3959 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3961 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3962 (gst_single_queue_new):
3963 * plugins/elements/gstqueue.c: (gst_queue_init),
3964 (gst_queue_push_one):
3965 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3966 upstream is tricked into thinking it can suggest a format downstream
3967 while downstream does not support that format. The real problem is that
3968 core calls acceptcaps when pushing a buffer with new caps, for which we
3969 do a little workaround by setting the caps on the srcpad ourselves
3970 before pushing the buffer (until this is figured out). Fixes #486758.
3972 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3974 * gst/gststructure.c:
3976 Add some more comments and debug output. Quote structure name to fix
3977 deserialisation of some strings.
3979 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3982 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
3983 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
3985 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3987 * tools/gst-inspect.c:
3988 Save approx. 400 1 byte allocs when printing. Use API to acces element
3994 * tools/gst-xmlinspect.c:
3995 Use API to acces element details.
3997 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4000 Fix some spelling errors.
4002 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4004 * gst/gstbin.c: (bin_handle_async_done):
4005 Correctly set the next state if all of our async children commited their
4006 state. This makes sure we can actually cancel the state change in
4007 progress. Fixes a regression in Rhythmbox when seeking.
4009 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4012 Don't shadow local variable.
4015 Don't shadow global function name.
4017 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4019 * gst/gstelementfactory.c:
4020 * gst/gstpluginfeature.c:
4021 * gst/gstpluginfeature.h:
4022 * gst/gstregistrybinary.c:
4023 * gst/gstregistryxml.c:
4024 * gst/gsttypefind.c:
4025 Use already-interned string for the private GstPluginFeature
4028 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4030 * docs/libs/gstreamer-libs-sections.txt:
4031 Add new API to docs; fixes the build.
4033 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4035 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4037 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4038 (gst_base_sink_event):
4039 * libs/gst/base/gstbasesink.h:
4040 Add function to wait for EOS, subclasses can use this to correctly wait
4041 for devices to drain before performing the EOS logic. Fixes #485343.
4042 API: gst_base_sink_wait_eos()
4044 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4047 Cast description string constants in GST_PLUGIN_DEFINE macros
4048 to a (gchar*) to make C++ code using these macros compile
4049 without warning with g++-4.2 (see #462737). Even if slightly
4050 ugly, this seems preferable to putting the description strings
4051 into the GLib quark table or making the structure member a
4052 const gchar * and doing casts in core code that allocs and
4053 frees these strings, or requiring a cast in the C++ code.
4055 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4058 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4059 to print the entire class/function signature into the log
4060 file for C++ code. This only affects C++ code, for C code
4061 everything remains the same.
4063 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4065 * gst/gstbin.c: (remove_from_queue):
4066 Work around a problem with pipelines containing (semi)loops until a
4067 proper, more complicated solution is ready. See #475455.
4069 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4073 * gst/gstregistrybinary.c:
4074 * gst/gstregistryxml.c:
4075 Put more strings into the GLib quark table. No need to keep
4076 a hundred-something copies of identical version strings,
4077 license strings, package name strings and package origin
4080 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4082 * docs/manual/advanced-dataaccess.xml:
4083 Don't imply that it's okay to unconditionally change
4084 buffer data or buffer metadata in a pad probe callback,
4085 and a bunch of other comments. Fixes #430031.
4087 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4089 * win32/common/gstenumtypes.c:
4090 * win32/common/gstenumtypes.h:
4091 * win32/common/gstversion.h:
4092 Update generated files.
4094 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4096 * docs/manual/advanced-autoplugging.xml:
4097 Prefix section with broken code with a warning (see #342432).
4099 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4101 * docs/manual/appendix-integration.xml:
4102 * docs/manual/basics-init.xml:
4103 Call g_thread_init() before g_option_context_new() to
4104 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4106 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4108 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4109 (gst_base_sink_queue_object_unlocked),
4110 (gst_base_sink_queue_object), (gst_base_sink_event),
4111 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4112 When we received EOS and are waiting for when to post the EOS message,
4113 our state is prerolled and we should not return ASYNC.
4114 Reorganize some code paths to implement this behavior.
4116 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4118 Add unit test to verify above EOS fix.
4120 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4122 * plugins/elements/gsttypefindelement.c:
4123 (gst_type_find_element_have_type), (gst_type_find_element_init),
4124 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4125 Move detecting the input caps of the sinkpad to the setcaps function.
4126 This allows us to update the output caps when we receive new input caps
4127 instead of always using the first detected caps.
4129 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4131 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4132 (gst_base_sink_get_position):
4133 Don't try to preroll non-async elements after a flush.
4134 Subtract latency form clock times when reporting position.
4136 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4138 * gst/gstpad.c: (gst_pad_pause_task):
4140 Small comment and documentation update.
4142 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4144 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4145 (gst_base_src_set_live), (gst_base_src_is_live),
4146 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4147 (gst_base_src_default_event), (gst_base_src_wait),
4148 (gst_base_src_do_sync), (gst_base_src_get_range),
4149 (gst_base_src_pad_get_range), (gst_base_src_loop),
4150 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4151 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4152 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4153 (gst_base_src_change_state):
4154 Rework the locking of basesrc in a similar fashion to basesink. We
4155 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4156 us to handle live sources and semi live ones much better.
4158 Fix unlocking when seeking, shutting down and pausing in live sources.
4160 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4162 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4163 Fix compilation again.
4165 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4168 Use meaningful categories for the logs to clean the default one.
4170 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4172 * tests/check/pipelines/cleanup.c:
4173 Print message name and not just number.
4175 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4177 * docs/design/draft-tagreading.txt:
4178 Add some more thoughts.
4180 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4182 * tests/check/pipelines/simple-launch-lines.c:
4183 Print message name and not just number.
4185 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4187 * libs/gst/base/gsttypefindhelper.c:
4188 Speedup typefinding. This is work in progress (see #459862).
4190 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4193 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4194 Spotted by Josep Torra Valles <josep@fluendo.com>.
4196 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4199 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4200 field has moved to GstObject.
4202 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4204 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4205 (gst_base_src_get_range), (gst_base_src_change_state):
4206 Call unlock for live sources so that they can't get stuck in _create and
4207 produce a buffer before they are set back to PLAYING.
4209 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4211 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4212 (gst_queue_locked_dequeue):
4213 Comment the segment-related code... in the PROPER function.
4214 See #482147 and my commit from yesterday.
4216 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4218 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4219 Also initialize the counter that calculates the first timestamp on a
4220 buffer correctly for non-live sources.
4222 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4224 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4225 Disable code that's breaking the current-time-level reporting.
4228 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4230 * docs/gst/gstreamer-sections.txt:
4231 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4232 as they shouldn't show up. Fixes the docs build.
4234 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4237 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4238 Define M_PI which is used in files which are including gstinfo.h.
4239 VS6 includes doesn't define it.
4240 * win32/common/libgstbase.def:
4241 * win32/common/libgstcontroller.def:
4242 * win32/common/libgstreamer.def:
4243 Add new exported functions and variables.
4244 * win32/vs6/libgstcontroller.dsp:
4245 * win32/vs6/libgstreamer.dsp:
4246 Update the list of files to build.
4248 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4250 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4252 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4253 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4254 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4255 Improve debugging. Fixes #480858.
4257 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4259 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4261 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4262 First patch of code cleanups, use the macros and right arguments in the
4263 macros to signal and lock the queue. See #480858.
4265 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4267 * gst/gstbus.c: (poll_func):
4268 Improve debugging when dealing with _poll().
4270 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4272 * gst/gstregistryxml.c:
4273 Fix memory leak I introduced a few days ago.
4275 2007-09-26 Michael Smith <msmith@fluendo.com>
4277 * gst/gstbuffer.c: (gst_buffer_finalize):
4278 Make it once again possible to free GstBuffers in the default
4280 The poisoning scribbles on parts of the miniobject we need in
4284 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4286 * docs/gst/gstreamer-sections.txt:
4289 API: add GST_TAG_COMPOSER, fixes #459809.
4291 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4295 Add the 3-clause BSD license and the MIT/X11 license to the license
4296 list. Fixes #479784.
4298 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4300 * docs/faq/getting.xml:
4301 Add Q+A about different GStreamer versions (#364056).
4303 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4305 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4306 (gst_base_sink_event), (gst_base_sink_change_state):
4307 Return correct gboolean from query function.
4309 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4311 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4312 (gst_base_sink_event), (gst_base_sink_query),
4313 (gst_base_sink_change_state):
4314 Simplify latency query.
4315 When not synchronizing, we can report latency without querying the peer
4318 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4322 Fix small typos in the docs.
4324 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4326 * docs/design/draft-latency.txt:
4327 * docs/design/draft-push-pull.txt:
4328 * docs/design/draft-tagreading.txt:
4329 * docs/design/part-MT-refcounting.txt:
4330 * docs/design/part-activation.txt:
4331 * docs/design/part-block.txt:
4332 * docs/design/part-element-source.txt:
4333 * docs/design/part-events.txt:
4334 * docs/design/part-gstbin.txt:
4335 * docs/design/part-gstelement.txt:
4336 * docs/design/part-gstobject.txt:
4337 * docs/design/part-gstpipeline.txt:
4338 * docs/design/part-messages.txt:
4339 * docs/design/part-preroll.txt:
4340 * docs/design/part-push-pull.txt:
4341 * docs/design/part-qos.txt:
4342 * docs/design/part-query.txt:
4343 * docs/design/part-scheduling.txt:
4344 * docs/design/part-seeking.txt:
4345 * docs/design/part-segments.txt:
4346 * docs/design/part-states.txt:
4347 Documentation updates and typo fixes.
4349 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4351 * plugins/elements/gstfakesink.c:
4352 Add some debug text to error message to indicate that
4353 we errored out on request.
4355 * tools/gst-launch.c:
4356 When the state change to PLAYING fails, check for an
4357 error message on the bus and print it.
4359 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4361 translated by: Jorge González González <aloriel@gmail.com>
4365 Added Spanish translation.
4367 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4369 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4370 Fix printf arguments.
4372 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4374 * tests/check/generic/states.c:
4375 Improved state change unit test.
4377 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4380 Move priv to the right place.
4382 * gst/gstsystemclock.c:
4383 Add FIXME: and improve log.
4385 * tests/check/Makefile.am:
4386 * tests/examples/manual/Makefile.am:
4387 Work with all types of registries.
4389 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4391 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4392 Don't unref the event after pushing it. Fixes #478401.
4394 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4397 * tests/examples/manual/.cvsignore:
4398 Ignore registries in any format.
4400 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4402 * gst/glib-compat-private.h:
4403 Add compatibility macro for g_intern_string() for
4404 GLib-2.8 (any reason we can't just bump the
4405 requirement to at least 2.10?)
4407 * gst/gstpadtemplate.h:
4408 * gst/gstelementfactory.c:
4409 * gst/gstregistryxml.c:
4410 * gst/gstregistrybinary.c:
4411 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4412 up the internal code accordingly. This shouldn't be a problem, since
4413 there is no reason external code could ever assume the string in such
4414 a structure is dynamically allocated unless it did that itself; the
4415 use of g_strdup() is private to element factories. The new code also
4416 saves some memory by putting pad template name strings into the GLib
4417 quark table instead of allocating them dynamically.
4418 Declaring this field constant fixes warnings with g++-4.2 when using
4419 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4421 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4423 * gst/gstelementfactory.c:
4424 Release static caps. Fixes #475723.
4426 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4430 Make some internal API take const gchar * instead of just
4431 gchar * to avoid compiler warnings with g++-4.2.2 when
4432 passing string constants (partially fixes #478092).
4434 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4436 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4437 A latency query fails when one of the sinks fail.
4439 * gst/gstelement.c: (gst_element_set_base_time):
4442 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4444 * gst/gstbin.c: (gst_bin_continue_func):
4445 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4446 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4447 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4449 Fix minor compilation warnings shown with Forte.
4451 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4453 * plugins/elements/gstqueue.c: (apply_buffer),
4454 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4455 Measure queue level based on the diff between head and tail timestamps
4456 even when pushing the first buffer.
4458 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4460 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4461 (gst_base_sink_event), (gst_base_sink_change_state):
4462 Sinks that don't preroll can always be queried for the latency.
4463 Don't post ASYNC start when we are not async.
4465 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4467 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4468 (gst_queue_handle_sink_event), (gst_queue_chain),
4469 (gst_queue_push_one), (gst_queue_handle_src_query),
4470 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4471 * plugins/elements/gstqueue.h:
4472 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4473 push more buffers but allow pushing of EOS and NEWSEGMENT.
4474 Add some more debug info here and there. Fixes #476514.
4476 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4478 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4479 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4480 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4481 (gst_base_sink_set_flushing), (gst_base_sink_query),
4482 (gst_base_sink_change_state):
4483 Latency query is allowed after we are prerolled. Introduce a new flag
4484 for this and stop abusing other variables.
4486 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4488 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4489 Push OOB events downstream when we get them in send_event. This allows
4490 the application to insert events in the pipeline.
4491 Add some more comments.
4493 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4495 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4496 (do_bin_latency), (gst_bin_change_state_func):
4497 * gst/gstpipeline.c: (gst_pipeline_change_state):
4498 Move latency query from GstPipeline to GstBin so that we can also
4499 use it when async-handling is enabled on bins.
4501 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4503 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4504 (gst_base_src_do_sync), (gst_base_src_change_state):
4506 Clean up the timestamping and syncing code for pseudo live sources.
4508 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4510 Patch by: Steve Fink <sphink gmail com>
4512 * docs/manual/appendix-checklist.xml:
4513 Mention less -R switch in the section about debug output (#474055).
4515 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4517 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4518 Queue can latency to the pipeline up to the configured max size in time.
4519 Report this fact in the latency query.
4521 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4523 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4525 * libs/gst/controller/gstinterpolation.c:
4526 * libs/gst/controller/gstlfocontrolsource.c:
4527 Use gst_guint64_to_gdouble() when converting from a uint64 or
4528 GstClockTime to double to fix the build on win32. Fixes #474371.
4530 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4532 * gst/gstbuffer.c: (gst_buffer_finalize):
4533 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4534 When finalizing a buffer the complete struct is filled with 0xff,
4535 thus making a use of the buffer after the final unref impossible.
4537 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4539 * tests/check/libs/controller.c: (GST_START_TEST):
4540 Use fail_unless_equals_int(a, b) instead of
4541 fail_unless_equals (a == b) to get better output on failures.
4543 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4545 * tests/check/gst/gsturi.c:
4546 Also check for the other file URI variant on win32.
4548 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4550 * gst/gsturi.c: (gst_uri_get_location):
4551 If there's no hostname, we want to return 'c:/foo/bar.txt'
4552 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4554 * tests/check/gst/gsturi.c:
4555 Unit test for the above and a few more things.
4557 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4559 * docs/design/part-live-source.txt:
4560 Add docs on how live sources should timestamp.
4562 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4563 Add some more debug info.
4564 For subclasses that are live and like to sync, add aditional startup
4565 latency to sync time and timestamps so that we timstamp according to the
4568 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4571 Also do a g_type_class_ref() for the subbuffer type in
4574 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4576 * docs/gst/gstreamer-sections.txt:
4577 * gst/gstpad.c: (gst_pad_peer_query):
4579 Add function to perform a query on the peer of a pad.
4580 API: gst_pad_peer_query()
4582 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4584 * tests/check/gst/gstsystemclock.c:
4585 Cleanup the test a little (use gst-logging and not g_message). Improve
4586 test to check if a wait reached the target.
4588 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4590 * docs/libs/gstreamer-libs-sections.txt:
4591 Add new API to docs and fix the build.
4593 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4595 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4596 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4597 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4598 (gst_base_src_get_property), (gst_base_src_do_sync):
4599 * libs/gst/base/gstbasesrc.h:
4600 Add property to make the basesrc timestamp buffers based on the current
4602 API: GstBaseSrc::do-timestamp
4603 API: gst_base_src_set_do_timestamp()
4604 API: gst_base_src_get_do_timestamp()
4606 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4608 * docs/random/release:
4609 Really make sure translations are up-to-date before
4610 a release (#465010).
4612 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4614 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4615 Always destroy the timer, also in error cases.
4617 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4619 * docs/manual/highlevel-xml.xml:
4620 Fix XML example code. Fixes #472714.
4622 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4624 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4625 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4626 (gst_base_sink_query):
4627 Protect eos and have_preroll with the OBJECT lock so we don't need to
4628 take the PREROLL lock when querying the latency. Fixes #473846.
4630 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4633 Give some log-messages a category.
4635 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4637 * gst/gststructure.c:
4638 (gst_structure_fixate_field_nearest_fraction):
4639 Fix fraction list fixation code. Take the fraction with the smallest
4640 difference with the target instead of the first one in the list.
4642 * tests/check/gst/gststructure.c: (GST_START_TEST),
4643 (gst_structure_suite):
4644 Added test to verify correct fraction list fixation behaviour.
4646 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4648 * win32/common/libgstreamer.def:
4649 Export gst_bus_add_signal_watch too.
4651 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4653 * docs/libs/gstreamer-libs-sections.txt:
4654 Add new methods to docs.
4656 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4657 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4658 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4659 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4660 * libs/gst/base/gstbasesink.h:
4661 Add ts-offset property to fine-tune the synchronisation.
4662 API: GstBaseSink::ts-offset property
4663 API: gst_base_sink_set_ts_offset()
4664 API: gst_base_sink_get_ts_offset()
4666 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4668 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4669 (gst_base_sink_init), (gst_base_sink_set_sync),
4670 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4671 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4672 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4673 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4674 (gst_base_sink_get_property), (gst_base_sink_change_state):
4675 * libs/gst/base/gstbasesink.h:
4676 Add async property to instruct the sink never to inform the parent about
4677 ASYNC state changes, update docs.
4678 Check argument with g_return_* for the public functions.
4679 API: GstBaseSink::async property
4680 API: gst_base_sink_set_async_enabled()
4681 API: gst_base_sink_is_async_enabled()
4683 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4685 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4688 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4689 (gst_base_src_default_query), (gst_base_src_wait),
4690 (gst_base_src_do_sync), (gst_base_src_change_state):
4691 Rearrange some code so that we can add support for measuring the
4694 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4696 * docs/random/ensonic/dynlink.txt:
4697 More thoughs on this.
4699 * plugins/elements/gstcapsfilter.c:
4700 Add bugzilla ticket number to FIXME comment.
4702 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4704 * docs/design/part-TODO.txt:
4705 * docs/design/part-block.txt:
4708 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4711 Revert patch which uses $(gst_headers) instead of $^ because it
4714 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4716 * tests/check/gst/gstbin.c: (GST_START_TEST):
4717 Fix leaks in the new unit test.
4719 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4722 Don't use GST_INFO before the debug system is actually initialised
4723 (shouldn't do any harm, but won't print anything either, so we can
4724 just as well remove it).
4727 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4728 compilers that don't support variadic macros (such as MSVC), should
4729 check for debug_level <= __gst_debug_min as well, since that's the
4730 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4731 inline helper functions. Should improve performance a bit, but also
4732 makes sure uses of GST_INFO et.al are ignored if the debugging
4733 system isn't initialised yet (instead of printing an assertion
4736 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4738 patch by: David Nečas <yeti@physics.muni.cz>
4741 Replace some non portable makefile constructs.
4743 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4745 * common/gtk-doc-plugins.mak:
4746 Grrrrr. Don't remove the types file on make clean.
4748 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4750 * tools/gst-launch.1.in:
4751 Add colorspace to example pipeline. Fixes #458274.
4753 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4755 * docs/random/release:
4756 The release manager should run 'make download-po' before making a
4757 release to make sure translations are up-to-date.
4763 Add some new translations.
4765 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4767 * tools/gst-launch.c: (event_loop), (main):
4768 Don´t try to do any state management when a live pipeline posts
4770 Also make the buffering string translatable.
4772 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4774 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4775 (bin_handle_async_start), (gst_bin_handle_message_func):
4777 When adding elements, insert messages into the bus of the newly added
4778 element and make sure the element is the source of the message. This
4779 allows the parent bin to intercept the message and do the
4780 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4781 messages to the app (which is not allowed).
4784 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4785 Fix testsuite so that is does not work around messages that should not
4786 have been posted in the first place.
4788 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4790 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4791 (update_degree), (gst_bin_sort_iterator_next):
4792 Fix annoying bug in the sorted iterator where a sink that is not really
4793 a sink (when it has downstream links) screwed up the iterator.
4795 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4796 Unit test to verify the fix.
4798 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4801 Add some more docs for the messages.
4803 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4804 (gst_base_sink_query):
4805 Add some more debugging.
4807 * tools/gst-launch.c: (event_loop):
4808 When interrupting, don't try to set pipeline to PAUSED twice.
4810 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4813 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4814 (bin_handle_async_start), (gst_bin_handle_message_func):
4815 Move ASYNC_START message posting to where it belongs, similar to
4817 Don't post ASYNC_START when we are in error.
4818 Post ASYNC_START when we added an async element to a bin.
4820 2007-08-14 Julien MOUTTE <julien@moutte.net>
4822 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4823 generation from vargs. Fixes #466595.
4825 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4827 * gst/gstbin.c: (gst_bin_element_set_state):
4828 Always change the state of a NO_PREROLL element even if it has ASYNC
4829 elements inside (in case of a bin).
4831 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4832 Unit test for this case.
4834 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4836 * libs/gst/check/gstbufferstraw.c:
4837 * libs/gst/check/gstcheck.h:
4838 * libs/gst/controller/gstcontroller.c:
4839 * libs/gst/controller/gstcontrolsource.h:
4840 * libs/gst/controller/gstlfocontrolsource.h:
4841 * plugins/elements/gstcapsfilter.h:
4842 * plugins/elements/gstfdsink.h:
4843 * plugins/elements/gstfdsrc.h:
4844 Add more missing docs.
4846 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4848 * gst/gststructure.c:
4849 Add Since tag to docs.
4851 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4853 * docs/gst/gstreamer-sections.txt:
4854 * gst/gststructure.c: (gst_structure_get_uint):
4855 * gst/gststructure.h:
4856 Add function to get uint from a structure.
4857 API: gst_structure_get_uint()
4859 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4861 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4862 (gst_caps_intersect):
4863 Fix proper check for simple caps.
4865 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4867 * docs/gst/Makefile.am:
4868 * docs/libs/Makefile.am:
4869 Remove cruft and do some cleanups.
4871 * docs/gst/gstreamer-docs.sgml:
4872 * docs/libs/gstreamer-libs-docs.sgml:
4873 Prepare for comming gtkdoc features (rebase against online docs).
4875 2007-08-10 Michael Smith <msmith@fluendo.com>
4877 * docs/gst/gstreamer-sections.txt:
4878 Add gst_registry_add_path to docs.
4880 2007-08-10 Michael Smith <msmith@fluendo.com>
4882 * gst/gstregistry.h:
4883 Add gst_registry_add_path, which was missing from this header.
4885 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
4887 * libs/gst/controller/gstlfocontrolsource.c:
4890 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4892 * libs/gst/base/gstbasesink.c:
4893 Don't send an async_start message during downwards state change if
4894 target state is less than READY
4896 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4898 translated by: Gabor Kelemen <kelemeng@gnome.hu>
4902 Added Hungarian translation.
4904 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4911 Updated translations.
4913 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4915 * libs/gst/controller/Makefile.am:
4916 Dist gstlfocontrolsourceprivate.h
4918 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4920 * docs/libs/gstreamer-libs.types:
4921 Don't register the enum type gst_lfo_waveform_get_type() in the
4922 .types file - only GObject derived types belong.
4924 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4926 Patch by: <arenevier at fdn dot fr>
4929 Remove comma from last element in enum to avoid compile errors when
4930 using -pendantic. Fixes #464366.
4932 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4934 * docs/design/part-TODO.txt:
4935 Add some more TODO items
4937 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4940 * gst/gstcaps.c: (gst_caps_intersect):
4941 Optimize trivial intersection case between identical caps pointers.
4943 * gst/gstelement.c: (gst_element_continue_state),
4944 (gst_element_set_state_func):
4946 Fix spelling and grammar mistakes.
4948 2007-08-05 Stefan Kost <ensonic@users.sf.net>
4952 Update POTFILES. Fixes #461599.
4954 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4957 Fix confusing typo in debug output.
4959 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4961 reviewed by: Stefan Kost <ensonic@users.sf.net>
4963 * libs/gst/controller/Makefile.am:
4964 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4965 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4966 (gst_lfo_control_source_new),
4967 (gst_lfo_control_source_set_waveform),
4968 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4969 (gst_lfo_control_source_finalize),
4970 (gst_lfo_control_source_dispose),
4971 (gst_lfo_control_source_set_property),
4972 (gst_lfo_control_source_get_property),
4973 (gst_lfo_control_source_class_init):
4974 * libs/gst/controller/gstlfocontrolsource.h:
4975 * libs/gst/controller/gstlfocontrolsourceprivate.h:
4976 API: Add GstLFOControlSource, a control source that gives values
4977 for specific timestamps based on several periodic waveforms.
4980 * tests/check/libs/controller.c: (GST_START_TEST),
4981 (gst_controller_suite):
4982 * docs/libs/gstreamer-libs-docs.sgml:
4983 * docs/libs/gstreamer-libs-sections.txt:
4984 * docs/libs/gstreamer-libs.types:
4985 Add documentation and unit tests for GstLFOControlSource.
4987 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
4992 === release 0.10.14 ===
4994 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
4997 releasing 0.10.14, "Breathing Vacuum"
4999 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5001 * gst/gstelement.c: (gst_element_class_set_details_simple):
5003 Make strings passed to gst_element_class_set_details_simple()
5004 constant, as they should be (#462752).
5006 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5008 * gst/gstbin.c: (gst_bin_change_state_func),
5009 (bin_handle_async_done), (gst_bin_handle_message_func):
5010 Don't forget about the fact that some element went ASYNC even after a
5011 resync. This makes us post the ASYNC_DONE message correctly.
5014 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5016 * gst/gstregistry.c: (gst_registry_add_feature):
5017 When replacing an existing feature in the registry, make sure to
5018 continue holding a reference until we've replaced the name string
5019 within our feature hash table. Make sure to use g_hash_table_replace
5020 instead of g_hash_table_insert to ensure the new name string is used
5021 as a key instead of the old one that we're about to free.
5024 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5026 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5027 (gst_plugin_feature_set_name):
5028 Revert patch from #459466 until after the release and we can work
5029 out exactly what the problem is (if any).
5031 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5033 * docs/gst/gstreamer-sections.txt:
5036 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5038 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5040 * docs/libs/Makefile.am:
5041 Include our build-prefix libs and includes before the generic ones to
5042 avoid linking against the installed libs when we want the build-tree
5045 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5047 Patch by: Steve Fink <sphink gmail com>
5049 * docs/pwg/building-testapp.xml:
5050 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5051 if people try to build or install the example from the plugin
5052 template against a GStreamer from package using the configure
5055 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5057 Patch by: Steve Fink <sphink gmail com>
5059 * tools/gst-inspect.1.in:
5060 Document --print-all and --print-plugin-auto-install-info command
5061 line options in man page.
5063 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5065 * docs/gst/gstreamer-sections.txt:
5066 Add docs for new api function.
5068 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5070 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5071 * gst/gstelementfactory.h:
5072 API: gst_element_factory_has_interface()
5073 Added method to check if an element factory implements a named
5076 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5079 * docs/gst/gstreamer.types.in:
5080 Another conditional doc check.
5083 * gst/gstparamspecs.h:
5084 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5089 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5091 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5092 (gst_registry_binary_load_feature),
5093 (gst_registry_binary_load_plugin),
5094 (gst_registry_binary_read_cache):
5095 Print error just once and with additional info.
5097 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5099 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5100 (helper_find_suggest), (helper_find_get_length),
5101 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5102 (gst_type_find_helper_for_buffer):
5103 Cleanup the typefindhelper code and add private doc comments.
5105 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5107 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5108 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5109 Fix capsfilter for cases where the caps set on capsfilter will provide
5110 additional information.
5113 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5115 * gst/gsttypefindfactory.c:
5116 Fix docs that recommened wrong function to use.
5118 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5120 * tools/gst-inspect.c: (print_plugin_features):
5121 Also give media-type for typefinders in element output.
5123 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5125 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5126 (gst_registry_remove_features_for_plugin_unlocked),
5127 (gst_registry_add_feature), (gst_registry_remove_feature),
5128 (gst_registry_lookup_feature_locked):
5129 * gst/gstregistry.h:
5130 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5133 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5135 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5136 (gst_plugin_feature_set_name):
5137 Avoid double memory usage for pluginfeature names. Fixes #459466.
5139 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5142 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5143 driving the pipeline may need to explicitly check for NOT_LINKED as
5144 well, since IS_FATAL doesn't cover that.
5146 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5148 * docs/pwg/advanced-types.xml:
5149 Fix typo and duplicate entry in video formats list.
5151 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5153 * libs/gst/controller/gstinterpolation.c:
5154 Also round to the nearest int when using cubic interpolation.
5156 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5158 * libs/gst/controller/gstinterpolation.c:
5159 When linearly interpolating integer types, round to the nearest int
5160 by adding 0.5. Don't do it for float/double types.
5161 Fixes the failing controller test on my machine, which is somehow
5162 rounding differently than on the buildbots.
5164 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5166 * tools/gst-plot-timeline.py:
5167 Better log parsing (categories can have -). Adjust text vs. lines, so
5168 that they span the same y-range.
5170 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5172 * docs/random/ensonic/audiobaseclasses.txt:
5173 * docs/random/ensonic/dynlink.txt:
5174 * docs/random/ensonic/profiling.txt:
5177 * docs/random/moving-plugins:
5178 Add note to use g_assert type macros.
5180 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5183 * libs/gst/check/Makefile.am:
5184 Add libm check as we use in for plugins.
5186 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5188 * gst/gstbin.c: (gst_bin_continue_func):
5189 Check that the state_cookie hasn't changed since the continue_func
5190 was scheduled. Avoids problems where the state changes back to
5191 something it shouldn't be because it was changed in the meantime.
5193 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5195 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5196 (gst_registry_binary_save_string),
5197 (gst_registry_binary_save_pad_template),
5198 (gst_registry_binary_save_feature),
5199 (gst_registry_binary_save_plugin),
5200 (gst_registry_binary_load_feature),
5201 (gst_registry_binary_load_plugin),
5202 (gst_registry_binary_read_cache):
5203 Fix memory leak. Be less verbose in the log.
5205 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5207 * tests/check/elements/.cvsignore:
5208 Add file to cvsignore as commanded.
5210 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5212 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5213 (mq_dummypad_event), (run_output_order_test):
5214 Use a GStaticMutex to protect all cases where libcheck
5215 fail_if/fail_unless macros might be called from multiple threads
5216 simultaneously to avoid errors like:
5217 "check_pack.c:107: :-1081725400:Bad message type arg"
5219 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5221 * tests/check/pipelines/stress.c: (GST_START_TEST):
5222 Make sure we set the pipeline back to the NULL state before
5223 dropping our final reference.
5225 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5227 * tests/check/elements/tee.c: (GST_START_TEST):
5228 Make the tee stress-test a little less stressful so it doesn't just
5229 time out on slow-machines, and remove a small race when it's starting
5230 up by adding a get_state() call.
5232 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5235 Avoid reading registry twice on startup. Fixes #457322.
5237 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5239 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5240 * pkgconfig/gstreamer-check.pc.in:
5241 Substitute the CFLAGS for libcheck into our .pc file too so that
5242 dependent modules will pick it up properly if libcheck is installed
5243 into some other prefix.
5245 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5248 Revert the pkg-config check for libcheck, since it pulls in the
5249 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5250 a proper solution, either from the check project, or something else.
5252 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5255 Use pkg-config to locate check.
5257 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5264 Add deprecation guards.
5266 * libs/gst/base/gstcollectpads.h:
5267 Don't document object (this is implicitly private).
5269 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5271 * gst/gststructure.c: (gst_structure_parse_value):
5272 When deserialising foo=bar without a type cast, check if it's a
5273 boolean before falling back to a string type, otherwise things like
5274 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5275 because the filtercaps end up having a signed=(string)true field,
5276 which causes problems later when intersection caps.
5278 * tests/check/gst/gststructure.c: (GST_START_TEST):
5279 Add a unit test for this.
5281 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5283 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5285 * libs/gst/controller/Makefile.am:
5286 * libs/gst/controller/gstcontroller.c:
5287 (gst_controlled_property_add_interpolation_control_source),
5288 (gst_controlled_property_new), (gst_controlled_property_free),
5289 (gst_controller_find_controlled_property),
5290 (gst_controller_new_valist), (gst_controller_new_list),
5291 (gst_controller_new), (gst_controller_remove_properties_valist),
5292 (gst_controller_remove_properties_list),
5293 (gst_controller_remove_properties),
5294 (gst_controller_set_property_disabled),
5295 (gst_controller_set_disabled), (gst_controller_set_control_source),
5296 (gst_controller_get_control_source), (gst_controller_get),
5297 (gst_controller_sync_values), (gst_controller_get_value_array),
5298 (_gst_controller_dispose), (gst_controller_get_type),
5299 (gst_controlled_property_set_interpolation_mode),
5300 (gst_controller_set), (gst_controller_set_from_list),
5301 (gst_controller_unset), (gst_controller_unset_all),
5302 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5303 * libs/gst/controller/gstcontroller.h:
5304 * libs/gst/controller/gstcontrollerprivate.h:
5305 * libs/gst/controller/gstcontrolsource.c:
5306 (gst_control_source_class_init), (gst_control_source_init),
5307 (gst_control_source_get_value),
5308 (gst_control_source_get_value_array), (gst_control_source_bind):
5309 * libs/gst/controller/gstcontrolsource.h:
5310 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5311 (gst_object_get_control_source):
5312 * libs/gst/controller/gstinterpolation.c:
5313 (gst_interpolation_control_source_find_control_point_node),
5314 (gst_interpolation_control_source_get_first_value),
5315 (_interpolate_none_get), (interpolate_none_get),
5316 (interpolate_none_get_boolean_value_array),
5317 (interpolate_none_get_enum_value_array),
5318 (interpolate_none_get_string_value_array),
5319 (_interpolate_trigger_get), (interpolate_trigger_get),
5320 (interpolate_trigger_get_boolean_value_array),
5321 (interpolate_trigger_get_enum_value_array),
5322 (interpolate_trigger_get_string_value_array):
5323 * libs/gst/controller/gstinterpolationcontrolsource.c:
5324 (gst_control_point_free), (gst_interpolation_control_source_reset),
5325 (gst_interpolation_control_source_new),
5326 (gst_interpolation_control_source_set_interpolation_mode),
5327 (gst_interpolation_control_source_bind),
5328 (gst_control_point_compare), (gst_control_point_find),
5329 (gst_interpolation_control_source_set_internal),
5330 (gst_interpolation_control_source_set),
5331 (gst_interpolation_control_source_set_from_list),
5332 (gst_interpolation_control_source_unset),
5333 (gst_interpolation_control_source_unset_all),
5334 (gst_interpolation_control_source_get_all),
5335 (gst_interpolation_control_source_get_count),
5336 (gst_interpolation_control_source_init),
5337 (gst_interpolation_control_source_finalize),
5338 (gst_interpolation_control_source_dispose),
5339 (gst_interpolation_control_source_class_init):
5340 * libs/gst/controller/gstinterpolationcontrolsource.h:
5341 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5342 API: Refactor GstController into the core controller which can take
5343 a GstControlSource for providing actual values for timestamps.
5344 Implement a interpolation control source and use this for backward
5345 compatibility, deprecate a bunch of functions that are now handled
5346 by GstControlSource or GstInterpolationControlSource.
5347 Make it possible to disable the controller completely or only for
5348 specific properties. Fixes #450711.
5349 * docs/libs/gstreamer-libs-docs.sgml:
5350 * docs/libs/gstreamer-libs-sections.txt:
5351 * docs/libs/gstreamer-libs.types:
5352 Add new functions and classes to the docs.
5353 * tests/check/libs/controller.c: (GST_START_TEST),
5354 (gst_controller_suite):
5355 * tests/examples/controller/audio-example.c: (main):
5356 Port unit test and example to the new API and add some new
5359 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5361 Patch by: Mark Nauwelaerts <manauw at skynet be>
5363 * plugins/elements/gstmultiqueue.c:
5364 (gst_multi_queue_get_internal_links), (apply_buffer),
5365 (single_queue_overrun_cb), (gst_single_queue_new):
5366 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5367 the pipeline layout can be tracked correctly. Fixes #453732.
5369 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5371 * docs/gst/Makefile.am:
5372 * docs/libs/Makefile.am:
5373 * docs/plugins/Makefile.am:
5374 Simplify --extra-dir as gtkdoc scans recursively.
5376 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5378 * tools/gst-launch.c: (main):
5379 When we got an error, there is no point in waiting for preroll when
5382 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5384 * plugins/elements/gsttee.c: (gst_tee_base_init),
5385 (gst_tee_request_new_pad), (gst_tee_release_pad),
5386 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5387 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5389 Be a lot smarter when deciding what srcpad to use for proxying
5390 the buffer_alloc. Also handle pad added/removed when doing so.
5392 Keep track of what pads we already pushed on in case we have pads
5393 added/removed while pushing. Fixes #374639
5395 * tests/check/Makefile.am:
5396 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5398 Added unit test for pad resync.
5400 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5404 Updated translations.
5406 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5408 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5412 Added new Finnish translation.
5414 2007-06-28 Wim Taymans <wim@fluendo.com>
5416 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5417 (single_queue_overrun_cb):
5418 When figuring out when a queue is filled, use our internal time estimate
5419 based on segments, just like check_full does.
5421 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5423 * gst/gstminiobject.c: (gst_mini_object_get_type):
5424 Remove 3 do-nothing methods.
5426 2007-06-27 Wim Taymans <wim@fluendo.com>
5428 Patch by: Tim Angus <tim at ngus dot net>
5430 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5431 (gst_capsfilter_set_property):
5432 Take a reference instead of a copy when setting "caps".
5433 Fix documentation to clarify this behaviour. Fixes #449414.
5435 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5437 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5438 * gst/gstplugin.c: (gst_plugin_init):
5439 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5440 * gst/gstquery.c: (gst_query_get_type):
5441 * gst/gstregistry.c: (gst_registry_init):
5442 * gst/gsturi.c: (gst_uri_handler_base_init):
5443 Remove empty instance_init() functions to save relocs and lessen the
5444 noise. Remove some of the function prototypes that are doubled by
5447 2007-06-27 Wim Taymans <wim@fluendo.com>
5449 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5451 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5452 Add peer and direction in the XML serialisation of ghostpads.
5455 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5458 Preserve useful information, thanks Tim.
5460 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5462 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5463 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5464 (gst_single_queue_push_one), (gst_multi_queue_loop),
5465 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5466 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5467 (compute_high_id), (gst_single_queue_new):
5468 * plugins/elements/gstmultiqueue.h:
5469 Take the multiqueue lock when updating the fill level so we don't get
5472 After applying a buffer or event on the src pad segment, make sure to
5473 call gst_data_queue_limits_changed() to get the data queue to unblock
5474 and check the filled state again.
5476 Rework the not-linked pad handling so the logic is that not-linked
5477 pads can push as fast as they like, but only so they never get
5478 ahead of any linked pads.
5480 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5481 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5482 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5484 Add a test to check that not-linked pads always stay behind
5489 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5491 * docs/random/release:
5492 Some updates to the release procedure.
5494 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5496 * gst/gstelementfactory.c: (__gst_element_details_clear):
5497 Microoptimization that saves stunning 80 bytes.
5499 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5501 * docs/plugins/gstreamer-plugins.args:
5502 * docs/plugins/inspect/plugin-coreelements.xml:
5503 * docs/plugins/inspect/plugin-coreindexers.xml:
5504 Update docs with caps info.
5506 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5509 Updated Italian translation.
5511 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5515 Update Vietnamese translations.
5517 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5519 * libs/gst/base/gstbasesink.c:
5520 Remove unused signal enum.
5522 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5524 * docs/gst/gstreamer-sections.txt:
5526 * gst/gstutils.c: (gst_type_register_static_full):
5527 Beef up and include the docs for gst_type_register_static_full and
5528 gst_element_class_set_details_simple and add the API keyword
5531 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5533 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5534 (update_time_level), (gst_single_queue_push_one),
5535 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5536 (single_queue_overrun_cb), (single_queue_underrun_cb),
5537 (single_queue_check_full):
5538 Fix setting max-* properties after adding queues.
5539 Use IS_FILLED for checking visible items.
5540 Signal overrun if multiple queues overrun.
5541 Add extra debug output.
5542 Patch by: Wim Taymans <wim@fluendo.com>
5544 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5546 * gst/gstelement.c: (gst_element_class_set_details_simple):
5548 * gst/gstutils.c: (gst_type_register_static_full):
5550 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5551 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5552 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5553 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5554 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5555 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5556 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5557 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5558 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5559 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5560 (apply_buffer), (gst_queue_chain):
5561 * plugins/elements/gsttee.c: (gst_tee_base_init):
5562 * plugins/elements/gsttypefindelement.c:
5563 (gst_type_find_element_base_init),
5564 (gst_type_find_element_class_init):
5565 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5566 API: add gst_type_register_static_full
5567 API: add gst_element_class_set_details_simple
5569 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5571 * docs/pwg/advanced-types.xml:
5572 Fix typo in iana.org URI.
5574 2007-06-19 Andy Wingo <wingo@pobox.com>
5576 * tests/check/pipelines/simple-launch-lines.c
5577 (test_state_change_returns): Enable pull-mode tests now that
5578 basesink has been fixed.
5580 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5581 Changed from gst_base_sink_is_prerolled, reversing the sense of
5582 the return value. Returns FALSE also if the sink is in pull mode,
5583 in which case it needs no preroll.
5584 (gst_base_sink_query, gst_base_sink_change_state): Update for
5585 needs_preroll change.
5586 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5587 chaining up, in which we return SUCCESS directly if we activated
5588 in pull mode instead of ASYNC. Involves countering an async_start
5589 message sent before chaining up; not sure if this is correct, in
5590 an ideal world we only send async-start when activating in push
5593 * tests/check/pipelines/simple-launch-lines.c
5594 (test_state_change_returns): New test, partially disabled until
5597 2007-06-19 Wim Taymans <wim@fluendo.com>
5599 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5600 (gst_multi_queue_sink_event):
5603 2007-06-19 Wim Taymans <wim@fluendo.com>
5605 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5606 (gst_bin_change_state_func), (bin_push_state_continue),
5607 (bin_handle_async_start), (bin_handle_async_done),
5608 (gst_bin_handle_message_func):
5609 Move the common code for posting state-change messages into
5611 Broadcast the state signal after we posted the messages.
5612 Mark the bin as busy when it's doing a state-change.
5613 Make sure async-start/done messages don't interfere with the bin's
5614 state when it's busy.
5615 After the state change, let the bin check which elements completed the
5616 state change while it was busy so that it can update its state.
5618 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5620 * docs/random/release:
5621 Add a note about updating the doap file to the release checklist
5623 2007-06-18 Wim Taymans <wim@fluendo.com>
5625 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5626 (gst_single_queue_push_one), (gst_multi_queue_chain),
5627 (gst_multi_queue_sink_event):
5628 Make sure we don't reference the buffer/event after we have given away
5629 ownership in the queue.
5631 2007-06-18 Wim Taymans <wim@fluendo.com>
5633 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5634 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5635 Update queue state _after_ adding the item in the queue because else we
5636 could end up being full without the element added yet.
5638 2007-06-18 Wim Taymans <wim@fluendo.com>
5640 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5641 (gst_bin_remove_func), (gst_bin_get_state_func),
5642 (gst_bin_element_set_state), (gst_bin_continue_func),
5643 (bin_push_state_continue), (bin_handle_async_start),
5644 (bin_handle_async_done), (gst_bin_handle_message_func):
5646 Immediatly commit the toplevel bin state when receiving an async-done
5647 message. This enables us to avoid spawning a thread to commit the state
5648 in some common cases and it also avoids some races.
5649 Avoid spawning a state thread when adding/removing async elements to a
5650 toplevel bin. Instead we immediatly update the bin state.
5651 Get rid of iterating all the children when getting the state in the bin
5652 because it is now always up-to-date.
5653 Fix bug where locked elements would always return _SUCCESS even it they
5654 returned NO_PREROLL before being locked.
5655 Fix the order of the state_change, async-start/done messages that was
5656 sometimes incorrect.
5657 Mark the state_dirty field as deprecated, we don't need it anymore as we
5658 are always up-to-date.
5660 * gst/gstelement.c: (gst_element_get_state_func),
5661 (gst_element_continue_state):
5662 Small debug inprovements.
5663 Return the previous element state return when nothing is pending instead
5664 of blindly returning SUCCESS.
5666 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5668 Add a whole bunch of new testcases.
5670 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5674 Update translations.
5676 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5679 Fix typo in the docs.
5681 2007-06-15 Wim Taymans <wim@fluendo.com>
5683 * docs/libs/gstreamer-libs-sections.txt:
5684 Add docs for new methods.
5686 2007-06-15 Wim Taymans <wim@fluendo.com>
5688 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5689 (gst_multi_queue_item_new):
5690 Don't use GSlice because we don't depend on >= 2.10 yet.
5692 2007-06-15 Wim Taymans <wim@fluendo.com>
5694 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5695 (update_time_level), (apply_segment), (apply_buffer),
5696 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5697 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5698 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5699 (single_queue_underrun_cb), (single_queue_check_full):
5700 Remove debug printf.
5702 2007-06-15 Wim Taymans <wim@fluendo.com>
5704 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5705 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5706 (gst_data_queue_set_flushing), (gst_data_queue_push),
5707 (gst_data_queue_pop), (gst_data_queue_drop_head),
5708 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5709 * libs/gst/base/gstdataqueue.h:
5711 Added methods to get the current levels and to inform the queue that the
5712 'full' limits changed.
5714 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5715 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5716 (gst_single_queue_flush), (update_time_level), (apply_segment),
5717 (apply_buffer), (gst_single_queue_push_one),
5718 (gst_multi_queue_item_steal_object),
5719 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5720 (gst_multi_queue_loop), (gst_multi_queue_chain),
5721 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5722 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5723 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5724 (single_queue_underrun_cb), (single_queue_check_full),
5725 (gst_single_queue_new):
5726 Keep track of time in the queue by measuring the difference between
5727 running_time on input and output. This gives more accurate results and
5728 can compensate for segments correctly.
5729 Make a queue by default only 5 buffers deep. We will now increase the
5730 buffer size depending on the filledness of the other queues.
5731 Factor out commong flush code.
5732 Make sure we don't add additional refcounts to buffers when we can avoid
5734 Propagate GstFlowReturn differently.
5735 Use GSlice for intermediate GstMultiQueueItems.
5737 Resize queues on over and underruns based on filled level of other
5739 When checking if the queue is filled, prefer to measure in time if we
5740 can and fall back to bytes when no time is known.
5742 * plugins/elements/gstqueue.c:
5745 2007-06-15 Wim Taymans <wim@fluendo.com>
5747 * libs/gst/base/gstbasetransform.c:
5748 (gst_base_transform_sink_event):
5749 Work around the brokenness of the event vmethod in basetransform. Prefer
5750 to return TRUE when the subclass returned FALSE (meaning don't forward
5753 * libs/gst/base/gstbasetransform.h:
5756 2007-06-15 Wim Taymans <wim@fluendo.com>
5758 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5759 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5760 (gst_base_src_default_query), (gst_base_src_get_range),
5761 (gst_base_src_start):
5762 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5765 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5767 * docs/pwg/advanced-types.xml:
5768 Added more formats to caps table.
5770 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5772 * tools/gst-launch.c: (main):
5773 Remove crufy code. GOption does not need this workaround.
5775 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5777 * libs/gst/controller/gstcontroller.c:
5778 (gst_controlled_property_set_interpolation_mode):
5779 Fix wrong getter for enums in controller.
5781 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5783 * libs/gst/check/gstcheck.c: (gst_check_init):
5784 Intercept criticals and warnings in the Gst-Phonon log domain, so
5785 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5788 2007-06-14 Edward Hervey <edward@fluendo.com>
5790 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5791 Since this file doesn't include "gst.h" it will not go through the
5792 macros that disable GST_LOG if debugging was disabled.
5794 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5796 * libs/gst/check/Makefile.am:
5797 * libs/gst/check/gstcheck.h:
5798 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5799 * pkgconfig/gstreamer-check.pc.in:
5800 Ugly 'fix' for the controller unit test on the p5 bot: in
5801 fail_unless_equals_float() check whether the values are 'almost
5802 equal' by allowing a small absolute error, which should be good
5803 enough for our use cases (normal numbers and values close to 0).
5804 Proper fixage left to floating point arithmetic aficionados.
5806 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5808 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5809 (gst_base_sink_render_object), (gst_base_sink_get_position):
5810 Add two breaks thats where missing.
5812 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5814 * docs/libs/gstreamer-libs-sections.txt:
5815 * libs/gst/check/gstcheck.h:
5816 API: add fail_unless_equals_float() and assert_equals_float().
5817 Add documentation for some of the macros.
5819 * tests/check/libs/controller.c: (GST_START_TEST):
5820 Use newly-added asserts.
5822 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5824 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5825 Show the caps change in the log to help spotting the case of not
5826 exactly matching caps.
5828 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5830 * docs/pwg/building-boiler.xml:
5831 Fix typos, spotted by Thijs Vermeir (#447190).
5833 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5835 * docs/plugins/tmpl/.cvsignore:
5836 Ignore file to keep the buildbots happy
5838 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5840 * docs/plugins/Makefile.am:
5841 * docs/plugins/gstreamer-plugins-docs.sgml:
5842 * docs/plugins/gstreamer-plugins-sections.txt:
5843 Pull fdsink into the docs too.
5845 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5847 * libs/gst/controller/gstinterpolation.c:
5848 Actually use the new functions with min/max checks for the trigger and
5849 none interpolation modes for get() and get_value_array() instead of
5852 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5854 * libs/gst/controller/gstcontroller.c:
5855 (gst_controlled_property_free):
5856 Unset the minimum and maximum GValues when freeing the corresponding
5857 GstControllerProperty struct.
5859 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5861 * libs/gst/controller/gstcontroller.c:
5862 (gst_controlled_property_new):
5863 * libs/gst/controller/gstcontrollerprivate.h:
5864 * libs/gst/controller/gstinterpolation.c:
5865 (gst_controlled_property_find_control_point_node),
5866 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5867 (interpolate_none_get_string_value_array),
5868 (interpolate_trigger_get),
5869 (interpolate_trigger_get_enum_value_array),
5870 (interpolate_trigger_get_string_value_array):
5871 Protect against values larger or smaller than the minimum or maximum
5872 allowed value for the property when using values that can be compared.
5874 Optimize trigger interpolator a bit by taking the last requested value
5875 into account instead of always looping through the complete list.
5877 Fix coding style a bit, everywhere else we use "return foo" instead
5880 * tests/check/libs/controller.c: (GST_START_TEST),
5881 (gst_controller_suite):
5882 Add unit test for the protection against too large or too small
5885 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
5887 * docs/random/slomo/controller.txt:
5888 Add some thoughts about the future of the controller.
5890 2007-06-08 Wim Taymans <wim@fluendo.com>
5892 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5893 Don't overflow in retimestamping code.
5895 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
5897 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5898 Use gst_util_guint64_to_gdouble for conversions.
5899 * win32/common/libgstreamer.def:
5900 Add new exported functions.
5902 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
5905 Small docs addition.
5907 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5910 Remove that test line again.
5912 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5915 Test commit mail sending.
5917 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5920 Fix typo and test commit mail sending.
5922 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5924 * tests/examples/controller/audio-example.c:
5925 Improve comment and test commit mail sending.
5927 2007-06-07 Wim Taymans <wim@fluendo.com>
5929 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5930 (gst_bin_remove_func), (gst_bin_element_set_state),
5931 (bin_handle_async_start), (bin_handle_async_done),
5932 (gst_bin_handle_message_func):
5933 Add helper function to find messages.
5934 Generate the async-done messages together with the state change
5936 Small cleanups in handling toplevel bins.
5938 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5940 * libs/gst/base/gstdataqueue.c:
5941 * libs/gst/base/gstdataqueue.h:
5942 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5943 (gst_multi_queue_item_new), (gst_multi_queue_chain),
5944 (gst_multi_queue_sink_event):
5945 * tests/check/elements/multiqueue.c: (multiqueue_suite):
5946 Fix multiqueue leaking buffers and events when downstream or the
5947 queue are flushing. Make refcounting assumptions explicit and
5948 document them (shouldn't break existing code that uses it other than
5949 maybe leak miniobjects, but that already happens anyway). Add unit
5950 test for the most common flushing case. Fixes #423700.
5952 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5954 * libs/gst/controller/gstcontroller.c:
5955 Clarify docs: The get_all, get_value_array(s) functions
5956 don't modify the GObject properties.
5958 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5960 * libs/gst/controller/gstcontroller.c:
5961 (gst_controlled_property_set_interpolation_mode),
5962 (gst_controlled_property_prepend_default),
5963 (gst_controlled_property_new), (gst_controller_set_unlocked),
5964 (gst_controller_set), (gst_controller_set_from_list),
5965 (gst_controller_unset), (gst_controller_unset_all):
5966 * libs/gst/controller/gstcontrollerprivate.h:
5967 * libs/gst/controller/gstinterpolation.c:
5968 Factor out the 'set' logic into gst_controller_set_unlocked for the
5969 gst_controller_set and gst_controller_set_from_list functions.
5971 To make life of the interpolators easier always add a control point
5972 at timestamp zero with the default value.
5974 In the linear interpolator make things more obvious by better variable
5977 Implement cubic interpolation mode (by using a natural cubic spline)
5978 and map the quadratic interpolation mode to this too (as quadratic
5979 doesn't make much sense, see discussion on the list).
5981 * tests/check/libs/controller.c: (GST_START_TEST),
5982 (gst_controller_suite):
5983 Add unit test for the cubic interpolation mode and check everywhere
5984 if the interpolation mode could be set as expected.
5986 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5988 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
5989 Don't use GLib-2.10 functions, we still depend on
5990 GLib-how-old-is-it-again-2.8.
5992 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5994 * docs/gst/gstreamer-sections.txt:
5998 * gst/gstparamspecs.c: (_gst_param_fraction_init),
5999 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6000 (_gst_param_fraction_values_cmp),
6001 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6002 * gst/gstparamspecs.h:
6004 * tests/check/Makefile.am:
6005 * tests/check/gst/.cvsignore:
6006 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6007 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6008 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6009 (GST_START_TEST), (gst_param_spec_suite):
6010 API: add GstParamSpecFraction, so elements can have fraction
6011 properties without lots of painful string parsing (#444648).
6013 2007-06-05 Wim Taymans <wim@fluendo.com>
6015 * gst/gstobject.c: (gst_object_class_init):
6016 Fix signal signature.
6019 Add small clarification in the api docs.
6021 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6022 States are protected with object lock.
6024 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6027 I should probably be listed as an author by now.
6029 * docs/random/release:
6030 Update the release doc
6032 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6035 Make docs for gst_value_compare() mention return enums that
6038 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6043 === release 0.10.13 ===
6045 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6048 releasing 0.10.13, "With or without you"
6050 2007-05-25 Wim Taymans <wim@fluendo.com>
6052 * gst/gstbin.c: (bin_handle_async_done):
6053 Make sure that the child bin stops after completing the async state
6054 change so that the parent can continue the state change to PLAYING.
6057 2007-05-25 Wim Taymans <wim@fluendo.com>
6059 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6060 (unref_data), (gst_collect_pads_remove_pad),
6061 (gst_collect_pads_check_pads):
6062 Use additional refcounting to avoid crashes when dynamically adding and
6063 removing pads. Fixes #420206.
6065 2007-05-24 Wim Taymans <wim@fluendo.com>
6067 * tools/gst-launch.c: (event_loop):
6068 When buffering goes from a two digit to a single digit number, make sure
6069 to remove the old second digit by writing a blank over it.
6071 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6073 * libs/gst/base/gstdataqueue.c:
6074 Eliminate tabs and trailing comma in enum list; fix some typos.
6076 2007-05-24 Wim Taymans <wim@fluendo.com>
6078 * tests/check/gst/gstbin.c: (GST_START_TEST):
6079 Allow refcount of 3 and 4 because some state thread might still be busy
6082 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6084 * plugins/elements/Makefile.am:
6085 * plugins/elements/gstmultiqueue.h:
6086 * plugins/elements/gstqueue.h:
6087 These are not installed headers, no need for padding.
6089 2007-05-24 Wim Taymans <wim@fluendo.com>
6091 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6092 (gst_bin_continue_func):
6093 Enable latency for next release.
6094 Restore STATE_LOCK around recalc_state that was left out during the
6095 rewrite and could result in racy behaviour when _get_state and
6096 recalc_state are run concurrently. See #440463.
6098 2007-05-23 Wim Taymans <wim@fluendo.com>
6100 * tests/check/gst/gstsystemclock.c: (store_callback),
6102 Improve test_async_order to also work when both timers are already
6103 expired when we get scheduled to check it.
6105 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6107 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6108 (gst_bin_set_property), (gst_bin_get_property),
6109 (gst_bin_remove_func), (gst_bin_handle_message_func):
6111 'private' is a c++ keyword, let's not use that in header files,
6112 otherwise c++ compilers will throw a tantrum.
6114 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6116 * plugins/elements/gstelements.c:
6117 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6118 (gst_file_sink_get_current_offset):
6119 * plugins/indexers/gstindexers.c: (plugin_init):
6120 Use #ifdef for HAVE_XYZ for consistency.
6122 * tests/check/Makefile.am:
6123 * tests/check/elements/.cvsignore:
6124 * tests/check/elements/filesink.c: (setup_filesink),
6125 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6126 Add some unit tests for filesink.
6128 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6130 Patch by: Mark Nauwelaerts <manauw at skynet be>
6132 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6133 (gst_file_sink_query), (gst_file_sink_do_seek),
6134 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6135 * plugins/elements/gstfilesink.h:
6136 Fix position reporting; rename data_written member to current_pos to
6137 reflect its real meaning (fixes #412648).
6139 2007-05-22 Edward Hervey <edward@fluendo.com>
6141 * docs/gst/gstreamer-sections.txt:
6142 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6143 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6144 (gst_bin_remove_func), (gst_bin_handle_message_func):
6146 Add a property for bins that handle the state change of their childs.
6149 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6151 * libs/gst/controller/gstinterpolation.c:
6152 Use an array of the correct type when using _get_value_array with
6153 linear interpolation.
6155 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6157 * gst/gstelement.c (gst_element_requires_clock,
6158 gst_element_provides_clock, gst_element_request_pad,
6159 gst_element_class_set_details, gst_element_class_set_details_simple,
6160 gst_element_default_send_event, gst_element_abort_state,
6161 gst_element_continue_state, gst_element_set_state,
6162 gst_element_set_state_func, iterator_activate_fold_with_resync):
6163 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6164 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6165 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6166 gst_pad_get_range, gst_pad_pull_range):
6167 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6168 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6169 GstPadActivateModeFunction, GstPadChainFunction,
6170 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6171 GstPadFixateCapsFunction, GstPadTemplate):
6172 * gst/gstpipeline.c (gst_pipeline_change_state,
6173 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6174 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6175 gst_pipeline_get_delay):
6176 Whitespace and docs fixes.
6178 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6180 * libs/gst/controller/gstinterpolation.c:
6181 (interpolate_trigger_get_enum_value_array),
6182 (interpolate_trigger_get_string_value_array):
6183 Add support for retrieving value arrays when using the trigger
6186 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6188 * libs/gst/controller/gstcontroller.c:
6189 (gst_controller_get_value_array):
6190 * libs/gst/controller/gstcontroller.h:
6191 Clarify the docs of gst_controller_get_value_array(): The array where
6192 the values should be written to must be allocated as there seems to be
6193 no way to get the size of a random GType. This doesn't change any
6194 behaviour. Also fix some typos all over the place and remove an unused,
6195 commented function that is not necessary as g_object_set() could be
6197 * tests/check/libs/controller.c: (GST_START_TEST),
6198 (gst_controller_suite):
6199 Add unit test for gst_controller_get_value_array().
6201 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6203 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6205 Disable part of the gst_buffer_try_new_and_alloc test, because
6206 it can happily succeed on 64-bit systems where there's more address
6209 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6211 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6212 Add unit test for the improved caps checking from bug #421543.
6214 2007-05-21 Wim Taymans <wim@fluendo.com>
6216 * docs/design/part-synchronisation.txt:
6219 * gst/gstbin.c: (gst_bin_query):
6220 * plugins/elements/gstqueue.c: (apply_segment):
6226 2007-05-21 Wim Taymans <wim@fluendo.com>
6228 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6229 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6230 (gst_pad_configure_src):
6231 Added simple version of improved caps checking. It was previously
6232 assumed that a setcaps function would check the validity of the caps but
6233 people prefer us to check caps against the template automatically.
6236 2007-05-21 Wim Taymans <wim@fluendo.com>
6238 * libs/gst/base/gstbasetransform.h:
6239 Fix macro for locking/unlocking the transform lock.
6241 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6243 * docs/plugins/tmpl/.cvsignore:
6246 2007-05-18 Edward Hervey <edward@fluendo.com>
6248 * plugins/elements/gstqueue.c: (gst_queue_loop):
6249 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6250 for the subtle art of warning a potentially blocking thread that it
6251 should check the source pad return value, and relay the information
6254 2007-05-18 Edward Hervey <edward@fluendo.com>
6256 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6257 Release the queue lock !
6259 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6261 * docs/libs/gstreamer-libs-sections.txt:
6262 Add the two new controller functions to the appropiate places.
6264 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6266 reviewed by: Stefan Kost <ensonic@users.sf.net>
6268 * libs/gst/controller/gstcontroller.c:
6269 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6270 (_gst_controller_get_property), (_gst_controller_set_property),
6271 (_gst_controller_init), (_gst_controller_class_init):
6272 * libs/gst/controller/gstcontroller.h:
6273 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6274 (gst_object_get_control_rate), (gst_object_set_control_rate):
6275 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6276 Add API that provides sync suggestion timestamps for elements that
6277 call gst_object_sync_values() from which those elements can subdivide
6278 their processing loop to get the best results for the controlled
6279 properties. For now it just suggests last_sync + control_rate as
6280 new timestamp but this will be improved in the future.
6282 While doing that change the control-rate property to a GstClockTime
6283 from guint and change it's meaning from samples to nanoseconds as
6284 the GstController doesn't know anything about sampling rate. Strictly
6285 speaking this breaks ABI but as the control-rate property didn't do
6286 anything in the past and as such couldn't be used this should be no
6289 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6291 reviewed by: Stefan Kost <ensonic@users.sf.net>
6293 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6294 (gst_controller_unset_all):
6295 * libs/gst/controller/gstcontrollerprivate.h:
6296 * libs/gst/controller/gstinterpolation.c:
6297 (gst_controlled_property_find_control_point_node):
6298 Save last synced value from the list to continue searching from there
6299 in future syncs. This speeds everything up a bit.
6301 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6303 reviewed by: Stefan Kost <ensonic@users.sf.net>
6305 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6306 (gst_control_point_find), (gst_controlled_property_new),
6307 (gst_control_point_free), (gst_controlled_property_free),
6308 (gst_controller_set), (gst_controller_set_from_list),
6309 (gst_controller_unset), (gst_controller_unset_all),
6310 (gst_controller_sync_values):
6311 * libs/gst/controller/gstcontroller.h:
6312 * libs/gst/controller/gstcontrollerprivate.h:
6313 * libs/gst/controller/gstinterpolation.c:
6314 (gst_controlled_property_find_control_point_node),
6315 (interpolate_none_get), (interpolate_trigger_get):
6316 Add a new private GstControlPoint struct which "inherits" from
6317 GstTimedValue to allow different interpolators to store internal
6318 values next to each control point. From the outside everything is
6319 still a GstControlPoint so we don't loose binary compatibility.
6320 Also fixup all the GValue handling to not leak GValues or list nodes.
6321 * tests/check/libs/controller.c: (GST_START_TEST):
6322 Free the list nodes and GValues in the controller_misc test.
6324 2007-05-17 Edward Hervey <edward@fluendo.com>
6329 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6331 * gst/gstplugin.c: (gst_plugin_load_file):
6332 If we fail to load a plugin because of unresolved symbols or missing
6333 libraries and spew a warning to stderr, we may just as well mention
6334 which plugin it was that failed to load.
6336 2007-05-13 David Schleef <ds@schleef.org>
6338 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6339 handles the case when ENABLE_GTK_DOC is false, and installs
6340 the prebuilt documentation. So gtk-doc subdirs are
6341 unconditionally enabled. Fixes: #349099.
6343 2007-05-13 David Schleef <ds@schleef.org>
6345 * gst/gstutils.h: Reword some documentation.
6347 2007-05-12 David Schleef <ds@schleef.org>
6349 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6350 do anything with the passed "module" parameter, so remove it.
6351 Allows removal of additional vestigal code.
6353 2007-05-12 David Schleef <ds@schleef.org>
6356 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6357 Switch to using g_stat() because it's more portable.
6359 2007-05-12 David Schleef <ds@schleef.org>
6362 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6363 parsing for embedded systems.
6364 * gst/gstelementfactory.c:
6365 Allow gst_element_register() to be called with plugin==NULL.
6366 Did nobody notice that static elements were broken?
6368 2007-05-12 Wim Taymans <wim@fluendo.com>
6370 * tools/gst-launch.c: (event_loop):
6371 Give more interesting info when buffering starts and stops.
6372 Fix case where buffering starts but we fail to update the buffering flag
6373 because the target state is not PLAYING.
6375 2007-05-12 Wim Taymans <wim@fluendo.com>
6377 * plugins/elements/gstqueue.c: (gst_queue_init),
6378 (gst_queue_finalize), (update_time_level), (apply_segment),
6379 (apply_buffer), (gst_queue_locked_flush),
6380 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6381 (gst_queue_handle_sink_event), (gst_queue_chain),
6382 (gst_queue_push_one), (gst_queue_loop):
6383 * plugins/elements/gstqueue.h:
6384 Refactor an cleanup queue a bit.
6385 Do better time level calculations that also work when the srcpad is not
6387 Remove some unneeded debug lines.
6389 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6390 Added testcase for time level measurement.
6391 Try to make some stuff more racefree.
6393 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6395 * gst/gsturi.c: (gst_element_make_from_uri):
6396 Don't leak plugin feature.
6398 * tests/check/Makefile.am:
6399 * tests/check/gst/.cvsignore:
6400 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6401 Add brain-dead unit test.
6403 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6405 Patch by: Jeroen Wouters <woutersj at gmail com>
6407 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6408 Treat protocol strings in a case-insensitive way (#437563).
6410 2007-05-11 Michael Smith <msmith@fluendo.com>
6412 * gst/gstplugin.c: (gst_plugin_load_file):
6413 * gst/gstregistry.c: (gst_registry_scan_path_level):
6414 Don't print a g_warning for any failure to load a shared object.
6415 Instead, push this down into gstplugin.c, and warn _only_ if we
6416 failed to open the module (i.e. failure to link).
6417 Avoids warnings on normal, working, non-plugin .so files.
6419 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6421 * gst/gstplugin.c (gst_plugin_load_file):
6422 * gst/gstregistry.c (GST_CAT_DEFAULT,
6423 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6424 Print a g_warning if there was an error when loading a plugins during
6425 registry scan. The shuld help beginners starting with gst-plugin
6428 2007-05-10 Wim Taymans <wim@fluendo.com>
6430 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6431 (update_time_level), (gst_queue_locked_flush),
6432 (gst_queue_handle_sink_event), (gst_queue_chain),
6433 (gst_queue_push_one), (gst_queue_loop):
6434 * plugins/elements/gstqueue.h:
6435 Be smarter when calculating the current amount of data in the queue by
6436 measuring the difference between start and end timestamps (in running
6437 time) inside the queue. Fixes #432876.
6438 API: GstQueue::pushing to notify elements that we are pushing data again
6439 since the running signal is rather broken for this purpose.
6441 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6443 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6444 gst_queue_base_init, gst_queue_init):
6447 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6449 * win32/common/libgstreamer.def:
6450 Add new exported functions.
6451 * win32/vs6/grammar.dsp:
6452 Use grammar pre-generated files.
6454 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6456 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6459 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6461 * gst/gstutils.c: (gst_parse_bin_from_description):
6463 Maintain API and ABI when --disable-parse is used. Now that
6464 we have an appropriate error code, we can just return NULL and the
6465 appropriate error when gst_parse_launch() is used despite it having
6466 been disabled (#342564).
6468 * tests/check/Makefile.am:
6469 * tests/check/pipelines/.cvsignore:
6470 * tests/check/pipelines/parse-disabled.c:
6471 Make sure these functions exist and return NULL plus a GError when
6472 --disable-parse is used.
6474 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6476 * tests/benchmarks/complexity.c: (main):
6477 * tests/benchmarks/mass-elements.c: (main):
6478 Set a good example and don't leak messages.
6480 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6482 * docs/gst/Makefile.am:
6483 * docs/libs/Makefile.am:
6484 Correct fixxrefs options.
6486 * docs/plugins/Makefile.am:
6487 * docs/plugins/gstreamer-plugins-docs.sgml:
6488 * docs/plugins/gstreamer-plugins-sections.txt:
6489 * plugins/elements/Makefile.am:
6490 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6491 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6492 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6493 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6494 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6495 _GstCapsFilterClass, trans_class):
6496 * plugins/elements/gstelements.c (name, rank, type, _elements):
6497 * plugins/elements/gstidentity.c
6498 (gst_identity_check_imperfect_timestamp,
6499 gst_identity_check_imperfect_offset):
6500 Document capsfilter and add doc-blurb to identity.
6502 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6504 * libs/gst/controller/gstcontroller.c:
6505 (gst_controlled_property_set_interpolation_mode):
6506 * libs/gst/controller/gstinterpolation.c:
6507 Don't crash if someone tries to set an interpolation mode that
6508 is invalid or that isn't supported yet. Fixes #422295.
6510 * tests/check/libs/controller.c: (GST_START_TEST),
6511 (gst_controller_suite):
6512 Add a test case for the above.
6514 2007-05-03 Edward Hervey <edward@fluendo.com>
6516 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6517 Properly set the last_stop position on GstSegment. This will only happen
6518 if there is a buffer to push out.
6520 2007-05-03 Wim Taymans <wim@fluendo.com>
6522 * libs/gst/base/gstbasetransform.c:
6523 (gst_base_transform_buffer_alloc):
6524 always_in_place does not mean that the sink and source caps are the
6525 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6527 2007-05-03 Wim Taymans <wim@fluendo.com>
6529 * docs/libs/gstreamer-libs-sections.txt:
6530 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6531 (gst_base_src_default_query), (gst_base_src_get_range):
6532 * libs/gst/base/gstbasesrc.h:
6533 API: gst_base_src_query_latency(). Added method so that subclasses can
6534 easily get the latency values of the base source class.
6536 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6538 * tools/gst-inspect.c (print_implementation_info):
6541 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6543 * tools/Makefile.am:
6544 * tools/gst-launch.1.in:
6545 Don't create a customised man page based on the host architecture,
6546 describe the default registry path generically. That way the man
6547 page is the same for all architectures and packagers have one
6548 multilib issue less to deal with. Fixes #434926.
6550 2007-05-02 Wim Taymans <wim@fluendo.com>
6553 Fix documentation as spotted by rg on IRC.
6555 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6558 Improve docs for gst_element_{link,unlink}.
6560 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6562 * docs/design/part-events.txt:
6563 * docs/design/part-overview.txt:
6567 * libs/gst/base/gstbasesink.c:
6568 Typo fixes; minor docs addition.
6570 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6572 * docs/gst/gstreamer-sections.txt:
6573 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6574 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6576 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6577 or src that supports a given URI protocol exists.
6579 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6581 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6582 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6583 Set the location to NULL if "file://" is set as URI. Otherwise
6584 some random previous URI would still be set if "file://" is
6585 set on an already used filesink/filesrc.
6587 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6589 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6590 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6591 Special case the "file://" URI as as this is used by some
6592 applications to test with gst_element_make_from_uri if there's
6593 an element that supports the URI protocol.
6594 Also move the g_path_is_absolute() check for the location part
6595 of the URI to also check this for "file://localhost/bla" URIs.
6597 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6599 * docs/gst/gstreamer-sections.txt:
6600 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6602 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6604 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6606 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6608 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6609 (gst_registry_binary_load_pad_template),
6610 (gst_registry_binary_load_plugin),
6611 (gst_registry_binary_read_cache):
6612 * gst/gstregistrybinary.h:
6613 Implement no-mmap alternative for registry reading. Do code cleanups.
6614 Add more comments about avoiding strdups for all text data. Comments
6617 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6619 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6620 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6621 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6622 Comment structs and reformat to fix the build (that stuff should go
6623 into a priv. header).
6625 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6627 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6628 (gst_registry_binary_load_feature):
6629 * gst/gstregistrybinary.h:
6630 Refactor so that we can implement multiple features. Add support for
6631 TypeFindFactory features.
6633 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6635 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6638 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6640 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6642 * gst/gstbin.c: (gst_bin_element_set_state),
6643 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6644 (bin_handle_async_done), (gst_bin_handle_message_func):
6645 Fix build with --gst-disable-gst-debug
6647 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6649 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6650 Make sure streaming has finished before calling the ::stop() vfunc,
6651 since that vfunc might clear state which is being used in the
6652 streaming thread. This fixes a race that caused crashes in
6653 audioresample when shutting down a pipeline (#420106).
6655 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6657 * docs/gst/gstreamer-sections.txt:
6658 That was one byte missing.
6660 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6663 * docs/gst/gstreamer-sections.txt:
6665 * gst/gstconfig.h.in:
6666 * gst/gstobject.c: (gst_object_class_init),
6667 (gst_signal_object_class_init):
6669 2nd attempt to have a xml-less build as a joined effort of #413123
6672 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6674 * docs/design/draft-tagreading.txt:
6675 Added open issues/thoughts to draft.
6677 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6679 * gst/parse/grammar.tab.pre.c:
6680 * gst/parse/grammar.tab.pre.h:
6681 * gst/parse/lex._gst_parse_yy.pre.c:
6682 Update the prebuild parser sources.
6684 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6686 * gst/parse/Makefile.am:
6687 And now fix the building of the flex sources. Now everything should
6690 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6692 * gst/parse/Makefile.am:
6693 Now hopefully fix the build failures by setting proper rule
6694 dependencies and moving instead of copying.
6696 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6698 * tests/benchmarks/complexity.gnuplot:
6699 * tests/benchmarks/complexity.scm:
6700 * tests/benchmarks/mass-elements.gnuplot:
6701 * tests/benchmarks/mass-elements.scm:
6702 Total licensification.
6704 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6706 * gst/parse/Makefile.am:
6707 Fix the build by correcting the rule that gave wrong files to flex.
6709 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6711 * tests/benchmarks/complexity.c:
6712 * tests/benchmarks/mass-elements.c:
6713 Change licence to LGPL as granted by Benjamin and Andy.
6715 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6717 * gst/parse/Makefile.am:
6718 Add correct grammar.tab.h dependency if compiling without new enough
6719 flex. Fixes #431150.
6721 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6723 * gst/parse/Makefile.am:
6724 Fix typo and use outdated sources if the flex/bison sources are newer
6725 than the pregenerated ones but flex is too old. Print a warning in
6726 that case. This should fix the build on the build bot.
6728 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6730 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6731 * gst/parse/Makefile.am:
6732 * gst/parse/grammar.y:
6733 * gst/parse/parse.l:
6734 Make the parser reentrant and recursively callable. This requires flex
6735 >= 2.5.31, for older versions pregenerated sources are used as we
6736 can't bump the build dependency. Finally fixes #349180.
6738 * gst/gstparse.c: (gst_parse_launch):
6739 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6742 * docs/gst/Makefile.am:
6743 * docs/gst/Makefile.am:
6744 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6745 (__gst_parse_strfree), (__gst_parse_link_new),
6746 (__gst_parse_link_free), (__gst_parse_chain_new),
6747 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6748 (gst_parse_element_set), (gst_parse_free_link),
6749 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6750 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6751 (_gst_parse_launch):
6752 * gst/parse/grammar.tab.pre.h:
6753 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6754 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6755 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6756 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6757 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6758 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6759 (_gst_parse_yypop_buffer_state),
6760 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6761 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6762 (yy_fatal_error), (_gst_parse_yyget_extra),
6763 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6764 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6765 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6766 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6767 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6768 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6769 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6770 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6771 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6772 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6773 (_gst_parse_yyfree):
6774 If the installed flex version is too old use pre-generated parser
6775 sources. These pre-generated parser sources are always updated when
6776 the actual flex/bison sources change but require everybody who wants
6777 to change something in the parser to have flex >= 2.5.31 installed.
6779 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6781 * common/m4/gst-gettext.m4:
6782 * gst/gst-i18n-lib.h:
6783 Make --disable-nls to work
6785 2007-04-17 Wim Taymans <wim@fluendo.com>
6787 * gst/gstconfig.h.in:
6788 Revert previous change that broke the build.
6790 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6794 * gst/gstconfig.h.in:
6795 Drop libxml2 dependency when building with
6796 --enable-binary-registry --disable-loadsave
6798 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6800 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6801 (gst_registry_binary_read_cache):
6802 * gst/gstregistrybinary.h:
6803 Remove unnecessary <sys/mman.h> include which broke the win32 build
6804 with MingW; move includes from header file to .c file, even if the
6805 header file isn't installed; use g_strerror() where UTF-8 strings
6806 are expected, such as in GST_DEBUG messages.
6808 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6810 * docs/libs/gstreamer-libs-sections.txt:
6811 Remove bogus addition for API I didn't end up keeping.
6813 * libs/gst/base/gstbasesrc.h:
6814 Mention Since: 0.10.13 in the documentation.
6816 Add the API keyword to the previous ChangeLog entry.
6818 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6820 * docs/libs/gstreamer-libs-sections.txt:
6821 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6822 (gst_base_src_default_prepare_seek_segment),
6823 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6824 * libs/gst/base/gstbasesrc.h:
6825 Allow basesrc derived classes to execute seeks in other formats
6826 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6827 to prepare the GstSegment in any format that their perform_seek method
6828 will be able to understand. The default implementation provides the
6829 old behaviour of attempting to convert the seek offsets to the
6830 configured native format.
6832 API: basesrc::prepare_seek_segment vmethod.
6834 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6836 * gst/gstelement.c: (gst_element_get_state_func):
6837 Don't output the same debug statement twice.
6839 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6840 (gst_adapter_peek), (gst_adapter_take_buffer):
6841 Optimise the case where we have buffers at the head of the queue that
6842 can be joined quickly (because they're contiguous sub-buffers) by
6843 merging them together rather than copying data out into new memory.
6845 * gst/parse/grammar.y:
6846 * tests/check/pipelines/parse-launch.c:
6847 Fix a leak in an error path for parse_launch, and add a check
6848 for it to the testsuite.
6850 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6852 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6853 Don't deadlock when releasing a pad - gst_pad_set_active may try
6854 and take the multiqueue lock too.
6856 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6858 * gst/gsterror.c: (_gst_core_errors_init):
6860 API: add GST_CORE_ERROR_DISABLED (#392804).
6862 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6864 * docs/faq/gst-uninstalled:
6865 don't get empty paths on the PATH variables
6866 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6867 Don't format for the uncommon terminal width of 84 characters.
6869 2007-04-06 Wim Taymans <wim@fluendo.com>
6871 * gst/gstpipeline.c: (reset_stream_time),
6872 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6873 Only try to select a different pipeline clock when we went back to
6874 PAUSED and not when we merely got flushed.
6876 2007-04-05 Michael Smith <msmith@fluendo.com>
6878 * tools/gst-launch.1.in:
6879 fractions are better supported in gstreamer than ractions, so
6880 suggest using those.
6882 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
6884 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6888 Added Danish translation.
6890 2007-04-05 Wim Taymans <wim@fluendo.com>
6892 * libs/gst/base/gstbasesink.c:
6893 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6894 Fix leak caused when refusing newsegment after EOS.
6896 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6897 (gst_fake_sink_init), (gst_fake_sink_set_property),
6898 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6899 (gst_fake_sink_render), (gst_fake_sink_change_state):
6900 * plugins/elements/gstfakesink.h:
6901 Add num-buffers property to make the element generate EOS after a
6902 configurable amount of buffers.
6903 API: fakesink::num-buffers property.
6905 * tests/check/elements/fakesink.c: (GST_START_TEST),
6907 Fix GstBus leak in test.
6908 Test for fakesink num-buffers.
6910 2007-04-05 Wim Taymans <wim@fluendo.com>
6912 * libs/gst/base/gstbasesink.c:
6913 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6914 (gst_base_sink_change_state):
6915 Don't accept anything after an EOS, return UNEXPECTED instead.
6917 * tests/check/elements/fakesink.c: (GST_START_TEST),
6919 Unit test for new EOS behaviour.
6921 2007-04-05 Wim Taymans <wim@fluendo.com>
6923 * gst/gstelement.c: (gst_element_get_request_pad):
6924 Make padtemplates also work when they don't contain %s or %d.
6926 2007-04-05 Wim Taymans <wim@fluendo.com>
6928 * docs/gst/gstreamer-sections.txt:
6929 * gst/gstclock.c: (gst_clock_adjust_unlocked),
6930 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6932 Improve _adjust_unlocked() so that it overflows less.
6933 Add gst_clock_unadjust_unlocked to convert from external time to
6934 internal time based on calibration.
6935 Add some more debug.
6936 API: GstClock::gst_clock_unadjust_unlocked()
6938 2007-04-03 Wim Taymans <wim@fluendo.com>
6940 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6942 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6943 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6944 when releasing sink pad. Fixes #425400.
6946 2007-04-02 Stefan Kost <ensonic@users.sf.net>
6948 * docs/random/ensonic/dynlink.txt:
6949 More work on proposal for new core api.
6951 * docs/libs/gstreamer-libs-sections.txt:
6952 * libs/gst/base/gstbasetransform.h:
6953 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6955 * libs/gst/controller/gstcontroller.c:
6956 (on_object_controlled_property_changed),
6957 (gst_controller_sync_values),
6958 (gst_controller_set_interpolation_mode):
6959 * libs/gst/controller/gstcontroller.h:
6960 Less verbose logging add docs for unimplemented parts and correctly
6961 return when using unavailable parts.
6963 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6965 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6966 Move all the debug to the CLOCK category, and associate it with
6969 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6971 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6972 Make take_buffer a bit quicker by removing redundant checks
6973 caused by calling gst_adapter_take.
6975 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
6977 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6980 * tests/check/Makefile.am:
6981 * tests/check/elements/.cvsignore:
6982 * tests/check/elements/multiqueue.c: (setup_multiqueue),
6983 (GST_START_TEST), (multiqueue_suite):
6984 Add some dead simple unit tests for the 'multiqueue' element
6985 (some bits don't work yet and are disabled for now).
6987 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
6989 * gst/gstelement.c: (gst_element_get_request_pad),
6990 (gst_element_class_get_request_pad_template):
6991 Make gst_element_get_request_pad() create request pads only for
6992 request pad templates and not for, say, sometimes pad templates.
6994 2007-03-28 Stefan Kost <ensonic@users.sf.net>
6996 * docs/design/draft-klass.txt:
6997 Add example that needs more thinking.
6999 * docs/design/draft-missing-plugins.txt:
7000 More thoughts about wrapper plugins.
7002 * docs/random/ensonic/embedded.txt:
7003 * docs/random/ensonic/profiling.txt:
7006 2007-03-25 Wim Taymans <wim@fluendo.com>
7008 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7009 (gst_base_src_loop):
7010 Only push the segment events in the PLAYING state for live sources.
7012 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7014 * gst/gstpipeline.c: (gst_pipeline_change_state):
7015 Modify the clock distribution path in PAUSED->PLAYING so that we
7016 never attempt to choose a new clock unless we're actually leaving
7017 the PAUSED state for the first time. This prevents choosing a
7018 different clock when the state_change gets called for a 2nd time due
7019 to some element doing an async state change.
7021 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7023 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7024 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7025 (gst_pad_chain_unchecked), (gst_pad_push):
7026 Revert last commit. This needs some more thoughts.
7028 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7030 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7031 (gst_pad_chain_unchecked), (gst_pad_push):
7032 Check in set_caps if the caps are compatible with the pad and remove
7033 two functions that are redundant now. Fixes #421543.
7035 2007-03-22 Wim Taymans <wim@fluendo.com>
7037 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7038 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7039 Unref some more to make valgrind happy.
7041 2007-03-22 Wim Taymans <wim@fluendo.com>
7043 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7044 (gst_system_clock_id_wait_jitter),
7045 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7046 Fix anoying regression that survived a few releases. When adding an
7047 async entry while blocking on a sync entry, the sync entry will unblock
7048 but still be busy, so it should continue to wait instead of returning
7050 Add some comments here and there.
7052 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7053 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7054 Add testcase for this.
7056 2007-03-22 Wim Taymans <wim@fluendo.com>
7058 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7059 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7060 WRONG_STATE and can silently pause the task. All other cases should
7063 2007-03-22 Wim Taymans <wim@fluendo.com>
7065 Patch by: Ville Syrjala <syrjala at sci dot fi>
7067 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7068 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7071 2007-03-21 Michael Smith <msmith@fluendo.com>
7073 * docs/pwg/advanced-types.xml:
7074 Fix some errors in the typefinding docs pointed out on irc.
7076 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7078 * libs/gst/base/gstbasesrc.c:
7079 Clarify FIXME comment in the face of having added unlock_stop()
7081 2007-03-21 Wim Taymans <wim@fluendo.com>
7083 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7084 Prepare for release where we warn against possible app breakage in the
7085 case of live pipelines along with an env var to enable/disable live
7086 preroll mode (GST_COMPAT=[no-]live-preroll).
7088 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7090 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7091 So we should use correct constants for checking for None offset.
7093 2007-03-20 Wim Taymans <wim@fluendo.com>
7095 * docs/design/part-block.txt:
7096 Mention the fact that the newly switched element should be set to at
7099 2007-03-20 Wim Taymans <wim@fluendo.com>
7102 Fix compilation with registry disabled as spotted by Saur.
7104 2007-03-20 Wim Taymans <wim@fluendo.com>
7106 Patch by: Olivier Crete <tester at tester dot ca>
7108 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7109 Look at the pending state too when syncing the element state to the
7110 parent. Fixes #420133.
7112 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7114 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7115 (gst_base_sink_change_state):
7116 * libs/gst/base/gstbasesink.h:
7117 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7118 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7119 (gst_base_src_deactivate):
7120 * libs/gst/base/gstbasesrc.h:
7121 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7122 for sub-classes to correctly clear any state they set trying to
7123 unlock, such as clearing out unlock commands from a command fd.
7124 API: basesrc::unlock_stop
7125 API: basesink::unlock_stop
7127 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7128 (gst_fd_sink_render), (gst_fd_sink_unlock),
7129 (gst_fd_sink_unlock_stop):
7130 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7131 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7132 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7134 Implement unlock_stop in fdsrc and fdsink.
7135 Implement seeking in fdsrc when a seekable fd is passed, as in
7136 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7138 2007-03-19 Wim Taymans <wim@fluendo.com>
7140 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7142 * gst/gstelement.c: (gst_element_class_init):
7143 Fix pad-added and pad-removed signal signatures so that the pad type is
7144 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7146 2007-03-19 Wim Taymans <wim@fluendo.com>
7148 * docs/gst/gstreamer-sections.txt:
7149 Add new element field and method.
7151 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7152 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7153 (gst_bin_recalc_state), (gst_bin_get_state_func),
7154 (gst_bin_element_set_state), (gst_bin_change_state_func),
7155 (gst_bin_continue_func), (bin_bus_handler),
7156 (bin_push_state_continue), (bin_handle_async_start),
7157 (bin_handle_async_done), (gst_bin_handle_message_func):
7158 Make async state changes a bit smarter by using new ASYNC_START and
7159 ASYNC_DONE messages. This reduces the number of times we run the state
7160 recalculation thread.
7161 Don't change state of element with a pending ASYNC_START message.
7162 Deprecate STATE_DIRTY messages.
7164 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7165 (gst_element_get_state_func), (gst_element_continue_state),
7166 (gst_element_lost_state), (gst_element_set_state_func),
7167 (gst_element_change_state):
7169 Keep the state that was last set by the app in a new element field.
7170 Don't allow state changes when handling an element event.
7171 Post ASYNC_START and ASYNC_DONE messages.
7172 Change lost_state so that we go to PAUSED and wait for the parent to set
7173 us to PLAYING again (so latency calculation can be performed)
7174 Export gst_element_change_state() method so that subclasses can use it.
7175 API: gst_element_change_state()
7176 API: GST_STATE_TARGET
7178 * gst/gstpipeline.c: (gst_pipeline_class_init),
7179 (reset_stream_time), (gst_pipeline_change_state),
7180 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7181 Using the new ASYNC_START message we can reset the base_time when
7182 needed. This can then be used to implement base_time redistribution in
7183 flushing seeks so that we can remove the explicit seek handling.
7184 Perform latency query and configuration when going to PLAYING.
7186 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7187 (gst_base_sink_query), (gst_base_sink_change_state):
7188 Post new ASYNC_START/ASYNC_DONE messages.
7190 * tests/check/generic/sinks.c: (GST_START_TEST):
7191 Fix test because the bin will not set the async element to PLAYING right
7194 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7195 Make the message check a little stronger.
7196 Handle ASYNC messages.
7198 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7199 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7200 Expect ASYNC_DONE messages.
7202 2007-03-19 Wim Taymans <wim@fluendo.com>
7204 * docs/gst/gstreamer-sections.txt:
7205 * gst/gstmessage.c: (gst_message_new_async_start),
7206 (gst_message_new_async_done), (gst_message_parse_info),
7207 (gst_message_parse_async_start):
7209 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7212 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7214 * tools/gst-inspect.c:
7215 (print_plugin_automatic_install_info_codecs):
7216 Now that we don't check for the 'Codec' keyword any longer in the
7217 klass, we shouldn't spew a warning if the klass isn't a decoder or
7218 encoder (since it might be a Source/Network, for example).
7220 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7222 * tools/gst-inspect.c:
7223 (print_plugin_automatic_install_info_codecs):
7224 Don't require decoder/demuxer/depayloader elements or
7225 encoder/muxer/paylader elements to have 'Codec' as part of their
7226 factory class string when introspecting a plugin's capabilities.
7227 draft-klass.txt mentions that it might be removed in future, and
7228 flump3dec doesn't have it as part of its class string, so chances
7229 are others might also not have it.
7231 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7253 Update translations from translation project
7255 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7257 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7258 (gst_child_proxy_set_property):
7259 Invert precondition check to be alike the ones in the mimiced gobject
7262 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7264 * docs/design/draft-tagreading.txt:
7265 * docs/random/ensonic/audiobaseclasses.txt:
7266 Do some Architect work.
7268 * gst/gstobject.c: (gst_object_set_name):
7272 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7274 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7276 * gst/gstsystemclock.c: (gst_system_clock_init),
7277 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7278 Defer starting the async system clock thread until the first async
7279 wait is scheduled. Fixes #414986.
7281 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7283 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7284 (gst_single_queue_free):
7285 Fix small leak (free GstSingleQueue structure too, not only contents).
7287 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7289 * gst/gstbin.c:(gst_bin_add):
7290 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7291 * win32/common/libgstbase.def:
7292 * win32/common/libgstreamer.def:
7293 Add new exported functions.
7295 2007-03-09 Wim Taymans <wim@fluendo.com>
7297 * docs/plugins/gstreamer-plugins-sections.txt:
7300 2007-03-09 Wim Taymans <wim@fluendo.com>
7302 * docs/gst/gstreamer-sections.txt:
7303 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7305 Add metadata copy functions. Fixes #393099.
7306 API: gst_buffer_copy_metadata()
7308 * gst/gstutils.c: (gst_buffer_stamp):
7309 * libs/gst/base/gstbasetransform.c:
7310 (gst_base_transform_prepare_output_buffer):
7311 Use new metadata copy functions.
7313 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7315 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7316 (gst_identity_init), (gst_identity_check_perfect),
7317 (gst_identity_check_imperfect_timestamp),
7318 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7319 (gst_identity_set_property), (gst_identity_get_property):
7320 * plugins/elements/gstidentity.h:
7321 Separate out check-imperfect-timestamp and check-imperfect-offset.
7322 Put back check-perfect as it was to keep compatibility.
7324 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7326 * gst/gstelement.c: (gst_element_dispose):
7327 There's no need to warn if VOID_PENDING is not NONE here, as
7328 long as the state is NULL it's ok, and that's checked immediately
7331 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7333 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7334 Fix check for perfect stream to ignore buffers with -1
7335 offsets/offset ends when checking data contiguity.
7337 2007-03-08 Wim Taymans <wim@fluendo.com>
7339 * tools/gst-launch.c: (event_loop):
7340 Print INFO messages.
7342 2007-03-08 Wim Taymans <wim@fluendo.com>
7344 * libs/gst/base/gstbasetransform.c:
7345 (gst_base_transform_sink_eventfunc),
7346 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7347 (gst_base_transform_activate):
7348 * libs/gst/base/gstbasetransform.h:
7349 Add support for dropping buffers with custom GstFlowReturn.
7350 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7351 buffers or dropped buffers.
7353 * docs/libs/gstreamer-libs-sections.txt:
7354 docs for new custom return code.
7356 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7357 Use drop support in base class to implement drop-probability.
7359 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7361 * gst/gst.c: (load_plugin_func):
7362 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7363 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7364 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7365 Remove newlines at end of debug log strings.
7367 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7369 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7370 Only post bus message at max, once per buffer received.
7372 2007-03-07 Wim Taymans <wim@fluendo.com>
7374 * docs/design/Makefile.am:
7375 * docs/design/part-synchronisation.txt:
7376 Add doc about synchronisation
7378 * docs/design/draft-latency.txt:
7379 * docs/design/part-TODO.txt:
7380 * docs/design/part-clocks.txt:
7381 * docs/design/part-events.txt:
7382 * docs/design/part-gstbus.txt:
7383 * docs/design/part-gstpipeline.txt:
7384 * docs/design/part-live-source.txt:
7385 * docs/design/part-messages.txt:
7386 * docs/design/part-overview.txt:
7387 * docs/design/part-streams.txt:
7388 * docs/design/part-trickmodes.txt:
7389 Documentation updates.
7391 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7394 Update the doap file.
7396 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7398 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7399 Rename non-perfect to imperfect for Mike and for the sanctity of the
7401 Also make sure bus message gets emitted for data-incontiguities.
7403 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7405 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7406 (gst_identity_start):
7407 * plugins/elements/gstidentity.h:
7408 Emit bus message if check-perfect is true and we encounter a
7409 non-perfect stream between 2 consecutive buffers.
7412 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7417 === release 0.10.12 ===
7419 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7422 releasing 0.10.12, "Inevitable Demise"
7424 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7427 Version 0.10.11.2 (0.10.12 pre-release)
7428 Bump libtool versioning.
7430 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7432 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7433 Log flow-names and not numbers.
7435 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7438 Convert to new AG_GST style.
7440 2007-02-28 Wim Taymans <wim@fluendo.com>
7442 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7443 Don't unref query twice.
7445 2007-02-28 Wim Taymans <wim@fluendo.com>
7447 * gst/gstvalue.c: (gst_value_transform_object_string),
7448 (_gst_value_initialize):
7449 Implement GstObject -> string transform so we print object names
7450 when serializing GValues containing GstObjects.
7452 2007-02-28 Wim Taymans <wim@fluendo.com>
7454 * docs/gst/gstreamer-sections.txt:
7455 Add new stuff to docs.
7457 2007-02-28 Wim Taymans <wim@fluendo.com>
7459 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7460 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7461 (gst_base_sink_change_state):
7462 Improve latency query code.
7463 Don't leak latency events.
7465 * tests/check/gst/gstbin.c: (GST_START_TEST):
7468 2007-02-28 Wim Taymans <wim@fluendo.com>
7470 * gst/gstelement.c: (gst_element_message_full),
7471 (gst_element_get_state_func):
7473 Improve docs a little. Added Since: for new macro.
7475 * gst/gstobject.c: (gst_object_sink):
7476 * gst/gstpipeline.c: (gst_pipeline_change_state),
7477 (gst_pipeline_set_new_stream_time):
7478 * gst/gstpipeline.h:
7479 Improve debugging and docs.
7481 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7484 2007-02-28 Wim Taymans <wim@fluendo.com>
7486 * gst/gstelement.c: (gst_element_message_full),
7487 (gst_element_set_locked_state), (gst_element_get_state_func),
7488 (gst_element_change_state):
7489 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7490 Documentation updates.
7491 Small code cleanups.
7493 * gst/gstmessage.c: (gst_message_new_info),
7494 (gst_message_parse_info):
7496 API: gst_message_new_info()
7497 API: gst_message_parse_info()
7498 Add INFO message create and parse code.
7500 2007-02-28 Wim Taymans <wim@fluendo.com>
7502 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7503 (bin_query_latency_done):
7504 Also report the live parameter of a latency query.
7506 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7508 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7509 Copy the current generic/states example from -base and adapt so
7510 we can use the exact same code everywhere.
7511 Check a STATES_IGNORE_ELEMENTS env var which can be used
7512 to ignore certain element factories for this test, which is
7513 what is being done in -base
7514 * tests/check/Makefile.am:
7515 Mention this environment variable.
7517 2007-02-27 Wim Taymans <wim@fluendo.com>
7519 * docs/gst/gstreamer-sections.txt:
7520 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7521 (gst_bus_timed_pop), (gst_bus_pop):
7523 API: gst_bus_timed_pop()
7524 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7525 message to arrive on the bus.
7527 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7529 Two unit tests for new _timed_pop() function.
7531 2007-02-23 Wim Taymans <wim@fluendo.com>
7533 * gst/gstpipeline.c: (gst_pipeline_change_state),
7534 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7535 Don't ref a NULL clock in _provide_clock_func().
7536 Don't allow an INVALID delay.
7537 Don't try to calculate base_time with an invalid start_time.
7538 Also distribute and notify a NULL clock when it was selected.
7540 * tools/gst-launch.c: (event_loop):
7541 Don't crash when a NULL clock was selected in the pipeline.
7543 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7545 * docs/design/Makefile.am:
7546 * docs/design/draft-missing-plugins.txt:
7547 * docs/random/draft-missing-plugins.txt:
7548 Some small updates: update plugin system identifier prefix
7549 ('gstreamer.net' to 'gstreamer'), mention our new install
7550 API in libgstbaseutils rather than libgimme-codec, add
7551 reference to the online docs.
7553 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7555 * win32/common/config.h:
7556 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7557 use moap cl ci to only check in what is mentioned in the ChangeLog.
7559 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7561 * docs/gst/gstreamer-sections.txt:
7563 Fix up documentation to link to the correct GstGError section.
7564 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7566 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7568 * tools/gst-launch.c: (event_loop):
7569 Make sure that we actually show the important message part of a
7571 No need to check if the gerror is not NULL to free; first of all
7572 g_free accepts NULL; and second the default error handler would
7573 segfault if gerror was NULL.
7575 2007-02-21 Wim Taymans <wim@fluendo.com>
7577 * docs/gst/gstreamer-sections.txt:
7578 Removed docs as well.
7580 2007-02-21 Wim Taymans <wim@fluendo.com>
7582 * gst/gstmessage.c: (gst_message_parse_duration):
7584 Remove new messages for release.
7586 2007-02-20 Wim Taymans <wim@fluendo.com>
7588 * docs/design/part-gstghostpad.txt:
7589 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7590 (gst_ghost_pad_new_full):
7591 Make the ghostpad a parent of the internal pad again for better backward
7592 compatibility. Don't write code that relies on this however.
7594 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7595 (gst_pad_link_check_hierarchy):
7596 Require that parents should be GstElements in the hierarchy check.
7598 2007-02-20 Wim Taymans <wim@fluendo.com>
7600 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7601 (gst_bin_change_state_func), (bin_query_min_max_init),
7602 (bin_query_latency_fold), (bin_query_latency_done),
7605 Implement latency query.
7607 2007-02-20 Wim Taymans <wim@fluendo.com>
7609 * docs/design/part-gstghostpad.txt:
7610 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7611 (gst_ghost_pad_internal_do_activate_push),
7612 (gst_ghost_pad_internal_do_activate_pull),
7613 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7614 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7615 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7616 Do not set the internal pad as a parent anymore so we can avoid
7617 hierarchy linking errors when the ghostpad has no parent yet. This also
7618 fixes failed activation because of unlinked internal pads, which in
7619 turn fixes the impossible case where you have to activate a pad before
7620 you can add it to a running element.
7623 * gst/gstpad.c: (pre_activate), (post_activate),
7624 (gst_pad_set_active), (gst_pad_activate_pull),
7625 (gst_pad_activate_push), (gst_pad_check_pull_range):
7626 Add some more debug info.
7627 Mark activation mode in pre_activate so that we don't try to activate in
7628 endless loops. Fixes #385084.
7630 2007-02-19 Wim Taymans <wim@fluendo.com>
7632 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7633 (gst_base_transform_check_get_range):
7634 Implement a checkgetrange function instead of relying on the default
7635 core behaviour that assumes we can operate in pull mode if we have a
7636 getrange function. First step at fixing #385084.
7638 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7640 * gst/gstchildproxy.h:
7641 * libs/gst/base/gstbasesink.h:
7642 * libs/gst/base/gstbasesrc.h:
7643 * libs/gst/base/gstbasetransform.h:
7644 More docs coverage and some ChangeLog surgery (add missing names)
7646 2007-02-15 Wim Taymans <wim@fluendo.com>
7648 * docs/design/part-TODO.txt:
7649 * docs/design/part-activation.txt:
7650 * docs/design/part-block.txt:
7651 * docs/design/part-buffering.txt:
7652 * docs/design/part-clocks.txt:
7653 * docs/design/part-element-source.txt:
7654 * docs/design/part-events.txt:
7655 * docs/design/part-gstbin.txt:
7656 * docs/design/part-gstbus.txt:
7657 * docs/design/part-gstpipeline.txt:
7658 * docs/design/part-live-source.txt:
7659 * docs/design/part-messages.txt:
7660 * docs/design/part-overview.txt:
7661 * docs/design/part-qos.txt:
7662 * docs/design/part-query.txt:
7663 * docs/design/part-states.txt:
7664 * docs/design/part-trickmodes.txt:
7665 Some doc updates. Start renaming from stream_time to running_time where
7666 it was used wrongly.
7668 2007-02-15 Wim Taymans <wim@fluendo.com>
7670 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7671 Answer LATENCY query.
7673 2007-02-15 Wim Taymans <wim@fluendo.com>
7675 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7679 2007-02-15 Wim Taymans <wim@fluendo.com>
7681 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7682 (gst_pad_dispatcher):
7683 Improve debugging of default pad dispatcher and query functions.
7685 2007-02-15 Wim Taymans <wim@fluendo.com>
7687 * docs/gst/gstreamer-sections.txt:
7688 Remove old unused method.
7690 2007-02-13 Wim Taymans <wim@fluendo.com>
7692 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7695 2007-02-13 Wim Taymans <wim@fluendo.com>
7697 * docs/design/part-seeking.txt:
7700 * gst/gstsegment.c: (gst_segment_set_seek):
7701 Revert old bogus change that should make seeking work again.
7703 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7705 * docs/random/ensonic/dynlink.txt:
7706 * docs/random/ensonic/interfaces.txt:
7707 * docs/random/ensonic/receipies.txt:
7708 Possible dynamic reconnection api, plus some type fixes the other two
7711 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7713 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7714 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7715 Also check for an absolute path following file:// in the filesrc
7716 element. Remove redundant check and call g_path_is_absolute() on the
7719 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7721 * docs/design/draft-klass.txt:
7722 Add existing category analysis.
7725 Fix doc example, framerate is a fraction.
7727 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7730 * docs/gst/Makefile.am:
7731 * docs/gst/gstreamer-sections.txt:
7732 * docs/libs/Makefile.am:
7733 Erm, forgot a bunch of --extra-dir.
7735 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7738 * docs/gst/Makefile.am:
7739 * docs/libs/Makefile.am:
7740 * docs/plugins/Makefile.am:
7741 Add crossreferences to glib/gobject docs.
7743 2007-02-12 Wim Taymans <wim@fluendo.com>
7745 * docs/design/draft-latency.txt:
7748 * docs/libs/gstreamer-libs-sections.txt:
7749 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7750 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7751 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7752 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7753 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7754 (gst_base_sink_get_position), (gst_base_sink_query),
7755 (gst_base_sink_change_state):
7756 * libs/gst/base/gstbasesink.h:
7757 API: gst_base_sink_query_latency() to let subclasses query the upstream
7759 API: gst_base_sink_get_latency() to let subclasses query the configured
7760 latency in the sink.
7761 Implement query and set latency.
7763 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7764 don't continue preroll when we are flushing. Fixes #405284.
7766 * tests/check/pipelines/stress.c: (change_state_timeout),
7767 (quit_timeout), (GST_START_TEST), (stress_suite):
7770 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7772 Patch by: René Stadler <mail at renestadler de>
7774 * docs/gst/gstreamer-sections.txt:
7775 * gst/gsttaglist.c: (_gst_tag_initialize):
7777 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7779 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7781 * docs/libs/Makefile.am:
7782 Fix path to core docs.
7784 * gst/gstbin.c: (gst_bin_get_by_interface),
7785 (gst_bin_iterate_all_by_interface):
7786 Refix docs by also renaming 'interface' to 'iface' in implementation.
7788 * docs/gst/gstreamer-sections.txt:
7790 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7791 * gst/gstchildproxy.h:
7792 * gst/gstelementfactory.c:
7793 * gst/gstpadtemplate.h:
7794 * libs/gst/controller/gstcontroller.c:
7795 (gst_controlled_property_new):
7798 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7800 * gst/gstbin.h:(gst_bin_get_by_interface),
7801 (gst_bin_iterate_all_by_interface):
7802 Replace interface parameter name by iface as interface is
7803 a reserved keyword in Visual Studio for C++ projects so it removes
7804 a build error for application developpers using VS.
7805 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7806 Fix a bug on Windows in uri format check. Now the prefix checked
7807 is file:// and next we check if the path after file:// is absolute.
7808 * win32/common/libgstbase.def:
7809 * win32/common/libgstdataprotocol.def:
7810 * win32/common/libgstgstreamer.def:
7811 Add new exported functions.
7813 2007-02-09 Andy Wingo <wingo@pobox.com>
7815 * tests/check/pipelines/simple-launch-lines.c
7816 (simple_launch_lines_suite, test_tee): Disable tee test until I
7817 have time to fix it :-(
7819 * tests/check/Makefile.am (noinst_HEADERS):
7820 * tests/check/libs/libsabi.c:
7821 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7822 * tests/check/gst/gstabi.c:
7823 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7825 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7826 tests for push and pull tee behavior.
7828 * plugins/elements/gsttee.h:
7829 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7830 mark as deprecated as well as unimplemented. It was a crack idea.
7831 Add support for tee operating in pull mode, off by default.
7833 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7834 normal-case logs down to LOG, raise errors to WARNING.
7835 (gst_registry_xml_read_cache): Don't log before calling a function
7838 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7839 exit (registry finalize).
7840 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7841 DEBUG log when we emit signals that people don't even have the
7842 chance to connect to.
7843 (gst_registry_scan_path_level): Less logging in the normal case.
7845 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7847 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7849 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7850 Correctly generate EOS for non-seekable files. We don't have a total
7851 length for them and would get an unexpected end of file if we only
7852 special-cased for regular files. (Fixes: #404569)
7854 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7856 * tests/check/elements/filesrc.c: (GST_START_TEST),
7858 Add unit test for the GstURIHandler interface in filesrc. This also
7859 tests the newly added file://localhost/foo/bar support.
7861 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7863 * gst/gstelementfactory.h:
7864 The klass string is not a hierarchy. Add reference to the design doc
7865 for more information and common types.
7867 2007-02-02 Wim Taymans <wim@fluendo.com>
7869 * gst/gstquery.c: (gst_query_new_latency):
7870 Remove old structure field.
7872 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7874 * tools/gst-launch.1.in:
7875 Give example for network streaming (#351998)
7877 2007-02-02 Wim Taymans <wim@fluendo.com>
7879 * docs/gst/gstreamer-sections.txt:
7880 Add docs for new methods.
7882 * gst/gstevent.c: (gst_event_new_latency),
7883 (gst_event_parse_latency):
7885 Add new LATENCY event to configure latency in a pipeline.
7886 API: gst_event_new_latency
7887 API: gst_event_parse_latency
7889 * gst/gstmessage.c: (gst_message_new_buffering),
7890 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7891 (gst_message_new_latency), (gst_message_parse_buffering),
7892 (gst_message_parse_lost_preroll):
7894 Added messages used in draft-latency.
7895 API: gst_message_new_lost_preroll
7896 API: gst_message_parse_lost_preroll
7897 API: gst_message_new_prerolled
7898 API: gst_message_new_latency
7900 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7901 (gst_query_parse_latency):
7903 Implemented new latency query as in design doc.
7904 API: gst_query_new_latency
7905 API: gst_query_set_latency
7906 API: gst_query_parse_latency
7908 2007-02-02 Wim Taymans <wim@fluendo.com>
7910 * docs/design/draft-latency.txt:
7911 Slight redesign to allow for dynamic latency adjustments.
7913 * docs/design/part-negotiation.txt:
7916 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
7918 reviewed by: Wim Taymans <wim@fluendo.com>
7920 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7921 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7922 Allow file://localhost/foo/bar URLs and correctly fail for every other
7923 hostname that one sets. This was gnomevfssrc is linked for those if
7924 installed as it can handle it (#403172)
7926 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7928 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7931 (unref_data), (gst_collect_pads_add_pad_full):
7932 * libs/gst/base/gstcollectpads.h:
7933 Don't put the previously added destroy notify in the GstCollectData
7934 struct as all it's padding is already used and we don't want to break
7935 ABI. Instead put in the pad's GObject data for now. This should be
7936 cleaned up for 0.11 (#402393).
7938 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7940 reviewed by: Wim Taymans <wim@fluendo.com>
7942 * docs/libs/gstreamer-libs-sections.txt:
7943 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7944 (unref_data), (gst_collect_pads_add_pad),
7945 (gst_collect_pads_add_pad_full):
7946 * libs/gst/base/gstcollectpads.h:
7947 API: Add function to specify a destroy notification for custom
7948 GstCollectData when adding new pads in GstCollectPads (#402393).
7950 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
7953 Update Swedish translation (#378255).
7955 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7957 * docs/design/draft-klass.txt:
7958 Fix the previous change, this is a list of categories and not a hierarchy.
7960 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7962 * docs/design/draft-klass.txt:
7963 Add info about how to get a list of used classes.
7965 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
7967 * plugins/elements/gsttypefindelement.c:
7968 (gst_type_find_element_chain_do_typefinding),
7969 (gst_type_find_element_change_state):
7970 Don't leak found caps in chain function (no idea why that never
7971 showed up as a leak anywhere).
7973 2007-01-30 Stefan Kost <ensonic@users.sf.net>
7976 Fix and expand GstPluginDesc API docs.
7978 2007-01-29 Stefan Kost <ensonic@users.sf.net>
7981 * gst/gstelementfactory.c:
7982 * gst/gstpadtemplate.h:
7985 * libs/gst/controller/gstcontroller.c:
7986 (gst_controlled_property_new):
7987 * tests/examples/controller/audio-example.c:
7990 2007-01-29 Stefan Kost <ensonic@users.sf.net>
7993 comment about refining the xml deps
7996 comments about moving away from jade for docs
7999 recommit the ifdefs to use the binary registry
8001 * gst/gstbin.c: (gst_bin_change_state_func):
8002 this break is obsolete
8004 * gst/gstelementfactory.h:
8005 better GST_ELEMENT_DETAILS docs, add comment about translation
8010 * gst/gstobject.c: (gst_signal_object_get_type):
8011 add G_UNLIKELY as usual
8013 * gst/gstpad.c: (gst_pad_event_default):
8014 add fall trhu comment
8016 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8017 (gst_registry_binary_initialize_magic),
8018 (gst_registry_binary_save_string),
8019 (gst_registry_binary_save_pad_template),
8020 (gst_registry_binary_save_feature),
8021 (gst_registry_binary_save_plugin),
8022 (gst_registry_binary_write_cache),
8023 (gst_registry_binary_check_magic),
8024 (gst_registry_binary_load_pad_template),
8025 (gst_registry_binary_load_feature),
8026 (gst_registry_binary_load_plugin),
8027 (gst_registry_binary_read_cache):
8028 comment typo and formatting
8030 * gst/gstutils.c: (gst_element_state_get_name),
8031 (gst_element_state_change_return_get_name):
8032 remove obsolete breaks
8034 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8035 add FIXME 0.11 and remove cpp comment
8037 2007-01-29 Edward Hervey <edward@fluendo.com>
8039 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8040 Fix print statement in an even more portable way.
8042 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8044 * docs/gst/gstreamer-sections.txt:
8046 API: add GST_ROUND_DOWN_* macros (#401781).
8048 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8050 * docs/gst/gstreamer.types.in:
8051 * gst/gstregistry.c: (gst_registry_class_init):
8052 Document registry signals and make gtk-doc pick them up (#401381).
8054 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8056 * docs/pwg/building-testapp.xml:
8057 Add some audioconverts and audioresample to the pipeline, and some
8058 more comments and error handling.
8060 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8062 * docs/manual/manual.xml:
8066 2007-01-26 Wim Taymans <wim@fluendo.com>
8068 * gst/gstcaps.c: (gst_static_caps_get):
8069 Init caps flags too.
8071 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8073 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8075 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8076 If not using mmap'ed files try to seek to the end instead of the
8077 start to determine whether we can seek at all. This fixes the case
8078 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8079 seeks for everything afterwards fail. Fixes #400656
8081 2007-01-25 Wim Taymans <wim@fluendo.com>
8083 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8084 Add some refcount debugging.
8085 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8086 in multiple streaming threads.
8088 2007-01-25 Wim Taymans <wim@fluendo.com>
8090 Patch by: David Schleef <ds at schleef dot org>
8092 * docs/libs/gstreamer-libs-sections.txt:
8093 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8094 * libs/gst/base/gstadapter.h:
8095 API: gst_adapter_copy() that can reduce the amount of memcpy when
8096 getting data from the adapter. Fixes #388201.
8098 2007-01-25 Edward Hervey <edward@fluendo.com>
8100 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8101 In print statements, "%x" is for guint. Fixes build on macosx.
8103 2007-01-24 Edward Hervey <edward@fluendo.com>
8105 * plugins/elements/gstmultiqueue.c:
8106 (gst_multi_queue_loop):
8108 (single_queue_overrun_cb), (single_queue_underrun_cb),
8109 (single_queue_check_full), (gst_single_queue_new):
8110 Implement single queue growth system.
8111 This uses the extra-size properties, and will grow single queues by
8112 that much if one goes full whereas there are others empty. This is
8113 called extra-mode in the code.
8114 When a single queue's levels go back below the initial max-size
8115 limits, it is no longer in extra-mode. This is to ensure we don't
8116 consume too much memory.
8119 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8121 * gst/gst.c: (gst_init_get_option_group):
8122 Make warning about late g_thread_init() calls a bit more explicit,
8123 so that it's more obvious to application developers what they need
8124 to do if a user files a bug against their application.
8126 2007-01-22 Edward Hervey <edward@fluendo.com>
8128 * plugins/elements/gstmultiqueue.c:
8129 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8130 Remove previous hack of unsetting the flushing flag for the source pad
8131 instead of activating it. Instead, fix the source pad activate function
8132 so that it no longer depends on having a parent set or not.
8134 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8136 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8138 * docs/manual/basics-bus.xml:
8139 Fix example code, gst_element_unref() doesn't exist any longer.
8141 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8143 Patch by: Mark Nauwelaerts <manauw at skynet be>
8146 Fix two docs typoes (#399094).
8148 2007-01-19 Edward Hervey <edward@fluendo.com>
8150 * docs/faq/gst-uninstalled:
8151 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8152 depending on libgstbaseutils can work in uninstalled environment.
8154 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8157 * gst/gsttagsetter.c:
8158 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8159 statement for new tag.
8161 2007-01-17 Edward Hervey <edward@fluendo.com>
8163 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8164 When dynamically creating single queues, activate sinkpad before adding
8166 We should be doing the same thing for the source pad, but we can't
8167 since it would call a method which needs the parent to be set in order
8168 to work propertly. Instead of activating the source pad, we just unset
8169 the flushing flag, which is the minimal requirement for adding a pad
8170 to an element in a state greater than READY.
8172 2007-01-17 Edward Hervey <edward@fluendo.com>
8174 * docs/faq/gst-uninstalled:
8175 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8178 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8180 * tests/check/gst/gstabi.c:
8181 * tests/check/gst/struct_hppa.h:
8182 * tests/check/libs/libsabi.c:
8183 * tests/check/libs/struct_hppa.h:
8184 Add ABI structs for HPPA (see #393796).
8186 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8188 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8189 Actually write ABI structs to the file specified in the GST_ABI
8190 environment variable, as the message we print claims we would.
8192 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8194 * tests/check/gst/gsttask.c:
8197 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8199 * gst/gsttaglist.c: (_gst_tag_initialize):
8200 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8201 previous two entries.
8203 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8205 * docs/gst/gstreamer-sections.txt:
8206 * gst/gsttaglist.c: (_gst_tag_initialize):
8208 Add tag support for beat-per-minute.
8210 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8212 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8213 (gst_registry_binary_initialize_magic),
8214 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8215 (gst_registry_binary_save_pad_template),
8216 (gst_registry_binary_save_feature),
8217 (gst_registry_binary_save_plugin),
8218 (gst_registry_binary_write_cache),
8219 (gst_registry_binary_check_magic),
8220 (gst_registry_binary_load_pad_template),
8221 (gst_registry_binary_load_feature),
8222 (gst_registry_binary_load_plugin),
8223 (gst_registry_binary_read_cache):
8224 * gst/gstregistrybinary.h:
8225 Use glib types, cleanup comments, impement interfaces and uri-types.
8227 2007-01-13 Andy Wingo <wingo@pobox.com>
8229 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8230 getrange() to return buffers with other caps, while we fix
8231 demuxers and typefind, or otherwise change part-negotiation.txt.
8233 2007-01-12 Andy Wingo <wingo@pobox.com>
8235 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8236 Factor start/stop into this private function instead of partially
8237 in activate functions and partially in the change_state function.
8238 Fixes setup before the element has changed from READY->PAUSED, as
8239 is the case in pull-mode pipelines.
8240 (gst_base_transform_sink_activate_push)
8241 (gst_base_transform_src_activate_pull): Refactor to use
8242 gst_base_transform_activate().
8243 (gst_base_transform_change_state): Removed, not needed any more.
8245 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8246 Truncate before fixating.
8248 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8249 Don't set_caps() if the result of fixating is ANY, as it's not
8250 supported, and not necessary in the case of a link with no
8251 template caps on either side. Fixes tests/check/libs/basesrc in
8252 some pull-mode tests.
8254 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8255 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8256 (gst_base_transform_src_activate_pull):
8257 Track the activation mode.
8258 (gst_base_transform_setcaps): In pull mode, when activating the
8259 src pad, after activating the sink pad, activate the sink pad's
8260 peer, as discussed in part-negotiation.txt.
8262 * libs/gst/base/gstbasesrc.h:
8263 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8264 vmethod, as in basesink.
8266 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8268 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8269 mode, first proxy the setcaps to the peer pad.
8270 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8272 (gst_base_sink_default_activate_pull): Rename from
8273 gst_base_sink_activate_pull.
8274 (gst_base_sink_negotiate_pull): New function, performs negotiation
8275 in pull mode before calling ::activate_pull().
8276 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8277 vmethod instead of the default implementation. I have no idea how
8278 this worked before. Negotiate before calling activate_pull.
8280 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8281 sink pads in pull mode. In addition to being correct, fixes
8282 filesrc ! decodebin ! identity ! fakesink.
8283 (gst_pad_get_range, gst_pad_pull_range): Don't call
8284 gst_pad_set_caps() if the caps changes; instead error out with
8285 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8287 2007-01-12 Andy Wingo <wingo@pobox.com>
8289 * docs/design/part-negotiation.txt: Update with more policy.
8291 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8293 * libs/gst/check/gstbufferstraw.h:
8294 * libs/gst/check/gstcheck.h:
8295 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8298 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8300 * tests/check/Makefile.am:
8301 * tests/check/gst/.cvsignore:
8302 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8303 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8304 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8305 (GST_START_TEST), (gst_tag_setter_suite):
8306 Add minimal unit test for beforementioned GstTagSetter bug.
8308 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8310 Patch by: René Stadler <mail at renestadler dot de>
8312 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8313 gst_tag_list_merge() returns a new list, so it's not the best idea
8314 to ingore its return value. Effectively meant that tags could only
8315 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8316 Also add function guard to require a non-NULL taglist as input (has
8317 always been so due to gst_tag_list_copy(), just making it explicit).
8319 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8321 * docs/random/draft-missing-plugins.txt:
8322 Some additions: mention new API that is supposed to be used at the
8323 various stages; short blob about new gst-inspect introspection
8324 option; mention potential future problem with plugins that have
8325 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8327 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8329 * tools/gst-inspect.c:
8330 (print_plugin_automatic_install_info_codecs),
8331 (print_plugin_automatic_install_info_protocols),
8332 (print_plugin_automatic_install_info), (main):
8333 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8334 introspect plugin files and get machine-parsable output that corresponds
8335 to the last bit of the missing-plugin installer string (small gotcha:
8336 doesn't take into account ranks).
8338 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8341 * docs/gst/gstreamer-sections.txt:
8343 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8344 (gst_registry_lookup_locked):
8345 * gst/gstregistry.h:
8346 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8347 (gst_registry_binary_initialize_magic),
8348 (gst_registry_binary_save_string),
8349 (gst_registry_binary_save_pad_template),
8350 (gst_registry_binary_save_feature),
8351 (gst_registry_binary_save_plugin),
8352 (gst_registry_binary_write_cache),
8353 (gst_registry_binary_check_magic),
8354 (gst_registry_binary_load_pad_template),
8355 (gst_registry_binary_load_feature),
8356 (gst_registry_binary_load_plugin),
8357 (gst_registry_binary_read_cache):
8358 * gst/gstregistrybinary.h:
8359 * gst/gstregistryxml.c: (load_feature),
8360 (gst_registry_xml_read_cache):
8361 commit binary registry (disabled by default, see #359653)
8363 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8365 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8366 Fix 'make check' too.
8368 2007-01-10 Andy Wingo <wingo@pobox.com>
8370 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8373 * docs/design/part-negotiation.txt: Update with, um, one way that
8374 pull-mode negotiation might work?
8377 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8378 that the pad must be a src pad; makes sense to call it the other
8379 way in pull mode, and the logic is symmetric anyway.
8381 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8383 * plugins/elements/gstfilesink.c:
8384 Include <stdio.h> for fseeko().
8386 2007-01-10 Wim Taymans <wim@fluendo.com>
8390 Reserve LATENCY event.
8392 2007-01-09 Wim Taymans <wim@fluendo.com>
8394 * docs/design/draft-latency.txt:
8397 2007-01-09 Wim Taymans <wim@fluendo.com>
8399 * docs/design/draft-latency.txt:
8403 * gst/gststructure.c:
8407 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8409 * tests/check/.cvsignore:
8410 Ignore test-registry.xml as well.
8412 2007-01-09 Wim Taymans <wim@fluendo.com>
8414 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8415 unref data at the end when we are done with the pad.
8417 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8419 * docs/gst/gstreamer-sections.txt:
8420 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8421 (init_post), (gst_deinit), (gst_update_registry):
8423 API: add gst_update_registry() (#391296).
8425 * tests/check/Makefile.am:
8426 * tests/check/gst/gstregistry.c:
8427 * tests/check/gst/.cvsignore:
8428 Simple unit test for the above.
8430 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8432 * gst/gstregistry.c: (gst_registry_scan_path_level):
8433 Plugin extension on HP-UX is .sl, add that to the list of approved
8434 plugin extensions (see #393796).
8436 * tests/check/gst/gstpad.c: (GST_START_TEST):
8437 ulong => gulong. Fixes compilation with HP-UX compiler.
8439 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8440 Fix compilation if valgrind headers are not available.
8442 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8444 * win32/common/libgstreamer.def:
8445 Add new exported function.
8446 * win32/vs6/libgstbase.dsp:
8447 Add gstdataqueue.c to the build.
8448 * win32/vs6/libgstcoreelements.dsp:
8449 Add gstmultiqueue.c to the build.
8451 2007-01-06 Andy Wingo <wingo@pobox.com>
8453 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8454 activate_pull(), providing for a way to specialize the process of
8455 spawning a thread to pull on the sink pad. There is a default
8458 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8459 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8460 (gst_base_sink_init): Renamed pad activation functions (inserting
8461 "_pad" in their names). Refactor to use the new activate_pull
8462 vmethod, as appropriate.
8463 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8464 default activate_pull function to start a task pulling from the
8465 sink pad, as before.
8467 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8468 on the pads if necessary, as in push()/chain(). Update docs.
8469 Shouldn't affect existing pull() usage as it is currently only
8470 being used on buffers without caps.
8472 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8474 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8476 Call g_thread_init() first thing in gst_init() / gst_check_init().
8477 When initialisation is done via gst_init_get_option_group() and
8478 GOption parsing, issue a warning if the GLib thread system has not
8479 been initialised yet by the time gst_init_get_option_group() is
8480 called, as it's quite likely other GLib functions such as
8481 g_option_context_new() have been called already then, and
8482 g_thread_init() must be called before any other GLib function. The
8483 application in question must be fixed in that case, since memory
8484 corruption might happen otherwise.
8485 We issue the warning because even if the GLib folks decide to work
8486 around the problem on their end in future, this is still an issue
8487 with all GLib versions >= 2.10.0, so we should warn until we depend
8488 on a GLib version we know to be safe.
8489 Update documentation as well.
8492 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8494 * tools/gst-inspect.c: (main):
8495 * tools/gst-launch.c: (main):
8496 * tools/gst-typefind.c: (main):
8497 * tools/gst-xmlinspect.c: (main):
8498 Call g_thread_init() really really early, before any other GLib
8499 function (see #342564 and recent discussion on gtk-devel-list).
8501 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8503 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8505 * gst/gst_private.h:
8506 * gst/gstconfig.h.in:
8508 On win32, all the __declspec stuff for symbol exporting is
8509 apparently only needed with MSVC, but doesn't work with MingW.
8510 Fixes compilation with MingW and #391909.
8512 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8514 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8515 Change some GST_ERROR_OBJECT that aren't really errors to
8516 GST_WARNING_OBJECT in order to reduce terminal spam.
8518 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8520 * tests/check/Makefile.am:
8521 disable test again, as there seem to be still race problems
8523 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8525 * tests/check/Makefile.am:
8526 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8527 (GST_START_TEST), (queue_suite):
8528 enable queue test again, add tests for the leaky behaviour
8530 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8533 * tests/examples/Makefile.am:
8534 Compile adapter test/example only if the required headers are
8535 available (fixes #391915).
8537 2007-01-01 David Schleef <ds@schleef.org>
8540 Restore the previous signal handler for SIGSEGV instead of
8541 setting to default, since we may have stolen it away from
8542 someone. (i.e., Mono)
8544 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8546 * docs/random/draft-missing-plugins.txt:
8547 Some small additions and clarifications.
8549 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8551 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8552 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8553 since that can lead to random memory corruptions and crashes
8554 (may or may not be related to #383244, #386711, and #386711).
8556 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8558 * tests/check/.cvsignore:
8559 * tests/check/Makefile.am:
8560 sync .cvsignome and CLEANFILES
8562 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8564 * tests/check/Makefile.am:
8567 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8569 * docs/design/part-states.txt:
8570 two tiny additional comments
8572 * gst/gststructure.c:
8575 * tests/check/Makefile.am:
8576 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8578 disable test for now, unless it gets fixed
8580 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8582 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8584 fix race in underrun test
8586 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8588 * tests/check/elements/.cvsignore:
8591 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8593 try to narrow test failure
8595 2006-12-21 David Schleef <ds@schleef.org>
8597 * plugins/elements/gstfakesrc.c:
8598 Use g_random_int_range(), since it produces better random
8599 numbers in a range than almost-correct floating point code.
8601 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8603 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8604 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8605 (gst_check_teardown_sink_pad):
8606 do not automatically (de)activate pads
8608 * tests/check/Makefile.am:
8609 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8610 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8611 add new, yet simple tests for queue
8613 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8614 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8615 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8617 * tests/check/elements/identity.c: (cleanup_identity):
8618 consistent pad (de)activation
8620 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8622 Patch by: Sebastian Dröge <slomo ubuntu com>
8624 * libs/gst/base/gstcollectpads.c:
8625 Fix two doc typos (#387866).
8627 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8629 * docs/manual/advanced-dparams.xml:
8630 Fix typo (g_object_control_properties() doesn't exist).
8632 2006-12-19 Edward Hervey <edward@fluendo.com>
8634 * gst/gstsegment.c: (gst_segment_set_seek):
8635 Fine tune the cases where the segment start/stop values are really
8637 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8638 Add tests for the return values of gst_segment_set_seek().
8640 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8645 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8647 Fix incorrect documentation and flesh it out a bit more.
8648 Set default values for the max properties on the GParamSpec as well,
8649 so it shows up correctly in gst-inspect.
8651 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8653 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8654 Correct docs of queue, add more detail and crosslink it more.
8656 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8658 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8659 Print additional debug info when the stream isn't perfectly
8660 timestamped; don't try to use invalid durations.
8662 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8664 * docs/design/Makefile.am:
8665 Dist new design docs.
8667 2006-12-16 Wim Taymans <wim@fluendo.com>
8669 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8671 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8672 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8673 (gst_collect_pads_stop), (gst_collect_pads_event),
8674 (gst_collect_pads_chain):
8675 * libs/gst/base/gstcollectpads.h:
8676 Add refcounting to the collectpads data so we can track when it's safe
8677 to free the data. Fixes #383382.
8679 2006-12-15 Wim Taymans <wim@fluendo.com>
8681 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8682 (gst_collect_pads_remove_pad):
8683 Automatically activate/deactivate pads when they are added to a
8684 started/stoped collectpads.
8686 2006-12-15 Wim Taymans <wim@fluendo.com>
8688 * gst/gstelement.c: (gst_element_add_pad):
8689 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8690 * gst/gstpad.c: (gst_pad_init):
8691 Set pads to FLUSHING when they are created. Check, warn and fix when a
8692 demuxer adds an inactive pad to itself when running. Fixes #339326.
8694 2006-12-15 Wim Taymans <wim@fluendo.com>
8696 * gst/gstelement.c: (gst_element_class_init),
8697 (gst_element_default_send_event), (gst_element_send_event),
8698 (gst_element_default_query), (gst_element_query):
8699 Expose default element send_event and query handling as vmethods that
8700 subclasses can chain up to.
8702 2006-12-15 Wim Taymans <wim@fluendo.com>
8704 * gst/gstelement.c: (gst_element_set_state_func):
8705 Small documentation fixes.
8707 2006-12-15 Wim Taymans <wim@fluendo.com>
8709 * docs/design/draft-latency.txt:
8710 Checked in draft for handling latency in pipelines.
8712 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8716 * gstreamer.spec.in:
8719 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8721 * gst/gst.c: (init_pre), (init_post):
8722 init_pre() and init_post() might be called via our GOptionGroup or
8723 from gst_init(), and we should skip both of them if we've already
8724 been initialised, otherwise we will init some things twice or add
8725 two default log functions.
8727 2006-12-13 Edward Hervey <edward@fluendo.com>
8729 * docs/manual/basics-bus.xml:
8730 No, gst_main_loop does not exist. Its g_main_loop.
8731 Discovered by somebody who abused the copy-paste technique of coding :)
8733 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8735 * gst/gstghostpad.c:
8736 Log ghostpad debug stuff to the GST_PADS category as well rather
8737 than just to the default category.
8739 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8742 * gst/gst.c: (init_pre):
8743 Add some basic system details such as OS and architecture
8744 to the debug output if possible, courtesy of uname().
8746 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8748 * docs/gst/running.xml:
8749 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8750 environment variables.
8752 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8754 * tests/check/gst/gstbin.c: (GST_START_TEST):
8755 It is acceptable to have a refcount of 2 or 3 at this point in the
8756 test, because the pipeline might be just posting its state_change
8757 message. The next line then waits for that message to appear using
8758 bus_poll, so that should be fine too.
8760 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8762 * gst/gst.c: (ensure_current_registry_forking):
8763 Ignore EINTR when reading from the child registry pipe.
8764 Explicitly ignore the return value from close, since it makes no
8767 * gst/gstminiobject.c: (gst_mini_object_ref),
8768 (gst_mini_object_unref):
8769 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8771 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8772 When removing cached plugins, remove their features too, so they're
8773 not visible after they've disappeared.
8775 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8776 In the unlikely case that we are linking pads with no parents, don't
8777 crash trying to get the non-existent parent bin.
8779 * gst/parse/grammar.y:
8780 Output debug in the PIPELINE category
8782 2005-03-08 Wim Taymans <wim@fluendo.com>
8784 Patch by: René Stadler <mail at renestadler dot de>
8786 * gst/gstclock.c: (gst_clock_new_periodic_id):
8787 Reject invalid clock times for interval of periodic ids.
8790 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8792 * gst/gstelementfactory.c: (gst_element_factory_create):
8793 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8794 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8795 * tools/gst-inspect.c: (print_element_info):
8796 Fix refcounting of gst_plugin_feature_load to match the docs.
8799 2006-12-07 Wim Taymans <wim@fluendo.com>
8801 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8802 (gst_base_sink_get_position):
8803 Improve debugging of events.
8805 2006-12-07 Wim Taymans <wim@fluendo.com>
8807 Patch by: René Stadler <mail at renestadler dot de>
8809 * gst/gstclock.c: (gst_clock_id_wait):
8810 Make period ids add the interval to the origial requested time instead
8811 of the possibly updated time which can be wrong when there are multiple
8812 waiters for the same id. Fixes #382592.
8814 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8815 (gst_system_clock_id_wait_jitter_unlocked),
8816 (gst_system_clock_id_wait_jitter):
8817 Fix restart in the async notify thread when an async entry is added to
8818 the front of the list. Fixes #381492.
8820 * tests/check/gst/gstsystemclock.c: (store_callback),
8821 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8822 Added test for multiple async waits.
8823 Added test for async wait order.
8825 2006-12-07 Wim Taymans <wim@fluendo.com>
8827 * gst/gstbin.c: (gst_bin_query):
8828 Add some more docs about the POSITION query.
8830 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8833 Bump version nano - back to CVS.
8835 === release 0.10.11 ===
8837 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8840 releasing 0.10.11, "Love never runs on time"
8842 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8844 * win32/common/libgstbase.def:
8845 * win32/common/libgstreamer.def:
8846 * win32/vs8/libgstbase.vcproj:
8847 * win32/vs8/libgstcoreelements.vcproj:
8848 * win32/vs8/libgstreamer.vcproj:
8849 Fix compilation on win32 under VS8
8850 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8851 Partially fixes #381175
8853 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8855 * gst/gstvalue.c: (gst_value_compare_fraction):
8856 If someone is foolish enough to compare 2 fractions with denominator =
8857 0, return UNORDERED rather than aborting.
8859 2006-11-28 Edward Hervey <edward@fluendo.com>
8861 * libs/gst/base/Makefile.am:
8862 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8863 (gst_data_queue_base_init), (gst_data_queue_class_init),
8864 (gst_data_queue_init), (gst_data_queue_new),
8865 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8866 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8867 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8868 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8869 (gst_data_queue_set_flushing), (gst_data_queue_push),
8870 (gst_data_queue_pop), (gst_data_queue_drop_head),
8871 (gst_data_queue_set_property), (gst_data_queue_get_property):
8872 * libs/gst/base/gstdataqueue.h:
8873 New GstDataQueue object for threadsafe queueing. Most useful for
8874 elements that need some queueing functionnality.
8875 * docs/libs/gstreamer-libs-docs.sgml:
8876 * docs/libs/gstreamer-libs-sections.txt:
8877 Insert documentation for GstDataQueue
8878 * plugins/elements/Makefile.am:
8879 * plugins/elements/gstelements.c:
8880 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8881 (gst_multi_queue_class_init), (gst_multi_queue_init),
8882 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8883 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8884 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8885 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8886 (gst_multi_queue_loop), (gst_multi_queue_chain),
8887 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8888 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8889 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8890 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8891 (wake_up_next_non_linked), (compute_next_non_linked),
8892 (single_queue_overrun_cb), (single_queue_underrun_cb),
8893 (single_queue_check_full), (gst_single_queue_new):
8894 * plugins/elements/gstmultiqueue.h:
8895 New multiqueue element, using GstDataQueue. Used for queuing multiple
8897 Closes #344639 and #347785
8899 2006-11-22 Stefan Kost <ensonic@users.sf.net>
8901 * docs/pwg/advanced-types.xml:
8902 add more missing type details
8904 * tools/gst-run.c: (main):
8905 remove unused variable
8907 2006-11-21 Stefan Kost <ensonic@users.sf.net>
8909 * docs/libs/Makefile.am:
8910 * docs/libs/gstreamer-libs.types:
8911 add types of base classes to enable gobject specific stuff in the docs
8913 * docs/random/ensonic/embedded.txt:
8914 more ideas about isolating platform specific things
8916 2006-11-20 Wim Taymans <wim@fluendo.com>
8918 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8920 * libs/gst/check/gstcheck.h:
8921 Fix compilation and running against 0.9.4. Fixes #377332.
8923 2006-11-20 Wim Taymans <wim@fluendo.com>
8925 * gst/gstsegment.c: (gst_segment_set_seek),
8926 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8927 (gst_segment_to_running_time):
8928 Fix boundary checking in to_running_time() and to_stream_time().
8931 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8932 stream and running time can now be calculated for the complete
8935 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
8937 * gst/gstpad.c: (gst_pad_push_event):
8938 Can't access event structure after giving away ownership of
8941 2006-11-15 Stefan Kost <ensonic@users.sf.net>
8943 * docs/random/ensonic/embedded.txt:
8944 * docs/random/ensonic/profiling.txt:
8945 * docs/random/ensonic/receipies.txt:
8948 2006-11-13 Wim Taymans <wim@fluendo.com>
8950 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8953 Fix documentation for gst_pad_dispatcher. Fixes #374475.
8955 2006-11-13 Wim Taymans <wim@fluendo.com>
8957 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8959 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8960 Store new length in segment duration so we don't keep on calling the
8961 potentially expensize get_size() call. Fixes #370865.
8963 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
8965 Patch by: Sergey Scobich <sergey.scobich at gmail com>
8967 * win32/common/libgstreamer.def:
8968 Add two missing symbols (#366492).
8970 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
8972 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8973 (gst_adapter_take_buffer):
8974 Fix format string to use all its arguments.
8975 Remove useless >= check on a guint
8977 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8979 * tests/examples/adapter/.cvsignore:
8980 Ignore build file as commanded by the build-bot
8982 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8984 * tests/examples/adapter/Makefile.am:
8985 * tests/examples/adapter/adapter_test.c: (run_test_take),
8986 (run_test_take_buffer), (run_tests), (main):
8988 Add new files from the previous commit
8990 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
8994 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
8995 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
8996 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
8997 * libs/gst/base/gstadapter.h:
8998 * tests/check/libs/adapter.c: (create_and_fill_adapter),
8999 (GST_START_TEST), (gst_adapter_suite):
9000 * tests/examples/Makefile.am:
9001 Do some optimisation work in GstAdapter to avoid copies in more cases.
9002 It could still do slightly better by merging buffers when
9003 gst_buffer_is_span_fast is true, but is already faster.
9005 Also, avoid traversing a single-linked list to append each incoming
9006 buffer inside the adapter.
9008 Add simple test app that times the adapter behaviour in different
9009 situations, and extend the unit test to check that bytes enter and
9010 exit the adapter in their original order.
9012 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9014 * docs/random/draft-missing-plugins.txt:
9015 Update: use element message instead of adding a new message
9016 type to the core; don't provide GStreamer API to initiate the
9017 plugin download, just provide API to compose the strings needed
9018 and let an external libgimmestuff handle the rest.
9020 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9022 * tools/gst-inspect.c: (print_element_properties_info):
9023 Print a string instead of 'unknown type' for GValueArray properties
9025 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9027 * docs/random/draft-missing-plugins.txt:
9030 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9032 * tests/examples/typefind/typefind.c: (type_found), (main):
9033 Make typefind element example work again (#371894); add a
9036 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9038 * docs/random/draft-missing-plugins.txt:
9039 Commit initial draft about how to deal with missing plugins,
9040 needs work (API too).
9042 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9044 * docs/pwg/advanced-types.xml:
9045 documents the new caps elements (see #363118)
9047 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9049 * gst/gstplugin.c: (gst_plugin_load_file):
9050 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9051 (gst_file_src_map_region), (gst_file_src_start):
9052 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9053 (gst_file_index_commit):
9054 Use g_strerror() instead of strerror() - we want UTF-8.
9056 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9058 Patch by: Peter Kjellerstedt <pkj at axis com>
9060 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9061 Another printf fix (#371493).
9063 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9065 * tests/check/gst/gsttag.c:
9066 relicence (okay with author=company)
9068 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9070 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9071 (gst_pad_push_event):
9072 Enhance debug and improve docs
9077 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9079 * docs/random/ensonic/distributed.txt:
9080 * docs/random/ensonic/profiling.txt:
9083 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9085 * docs/gst/gstreamer-sections.txt:
9086 add new API and fix the build
9088 * gst/gstbin.c: (gst_bin_recalc_state):
9089 * gst/gstelement.c: (gst_element_message_full),
9090 (gst_element_get_state_func), (gst_element_set_state_func):
9091 use new API and improve logging
9093 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9095 API: add function to get StateChangereturn names to improve logs
9097 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9099 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9100 I'm considering shooting the next person to put strerror stuff
9101 in the translateable part of the message.
9103 2006-11-03 Wim Taymans <wim@fluendo.com>
9105 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9106 Get the type and printf conversion specifiers right.
9108 2006-11-03 Wim Taymans <wim@fluendo.com>
9110 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9112 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9113 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9114 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9115 Some small cleanups. Improve debugging.
9117 Signal all waiting threads with a broadcast instead of just one.
9120 2006-11-03 Wim Taymans <wim@fluendo.com>
9122 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9123 (gst_fd_src_create):
9125 Only update fd when it's different from the old.
9127 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9129 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9130 Printf fixes for PPC/OSX, take two (#369366).
9132 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9134 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9136 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9137 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9138 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9139 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9140 don't cast to long long for portability reasons, but use
9141 GLib's types instead.
9143 2006-10-30 Michael Smith <msmith@fluendo.com>
9145 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9146 Get the arguments to lseek() the right way around.
9149 2006-10-30 Wim Taymans <wim@fluendo.com>
9151 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9154 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9156 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9158 Patch by: Kjartan Maraas <kmaraas at gnome org>
9160 * docs/design/part-MT-refcounting.txt:
9161 * docs/random/wtay/capsnego2-docs:
9164 Typo fixes (#366212).
9166 2006-10-28 Wim Taymans <wim@fluendo.com>
9168 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9171 * win32/common/libgstbase.def:
9172 * win32/common/libgstreamer.def:
9173 * win32/vs8/libgstbase.vcproj:
9174 * win32/vs8/libgstcontroller.vcproj:
9175 Add needed entries in .def files.
9177 Rearrange def files in vs8 solutions. Fixes #366286.
9179 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9181 * win32/common/gstconfig.h:
9182 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9183 hand-made win32 gstconfig.h. Fixes #366321.
9185 2006-10-27 Wim Taymans <wim@fluendo.com>
9187 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9188 (gst_ghost_pad_new_full):
9189 Make acceptcaps return TRUE when we don't have a target, just like
9192 2006-10-27 Wim Taymans <wim@fluendo.com>
9194 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9195 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9197 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9199 * gst/gststructure.c: (gst_structure_id_set_value):
9200 If someone tries to set a non-UTF8 string field on a structure,
9201 don't just print a warning, but also ignore the request and do
9202 not change/add that field to the structure.
9204 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9207 2006-10-25 David Schleef <ds@schleef.org>
9210 g_hash_table_insert() needs a cast to a non-const pointer duh.
9212 2006-10-25 David Schleef <ds@schleef.org>
9216 Change name parameter of _gst_debug_register_funcptr to const
9217 to reflect the constness of its use in the function as well
9218 as to quiet a gcc warning.
9220 2006-10-25 Edward Hervey <edward@fluendo.com>
9222 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9223 Don't push the buffer if it's empty.
9226 2006-10-24 Wim Taymans <wim@fluendo.com>
9231 * libs/gst/base/gstbasetransform.c:
9232 (gst_base_transform_sink_eventfunc):
9233 Debug segment values *after* updating them as this is more
9236 2006-10-23 Wim Taymans <wim@fluendo.com>
9238 * docs/design/part-events.txt:
9241 * docs/design/part-block.txt:
9242 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9243 (gst_pad_push_event):
9244 Revert BLOCKING patch, it tries to be smart without really having a
9245 clear idea what or how. So, now we discard all FLUSHING events again on
9246 a blocking pad. Should fix gnonlin again.
9248 2006-10-23 Wim Taymans <wim@fluendo.com>
9250 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9252 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9253 (gst_base_src_start), (gst_base_src_activate_push):
9254 Make sure size is always initialized. Fixes #364388.
9256 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9258 * docs/random/ensonic/distributed.txt:
9259 add some ideas about doing distributed processing
9261 * docs/random/ensonic/profiling.txt:
9262 get_rusage look promising
9264 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9266 * docs/manual/basics-helloworld.xml:
9267 Add a cast in example to fix compile warning
9269 2006-10-18 Wim Taymans <wim@fluendo.com>
9271 * gst/gstsegment.c: (gst_segment_set_last_stop),
9272 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9273 Relax arg checking again, -1 is allowed.
9275 2006-10-18 Wim Taymans <wim@fluendo.com>
9277 * gst/gstsegment.c: (gst_segment_set_last_stop),
9278 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9279 _set_last_stop() must be with a value != -1
9280 A _TYPE_SET to -1 means seek to 0.
9281 Calc last_stop correctly for negative rates.
9282 Make sure we work with positive durations when updating a segment.
9284 2006-10-18 Wim Taymans <wim@fluendo.com>
9286 * docs/design/part-live-source.txt:
9290 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9293 Add an explicit cast to GstBuffer** to keep old code that added an
9294 explicit cast to GstMiniObject** for gst_mini_object_replace()
9295 compiling without warning.
9297 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9299 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9300 check for validity of dates
9302 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9304 * docs/gst/gstreamer-sections.txt:
9305 Forgot this one, makes gtk-doc shut up.
9307 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9309 Patch by: Peter Kjellerstedt <pkj at axis com>
9312 Don't define xmlNodePtr to gpointer if the core was built with
9313 --disable-loadsave and --disable-registry, this will break
9314 applications that want to use libxml2 but are buildling against a
9315 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9316 instead so we don't have to mess with the libxml2 namespace
9319 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9322 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9323 type-punned pointer warnings.
9325 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9328 Add casts to the correct return type to state <=> state transition
9331 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9333 * docs/design/part-live-source.txt:
9334 describe howto handle latency
9336 * docs/random/ensonic/profiling.txt:
9339 * tools/gst-plot-timeline.py:
9340 fix log parsing for solaris, remove unused function
9342 2006-10-16 Wim Taymans <wim@fluendo.com>
9344 * docs/design/part-trickmodes.txt:
9346 Update some docs regarding reverse playback.
9348 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9350 Patch by: Marcus Granado <mrc dot gran at gmail com>
9352 * win32/vs8/grammar.vcproj:
9353 Error out with a warning if glib-genmarshal.exe is not in path,
9354 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9356 2006-10-13 Wim Taymans <wim@fluendo.com>
9358 * gst/gstsegment.c: (gst_segment_set_seek):
9359 When seeking to stop -1, set last_stop (current position) to the
9360 duration of the segment.
9362 2006-10-13 Wim Taymans <wim@fluendo.com>
9365 Clarify _NO_PREROLL a bit more.
9370 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9371 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9372 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9373 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9374 due to wrong locking order. Fixes #361769.
9375 Remove some redundant/misplaced checks in pad_block.
9377 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9378 For negative rates, count backwards from the duration.
9380 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9382 * gst/gsterror.c: (_gst_library_errors_init):
9383 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9384 up with something better).
9386 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9388 * win32/vs6/libgstreamer.dsp:
9389 * win32/vs7/libgstreamer.vcproj:
9390 * win32/vs8/libgstreamer.vcproj:
9391 Don't reference glib-compat.c which is currently not used and not
9392 disted; add gstquark.c which was recently added. Fixes #361730.
9394 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9396 * win32/common/libgstbase.def:
9397 * win32/common/libgstcontroller.def:
9398 * win32/common/libgstreamer.def:
9399 Add gst_caps_merge() and a bunch of other recently-added functions.
9402 2006-10-11 Wim Taymans <wim@fluendo.com>
9404 * docs/plugins/gstreamer-plugins.args:
9405 * docs/plugins/inspect/plugin-coreelements.xml:
9406 * docs/plugins/inspect/plugin-coreindexers.xml:
9407 Update element args.
9409 * gst/gstsystemclock.c:
9410 Small comment update.
9412 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9413 (gst_tee_request_new_pad), (gst_tee_release_pad),
9414 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9415 (gst_tee_sink_activate_pull):
9416 * plugins/elements/gsttee.h:
9418 Add default property defines.
9419 Implement release pad function.
9420 Give properties better blubs etc.
9421 Activate pads before adding them to a running tee.
9422 Do simple buffer_alloc on the first requested pad.
9423 Post error when activation fails.
9425 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9427 * gst/gst.c: (ensure_current_registry_forking):
9428 Check return value of write() to make compiler happy.
9430 2006-10-11 Wim Taymans <wim@fluendo.com>
9432 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9434 * plugins/elements/gstqueue.c: (gst_queue_chain):
9435 Recheck queue filledness after signalling the overrun when we're about
9436 to leak downstream because we released the lock when emitting the signal
9437 and the queue could be empty again. Fixes #352345.
9439 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9441 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9442 Fix refcounting here too, just like we did for _new_valist() a few
9443 days ago (#357180) (thanks to René Stadler). Also remove all those
9444 'Since: 0.9' from the gtk-doc blobs.
9446 * tests/check/libs/controller.c: (controller_refcount_new_list),
9447 (gst_controller_suite):
9448 Unit test for the above.
9450 2006-10-10 Wim Taymans <wim@fluendo.com>
9452 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9454 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9455 (gst_pad_save_thyself):
9457 Write pad direction in XML output. Fixes #345496.
9459 2006-10-10 Wim Taymans <wim@fluendo.com>
9461 Patch by: René Stadler <mail at renestadler dot de>
9463 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9464 (gst_controller_new_list), (_gst_controller_dispose),
9465 (_gst_controller_finalize), (_gst_controller_class_init):
9466 Take ref to controlled object so that it cannot disappear.
9469 2006-10-10 Wim Taymans <wim@fluendo.com>
9471 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9472 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9473 (gst_check_teardown_sink_pad):
9474 Activate/deactivate pads in setup/teardown respectively.
9476 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9478 Patch by: Josep Torra Valles <josep@fluendo.com>
9481 Cast values when making gstenumtypes.h. This pacifies Forte
9482 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9485 2006-10-09 Wim Taymans <wim@fluendo.com>
9487 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9488 Rename some more @cur to @start to fix docs.
9490 * gst/gstsegment.c: (gst_segment_set_seek):
9492 time and start must always stay in sync as defined in design doc.
9494 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9495 Rename param to fix docs.
9497 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9498 Check that start and time are in sync.
9500 * tests/check/pipelines/parse-launch.c:
9501 (gst_parse_test_element_change_state):
9502 Activate pad before adding to the element.
9504 2006-10-09 Wim Taymans <wim@fluendo.com>
9506 * docs/design/part-qos.txt:
9511 Update seek event docs regarding negative rates.
9512 Rename @cur to @start.
9514 * gst/gstsegment.c: (gst_segment_set_seek):
9516 Update set_seek docs regarding negative rates.
9517 Correctly update last_stop to @stop when dealing with negative
9519 Rename @cur to @start.
9521 * tests/check/gst/gstpad.c: (GST_START_TEST):
9522 Activate pads before trying to use them.
9524 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9525 (gst_segment_suite):
9526 Add simple check for segments and negative rates.
9528 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9530 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9532 * docs/gst/gstreamer-sections.txt:
9533 API: add gst_tag_list_is_empty() (#360467).
9535 * tests/check/gst/gsttag.c: (GST_START_TEST):
9538 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9541 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9542 a value that doesn't fit on enumeration.
9544 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9546 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9547 Remove local debugging system and use Gstreamer's instead.
9549 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9551 Patch by: Josep Torra Valles <josep@fluendo.com>
9553 * common/m4/gst-error.m4:
9554 Disable warning of statement not reached on Forte.
9556 Fix warning on Forte (value doesn't fit on enumeration).
9557 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9558 Fix warning on Forte (value doesn't fit on enumeration).
9559 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9560 DEBUG macro says it takes minimum of 2 args and so Forte
9561 complains about the use with just 1 arg.
9562 * plugins/elements/gstfdsink.c:
9563 * plugins/elements/gstfdsrc.c:
9564 * plugins/elements/gstfilesink.c:
9565 * plugins/elements/gstfilesrc.c:
9566 Use correct return type for the uri handler implementations.
9568 All these fix warnings in Forte. Fixes bug #360860.
9570 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9573 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9574 format string, so don't use G_GNUC_PRINTF for those versions.
9576 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9578 * gst/gsttaglist.c: (gst_is_tag_list):
9580 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9582 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9583 Small test for the above.
9585 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9588 Less tabs, more spaces.
9590 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9593 Those two function declarations do actually belong there, revert
9594 commit from yesterday that turned them intro macros.
9596 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9598 Patch by: Josep Torra Valles <josep@fluendo.com>
9600 * gst/gst.c: (gst_init_get_option_group):
9601 Fix empty declaration and type mismatch.
9602 * gst/gstbin.c: (gst_bin_change_state_func):
9604 * gst/gstelement.c: (gst_element_continue_state),
9605 (gst_element_set_state_func), (gst_element_change_state),
9606 (gst_element_change_state_func):
9607 Fix type mismatches.
9608 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9609 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9610 Cast as appropriate.
9611 * gst/gstobject.c: (gst_class_signal_connect):
9612 Cast as appropriate. The function pointer parameter really
9613 has the wrong type but would break API if we change it.
9615 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9616 order of including string.h.
9617 * gst/gstutils.c: (gst_element_state_get_name):
9618 Remove unreachable line.
9619 * gst/gstxml.c: (gst_xml_parse_doc):
9621 All these caught by Forte.
9623 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9625 Patch by: Josep Torra Valles <josep@fluendo.com>
9627 * common/m4/gst-error.m4:
9629 We need to disable warnings on Forte for empty declarations
9630 due to gst-indent adding ;s to lines that just use macros
9631 where the macro actually doesn't need a ; at end to end
9634 2006-10-06 Wim Taymans <wim@fluendo.com>
9636 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9637 (gst_file_sink_close_file), (gst_file_sink_event),
9638 (gst_file_sink_render):
9639 Add some FIXME for the NEWSEGMENT handling.
9641 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9643 * gst/parse/grammar.y:
9644 Remove static function gst_parse_element_lock as all it does
9645 is return. Looks like cruft from 0.8.
9647 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9649 Patch by: Josep Torra Valles <josep@fluendo.com>
9651 * common/m4/gst-error.m4:
9653 * libs/gst/net/Makefile.am:
9654 Fix a compilation issue with Forte on Solaris. inet_aton is in
9657 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9659 * gst/gstpad.c: (pre_activate):
9660 * gst/gstregistry.c: (gst_registry_scan_path_level):
9661 * gst/gstregistryxml.c: (load_plugin):
9662 * libs/gst/controller/gstcontroller.c:
9663 (gst_controlled_property_set_interpolation_mode):
9664 * libs/gst/dataprotocol/dataprotocol.c:
9665 (gst_dp_packet_from_event_1_0):
9666 * libs/gst/net/gstnetclientclock.c:
9667 (gst_net_client_clock_observe_times):
9668 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9671 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9674 * docs/gst/gstreamer-sections.txt:
9675 * gst/gstconfig.h.in:
9678 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9679 whether we can use G_GNUC_PRINTF in other header files and at
9680 least check the printf format/arguments of debug messages and
9681 GST_ELEMENT_ERROR messages when the printf extension is not
9683 Replace more tabs with spaces in gstinfo.h and remove two spurious
9684 function declarations in GST_DISABLE_DEBUG part with macros.
9686 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9688 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9689 More docs for the sync-message signal (mention that it is not
9690 emitted by default); log message structures of messages posted on
9693 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9695 * gst/gst.c: (ensure_current_registry_forking):
9696 Use a pipe pair to receive status results from the forked child, and
9697 ignore the result from waitpid. Fixes #355499
9699 2006-10-02 Wim Taymans <wim@fluendo.com>
9701 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9702 (gst_ghost_pad_suite):
9705 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9708 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9710 2006-10-02 Edward Hervey <edward@fluendo.com>
9712 * docs/design/part-block.txt:
9713 Further explain the use of flushing on blocked pads.
9714 * docs/gst/gstreamer-sections.txt:
9715 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9716 (gst_pad_push_event):
9718 Added new GstPadFlag : GST_PAD_BLOCKING.
9719 Adds the notion of pads really blocking, which enables to properly
9720 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9722 API: gst_pad_is_blocking()
9723 API: GST_PAD_IS_BLOCKING() macro
9724 API: GST_PAD_BLOCKING GstPadFlag
9726 2006-10-02 Wim Taymans <wim@fluendo.com>
9728 Patch by: mrcgran <mrc.gran at gmail dot com>
9730 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9731 Filter the proxied caps against the padtemplate if we have one.
9733 * gst/gstquery.c: (gst_query_new_segment):
9734 Add include for gstinfo.h so that compilation with
9735 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9737 2006-10-02 Wim Taymans <wim@fluendo.com>
9739 Patch by: Alessandro Decina <alessandro at nnva org>
9741 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9742 (gst_file_sink_set_location), (gst_file_sink_open_file),
9743 (gst_file_sink_close_file), (gst_file_sink_event),
9744 (gst_file_sink_render):
9745 Set file to NULL when closing filesink so that we can set a new filename
9746 in READY. Fixes #358613.
9748 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9750 Patch by: Alessandro Decina <alessandro at nnva org>
9752 * gst/gstevent.c: (_gst_event_copy):
9753 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9754 with event structures by setting the parent refcount address of the
9755 copied structure to the address of the refcount member of the newly
9756 copied event rather than the address of the refcount member of the
9757 original event. Fixes #358737.
9759 * tests/check/gst/gstevent.c: (GST_START_TEST):
9760 Unit test for the above.
9762 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9764 * docs/design/Makefile.am:
9765 Dist some more files.
9767 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9769 * tests/check/libs/controller.c: (GST_START_TEST),
9770 (gst_controller_suite):
9771 Add test for the previous fix; add some more tests
9772 for correct refcounting behaviour; fix a few leaks
9773 in test cases; call gst_controller_init() at start
9776 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9778 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9779 (gst_controller_set_from_list):
9780 Don't g_return_val_if_fail() on timed values with invalid timestamps
9781 inside a critical section without unlocking the mutex. Spotted by
9782 René Stadler. (#357617)
9783 Also, fix up refcounting properly: when returning an existing
9784 controller, we should increase the reference only once and not
9785 once per property and when trying to control a property again
9786 we should also increase the refcount.
9788 2006-09-29 Wim Taymans <wim@fluendo.com>
9790 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9791 * libs/gst/net/gstnettimeprovider.c:
9792 (gst_net_time_provider_thread):
9793 Stop reading commands when EOF as well.
9795 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9796 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9797 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9798 Unify description of the dump property.
9800 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9802 * tests/examples/manual/.cvsignore:
9803 OK, so it's actually cvsignore that needs changing. Stop laughing.
9805 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9807 * tests/examples/manual/Makefile.am:
9808 Gah, declare vars *before* using them
9810 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9812 * gst/gst.c: (init_pre), (scan_and_update_registry),
9813 (ensure_current_registry_nonforking),
9814 (ensure_current_registry_forking), (ensure_current_registry),
9815 (init_post), (gst_debug_help), (gst_deinit):
9816 * gst/gst_private.h:
9817 * gst/gstregistry.c: (gst_registry_finalize),
9818 (gst_registry_remove_features_for_plugin_unlocked),
9819 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9820 (gst_registry_scan_path),
9821 (_priv_gst_registry_remove_cache_plugins),
9822 (_priv_gst_registry_cleanup):
9823 * gst/gstregistry.h:
9824 Re-commit the registry changes, along with an extra fix:
9825 When a cached plugin is encountered at a different file path,
9826 update the stored path in the registry cache so that the parent
9827 process knows where it actually is now when it re-reads the registry
9828 cache. Fixes the thing that broke distcheck with the previous commit.
9830 * tests/check/Makefile.am:
9831 Clean up files named 'core' too when running make clean.
9833 * tests/examples/manual/Makefile.am:
9834 Set up a registry path for running these tests, and clean it properly
9837 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9840 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9841 want gmodule-no-export-2.0.pc instead so that we don't drag in
9842 --export-dynamic on every project that links to GStreamer.
9844 Also, make our export regex only match the start of symbols, rather
9845 than any symbol that contains '_gst' somewhere.
9847 * libs/gst/check/Makefile.am:
9848 The libgstcheck we build does however need export-dynamic, as it
9849 produces some symbols that don't match our _gst... style regex.
9852 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9854 * gst/gst.c: (init_pre), (scan_and_update_registry),
9855 (ensure_current_registry_nonforking),
9856 (ensure_current_registry_forking), (ensure_current_registry),
9857 (init_post), (gst_debug_help), (gst_deinit):
9858 * gst/gst_private.h:
9859 * gst/gstregistry.c: (gst_registry_finalize),
9860 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9861 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9862 (_gst_registry_cleanup):
9863 * gst/gstregistry.h:
9864 Revert previous change until I figure out why it breaks distcheck.
9866 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9868 * gst/gst.c: (init_pre), (scan_and_update_registry),
9869 (ensure_current_registry_nonforking),
9870 (ensure_current_registry_forking), (ensure_current_registry),
9871 (init_post), (gst_debug_help), (gst_deinit):
9873 Make init_pre and init_post take the full complement of GOptionFunc
9874 args so they can return useful GErrors. Make the registry updating
9877 Call _priv_gst_registry_remove_cache_plugins after scanning files to
9878 ensure that the registry we're about to write out doesn't contain
9879 stale information about old-deleted plugin files.
9881 Make _priv_gst_registry_remove_cache_plugins return a boolean so
9882 that deletion of plugin files is considered a registry change.
9884 * gst/gst_private.h:
9885 * gst/gstregistry.c: (gst_registry_finalize),
9886 (gst_registry_remove_features_for_plugin_unlocked),
9887 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9888 (gst_registry_scan_path),
9889 (_priv_gst_registry_remove_cache_plugins),
9890 (_priv_gst_registry_cleanup):
9891 * gst/gstregistry.h:
9892 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9893 by adding _priv prefix, so that they won't appear in the global
9894 symbol table. They still do atm though because of #318031. Move the
9895 prototypes to gst_private.h
9897 When removing a plugin, remove all features for that plugin too.
9900 2006-09-27 Wim Taymans <wim@fluendo.com>
9902 * docs/random/moving-plugins:
9903 Make it clear that the "compiled-in descriptions" really mean
9904 the element details.
9906 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9907 (gst_base_sink_wait_preroll):
9910 * docs/libs/gstreamer-libs-sections.txt:
9911 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9912 (gst_base_src_get_range), (gst_base_src_activate_push):
9913 * libs/gst/base/gstbasesrc.h:
9914 Added function to block while waiting for PLAYING, this function
9915 is used by live sources that block on the clock.
9916 API: gst_base_src_wait_playing()
9918 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9920 Patch by: Peter Kjellerstedt <pkj at axis com>
9923 gst-element-check.m4 is generated and should therefore be
9924 copied from the build dir rather than the source dir (#357593).
9925 'make distcheck' hasn't noticed this because we were disting
9926 the file as well, so stop doing that.
9928 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9930 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9931 Add some tests for gst_caps_intersect().
9933 * tools/gst-launch.c: (event_loop):
9934 Print all buffering percentages we get, even the 100% one.
9936 2006-09-26 Wim Taymans <wim@fluendo.com>
9938 * tools/gst-inspect.c: (print_element_properties_info),
9939 (print_signal_info):
9940 Fix printing of flags to match the look of enums.
9942 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9944 * gst/gstelementfactory.c:
9945 Fix typo in docs blurb.
9947 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9949 * gst/gsturi.c: (search_by_entry):
9950 Don't assert/crash here if a uri handler doesn't return any
9951 supported protocols. The list of protocols could be generated
9952 dynamically at runtime or at plugin registration, and an error
9953 in the underlying library shouldn't be fatal (#353301).
9955 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9958 Fix warning if HAVE_PRINTF_EXTENSION is undefined
9959 (spotted by Peter Kjellerstedt).
9961 2006-09-23 Wim Taymans <wim@fluendo.com>
9963 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9965 * libs/gst/base/gstbasesrc.c:
9966 (gst_base_src_default_check_get_range), (gst_base_src_start),
9967 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9968 (gst_base_src_change_state):
9969 Match _start/_stop calls in the activate functions. Remove redundant
9970 _stop call from the state change function. Fixes #356910.
9971 Turn failure DEBUG into ERROR.
9973 2006-09-22 Wim Taymans <wim@fluendo.com>
9975 * docs/design/part-buffering.txt:
9976 * gst/gstmessage.c: (gst_message_new_buffering),
9977 (gst_message_parse_buffering):
9978 Update docs about buffering.
9980 * docs/design/part-trickmodes.txt:
9983 2006-09-22 Stefan Kost <ensonic@users.sf.net>
9985 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9986 (gst_controller_new_list):
9987 Ref instances when returning them again (fixes #357180)
9989 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
9991 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
9992 Don't forget to release proxy lock when there's an error.
9994 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
9997 Add extra initialisers for Caps things, to fix some plugin warnings
10000 2006-09-18 Wim Taymans <wim@fluendo.com>
10002 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10003 Also set template on the internal pad so that a getcaps from the
10004 target pad returns the template caps.
10006 2006-09-18 Wim Taymans <wim@fluendo.com>
10008 * gst/gstelement.c: (gst_element_post_message),
10009 (gst_element_dispose):
10010 Use _DEBUG_OBJECT some more.
10012 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10015 * tools/gst-launch.c: (main):
10016 If the toplevel element is not a GstPipeline, it must be put in a
10017 pipeline so that a bus and clock is selected.
10019 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10021 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10022 JITTER, RATE, and LATENCY query should be handled by the
10023 default case and not by the CONVERT query code.
10025 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10027 * gst/gstformat.c: (gst_format_register):
10028 Fix locking order (must take lock before using n_values).
10030 * gst/gstvalue.c: (gst_value_serialize_enum),
10031 (gst_value_deserialize_enum_iter_cmp),
10032 (gst_value_deserialize_enum):
10033 Fix serialisation/deserialisation of custom registered GstFormats.
10035 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10036 Unit test for custom format serialisation/deserialisation.
10038 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10040 * docs/pwg/building-boiler.xml:
10041 * plugins/elements/gstcapsfilter.c:
10042 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10045 2006-09-16 Edward Hervey <edward@fluendo.com>
10047 * libs/gst/base/gstbasetransform.c:
10048 (gst_base_transform_buffer_alloc):
10049 Check if requested caps are the same as the sinks caps IF
10050 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10052 This fixes the renegotiation issues stated in #352827.
10054 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10057 * docs/manual/advanced-autoplugging.xml:
10058 * tests/examples/Makefile.am:
10059 * tests/examples/manual/.cvsignore:
10060 * tests/examples/manual/Makefile.am:
10061 * tests/examples/manual/extract.pl:
10062 Extract the manual examples again like we used to do.
10065 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10067 * win32/common/config.h:
10070 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10073 Documents how to receive errors.
10075 2006-09-15 Wim Taymans <wim@fluendo.com>
10077 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10078 (event_loop), (main):
10079 Added some comments here and there.
10080 Post an application message when an interrupt is caught instead of doing
10081 an uncontrolled state change.
10082 Clean up the event loop.
10083 Handle buffering messages, pause/resume the pipeline.
10084 Make shutdown because of an interrupt more reliable.
10086 2006-09-15 Wim Taymans <wim@fluendo.com>
10088 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10089 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10090 (gst_base_sink_preroll_object):
10091 Make sure that our internal state is correct when we commit our state
10092 asynchronously. This solves a race where a state change to PLAYING
10093 could cause the sink to remain blocked in preroll in some situations.
10095 2006-09-15 Wim Taymans <wim@fluendo.com>
10097 * tools/gst-inspect.c: (print_element_properties_info),
10098 (print_signal_info):
10099 List flags as hex so it's easier to deal with.
10101 2006-09-15 Wim Taymans <wim@fluendo.com>
10103 * docs/libs/gstreamer-libs-sections.txt:
10104 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10105 (gst_base_sink_do_sync):
10106 * libs/gst/base/gstbasesink.h:
10107 Expose logic to wait for preroll so that subclasses such as audiosink
10108 can also use this method.
10109 API: gst_base_sink_wait_preroll()
10111 2006-09-15 Wim Taymans <wim@fluendo.com>
10113 * gst/gstobject.c: (gst_object_set_parent):
10114 * gst/gstpipeline.c: (do_pipeline_seek):
10115 Small cleanups in docs and code.
10117 * gst/gstsegment.c: (gst_segment_clip):
10118 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10119 if stop == start and start is in the segment, no clipping should be
10120 done. Also add a test for this.
10122 2006-09-15 Wim Taymans <wim@fluendo.com>
10124 * docs/design/part-buffering.txt:
10125 * docs/gst/gstreamer-sections.txt:
10126 * gst/gstmessage.c: (gst_message_new_buffering),
10127 (gst_message_parse_buffering):
10128 * gst/gstmessage.h:
10129 Added methods to create and parse BUFFERING messages.
10130 Added preliminary docs about buffering.
10131 API: gst_message_new_buffering
10132 API: gst_message_parse_buffering
10134 2006-09-06 Wim Taymans <wim@fluendo.com>
10137 Update documentation.
10139 * gst/gstelement.c: (gst_element_class_init),
10140 (gst_element_release_request_pad), (gst_element_set_clock),
10141 (gst_element_get_index), (gst_element_add_pad),
10142 (gst_element_remove_pad), (gst_element_get_random_pad),
10143 (gst_element_send_event), (gst_element_get_query_types),
10144 (gst_element_query), (gst_element_post_message),
10145 (gst_element_message_full), (gst_element_continue_state),
10146 (gst_element_lost_state), (gst_element_save_thyself),
10147 (gst_element_restore_thyself):
10148 Documentation updates.
10149 Rename last bit of the new-pad -> pad-added signal rename.
10150 Fix the case where an element query would only work if the source
10152 Avoid some useless type checking in message handling.
10157 Documentation updates.
10159 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10161 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10162 add an INFO line for when we actually update the fd
10164 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10169 === release 0.10.10 ===
10171 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10174 releasing 0.10.10, "Pais"
10176 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10178 * docs/manual/advanced-position.xml:
10179 Fix typo in sample code.
10181 2006-09-05 Wim Taymans <wim@fluendo.com>
10183 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10184 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10185 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10186 * libs/gst/net/gstnetclientclock.h:
10187 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10188 * libs/gst/net/gstnettimepacket.h:
10189 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10190 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10191 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10192 * libs/gst/net/gstnettimeprovider.h:
10193 Make stuff compile on windows. Fixes #345295.
10195 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10197 * gst/gst.c: (ensure_current_registry_forking):
10198 Print better details when child was terminated by signal.
10200 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10202 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10203 Print a warning rather than g_assert() if a plugin feature
10204 is a URI handler but returns no protocols (#353976).
10206 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10208 * docs/random/moving-plugins:
10211 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10213 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10214 Fix locking order, handle NULL function values properly.
10219 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10220 Initialise variable before using it and fix debug statement to
10221 print the address of the function rather than the address of the
10222 variable on the stack holding the address of the function.
10224 2006-09-01 Wim Taymans <wim@fluendo.com>
10226 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10227 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10228 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10229 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10230 (gst_ghost_pad_parent_unset),
10231 (gst_ghost_pad_internal_do_activate_push),
10232 (gst_ghost_pad_internal_do_activate_pull),
10233 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10234 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10235 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10236 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10237 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10238 (gst_ghost_pad_new_no_target_from_template),
10239 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10241 Avoid needless typechecking in macros.
10242 Since the internal pad is always present and never changes, there is
10243 no need to locking or ref when retrieving it.
10244 Improve debugging a bit.
10245 Handle link errors when setting the target. Fixes #341029.
10247 2006-09-01 Wim Taymans <wim@fluendo.com>
10249 * docs/libs/gstreamer-libs-sections.txt:
10250 * docs/plugins/gstreamer-plugins-sections.txt:
10251 Fix docs some more.
10253 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10254 (gst_collect_pads_event):
10255 * libs/gst/base/gstcollectpads.h:
10256 Documentation updates.
10257 Free queued buffer when removing a pad.
10259 2006-08-31 Michael Smith <msmith@fluendo.com>
10261 * gst/gstutils.c: (gst_element_link_pads),
10262 (gst_element_link_pads_filtered):
10263 Ensure that we set a capsfilter to NULL if we failed to link it
10264 when doing filtered linking, to avoid criticals.
10266 No need to check for unreffing srcpad, which is explicly NULLed
10267 above (a trivial code cleanup).
10269 2006-08-31 Wim Taymans <wim@fluendo.com>
10271 * docs/design/part-gstghostpad.txt:
10272 Update ascii art in documentation.
10274 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10275 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10276 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10277 (gst_ghost_pad_internal_do_activate_push),
10278 (gst_ghost_pad_internal_do_activate_pull),
10279 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10280 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10281 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10282 (gst_ghost_pad_set_target):
10283 Small cleanups and leak fixes.
10284 Remove some checks now that the internal pad is never NULL.
10285 Fix the case where linking pads without a target would create nasty
10286 criticals. Fixes #341029.
10287 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10288 value of _set_target().
10290 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10291 (gst_ghost_pad_suite):
10292 Some more tests for creating and linking untargeted ghostpads.
10294 2006-08-31 Edward Hervey <edward@fluendo.com>
10296 * docs/gst/gstreamer-sections.txt:
10297 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10298 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10299 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10300 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10301 (gst_ghost_pad_new_from_template),
10302 (gst_ghost_pad_new_no_target_from_template):
10303 * gst/gstghostpad.h:
10304 Refactored *_new() functions.
10305 Templates are now used as a g_object_new() parameter.
10306 Use template in _do_getcaps() if we don't have a target.
10307 Small documentation cleanups.
10308 Added two new constructors:
10309 gst_ghost_pad_new_from_template()
10310 gst_ghost_pad_new_no_target_from_template()
10311 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10312 (gst_ghost_pad_suite):
10313 Added tests for new ghostpad instanciation functions.
10315 API additions: gst_ghost_pad_new_from_template,
10316 gst_ghost_pad_new_no_target_from_template
10318 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10320 * docs/random/ensonic/profiling.txt:
10321 Ideas about qos profiling.
10323 2006-08-29 Wim Taymans <wim@fluendo.com>
10325 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10329 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10332 Improve and detypofy docs.
10334 * tests/check/Makefile.am:
10335 * tests/check/gst/.cvsignore:
10336 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10337 Add a basic test suite for GstXML.
10339 2006-08-29 Wim Taymans <wim@fluendo.com>
10341 * gst/gstelement.c: (activate_pads), (clear_caps),
10342 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10343 Clear the pad caps when the element shut down all of the pads and
10344 is not streaming data that could modify the caps.
10347 2006-08-28 Michael Smith <msmith@fluendo.com>
10349 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10350 Revert previous change; I misunderstood single-segment mode.
10352 2006-08-28 Michael Smith <msmith@fluendo.com>
10354 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10355 Unset DISCONT on buffers when using single-segment mode.
10357 2006-08-28 Wim Taymans <wim@fluendo.com>
10359 * gst/gstcaps.c: (gst_caps_merge_structure):
10361 Fix docs and indentation again.
10363 * tests/check/gst/gstquery.c: (GST_START_TEST):
10364 Fix leak in tests and add some more tests.
10366 2006-08-28 Edward Hervey <edward@fluendo.com>
10368 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10369 Inform GstSegment of the last stop position in order for the current
10370 segment to have a proper duration if it doesn't have a specific stop
10371 position from which a duration could be calculated.
10372 This bug was noticeable when a non-flushing, non-update new segment was
10373 followed by another segment (all buffers from the new segment were being
10376 2006-08-28 Wim Taymans <wim@fluendo.com>
10378 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10379 Small comment update.
10381 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10382 (gst_identity_transform_ip):
10383 Drop-probability is broken, mention this in the code with a
10384 FIXME and also in the property description.
10385 Make silent also be silent about the drop messages.
10387 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10389 * docs/manual/appendix-win32.xml:
10390 Remove mention of popt, we don't depend on that any
10391 longer (#353136). Add some comments pointing out that
10392 this section is slightly outdated.
10394 2006-08-28 Wim Taymans <wim@fluendo.com>
10396 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10398 * gst/gstquery.c: (gst_query_new_segment):
10399 * tests/check/gst/gstquery.c: (GST_START_TEST):
10400 Initialize variables when creating a new segment query.
10403 2006-08-28 Wim Taymans <wim@fluendo.com>
10405 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10407 * gst/gstelement.c: (gst_element_get_bus):
10408 * tests/check/gst/gstelement.c: (GST_START_TEST):
10409 Check for NULL before _reffing the bus. Fixes #353122.
10411 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10413 * docs/manual/basics-bus.xml:
10414 Docs update: fix wrong callback return value explanation; add
10415 some lines about the implicit relationship between main loop
10416 and main context; remove duplicate main loop variable declaration.
10418 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10420 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10421 Don't leak caps in unit test; add a few more simple
10424 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10426 * docs/gst/gstreamer-sections.txt:
10427 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10428 (gst_caps_structure_is_subset), (gst_caps_merge),
10429 (gst_caps_merge_structure):
10431 * libs/gst/base/gstbasetransform.c:
10432 (gst_base_transform_transform_caps):
10433 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10434 implement caps merging (fixes #352580)
10436 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10438 * tools/Makefile.am:
10439 * tools/gst-plot-timeline.py:
10440 add debug-log plotting developer tool (#340674)
10442 2006-08-23 Wim Taymans <wim@fluendo.com>
10444 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10445 (gst_pad_stop_task):
10446 Improve debugging for task functions.
10448 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10449 (gst_task_start), (gst_task_pause), (gst_task_join):
10450 Make sure that the task function started and finished after a
10452 Don't try to push the task function on the threadpool multiple
10454 Improve the g_warning message with some useful suggestions
10455 about how to fix the problem.
10457 2006-08-23 Wim Taymans <wim@fluendo.com>
10459 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10460 Handle RESYNC correctly in _proxy_getcaps.
10462 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10464 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10465 (gst_xml_parse_memory), (gst_xml_get_element):
10466 Chain up to parent class in dispose function and also
10467 unref the elements in the toplevel_elements GList.
10468 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10469 Always return a reference in gst_xml_get_element() rather
10470 than only sometimes.
10472 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10473 Don't leak GstXml object.
10475 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10477 * docs/gst/gstreamer-sections.txt:
10478 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10481 * libs/gst/base/gstbasetransform.c:
10482 (gst_base_transform_transform_caps):
10483 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10486 2006-08-21 Edward Hervey <edward@fluendo.com>
10488 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10489 Implement GObject::dispose virtual method in GstXML so we can free the
10490 top_elements GList.
10492 2006-08-21 Wim Taymans <wim@fluendo.com>
10494 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10495 (gst_buffer_create_sub):
10496 Copy duration/offset_end/caps when creating a subbuffer of the
10498 Make the subbuffer read-only when we make the metadata writable for
10499 now. Fixes #351768.
10501 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10502 Added check for metadata copy when creating subbuffers.
10504 2006-08-21 Edward Hervey <edward@fluendo.com>
10506 * libs/gst/base/gstbasetransform.c:
10507 (gst_base_transform_buffer_alloc):
10508 Only call downstream buffer_alloc if transform element is passthrough
10509 or always_in_place. Closes #350449.
10511 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10514 ChangeLog surgery to add comments to previous changes
10516 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10521 * gst/gstpad.c: (gst_pad_set_active):
10522 Be more verbose in the log
10524 * libs/gst/base/gstbasetransform.c:
10525 (gst_base_transform_transform_caps):
10526 Simplify caps to get rid of duplicates, fixes #345444
10528 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10532 Use these optimizations only internally.
10534 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10536 * gst/gstvalue.c: (gst_value_compare_list),
10537 (gst_value_compare_fraction_range),
10538 (gst_value_intersect_fraction_fraction_range),
10539 (gst_value_intersect_fraction_range_fraction_range),
10540 (gst_value_subtract_fraction_fraction_range),
10541 (gst_value_subtract_fraction_range_fraction_range),
10542 (gst_value_get_compare_func), (gst_value_compare),
10543 (gst_value_compare_with_func):
10545 Saves the expensive lookup of the compare function in many cases
10548 2006-08-18 Edward Hervey <edward@fluendo.com>
10550 * tests/check/gst/gstinfo.c: (gst_info_suite):
10551 Disable test that require gstdebug if it wasn't built in core.
10553 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10555 * docs/random/ensonic/logging.txt:
10558 * gst/gstinfo.c: (gst_debug_log_default):
10559 reorder fields, save some columns, add optional color codes for log
10562 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10564 * docs/random/ensonic/logging.txt:
10565 add ideas about making the logs a bit more useful
10567 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10569 * docs/pwg/advanced-events.xml:
10570 * docs/pwg/titlepage.xml:
10571 Update for 0.10 API (#340627). Add myself
10574 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10576 * docs/libs/gstreamer-libs-docs.sgml:
10577 * docs/libs/gstreamer-libs-sections.txt:
10578 * libs/gst/check/gstbufferstraw.c:
10579 Make gstcheck stuff show up in docs (still needs to
10580 be documented properly though).
10582 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10584 * docs/gst/gstreamer-sections.txt:
10586 * gst/gst.c: (init_post):
10587 * gst/gst_private.h:
10588 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10590 * gst/gstquery.c: (gst_query_new_position),
10591 (gst_query_set_position), (gst_query_parse_position),
10592 (gst_query_new_duration), (gst_query_set_duration),
10593 (gst_query_parse_duration), (gst_query_new_convert),
10594 (gst_query_set_convert), (gst_query_parse_convert),
10595 (gst_query_new_segment), (gst_query_set_segment),
10596 (gst_query_parse_segment), (gst_query_new_seeking),
10597 (gst_query_set_seeking), (gst_query_parse_seeking):
10598 Add internal helpers for pre-registering quarks from static strings
10599 and using the quark values directly instead of looking them up when
10600 creating and parsing queries. Can be used for event construction too.
10603 2006-08-16 Wim Taymans <wim@fluendo.com>
10608 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10610 * gst/gstutils.c: (gst_util_set_value_from_string):
10611 Fix memleak (#351502).
10613 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10614 Add unit test for most of gst_util_set_value_from_string()
10615 (not that one would want to encourage use of this function).
10617 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10619 * libs/gst/check/gstcheck.h:
10620 Use const gchar * variables in fail_unless_equals_string
10621 macro to avoid compiler warnings (and don't use tabs for
10624 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10626 * tools/gst-launch.c: (print_tag):
10627 More space on the left for the tag names, to cater
10628 for the 'extended comment' tag (not touching the
10629 string for the first line since it's translated).
10631 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10633 * libs/gst/check/gstcheck.h:
10634 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10635 print something when they fail.
10637 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10639 * docs/gst/gstreamer-sections.txt:
10640 * gst/gsttaglist.c: (_gst_tag_initialize):
10641 * gst/gsttaglist.h:
10642 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10643 Also change merge function for GST_TAG_COMMENT to
10646 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10648 * gst/gstinfo.c: (gst_debug_print_object):
10649 Make GST_PTR_FORMAT print messages as well.
10651 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10652 (GST_START_TEST), (gst_info_suite):
10655 2006-08-14 Edward Hervey <edward@fluendo.com>
10657 * gst/gstelementfactory.c: (gst_element_register):
10658 If the GstElementClass doesn't have a GstElementDetails with all fields
10659 filled up correctly (longname, description AND author), then error out
10660 nicely instead of crashing.
10662 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10664 * gst/gststructure.c:
10665 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10668 Expand on the difference between arrays and lists as we use them.
10670 2006-08-14 Wim Taymans <wim@fluendo.com>
10672 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10673 If the parent state change function failed, don't assume we can safely
10674 stop the source, this will be done when the pads are deactivated.
10676 2006-08-14 Wim Taymans <wim@fluendo.com>
10679 * gst/gsttask.c: (gst_task_join):
10682 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10683 (gst_pad_stop_task):
10684 When pad (de)activation failed for some reason, restore the old
10685 activation mode and set the pad to flushing instead of assuming the
10686 pad is deactivated.
10687 If the _task_join() failed, reinstall the task on the pad so that it can
10688 be stopped later and return an error.
10690 2006-08-11 Andy Wingo <wingo@pobox.com>
10693 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10694 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10695 is only for users of API that don't want to see deprecated
10696 functions in the headers; people that want to compile out
10697 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10698 CFLAGS. Fixes the build of multifdsink, or will soon..
10700 2006-08-11 Wim Taymans <wim@fluendo.com>
10702 * docs/gst/gstreamer-sections.txt:
10703 Add GstClockClass vmethod docs.
10706 Mark #endif with comment for associated #if
10708 * gst/gstclock.c: (gst_clock_id_wait):
10710 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10711 most clock implementations.
10713 Flesh out docs about resolution methods.
10714 API: GstClockClass::wait_jitter
10716 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10717 (gst_system_clock_async_thread),
10718 (gst_system_clock_id_wait_jitter_unlocked),
10719 (gst_system_clock_id_wait_jitter):
10720 Use base class wait_jitter variant for improved performance
10721 due to less clock polling.
10723 2006-08-11 Edward Hervey <edward@fluendo.com>
10725 * gst/gst.c: (gst_init_check), (init_post):
10726 Set gst as being initialized before scanning/updating the registry,
10727 since there might be my python plugin loader that calls gst_init() and
10728 we don't want to loop back in.
10731 2006-08-11 Wim Taymans <wim@fluendo.com>
10733 * docs/design/part-qos.txt:
10734 Bring docs in line with the code. Mostly the sign of the jitter was
10735 wrong in the docs. Fixes #349943.
10738 Fix the docs for the jitter.
10740 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10741 (gst_event_parse_tag), (gst_event_new_buffer_size),
10742 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10743 (gst_event_new_seek), (gst_event_parse_seek),
10744 (gst_event_new_navigation):
10745 Make sure the GstStructure has no parent when creating custom
10747 Add some more argument checking so that we avoid 0.0 rates.
10748 Flesh out the docs for the QoS event some more.
10750 2006-08-11 Wim Taymans <wim@fluendo.com>
10752 * docs/gst/gstreamer-sections.txt:
10753 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10754 (ensure_current_registry_forking), (ensure_current_registry),
10755 (parse_one_option), (parse_goption_arg), (gst_deinit),
10756 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10759 Added API and command line option to disable registry forking in
10760 addition to the environment variable.
10761 Constify some static arrays.
10762 Added some more debug.
10763 Don't deinit twice.
10764 API: gst_registry_fork_is_enabled()
10765 API: gst_registry_fork_set_enabled()
10766 API: --gst-disable-registry-fork command line option
10769 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10771 * gst/gst.c: (gst_init):
10772 Fix typo in error message.
10774 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10776 * libs/gst/controller/gstcontroller.h:
10777 fix ABI size-correction
10779 * tests/check/libs/gdp.c: (gst_dp_suite):
10780 make tests that use deprecated API conditional
10782 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10784 * docs/libs/gstreamer-libs-sections.txt:
10785 * libs/gst/controller/gstcontroller.c:
10786 (_gst_controller_get_property), (_gst_controller_set_property),
10787 (_gst_controller_init), (_gst_controller_class_init):
10788 * libs/gst/controller/gstcontroller.h:
10789 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10790 (gst_object_set_control_rate):
10791 API: add gst_object_{s,g}et_control_rate(), add private data section,
10794 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10795 * libs/gst/dataprotocol/dataprotocol.h:
10796 add deprecation guards to make gtk-doc happy and allow disabling cruft
10798 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10800 * tests/check/Makefile.am:
10801 * tests/check/gst/.cvsignore:
10802 Let's enable the new unit test as well.
10804 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10807 * docs/gst/gstreamer-sections.txt:
10808 * gst/gstconfig.h.in:
10809 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10810 (_gst_info_printf_extension_ptr),
10811 (_gst_info_printf_extension_segment):
10812 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10813 register that lets us easily dump GstSegments into debug
10816 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10817 (info_segment_format_printf_extension), (gst_info_suite):
10818 Add simple unit test that logs a bunch of different segments (not
10819 valgrinded at the moment because of leaks in
10820 gst_debug_add_log_function).
10822 2006-08-09 Edward Hervey <edward@fluendo.com>
10824 * libs/gst/base/gstbasetransform.c:
10825 (gst_base_transform_buffer_alloc):
10826 Even if we can't figure out the proper format to request downstream,
10827 call buffer_alloc() downstream with the input parameters without setting
10828 the caps on the srcpad. This will force negotiation in the chain
10832 2006-08-08 Edward Hervey <edward@fluendo.com>
10834 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10835 Unlinking from a pad without a target is now a perfectly valid case
10836 which should NOT raise an assertion.
10837 This case would happen if a linked ghostpad its target set to NULL after
10838 it was previously linked.
10840 2006-08-08 Edward Hervey <edward@fluendo.com>
10842 * tests/check/libs/gdp.c:
10843 Also comment out the test (see below).
10845 2006-08-08 Edward Hervey <edward@fluendo.com>
10847 * tests/check/libs/gdp.c: (gst_dp_suite):
10848 Use the architecture information from config.h and not gcc macros
10849 in order to properly disable a test that fails on PPC64.
10851 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10853 * gst/gstelement.c: (gst_element_remove_pad):
10854 Don't crash printing the warning if the pad has no parent.
10856 2006-08-02 Wim Taymans <wim@fluendo.com>
10858 * libs/gst/dataprotocol/dataprotocol.c:
10859 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10860 (gst_dp_crc), (gst_dp_header_payload_length),
10861 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10862 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10863 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10864 (gst_dp_event_from_packet), (gst_dp_validate_header),
10865 (gst_dp_validate_payload):
10866 Make debug category static
10867 Constify the crc table.
10868 Do some more arg checking in public functions.
10869 Fix some docs and do some small cleanups.
10871 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10872 Add some more checks to see if GDP deals with bogus input.
10874 2006-07-31 Wim Taymans <wim@fluendo.com>
10876 * gst/gstvalue.c: (gst_value_compare_list):
10877 Fix GstValueList comparison code. Fixes #347293.
10879 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10880 Check to test GstValueList comparison.
10882 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10884 * gst/gstelementfactory.c: (gst_element_factory_create):
10885 Remove unnecessary ref/unref pair
10887 * gst/parse/grammar.y:
10888 Make sure to free the parse buffer on all code paths.
10889 Move a g_free up to the error handler where it's easier to see.
10891 * tests/check/gst/gstevent.c: (test_event):
10892 Extending timeout for downstream travelling events to 10 seconds to
10893 hopefully avoid intermittent failure on the buildbots.
10895 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10896 Don't manually set the state of the src element - it will happen as a
10897 natural consequence of the pipeline changing state, and that way it
10898 will do it in the right order too.
10900 2006-07-31 Wim Taymans <wim@fluendo.com>
10902 * libs/gst/base/gstbasetransform.c:
10903 (gst_base_transform_buffer_alloc):
10904 Use OBJECT_LOCK and refcounting to get the pad caps in the
10905 buffer_alloc function because the caps could change while we are
10906 busy with them. Fixes #349105
10908 2006-07-31 Wim Taymans <wim@fluendo.com>
10910 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10911 Protect _PAD_CAPS with OBJECT_LOCK.
10913 2006-07-31 Wim Taymans <wim@fluendo.com>
10915 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10916 (gst_pad_get_property), (gst_pad_activate_pull),
10917 (gst_pad_activate_push), (gst_pad_set_blocked_async),
10918 (gst_pad_set_activate_function),
10919 (gst_pad_set_activatepull_function),
10920 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10921 (gst_pad_set_getrange_function),
10922 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10923 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10924 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10925 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10926 (gst_pad_set_acceptcaps_function),
10927 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10928 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10929 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10930 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10931 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10932 (gst_pad_configure_sink), (gst_pad_configure_src),
10933 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10934 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10935 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10936 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10937 (gst_pad_send_event):
10938 Use _DEBUG_OBJECT when it makes sense.
10939 Protect GST_PAD_CAPS with the OBJECT_LOCK.
10940 Small cleanups and code reflows.
10941 Avoid caps refcounting in _accept_caps.
10942 Refactor alloc_buffer so that the code performed on the peer is in a
10943 separate function. Also if the pad does not implement a buffer alloc
10944 function, we should still check if the pad is flushing before falling
10945 back to the default allocator.
10947 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10949 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10950 Make all uses of identity and fakesink have silent=true to avoid
10951 serialising every passing data structure, which is breaking tests
10952 on FC4 for some unknown reason.
10954 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10956 * gst/parse/Makefile.am:
10957 * gst/parse/grammar.y:
10958 * gst/parse/parse.l:
10959 Reverted previous patch as it required to bump the flex dependency to
10960 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10962 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10964 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10966 * gst/parse/Makefile.am:
10967 * gst/parse/grammar.y:
10968 * gst/parse/parse.l:
10969 push & pop the state of the lexer for reentrant use case
10972 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
10974 * libs/gst/base/gstbasesrc.h:
10975 Note in the docs that the ::newsegment vfunc is not actually used by
10978 2006-07-28 Wim Taymans <wim@fluendo.com>
10980 * libs/gst/base/gstcollectpads.c:
10981 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
10982 (gst_collect_pads_clear), (gst_collect_pads_flush),
10983 (gst_collect_pads_event), (gst_collect_pads_chain):
10984 When flushing a pad, also clear the queued buffer so that we don't
10985 accidentally use it when we shouldn't.
10986 Fix leaks by inreffing incomming buffer.
10987 Flush out queued buffers in case of errors.
10990 2006-07-28 Wim Taymans <wim@fluendo.com>
10992 * docs/random/phonon-gst:
10993 Random notes about a Phonon backend.
10995 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
10997 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10999 * tests/check/libs/gdp.c: (gst_dp_suite):
11000 Take a whack at fixing the ppc compile using a different define to
11001 disable the broken test.
11003 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11004 Remove excess g_print()
11006 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11008 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11009 Oops, meant to uncomment this line too to dampen the noise a bit.
11011 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11013 * gst/parse/grammar.y:
11014 * gst/parse/parse.l:
11015 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11016 (GST_START_TEST), (parse_suite):
11017 Fix some of the leaks exposed by extending the parse-launch testsuite,
11018 and move the 3 I can't figure out into a separate test that won't run
11019 the pipelines unless the appropriate line is uncommented.
11021 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11023 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11024 Requesting 0 bytes before the end of the file should result in
11025 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11028 2006-07-27 Wim Taymans <wim@fluendo.com>
11030 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11031 Fix useless assert, a uint is always positive.
11033 * gst/gststructure.c: (gst_structure_nth_field_name),
11034 (gst_structure_foreach), (gst_structure_map_in_place):
11035 Check input arguments for public functions to avoid obvious crashes.
11037 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11038 * plugins/elements/gstfakesink.h:
11039 Do less useless typechecking.
11041 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11043 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11044 Do not use mmap() by default since there are a number of error
11045 conditions that we would like to handle in a non-fatal way that
11046 will result in a SIGBUS if we use mmap(). Examples: external
11047 devices (USB harddrive, portable music player) being unplugged
11048 while in use; file on mounted CD/DVD that can't be read because
11049 the medium is partly damaged. Fixes #348455 and #348475.
11051 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11054 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11055 rates are a gdouble
11057 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11059 * gst/gstregistry.c:
11060 Move big documentation comment into class section header, so that it
11061 appears in the API docs.
11063 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11065 * docs/gst/gstreamer-sections.txt:
11066 Oops. Commit the docs additions too for new API.
11067 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11069 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11071 * gst/gststructure.c: (gst_structure_id_set),
11072 (gst_structure_id_set_valist):
11073 * gst/gststructure.h:
11074 Add API for setting values into structures without performing
11075 a quark lookup, if the appropriate quark is already known.
11077 API: gst_structure_id_set
11078 API: gst_structure_id_set_valist
11080 * gst/parse/grammar.y:
11081 * gst/parse/parse.l:
11082 Remove some dead code shown by the coverage information.
11083 Don't throw a critical g_warning when encountering a syntax error,
11084 just warn and let the normal error path handle it.
11086 * plugins/elements/gstelements.c:
11087 Bump the rank of filesink up to PRIMARY so that it is preferred over
11088 gnomevfssink for file:// sink uri's
11090 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11091 (GST_START_TEST), (run_delayed_test),
11092 (gst_parse_test_element_base_init),
11093 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11094 (gst_parse_test_element_change_state),
11095 (gst_register_parse_element), (parse_suite):
11096 Beef up the tests for parse syntax to check that more error cases
11097 fail as they are supposed to. Increases the test coverage a bit.
11099 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11101 * docs/manual/basics-elements.xml:
11102 Fix gst_element_link() example.
11105 Mention in API docs that one should usually gst_bin_add()
11106 elements to a bin or pipeline before doing the linking.
11108 2006-07-26 Wim Taymans <wim@fluendo.com>
11110 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11111 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11112 Avoid function call for known types by keeping the buffer and
11113 subbuffer GType global.
11115 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11116 Random silly optimisations in read() path.
11118 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11120 * tools/gst-launch.c: (main):
11121 If the top-level of the parse is a normal bin, it doesn't do the
11122 right logic to run as a top-level element, so place it inside a
11125 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11127 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11128 Remove superfluous g_object_notify() calls, GObject does
11129 that for us automatically.
11131 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11134 on Win32, use dllspec to export the debug category symbols
11136 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11138 * gst/gsttaglist.c: (_gst_tag_initialize):
11139 Allow more than one GST_TAG_IMAGE per taglist.
11141 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11143 * gst/gstminiobject.c:
11145 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11146 (gst_fd_src_create):
11147 log recurring events at LOG level
11148 add more debug for when the fd gets set
11150 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11152 * gst/gstparse.c: (gst_parse_launch):
11153 Also remove reentrance checks if flex is MT safe (#348179)
11154 Fix my empty ChangeLog entry below
11156 2006-07-21 Andy Wingo <wingo@pobox.com>
11158 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11160 * libs/gst/check/Makefile.am
11161 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11162 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11163 * libs/gst/check/gstbufferstraw.h:
11164 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11165 functions, thus proving I am still a GStreamer haxor. OK I wrote
11166 them a long time ago, but anyways.
11168 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11171 * gst/gstparse.c: (gst_parse_launch):
11172 Check for flex version and omit mutex if we have a MT save flex
11175 2006-07-21 Wim Taymans <wim@fluendo.com>
11177 * gst/gstparse.c: (gst_parse_launch):
11178 Protect recursive calls to _parse with a recursive mutex
11181 2006-07-21 Wim Taymans <wim@fluendo.com>
11183 * tests/check/gst/gstpad.c: (GST_START_TEST):
11186 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11188 * gst/gstparse.c: (gst_parse_launch):
11189 Do not hang on recursive usage of gst_parse_launch()
11191 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11193 * gst/gsttaglist.c:
11194 Add some more docs, comments and FIXME 0.11s here and there
11195 and also fix some typos.
11197 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11199 * gst/gstsegment.h:
11200 Convert tabs to spaces for better readability.
11202 2006-07-20 Edward Hervey <edward@fluendo.com>
11204 * tests/check/libs/gdp.c: (gst_dp_suite):
11205 the test_buffer test fails at line 140 on ppc64 at the following
11207 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11208 GST_BUFFER_FLAG_IN_CAPS),
11209 "GST_BUFFER_IN_CAPS flag should have been copied !");
11210 See bug #348114 for more details.
11212 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11214 * docs/pwg/advanced-scheduling.xml:
11216 Fix typos (#348000).
11218 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11220 * docs/pwg/intro-basics.xml:
11221 Fix wrong links (#347927).
11223 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11225 * gst/gstregistry.h:
11226 * gst/gstregistryxml.c: (load_feature),
11227 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11228 * win32/common/config.h:
11229 make --disable-index work (#342564)
11231 2006-07-18 Wim Taymans <wim@fluendo.com>
11233 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11237 The attached patch adds two missing defines to gsttrace.h when tracing
11238 is disabled. It also corrects one existing define.
11241 2006-07-17 Wim Taymans <wim@fluendo.com>
11243 * docs/gst/gstreamer-sections.txt:
11244 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11246 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11247 Add two functions to check and change the SIGSEGV behaviour
11248 when loading plugins.
11249 Don't mess with the SIGSEGV handler when we were told not to.
11251 API: gst_segtrap_is_enabled
11252 API: gst_segtrap_set_enabled
11254 2006-07-14 Wim Taymans <wim@fluendo.com>
11256 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11257 * tests/check/elements/filesrc.c: (GST_START_TEST):
11258 Revert fix for regression in #347408 after release.
11260 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11262 Patch by: Antoine Tremblay <hexa00 at gmail com>
11264 * gst/gstutils.c: (gst_element_unlink):
11265 Free iterator when done (#347311).
11267 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11268 And add a test case for this.
11270 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11273 Bump nano back to CVS
11275 === release 0.10.9 ===
11277 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11280 releasing 0.10.9, "On the road again"
11282 2006-07-13 Wim Taymans <wim@fluendo.com>
11284 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11285 * tests/check/elements/filesrc.c: (GST_START_TEST):
11286 Revert pull-0 fix for release. Disable check. Fixes #347408.
11288 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11290 * libs/gst/dataprotocol/dataprotocol.c:
11291 (gst_dp_event_from_packet_1_0):
11292 Fixes #347337: failure to deserialize event packets with
11293 empty payload (only event type)
11295 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11298 do not install a .c file in the header directory
11300 2006-07-13 Edward Hervey <edward@fluendo.com>
11302 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11303 GhostPad no longer implicitely use the padtemplates of the targets.
11306 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11308 * gst/gstvalue.c: (gst_value_compare_list),
11309 (gst_value_compare_array), (_gst_value_initialize):
11310 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11311 Make GstValueArray comparison be order dependent as designed.
11312 Add checks for value lists and value array comparisons.
11315 2006-07-11 Edward Hervey <edward@fluendo.com>
11317 * gst/gstbin.c: (activate_pads),
11318 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11319 (gst_bin_change_state_func):
11320 (de)activate src pads before calling state_change on the childs.
11321 This is to avoid the case where a src ghostpad is blocked (holding the
11322 stream lock), which would block the deactivation of the ghostpad's
11324 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11325 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11326 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11327 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11328 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11329 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11330 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11331 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11332 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11333 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11334 (gst_ghost_pad_class_init),
11335 (gst_ghost_pad_internal_do_activate_push),
11336 (gst_ghost_pad_internal_do_activate_pull),
11337 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11338 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11339 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11340 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11341 GhostPads now create their internal GstProxyPad at creation (and not
11342 when they're linked, as it was being done previously).
11343 The internal and target pads are linked straight away.
11344 The data will also travel through the other pad in order to make
11345 pad blocking and probes non-hackish (the probe/block now really happens
11346 on the GhostPad and not on the target).
11347 * gst/gstpad.c: (gst_pad_set_blocked_async),
11348 (gst_pad_link_prepare), (gst_pad_push_event):
11349 Remove previous ghostpad cruft.
11350 * gst/gstutils.c: (gst_pad_add_data_probe),
11351 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11352 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11353 (gst_pad_remove_buffer_probe):
11354 Remove previous ghost pad cruft.
11355 Added more detailed debug statements.
11356 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11357 Fix the testsuite for refcounting changes.
11358 The comments about who has references were correct, but the refcount
11359 being checked wasn't the same (!?!).
11363 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11365 * docs/gst/gstreamer-sections.txt:
11366 * gst/gstconfig.h.in:
11367 More docs for configuration options, add docs to gtk-doc.
11369 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11372 * gst/gstconfig.h.in:
11373 * win32/common/config.h:
11374 Fix build when disabling tracing (fixes #344016). Also start to document
11375 the defines that disable the sub-systems.
11377 2006-07-10 Edward Hervey <edward@fluendo.com>
11379 * gst/gst.c: (ensure_current_registry_forking):
11380 let's make valgrind happy...
11382 2006-07-09 Wim Taymans <wim@fluendo.com>
11384 * gst/gstelement.c: (activate_pads),
11385 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11386 Better pad activation code: Reset the collect value too on resync.
11389 2006-07-09 Wim Taymans <wim@fluendo.com>
11391 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11392 (gst_pad_activate_push):
11393 Use some more macros where it makes sense.
11394 Allow pad mode switching instead of asserting. When a pad
11395 is activated in one mode and we activate it in another,
11396 deactivate it first before activating it in a different mode.
11399 2006-07-08 Andy Wingo <wingo@pobox.com>
11401 * tools/gst-launch.c (main): Handle err == NULL.
11403 * gst/gst.c (init_post, ensure_current_registry)
11404 (ensure_current_registry_forking)
11405 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11406 factoring out the registry scanning into separate functions. Don't
11407 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11408 Better environment var name/interface suggestions accepted.
11410 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11412 * gst/gstobject.c: (gst_object_set_name_default),
11413 (gst_object_set_name):
11414 Random micro-optimisation: don't use a hash table
11415 with strings as keys and the usual strdup/strcmp
11416 involved, but rather just use the GQuark of the
11417 type name as key, since it needs to be looked up
11418 anyway to get the type name string.
11420 * tests/check/gst/gstobject.c: (GST_START_TEST):
11423 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11425 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11426 (gst_bin_iterate_all_by_interface):
11427 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11428 GTypes are gulongs and thus the top 4 bytes might be cut
11429 off on some platforms when doing GPOINTER_TO_INT, leading
11430 to invalid GTypes and bad things happening (see RH bug #179654).
11431 Also add a check to make sure the type passed in is really
11434 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11439 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11443 * gst-element-check.m4:
11444 * gst-element-check.m4.in:
11445 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11446 instead of the unversioned gst-inspect (#324176, #168659).
11448 2006-07-06 Wim Taymans <wim@fluendo.com>
11450 * gst/gstmessage.h:
11451 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11454 2006-07-06 Wim Taymans <wim@fluendo.com>
11456 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11457 (gst_base_src_wait), (gst_base_src_update_length),
11458 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11459 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11460 (gst_base_src_loop), (gst_base_src_start),
11461 (gst_base_src_activate_pull):
11463 blocksize == 0 now means the default blocksize when working in push
11465 Remove some pointless asserts in _wait function.
11466 Fix offset/length calculations and EOS handling. We can now pull 0
11467 bytes as well, which is allowed.
11468 use _check_get_range() to decide if we can operate in _pull based
11470 Fix refcounting leak when check_get_range function was not
11472 API GstBaseSrc::blocksize range can be 0 too now (default)
11474 * tests/check/elements/filesrc.c: (GST_START_TEST),
11476 Added check to test _get_range() behaviour.
11478 2006-07-06 Wim Taymans <wim@fluendo.com>
11480 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11481 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11482 (gst_pad_pull_range):
11484 Lots of comments and docs added to the pad functions.
11485 Flesh out the expected behaviour of the get_range() functions.
11487 2006-07-06 Wim Taymans <wim@fluendo.com>
11492 * gst/gstiterator.h:
11496 Remove comma at end of enumerator list.
11498 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11500 * win32/common/libgstbase.def:
11501 * win32/common/libgstdataprotocol.def:
11502 * win32/common/libsgtreamer.def:
11503 Add new exported functions.
11505 2006-07-05 Wim Taymans <wim@fluendo.com>
11507 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11508 Add some more docs here and there.
11510 2006-07-05 Wim Taymans <wim@fluendo.com>
11512 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11513 (gst_base_sink_loop), (gst_base_sink_get_position):
11514 When operating in pull mode update the offset so that we
11517 2006-07-05 Wim Taymans <wim@fluendo.com>
11519 * gst/gstregistryxml.c: (read_string):
11520 Avoid strdup. (will happen in libxml, but hey!)
11523 Add some more docs.
11525 2006-07-05 Wim Taymans <wim@fluendo.com>
11527 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11528 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11529 (gst_buffer_suite):
11530 No point in checking if the size of the subbuffer > 0, the
11531 code handles it correclty as demonstrated by unit test.
11532 Also add a unit test for the zero sized _new_and_alloc and
11533 _copy. Fixes #346663.
11535 2006-07-05 Wim Taymans <wim@fluendo.com>
11537 * libs/gst/base/gstbasetransform.c:
11538 (gst_base_transform_prepare_output_buffer),
11539 (gst_base_transform_buffer_alloc),
11540 (gst_base_transform_handle_buffer):
11541 Make sure the buffer we pass to transform_ip has a refcount of
11542 1 and thus is writable. Fixes #343196
11544 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11546 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11547 (gst_file_src_init), (gst_file_src_set_property),
11548 (gst_file_src_get_property), (gst_file_src_map_region):
11549 * plugins/elements/gstfilesrc.h:
11550 Add "sequential" property, off by default, to use madvise and hint
11551 to the kernel that sequential access is desired.
11552 Touch all retrieved pages by default to ensure they are pulled
11553 into memory. (Closes #345720)
11555 2006-07-03 Wim Taymans <wim@fluendo.com>
11557 * docs/design/part-block.txt:
11558 * docs/design/part-dynamic.txt:
11559 Small docs updates.
11561 2006-07-03 Wim Taymans <wim@fluendo.com>
11563 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11564 (gst_caps_unref), (gst_static_caps_get),
11565 (gst_caps_append_structure):
11566 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11567 Use GSlice when the glib we build against is >= 2.10
11569 2006-07-03 Wim Taymans <wim@fluendo.com>
11571 * gst/gstelement.c: (gst_element_pads_activate):
11572 Small cleanup in pad activation code.
11574 2006-07-03 Wim Taymans <wim@fluendo.com>
11576 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11578 * gst/gst-i18n-app.h:
11579 * gst/gst-i18n-lib.h:
11580 * tools/gst-inspect.c: (print_signal_info):
11581 The attached patch will make the inclusion of gettext.h unconditional in
11582 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11583 libintl.h in tools/gst-inspect.c.
11584 This allows use of --disable-nls again and fixes #344642.
11586 2006-07-03 Edward Hervey <edward@fluendo.com>
11588 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11589 Implement pad blocking on events according to part-block.txt.
11590 More comments on behaviour.
11591 * tests/check/gst/gstevent.c: (test_event):
11592 Send event to peer pad of blocked pad (else it will block).
11594 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11596 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11597 (gst_check_run_suite):
11598 if we get the wrong message, give us the types as string
11599 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11601 * tests/check/elements/filesrc.c: (GST_START_TEST):
11602 add a test for trying to open a non-existing file
11604 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11606 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11607 add a test for adding self
11609 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11611 * libs/gst/check/gstcheck.h:
11612 add some assert_ as alias for fail_unless_*
11613 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11614 increase test coverage
11616 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11619 include lcov.mak for lcov coverage generation
11620 * tools/Makefile.am:
11623 2006-07-02 Edward Hervey <edward@fluendo.com>
11625 * tests/check/elements/.cvsignore:
11628 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11631 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11632 * tests/check/Makefile.am:
11633 clean up gcov files
11635 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11637 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11638 remove gst_caps_simplify; it was not declared and not used
11639 and deprecated in 0.8
11641 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11643 * docs/faq/gst-uninstalled:
11644 don't put empty paths on PYTHONPATH
11645 * docs/gst/gstreamer-sections.txt:
11646 remove some symbols that are not there
11648 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11650 * gst/gstcaps.c: (gst_caps_compare_structures):
11652 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11653 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11656 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11658 * libs/gst/dataprotocol/Makefile.am:
11659 build dataprotocol test by linking to the lib, instead of
11660 compiling the source, so we get coverage
11661 * tests/check/Makefile.am:
11662 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11663 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11664 add a test for filesrc
11666 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11668 * tests/check/gst/gststructure.c: (GST_START_TEST),
11669 (gst_structure_suite):
11670 Push coverage from 59.04% to 70.00%
11672 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11674 * tests/check/Makefile.am:
11675 gst-inspect every element; this makes sure that we also get
11676 coverage on element's get/set functions
11678 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11681 set CFLAGS and friends to -O0 if gcov is being used
11684 * libs/gst/base/Makefile.am:
11685 * libs/gst/check/Makefile.am:
11686 * libs/gst/controller/Makefile.am:
11687 * libs/gst/dataprotocol/Makefile.am:
11688 * libs/gst/net/Makefile.am:
11689 * plugins/elements/Makefile.am:
11690 * plugins/indexers/Makefile.am:
11691 add makefile rules to generate gcov data and clean up
11692 * tests/check/Makefile.am:
11693 add a coverage target that generates an html overview
11696 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11698 * tests/check/elements/fakesink.c:
11699 * tests/check/elements/fakesrc.c:
11700 * tests/check/elements/fdsrc.c:
11701 * tests/check/elements/identity.c:
11702 * tests/check/generic/sinks.c: (gst_sinks_suite):
11703 * tests/check/generic/states.c:
11704 * tests/check/gst/gst.c:
11705 * tests/check/gst/gstabi.c:
11706 * tests/check/gst/gstbin.c:
11707 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11708 * tests/check/gst/gstbus.c: (gst_bus_suite):
11709 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11710 * tests/check/gst/gstelement.c:
11711 * tests/check/gst/gstevent.c: (gst_event_suite):
11712 * tests/check/gst/gstghostpad.c:
11713 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11714 * tests/check/gst/gstmessage.c: (gst_message_suite):
11715 * tests/check/gst/gstminiobject.c:
11716 * tests/check/gst/gstobject.c:
11717 * tests/check/gst/gstpad.c:
11718 * tests/check/gst/gstpipeline.c:
11719 * tests/check/gst/gstplugin.c:
11720 * tests/check/gst/gstquery.c: (gst_query_suite):
11721 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11722 * tests/check/gst/gststructure.c:
11723 * tests/check/gst/gstsystemclock.c:
11724 * tests/check/gst/gsttag.c:
11725 * tests/check/gst/gsttask.c: (gst_task_suite):
11726 * tests/check/gst/gstutils.c:
11727 * tests/check/gst/gstvalue.c:
11728 * tests/check/libs/adapter.c:
11729 * tests/check/libs/basesrc.c:
11730 * tests/check/libs/collectpads.c:
11731 * tests/check/libs/controller.c:
11732 * tests/check/libs/gdp.c: (gst_dp_suite):
11733 * tests/check/libs/gstnetclientclock.c:
11734 * tests/check/libs/gstnettimeprovider.c:
11735 * tests/check/libs/libsabi.c: (libsabi_suite):
11736 * tests/check/libs/typefindhelper.c:
11737 * tests/check/pipelines/cleanup.c:
11738 * tests/check/pipelines/parse-launch.c:
11739 * tests/check/pipelines/simple-launch-lines.c:
11740 * tests/check/pipelines/stress.c: (stress_suite):
11743 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11745 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11746 * libs/gst/check/gstcheck.h:
11747 create a macro and function so that the simple unit test
11748 case can be just one macro to create main()
11750 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11752 * gst/gstbin.c: (gst_bin_restore_thyself):
11753 * gst/gstxml.c: (gst_xml_make_element):
11754 Fix deserialisation from XML. Set parent manually
11755 instead of using gst_bin_add(), since gst_bin_add()
11756 will unlink all pads of the element being added.
11759 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11761 Patch by: Peter Kjellerstedt <pkj at axis com>
11763 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11764 Fix missing g_strdup() and double free when using the
11765 --gst-plugin-load command line option (#346097).
11767 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11770 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11772 * libs/gst/net/gstnetclientclock.c:
11773 * libs/gst/net/gstnettimeprovider.c:
11774 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11776 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11778 * docs/manual/advanced-dataaccess.xml:
11779 Fix buffer probe example compilation in
11782 2006-06-22 Edward Hervey <edward@fluendo.com>
11784 * gst/gstelement.c: (gst_element_pads_activate):
11785 We need to deactivate src pads first and then sink pads.
11786 The reason is the src pads might be blocking while holding the streaming
11787 lock, so we need to deactivate them first so that deactivating the sink
11788 pads doesn't block (since it will require the streaming lock).
11790 2006-06-22 Wim Taymans <wim@fluendo.com>
11792 * libs/gst/base/gstbasetransform.c:
11793 (gst_base_transform_buffer_alloc):
11794 Forgot to remove two unneeded unrefs.
11795 Simplify a check _is_equal allready checks the obvious case.
11797 2006-06-22 Wim Taymans <wim@fluendo.com>
11799 * docs/design/part-block.txt:
11800 Some docs about what pad_block should do.
11802 2006-06-22 Wim Taymans <wim@fluendo.com>
11804 * gst/gstcaps.c: (gst_caps_replace):
11805 Fix crasher when passed NULL. Doc clarification.
11806 Optimize for the trivial case.
11808 * gst/gstpipeline.c: (gst_pipeline_change_state):
11811 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11812 Small documentation cleanup.
11814 * libs/gst/base/gstbasetransform.c:
11815 (gst_base_transform_buffer_alloc):
11816 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11817 is what we need and it avoids a whole lot of redundant
11818 refcount operations.
11820 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11822 Patch by: Philip Jägenstedt <philip at lysator liu se>
11824 * docs/manual/advanced-dataaccess.xml:
11825 Fix 'Embedding static elements' section to use
11826 GST_PLUGIN_DEFINE_STATIC (#345607).
11828 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11830 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11831 Attempt to 'fix' spuriously failing test case: it seems like the
11832 timeout of half a second is simply too small when the system is under
11833 load otherwise, and the timeout doesn't really seem to serve any
11834 particular purpose here. Give the pipeline a few seconds to preroll
11835 first, and then give it another half a second to go from PAUSED to
11836 PLAYING and marshal the message into the main thread.
11838 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11840 * tools/gst-feedback-m.m:
11841 Don't only use unversioned tools, try versioned tools as well
11844 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11846 * gst/gstbus.c: (gst_bus_class_init):
11847 Fix some typos, make docs more explicit.
11849 2006-06-20 Wim Taymans <wim@fluendo.com>
11851 * tests/check/gst/gstghostpad.c: (block_callback),
11852 (GST_START_TEST), (gst_ghost_pad_suite):
11853 Added some more ghostpad tests, mainly blocking
11856 2006-06-16 Wim Taymans <wim@fluendo.com>
11858 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11859 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11860 (gst_file_sink_event), (gst_file_sink_render):
11861 * plugins/elements/gstfilesink.h:
11862 Check if we can seek in the file instead of assuming
11863 we always can. Post an error when we are asked to seek in a
11864 non-seekable file (like a fifo). Fixes #343312.
11867 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11869 * tools/gst-launch.1.in:
11870 Un-garble (fourcc) bit in filtered caps section.
11872 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11874 * docs/manual/advanced-autoplugging.xml:
11875 * docs/manual/basics-helloworld.xml:
11876 * docs/manual/highlevel-components.xml:
11877 Don't leak bus reference in sample code.
11879 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
11882 Add default for new --enable-plugin-docs switch.
11885 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11888 * docs/Makefile.am:
11889 Use new ENABLE_PLUGIN_DOCS conditional.
11891 2006-06-14 Wim Taymans <wim@fluendo.com>
11893 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11894 Make it clear with a FIXME and a real define what the #if 0
11895 previously disabled.
11897 2006-06-14 Wim Taymans <wim@fluendo.com>
11899 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11900 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11901 * libs/gst/base/gstbasetransform.c:
11902 (gst_base_transform_sink_eventfunc):
11903 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11904 Don't randomly and silently reset a segment when the format
11905 changes as this is a bug somewhere upstream. Fixes #330379.
11907 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
11909 Patch by: Wouter Paesen <wouter at kangaroot net>
11911 * libs/gst/controller/gstcontroller.c:
11912 (gst_controlled_property_new):
11913 Fix controlling of float properties (#344849).
11915 * tests/check/libs/controller.c:
11916 (gst_test_mono_source_get_property),
11917 (gst_test_mono_source_set_property),
11918 (gst_test_mono_source_class_init), (GST_START_TEST):
11919 While we're at it, add some float stuff to unit test.
11921 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11924 * docs/images/gdp-header.svg:
11926 * docs/libs/Makefile.am:
11927 * docs/libs/gdp-header.png:
11928 * libs/gst/dataprotocol/dataprotocol.c:
11929 add it to the API docs
11930 * docs/manual/intro-motivation.xml:
11933 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11935 * gst/gst.c: (scan_and_update_registry), (init_post):
11936 If the fork()'ed child process can't write the updated registry cache
11937 file to disk for some reason, make it exit with a failure exit code,
11938 so that the parent can then re-scan the plugins itself and update the
11939 registry structures in memory and work with that (rather than failing
11940 when creating elements because seemingly no plugins are available).
11941 Refactor registry scanning code into separate function for this and
11942 also separate fork() and non-fork() code paths. Fixes #344748.
11944 2006-06-13 Wim Taymans <wim@fluendo.com>
11946 * docs/manual/advanced-dataaccess.xml:
11947 Fix wrong PluginDesc. Fixes #344755.
11949 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11951 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11952 Fix silly bug that prevented us from creating
11953 ~/.gstreamer-0.10 and writing the registry in one
11954 go (the first call to g_mkstemp() would overwrite the
11955 placeholder in the template string, so the second call
11956 to g_mkstemp() after creating the missing directory
11957 would then error out with 'invalid argument').
11959 2006-06-13 Edward Hervey <edward@fluendo.com>
11961 * gst/gst.c: (init_post):
11964 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * gst/glib-compat-private.h:
11967 * gst/glib-compat.c:
11968 * gst/glib-compat.h:
11969 * gst/gstvalue.c: (gst_value_serialize_flags):
11970 remove GLib 2.6 compatibility code
11972 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
11974 * gst/parse/Makefile.am:
11975 Fix build with 'make -j N' even more (#340016).
11977 2006-06-12 Wim Taymans <wim@fluendo.com>
11979 * docs/gst/gstreamer-sections.txt:
11982 2006-06-12 Wim Taymans <wim@fluendo.com>
11984 * gst/gstsegment.c: (gst_segment_set_duration),
11985 (gst_segment_set_last_stop), (gst_segment_set_seek),
11986 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11987 (gst_segment_to_running_time), (gst_segment_clip):
11988 Use G_UNLIKELY to help the compiler a bit.
11990 2006-06-12 Wim Taymans <wim@fluendo.com>
11992 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11994 * gst/gstevent.c: (gst_event_get_type):
11995 * gst/gstmessage.c:
11996 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11998 constify quark registration strings. Fixes #344115
11999 Avoid unneeded type checking is _pad_push() by internally
12000 calling gst_pad_chain_unchecked().
12002 2006-06-12 Wim Taymans <wim@fluendo.com>
12004 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12005 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12006 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12007 (gst_buffer_is_span_fast), (gst_buffer_span):
12008 Init _type for consistency.
12009 Use _FLAGS macro to avoid type check.
12010 Avoid unneeded type checks in subbufer code.
12012 2006-06-12 Wim Taymans <wim@fluendo.com>
12014 * gst/gst.c: (gst_debug_help):
12015 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12016 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12017 (gst_plugin_feature_list_free):
12018 * gst/gstregistry.c: (gst_registry_add_plugin),
12019 (gst_registry_add_feature), (gst_registry_plugin_filter),
12020 (gst_registry_feature_filter), (gst_registry_find_plugin),
12021 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12022 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12023 * gst/gstregistryxml.c: (load_feature),
12024 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12025 * gst/gstminiobject.c: (gst_mini_object_unref),
12026 (gst_mini_object_replace), (gst_value_mini_object_free),
12027 (gst_value_mini_object_copy):
12028 Use _CAST macros to avoid unneeded type checking.
12029 Added some more G_UNLIKELY.
12031 2006-06-12 Wim Taymans <wim@fluendo.com>
12034 Avoid unneeded type checking.
12035 API: GST_BUFFER_IS_DISCONT
12037 * gst/gstminiobject.h:
12038 Avoid type check in flag accessor.
12040 * gst/gstelementfactory.h:
12042 * gst/gstpluginfeature.h:
12044 API: GST_ELEMENT_FACTORY_CAST
12045 API: GST_PLUGIN_CAST
12046 API: GST_PLUGIN_FEATURE_CAST
12048 2006-06-12 Wim Taymans <wim@fluendo.com>
12050 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12051 (gst_object_unref):
12052 Add G_UNLIKELY in type registration.
12053 Avoid type check in _ref/_unref since that is also
12056 2006-06-12 Wim Taymans <wim@fluendo.com>
12058 * gst/gsterror.c: (gst_g_error_get_type):
12059 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12060 (gst_static_pad_template_get_type):
12061 * gst/gsttaglist.c: (gst_tag_list_get_type):
12062 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12063 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12064 * gst/gsturi.c: (gst_uri_handler_get_type):
12065 * gst/gstvalue.c: (gst_date_get_type):
12066 * gst/gstxml.c: (gst_xml_get_type):
12067 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12068 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12069 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12070 Add G_UNLIKELY in type registration.
12072 2006-06-12 Wim Taymans <wim@fluendo.com>
12074 * tools/gst-inspect.c: (print_signal_info):
12075 Properly print enum values.
12077 2006-06-12 Wim Taymans <wim@fluendo.com>
12079 * gst/gstinfo.c: (gst_debug_set_active),
12080 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12082 Add some G_[UN]LIKELY.
12083 Maintain __gst_debug_min to avoid formatting the arguments of
12084 debug messages that will be dropped anyway to avoid a lot of
12085 overhead from the debugging system.
12087 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12090 * po/POTFILES.skip:
12091 add missing files containing translatable strings, tell intltool about
12094 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12096 * tests/check/libs/.cvsignore:
12097 add test-binary to ignore list
12099 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12101 * docs/libs/gstreamer-libs-docs.sgml:
12102 reorder (put dp into a chapter) and indent
12104 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12109 === release 0.10.8 ===
12111 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12114 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12116 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12118 * gst/gst.c: (init_post):
12119 move pid declaration to declaration block
12121 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12123 * gst/gst.c: (init_post):
12124 use _exit() instead of exit() in our forked child; this ensures
12125 that none of the registered exit handlers from whatever is using
12126 GStreamer get executed. This fixes gnome-mixer-applet failing
12127 to load, because ORBit would shut down.
12128 Spotted by: Edward Hervey <edward@fluendo.com>
12129 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12132 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12137 === release 0.10.7 ===
12139 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12142 releasing 0.10.7, "Soepeke, ik zie ou"
12144 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12167 * win32/common/config.h:
12168 0.10.6.2 prerelease
12170 2006-06-07 Wim Taymans <wim@fluendo.com>
12172 * gst/gstindex.c: (gst_index_gtype_resolver):
12173 * tools/gst-xmlinspect.c: (print_plugin_info):
12174 Fix leak spotted by coverity checker. Fixes #343827
12175 Fix another other leak found by paolo borelli.
12177 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12179 * libs/gst/dataprotocol/dataprotocol.c:
12180 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12181 (gst_dp_version_get_type), (gst_dp_init),
12182 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12183 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12184 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12185 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12186 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12187 (gst_dp_packetizer_free):
12188 * libs/gst/dataprotocol/dataprotocol.h:
12189 API: add a GstDPPacketizer object, and create/free functions
12190 API: add GstDPVersion enum
12191 Add 1.0 event function that uses the string serialization
12192 Serialize more useful buffer flags
12195 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12197 * tests/check/Makefile.am:
12198 * tests/check/gst/gstabi.c:
12199 * tests/check/gst/struct_ppc64.h:
12200 * tests/check/libs/libsabi.c:
12201 * tests/check/libs/struct_ppc64.h:
12202 add ppc64 structure sizes
12204 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12206 * tests/check/Makefile.am:
12207 * tests/check/gst/gstabi.c:
12208 * tests/check/gst/struct_x86_64.h:
12209 * tests/check/libs/libsabi.c:
12210 * tests/check/libs/struct_x86_64.h:
12211 generate and add structure size lists for x86_64
12213 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12215 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12216 * libs/gst/check/gstcheck.h:
12217 factor out the method from tests that checks size of structures,
12218 and add code to generate the header containing these sizes
12219 * tests/check/gst/gstabi.c: (GST_START_TEST):
12220 * tests/check/gst/struct_i386.h:
12221 * tests/check/libs/libsabi.c: (GST_START_TEST):
12222 * tests/check/libs/struct_i386.h:
12225 2006-06-06 Michael Smith <msmith@fluendo.com>
12227 * gst/gstsegment.h:
12228 Don't use c++-style comments, fixes #343929
12230 2006-06-05 Edward Hervey <edward@fluendo.com>
12233 plugin_paths is not used if we build without registry support.
12235 * gst/gstsegment.c: (gst_segment_copy):
12236 _copy() was always returning NULL...
12238 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12240 * libs/gst/dataprotocol/dataprotocol.c:
12241 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12242 (gst_dp_packet_from_event):
12243 factor out CRC code
12245 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12247 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12248 make sure we unset caps
12250 2006-06-02 Michael Smith <msmith@fluendo.com>
12252 * libs/gst/check/gstcheck.c: (gst_check_init),
12253 (gst_check_chain_func):
12254 * libs/gst/check/gstcheck.h:
12255 Add a cond/mutex to the check support lib, signal this whenever we
12256 add to the buffers list. This will allow tests to not busy-wait on
12259 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12261 * libs/gst/dataprotocol/dataprotocol.c:
12262 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12263 (gst_dp_packet_from_event):
12264 factor out some common header init code
12266 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12268 * docs/libs/gstreamer-libs-sections.txt:
12269 * docs/libs/tmpl/gstdataprotocol.sgml:
12270 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12271 * libs/gst/dataprotocol/dataprotocol.h:
12272 API: make gst_dp_crc() public
12274 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12276 * plugins/indexers/gstindexers.c: (plugin_init):
12277 conditionally register fileindexer (fixes #343598)
12279 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12281 * gst/gsttagsetter.h:
12282 Can't cast ifaces to a class
12284 * libs/gst/net/gstnetclientclock.h:
12285 * libs/gst/net/gstnettimeprovider.h:
12286 * plugins/elements/gstfakesink.h:
12287 * plugins/elements/gstfakesrc.h:
12288 * plugins/elements/gstfdsink.h:
12289 * plugins/elements/gstfdsrc.h:
12290 * plugins/elements/gstfilesink.h:
12291 * plugins/elements/gstfilesrc.h:
12292 * plugins/elements/gstidentity.h:
12293 * plugins/elements/gstqueue.h:
12294 * plugins/elements/gsttee.h:
12295 * plugins/indexers/gstfileindex.c:
12296 * plugins/indexers/gstmemindex.c:
12297 * tests/old/examples/plugins/example.h:
12298 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12300 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12302 * libs/gst/dataprotocol/dataprotocol.c:
12303 (gst_dp_header_from_buffer):
12304 make sure we zero the whole ABI-compatible area
12306 2006-06-01 Wim Taymans <wim@fluendo.com>
12308 Patch by: Alessandro Decina <alessandro at nnva dot org>
12310 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12311 Make sure the EOS flag is cleared from pads after a flush
12312 or stop. Fixes #343538.
12314 * tests/check/libs/collectpads.c: (GST_START_TEST),
12315 (gst_collect_pads_suite):
12316 Added test for collectpads reusage after EOS.
12318 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12321 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12322 * win32/common/libgstbase.def:
12323 export gst_collect_pads_set_flushing
12324 * win32/common/libgstreamer.def:
12325 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12326 gst_value_fraction_multiply
12327 * win32/vs6/gst_inspect.dsp:
12328 add a link to intl.lib
12330 2006-05-30 Wim Taymans <wim@fluendo.com>
12332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12333 (gst_collect_pads_chain):
12334 Handle the case where a pad is removed from the collection
12335 that could cause the other pads to become collectable.
12337 2006-05-30 Wim Taymans <wim@fluendo.com>
12339 * gst/gstelement.c:
12340 Clarify the use of _release_request_pad() and
12341 _get_request_pad() a bit better.
12343 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12344 (gst_adapter_take_buffer):
12345 Fix some doc and comment typos.
12347 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12349 * docs/gst/gstreamer-sections.txt:
12350 * docs/libs/gstreamer-libs-sections.txt:
12351 add declared symbols
12353 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12355 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12356 Add debug that can be enabled using a #define at the top of the file,
12357 for dumping stats about how late/early we were when waking up from
12358 waiting on the clock.
12360 2006-05-30 Wim Taymans <wim@fluendo.com>
12362 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12363 When rebuilding the pad list, don't leak the previous list.
12365 2006-05-30 Wim Taymans <wim@fluendo.com>
12367 Patch by: Lutz Mueller <lutz at topfrose dot de>
12369 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12370 (gst_base_src_get_query_types), (gst_base_src_update_length):
12371 Publish supported query types.
12372 Update last_stop field in get_range mode so the position
12373 query works. Fixes #342321.
12375 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12377 * docs/gst/gstreamer-sections.txt:
12378 * gst/gsttaglist.c: (_gst_tag_initialize):
12379 * gst/gsttaglist.h:
12380 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12382 2006-05-30 Wim Taymans <wim@fluendo.com>
12384 Patch by: Alessandro Decina <alessandro at nnva dot org>
12386 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12387 Unlock mutex when removing an unknown pad.
12390 * tests/check/Makefile.am:
12391 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12392 (push_event), (setup), (teardown), (GST_START_TEST),
12393 (gst_collect_pads_suite), (main):
12394 Added collecpads check, disabled for now as check crashes for
12397 2006-05-29 Wim Taymans <wim@fluendo.com>
12399 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12400 Don't leak pads lists.
12402 2006-05-29 Wim Taymans <wim@fluendo.com>
12404 * docs/libs/gstreamer-libs-sections.txt:
12405 * libs/gst/base/gstcollectpads.c:
12406 (gst_collect_pads_set_flushing_unlocked),
12407 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12408 (gst_collect_pads_stop):
12409 * libs/gst/base/gstcollectpads.h:
12410 API: gst_collect_pads_set_flushing()
12411 Added api to set the pads to flushing, useful for seeking
12412 code in elements using collectpads.
12413 Clear segment when receiving a flush.
12415 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12417 * gst/gst.c: (add_path_func), (init_post):
12418 Don't scan registry paths passed via --gst-plugin-path immediately
12419 (will crash, because absolutely nothing is set up and no types are
12420 registered etc.); do this later in init_post(). Fixes #343057.
12422 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12424 * gst/gst.c: (init_post):
12425 if we have fork, fork while reading/rebuilding the registry
12426 so the parent doesn't take the hit of having all plugins loaded
12427 in memory. Fixes #342777.
12429 Check if we have fork()
12430 * win32/common/config.h.in:
12433 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12435 * plugins/elements/gstelements.c:
12436 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12437 (gst_file_src_init), (gst_file_src_set_property),
12438 (gst_file_src_get_property), (gst_file_src_start):
12439 * plugins/elements/gstfilesrc.h:
12440 API: GstFileSrc::use-mmap
12442 Add a use-mmap property to enable easier testing of all code paths.
12443 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12444 in the absence of gnomevfssrc. (Closes #340501)
12446 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12448 * tools/gst-inspect.c:
12449 Add missing include, removes warning of ngettext not being defined on
12452 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12454 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12455 Handle NULL input and output pointers silently as a failed conversion,
12456 rather than g_warnings.
12458 2006-05-25 Wim Taymans <wim@fluendo.com>
12460 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12461 Initialize variable before using. Fixes #342820.
12463 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12465 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12466 Fix off-by-one bug that would only allow peeks of N-1 bytes
12467 from the start even if the buffer to typefind on contains
12468 in fact N bytes of data (makes vorbis typefinding from a
12469 vorbis identification header buffer work).
12471 * tests/check/Makefile.am:
12472 * tests/check/libs/.cvsignore:
12473 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12474 (gst_typefindhelper_suite), (main), (foobar_typefind),
12476 Add very basic unit test for gst_type_find_helper_for_buffer()
12477 that checks for the problem fixed above.
12479 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12481 * tools/gst-inspect.c: (print_interfaces),
12482 (print_element_properties_info), (print_element_list), (main):
12483 add more translatable strings
12485 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12487 Patch by: Julien Moutte <julien at moutte net>
12489 * docs/gst/gstreamer-sections.txt:
12490 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12492 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12493 (gst_fake_sink_preroll):
12494 * plugins/elements/gstfakesink.h:
12495 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12497 2006-05-23 Wim Taymans <wim@fluendo.com>
12499 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12501 Added _CUSTOM error and success GstFlowReturn that can be
12502 used be elements internally.
12503 Added macro to check for SUCCESS flowreturns.
12504 API: GST_FLOW_CUSTOM_SUCCESS
12505 API: GST_FLOW_CUSTOM_ERROR
12506 API: GST_FLOW_IS_SUCCESS
12508 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12509 Added check for GstFlowReturn sanity.
12511 2006-05-23 Wim Taymans <wim@fluendo.com>
12513 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12515 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12516 (gst_collect_pads_event):
12517 clear/reset segment info in FLUSH_STOP.
12520 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12523 (gst_collect_pads_check_collected):
12524 Flush queued buffer on _stop(), fixes playing again (#342454)
12526 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12528 * tests/check/gst/gststructure.c: (GST_START_TEST),
12529 (gst_structure_suite):
12530 add a test for a complete structure
12532 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12534 * docs/faq/developing.xml:
12535 * docs/faq/faq.xml:
12536 * docs/faq/troubleshooting.xml:
12537 * docs/faq/using.xml:
12538 Some minor FAQ updates that won't change the fact that
12539 our FAQ is badly structured, full of information hardly
12540 anyone new to GStreamer needs to know and lacking lots
12541 of information people constantly ask for.
12543 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12545 * gst/gstpad.c: (gst_pad_set_caps):
12546 Short-circuit gst_pad_set_caps if setting the existing
12547 caps pointer again, and avoid printing debug and
12548 reffing/unreffing the caps.
12550 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12551 There's actually no need to set the caps before pushing -
12552 the acceptcaps method will handle it anyway.
12554 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12556 * docs/gst/gstreamer-sections.txt:
12557 * win32/common/libgstreamer.def:
12558 * gst/gstutils.c: (gst_element_seek_simple):
12560 API: add gst_element_seek_simple() (#342238).
12562 2006-05-18 Edward Hervey <edward@fluendo.com>
12564 * gst/gsttypefind.c: (gst_type_find_get_type):
12565 * gst/gsttypefind.h:
12566 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12567 registered for GstTypeFind pointers. This allows wrapping the structure
12568 in bindings (i.e. gst-python).
12570 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12572 * gst/gsttagsetter.c:
12573 Docs additions and fixes (see #339918).
12575 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12577 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12578 The caps intersection algorithm can produce multiple copies of the
12579 caps. Until that is fixed, we need to simplify the result to be
12580 sure whether the allowed caps are fixed or not.
12582 * plugins/elements/gstqueue.c: (gst_queue_init),
12583 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12584 (gst_queue_push_one):
12585 Proxied buffer alloc should not set the caps on the source pad.
12586 When pushing buffers, we always accept the caps change that triggers.
12587 This prevents negotiation errors caused by caps changing mid-stream
12588 and then being refused on our source pad (because upstream is now
12589 refusing those caps).
12591 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12593 * tests/examples/helloworld/helloworld.c: (main):
12594 Must plug audioconvert and audioresample between decoder
12597 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12599 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12600 (load_feature), (load_plugin):
12601 Allow empty strings for some of the plugin fields so we don't
12602 drop valid plugin entries that were written out correctly
12605 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12607 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12608 Use g_remove and g_rename instead of remove and rename that don't
12609 handle utf8 characters. rename was failing for users who had specific
12610 characters in their name then the registry was built at each
12612 * win32/vs6/gst_inspect.dsp:
12613 * win32/vs6/gst_launch.dsp:
12614 * win32/vs6/libgstbase.dsp:
12615 * win32/vs6/libgstcoreelements.dsp:
12616 * win32/vs6/libgstreamer.dsp:
12617 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12618 build of libgstreamer and clean unused libraries in projects link
12621 2006-05-17 Edward Hervey <edward@fluendo.com>
12623 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12624 The queue is not responsible for pushing an EOS when receiving a fatal
12625 flow error. It's up to the real element driving the pipeline to do that.
12627 2006-05-16 Edward Hervey <edward@fluendo.com>
12629 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12630 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12631 buffer returned a fatal error. It should just send an EOS and stop
12633 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12634 when pushing buffers on the queue and will be able to handle the event.
12636 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12638 * docs/manual/basics-bins.xml:
12639 * docs/manual/basics-init.xml:
12640 Fix typos and minor errors in sample code (#341856).
12642 2006-05-16 Wim Taymans <wim@fluendo.com>
12644 * docs/design/part-qos.txt:
12645 Fix indexes in formulas to make more sense.
12647 2006-05-15 Wim Taymans <wim@fluendo.com>
12649 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12650 Don't report POSITION based on clock time if sync is
12651 disabled in a sink.
12653 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12656 Add cast to make compiler happy - refcount variable was a gint
12657 in GstObject but is a guint in GObject and g_atomic_int_get()
12660 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12662 * gst/parse/Makefile.am:
12663 chain commands using &&, which also makes parallel make work
12665 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12667 * docs/gst/gstreamer-sections.txt:
12670 * gst/gstmessage.h:
12673 === release 0.10.6 ===
12675 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12678 releasing 0.10.6, "Take the cannoli"
12680 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12682 * tools/gst-launch.c: (print_tag):
12683 Fix use of uninitialized variable in the hypothetical
12684 case that some broken plugin creates a GST_TAG_IMAGE
12685 tag containing a NULL buffer (#341667).
12687 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12689 * tools/gst-launch.c: (print_tag):
12690 Print something more intelligible for image tags when
12691 using the -t switch (#341556).
12693 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12698 define GST_MAJORMINOR so we have it available in win32/common/config.h
12699 Possibly remove it from our Makefile.am files later
12700 * win32/common/config.h:
12701 * win32/common/config.h.in:
12702 added GST_MAJORMINOR
12703 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12704 * win32/common/gstversion.h:
12707 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12710 Update win32 files listing.
12711 * win32/common/gstversion.h:
12712 Add GST_MAJORMINOR definition.
12713 * win32/common/libgstreamer.def:
12714 Add new exported functions.
12716 2006-05-12 Michael Smith <msmith@fluendo.com>
12718 * gst/gstplugin.c: (gst_plugin_load_file):
12719 If an so file has no plugin entry point, unload the module.
12721 2006-05-11 Wim Taymans <wim@fluendo.com>
12723 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12724 (gst_queue_set_property):
12725 Don't forget to signal the _chain or _loop function
12726 when the queue size or thresholds change since that might
12727 cause them to make progres again.
12729 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12731 * gst/gstclock.c: (gst_clock_class_init):
12732 * gst/gstindex.c: (gst_index_class_init):
12733 * gst/gstobject.c: (gst_object_class_init):
12734 * gst/gstpad.c: (gst_pad_class_init):
12735 * gst/gstpipeline.c: (gst_pipeline_class_init):
12736 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12737 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12738 * libs/gst/base/gstbasetransform.c:
12739 (gst_base_transform_class_init):
12740 * libs/gst/net/gstnetclientclock.c:
12741 (gst_net_client_clock_class_init):
12742 * libs/gst/net/gstnettimeprovider.c:
12743 (gst_net_time_provider_class_init):
12744 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12745 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12746 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12747 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12748 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12749 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12750 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12751 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12752 * plugins/elements/gsttee.c: (gst_tee_class_init):
12753 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12754 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12755 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12757 2006-05-11 Wim Taymans <wim@fluendo.com>
12759 * gst/gstbuffer.c: (_gst_buffer_initialize):
12760 Register subbufer along with the buffer type so that
12761 it does not accidentally gets registered from N
12762 different streaming threads in a non threadsafe way.
12764 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12768 * gst/gstmessage.h:
12769 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12770 gst_event_ref() and gst_message_ref() functions again
12771 (ugly hack, please do fix if there's a better way besides
12772 overrides.txt, which doesn't seem to work).
12774 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12776 * libs/gst/check/gstcheck.h:
12777 add an assert for setting state to avoid lots of repetitive code
12780 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12782 * gst/gstvalue.c: (gst_value_serialize_flags):
12783 fix a leak if no flags are set
12784 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12787 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12789 * docs/manual/basics-pads.xml:
12790 Expand a bit on caps and filtered links and update
12791 examples that were still using the no longer existing
12792 gst_pad_link_filtered() (#338206).
12794 2006-05-10 Wim Taymans <wim@fluendo.com>
12796 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12797 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12798 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12799 (gst_collect_pads_stop):
12800 * libs/gst/base/gstcollectpads.h:
12801 No need to call _stop in _finalize.
12802 Iterate the main pad list in _finalize.
12803 Added some more debug.
12804 Free lists and data in the right order.
12805 Also free data whem doing _remove_pad when stopped for
12806 backward compatibility protect ::started with PAD_LOCK as
12809 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12811 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12812 (gst_structure_parse_value):
12814 rename a method so that it actually says what it does better
12816 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12818 * gst/gstevent.c: (_gst_event_initialize):
12819 * gst/gstformat.c: (_gst_format_initialize):
12820 make sure some essential types used by events are registered
12821 as part of gst_init()
12822 * gst/gstvalue.c: (gst_value_serialize_flags):
12823 if no flags are set, serialize them to a value that represents NONE
12824 so that deserializing them works
12825 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12826 add tests for serialization and deserialization of flags
12828 2006-05-10 Wim Taymans <wim@fluendo.com>
12830 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12831 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12832 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12833 (gst_collect_pads_event), (gst_collect_pads_chain):
12836 Catch and return errors from the collect function
12837 Refuse data on eos pads.
12839 2006-05-10 Edward Hervey <edward@fluendo.com>
12841 * gst/gstinterface.h:
12842 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12843 GInterface type checking.
12844 They were previously using non-defined macros.
12846 2006-05-09 Wim Taymans <wim@fluendo.com>
12848 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12849 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12850 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12851 (gst_collect_pads_start), (gst_collect_pads_stop),
12852 (gst_collect_pads_peek), (gst_collect_pads_pop),
12853 (gst_collect_pads_available), (gst_collect_pads_read),
12854 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12855 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12856 (gst_collect_pads_chain):
12857 * libs/gst/base/gstcollectpads.h:
12858 Clean up the mess that is collectpads, add comments and
12859 FIXMEs where needed.
12860 Maintain a separate pad list so we can add pads while
12861 collecting the other ones. For this we need a new separate
12863 Fix memory leak in finalize.
12864 Refactor some weird code to set/unset pad flushing flags, mark
12866 Don't crash in _available, _read, _flush when we're EOS.
12868 * tests/check/libs/.cvsignore:
12869 Ignore adapter check binary.
12871 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12873 * gst/gstindex.c: (gst_index_resolver_get_type):
12874 * plugins/elements/gstfakesink.c:
12875 (gst_fake_sink_state_error_get_type):
12876 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12877 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12878 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12879 Const-ify GEnumValue arrays.
12881 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12883 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12884 Add test case for flags + gst_buffer_make_metadata_writable().
12886 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12888 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12889 gst_buffer_make_metadata_writable() should maintain the
12890 buffer flags (those that make sense at least) (see #340859).
12892 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12894 * tools/gst-inspect.c:
12895 * tools/gst-launch.c:
12896 * tools/gst-typefind.c:
12897 * tools/gst-xmlinspect.c:
12899 Fix up includes: need to include stdlib.h in tools.h for exit().
12901 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12903 * gst/gsttaglist.c: (_gst_tag_initialize):
12904 * gst/gsttaglist.h:
12905 API: add GST_TAG_IMAGE tag (#340721).
12907 2006-05-08 Wim Taymans <wim@fluendo.com>
12910 Added some docs for the segment query.
12912 2006-05-08 Wim Taymans <wim@fluendo.com>
12914 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12915 (gst_base_src_loop), (gst_base_src_change_state):
12916 Always push non-flushing serialized events in the streaming
12919 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
12921 * gst/gsterror.c: (_gst_stream_errors_init):
12922 Add a missing error string.
12924 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
12926 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12927 Add applied_rate to the debug
12929 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12930 Copy applied_rate into the outgoing NEWSEGMENT event
12932 2006-05-08 Wim Taymans <wim@fluendo.com>
12934 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12936 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12937 (gst_base_sink_change_state):
12938 call ::unlock before taking the PREROLL_LOCK so we can safely
12939 handle elements that lock in ::render.
12942 2006-05-08 Edward Hervey <edward@fluendo.com>
12944 * autogen.sh: (CONFIGURE_DEF_OPT):
12945 Darwin's libtoolize is in fact called glibtoolize.
12946 Adding glibtoolize to the list of accepted names for libtoolize.
12948 2006-05-08 Wim Taymans <wim@fluendo.com>
12950 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12951 Unify error handling, don't post an error message
12952 when a push() returns EOS but perform our normal EOS
12953 handling code. Fixes #340772.
12955 2006-05-08 Wim Taymans <wim@fluendo.com>
12957 * docs/design/part-overview.txt:
12958 Make upsteam/downstream concepts more clear.
12959 Give an example of serialized/non-serialized events.
12961 * docs/design/part-events.txt:
12962 * docs/design/part-streams.txt:
12963 Mention applied_rate.
12965 * docs/design/part-trickmodes.txt:
12966 Mention applied rate, flesh out some more use cases.
12968 * gst/gstevent.c: (gst_event_new_new_segment),
12969 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12970 (gst_event_parse_new_segment_full), (gst_event_new_tag),
12971 (gst_event_parse_tag), (gst_event_new_buffer_size),
12972 (gst_event_parse_buffer_size), (gst_event_new_qos),
12973 (gst_event_parse_qos), (gst_event_parse_seek),
12974 (gst_event_new_navigation):
12976 Add applied_rate field to NEWSEGMENT event.
12977 API: gst_event_new_new_segment_full()
12978 API: gst_event_parse_new_segment_full()
12980 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
12981 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
12982 (gst_segment_to_stream_time), (gst_segment_to_running_time):
12983 * gst/gstsegment.h:
12984 Add applied_rate to GstSegment structure.
12985 Make calculation of stream_time and running_time more correct
12986 wrt rate/applied_rate.
12987 Add some more docs.
12988 API: GstSegment::applied_rate field
12989 API: gst_segment_set_newsegment_full();
12991 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12992 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
12993 * libs/gst/base/gstbasetransform.c:
12994 (gst_base_transform_sink_eventfunc),
12995 (gst_base_transform_handle_buffer):
12996 Parse and use applied_rate in the GstSegment field.
12998 * tests/check/gst/gstevent.c: (GST_START_TEST):
12999 Add check for applied_rate field.
13001 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13002 (gstsegments_suite):
13003 Add more checks for various GstSegment operations.
13005 2006-05-08 Wim Taymans <wim@fluendo.com>
13007 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13008 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13009 (gst_base_sink_get_position), (gst_base_sink_change_state):
13010 Store the sync time of the buffer end position separatly in a
13011 new variable eos_rtime so we can properly sync the EOS event.
13013 Fix the docs for gst_base_sink_set_qos_enabled().
13014 Don't set segment start to invalid value when we receive a
13015 non TIME newsegment.
13016 get closer to handling position reporting for negative rates
13019 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13022 Docs about how to print caps for debug purposes.
13024 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13025 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13027 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13029 * gst/gstelement.c:
13030 use full enum names and preprend a '%' in docs strings to make recent
13031 gtk-doc turn that into a link
13033 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13035 * docs/manual/basics-bins.xml:
13036 * docs/manual/basics-bus.xml:
13037 * docs/manual/basics-pads.xml:
13038 Some typo fixes, some additions, some clarifications.
13040 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13042 * tools/gst-inspect.c: (main):
13043 * tools/gst-launch.c: (main):
13044 * tools/gst-run.c: (main):
13045 * tools/gst-typefind.c: (main):
13046 * tools/gst-xmlinspect.c: (main):
13047 Use the string passed to g_option_context_new() for
13048 what it's intended for - the program name is already
13051 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13053 * tools/Makefile.am:
13054 * tools/gst-inspect.c: (main):
13055 * tools/gst-launch.c: (main):
13056 * tools/gst-xmlinspect.c: (main):
13058 Add back --version command line option (#340460).
13060 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13061 Add --version option and use GOption for argument parsing; refactor a
13062 bit; accept directories as arguments and recurse into them; lastly,
13063 print a decent error message when things go wrong.
13065 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13067 * docs/manual/basics-bins.xml:
13068 Don't mention GstThread (#340611)
13069 * docs/manual/basics-elements.xml:
13070 Update link to GObject tutorial (#340607)
13072 2006-05-05 Wim Taymans <wim@fluendo.com>
13075 * gst/gstminiobject.c:
13076 Add note about refcounting and miniobject/buffer writeability
13077 to docs. Fixes #340604
13079 * gst/gstelementfactory.h:
13080 Added some explanation about @klass.
13082 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13084 * docs/manual/intro-motivation.xml:
13085 * docs/manual/manual.xml:
13086 Avoid CORBA & Bonobo references (#340598)
13088 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13090 * docs/manual/basics-bus.xml:
13091 * docs/manual/basics-pads.xml:
13092 Fix up some inaccuracies and omissions (#340609)
13094 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13096 * gst/gstghostpad.c:
13097 Small typo in docs (#340625)
13099 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13101 * gst/parse/Makefile.am:
13102 Make 'make -j' proof (see #340698).
13104 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13107 Require GLib-2.8 here as well.
13109 2006-05-05 Wim Taymans <wim@fluendo.com>
13111 * gst/glib-compat.c:
13112 * gst/gst.c: (init_pre):
13113 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13114 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13115 (gst_object_dispatch_properties_changed):
13117 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13118 * gst/gststructure.c: (gst_structure_set_valist):
13119 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13120 Remove pre glib2.8 compatibility, fixes #340508
13122 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13124 * gst/gsttaglist.h:
13125 Mention type of tags in doc blurbs.
13127 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13129 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13130 (gst_pad_configure_src), (gst_pad_push):
13131 Restore acceptcaps checking behaviour now that good plugins have
13134 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13136 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13143 * gst/gstmessage.c:
13147 * gst/parse/Makefile.am:
13148 * libs/gst/base/gstadapter.c:
13149 * libs/gst/base/gstbasesrc.c:
13150 * libs/gst/base/gstpushsrc.c:
13151 * libs/gst/base/gsttypefindhelper.c:
13152 * plugins/elements/gstfakesrc.c:
13153 * plugins/elements/gstidentity.c:
13154 Make sure gstprivate.h and/or config.h are
13155 always included first, otherwise some of our
13156 defines (like _FILE_OFFSET_BITS) might be
13157 redefined in the system headers. Fixes build
13158 on opensolaris (#340016).
13160 2006-05-04 Wim Taymans <wim@fluendo.com>
13162 * docs/libs/gstreamer-libs-sections.txt:
13163 API: addition: gst_adapter_take_buffer()
13165 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13166 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13167 (gst_adapter_available_fast):
13168 * libs/gst/base/gstadapter.h:
13169 Prepare for optimizing the hell out of this hugely inefficient
13171 Added gst_adapter_take_buffer() so we can at least start thinking
13172 about subbuffering and merging.
13173 Added some comments.
13175 * tests/check/Makefile.am:
13176 * tests/check/libs/adapter.c: (GST_START_TEST),
13177 (gst_adapter_suite), (main):
13178 Added GstAdapter check.
13180 2006-05-04 Wim Taymans <wim@fluendo.com>
13182 * docs/design/part-overview.txt:
13183 Fix some typos, add blurb about buffer flags.
13185 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13187 * docs/libs/gstreamer-libs-sections.txt:
13188 make sure GstBaseTransformClass shows up in the docs
13189 * libs/gst/base/gstbasetransform.c:
13190 * libs/gst/base/gstbasetransform.h:
13191 move docs so gtk-doc picks it up now
13193 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13195 * docs/libs/gstreamer-libs-sections.txt:
13196 add missing symbols to docs
13198 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13200 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13201 back out the newsegment handling change, see #340060 for ongoing
13204 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13206 * tools/gst-run.c: (get_candidates), (main):
13207 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13208 work); fix typo in error message. Fixes #340079.
13210 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13212 * common/Makefile.am:
13213 * docs/Makefile.am:
13214 * docs/faq/Makefile.am:
13215 * docs/gst/Makefile.am:
13216 * docs/libs/Makefile.am:
13217 * docs/manual/Makefile.am:
13218 * docs/plugins/Makefile.am:
13219 * docs/pwg/Makefile.am:
13220 * docs/slides/Makefile.am:
13222 * common/upload.mak:
13223 move upload.mak to common
13225 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13227 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13228 add more asserts on refcounts
13229 do more cleanup at end of tests
13230 fix test leaks showing in FC5
13232 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13234 * plugins/elements/gsttypefindelement.c:
13235 (gst_type_find_element_handle_event):
13236 reverted wrong change and reflowed code to avoid others falling into
13239 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13241 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13242 fix changelog entry about last collectpads change,
13243 add notes about proper fix
13245 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13248 * gst/gstregistry.c: (gst_registry_scan_path_level),
13249 (gst_registry_scan_path):
13250 * gst/gstregistry.h:
13251 only write out registry if it has changed, fixes #338339
13253 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13256 * gst/gstpipeline.c:
13257 * plugins/elements/gstcapsfilter.c:
13258 * plugins/elements/gstfakesink.c:
13259 * plugins/elements/gstfakesrc.c:
13260 * plugins/elements/gstfdsink.c:
13261 * plugins/elements/gstfdsrc.c:
13262 * plugins/elements/gstfilesink.c:
13263 * plugins/elements/gstfilesrc.c:
13264 * plugins/elements/gstidentity.c:
13265 * plugins/elements/gstqueue.c:
13266 * plugins/elements/gsttee.c:
13267 * plugins/elements/gsttypefindelement.c:
13268 (gst_type_find_element_handle_event):
13269 make GstElementDetails const
13271 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13273 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13274 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13275 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13276 more detailed debug and formatting cleanup,
13277 forward newsegments to src-pad (so that e.g. adder not eats them)
13279 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13281 * gst/gstutils.c: (gst_element_link_pads):
13282 cleanup double code
13284 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13286 * libs/gst/controller/gstcontroller.c:
13287 (gst_controller_sync_values):
13289 * tests/check/libs/controller.c: (GST_START_TEST),
13290 (gst_controller_suite):
13291 a new test for live value handling
13293 2006-04-28 Wim Taymans <wim@fluendo.com>
13295 * gst/gstutils.c: (push_and_ref):
13296 Added some more docs.
13297 Fix refcount issue whith gst_element_found_tags() helper
13298 function. Fixes #338335
13300 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13301 Added testsuite for gst_element_found_tags().
13303 2006-04-28 Michael Smith <msmith@fluendo.com>
13305 * gst/gstvalue.c: (gst_value_serialize_flags):
13306 Avoid NULL dereference when trying to serialize flags containing
13309 2006-04-28 Michael Smith <msmith@fluendo.com>
13311 * plugins/elements/gsttypefindelement.c:
13312 (gst_type_find_element_handle_event):
13313 If we get EOS before any data is accumulated, don't use
13314 uninitialised local variables.
13316 2006-04-28 Michael Smith <msmith@fluendo.com>
13318 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13319 (gst_dp_event_from_packet):
13320 Fixes in reading/writing events over GDP (not currently used?) -
13321 dereferencing NULL events for unknown/invalid event types, memory
13322 leak, and change g_warning to GST_WARNING.
13324 2006-04-28 Wim Taymans <wim@fluendo.com>
13326 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13327 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13328 (gst_base_sink_get_position), (gst_base_sink_change_state):
13329 When frame dropping is enabled, we should not ignore frames
13330 without a duration.
13331 Update some documentation.
13333 2006-04-28 Wim Taymans <wim@fluendo.com>
13335 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13336 (gst_base_src_send_event), (gst_base_src_change_state):
13337 Documentation updates.
13339 2006-04-28 Wim Taymans <wim@fluendo.com>
13341 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13342 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13343 handle EAGAIN, EINTR and short writes correctly. Also clean
13344 up some error cases, avoid a deadlock on bad file descriptors and
13345 use GST_DEBUG_OBJECT.
13348 2006-04-28 Wim Taymans <wim@fluendo.com>
13350 * gst/gstvalue.c: (gst_value_serialize_buffer),
13351 (gst_value_deserialize_buffer):
13352 Don't try to serialize a GValue with a NULL buffer.
13355 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13356 Added check for serialisation of NULL buffers.
13358 2006-04-28 Wim Taymans <wim@fluendo.com>
13360 * gst/gstminiobject.c: (gst_value_take_mini_object):
13361 Taking a NULL miniobject is valid, fix the case where
13362 we try to unref the NULL miniobject.
13364 2006-04-28 Wim Taymans <wim@fluendo.com>
13366 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13368 * gst/gstbin.c: (gst_bin_handle_message_func):
13370 Don't leak bin refcount when a state recalc is
13371 in progress and we delay another one #339808.
13373 2006-04-28 Wim Taymans <wim@fluendo.com>
13375 * docs/design/part-TODO.txt:
13376 Mention QoS as an ongoing work item.
13378 * docs/design/part-buffering.txt:
13379 New doc about buffering that needs to be fleshed out
13382 * docs/design/part-qos.txt:
13383 More QoS policy for decoders/demuxers/transforms
13385 * docs/design/part-trickmodes.txt:
13388 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13393 === release 0.10.5 ===
13395 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13398 releasing 0.10.5, "Fogo"
13400 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13402 patch by: Wim Taymans
13404 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13405 (gst_pad_configure_src), (gst_pad_push):
13406 * gst/gstpipeline.c: (gst_pipeline_init):
13407 Fix internal data flow errors. Fixes #338711.
13409 2006-04-12 Wim Taymans <wim@fluendo.com>
13411 * tests/check/gst/gstelement.c: (GST_START_TEST):
13412 Don't leak the factory.
13414 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13417 * win32/common/config.h:
13420 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13422 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13423 (gst_controller_unset_all):
13424 Free allocated GstTimedValues when freeing list nodes.
13425 Should fix leaks 'make check-valgrind' complains about.
13427 * win32/common/libgstcontroller.def:
13428 Add gst_controller_unset_all.
13430 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13432 * docs/libs/gstreamer-libs-sections.txt:
13433 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13434 (gst_controller_unset_all):
13435 * libs/gst/controller/gstcontroller.h:
13436 API: Added new method gst_controller_unset_all()
13437 fixed gst_controller_unset()
13438 * tests/check/libs/controller.c: (GST_START_TEST),
13439 (gst_controller_suite):
13440 Added two testcases for new and fixed method
13442 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13444 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13445 MSG_DONTWAIT is not defined on Cygwin, so work
13446 around that (fixes #317048).
13448 2006-04-11 Wim Taymans <wim@fluendo.com>
13450 * gst/gstelementfactory.c: (gst_element_register),
13451 (gst_element_factory_create), (gst_element_factory_make):
13454 Updated docs (Fixes #131079)
13456 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13459 * tests/check/gst/gstelement.c: (GST_START_TEST),
13460 (gst_element_suite):
13461 Added testcase for elementfactory class field.
13463 2006-04-10 Wim Taymans <wim@fluendo.com>
13465 * gst/gstsegment.c:
13466 Added some more docs.
13468 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13469 (gst_base_sink_reset_qos):
13470 Calculate more accurate rate values.
13472 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13474 * gst/gst_private.h:
13475 add a new #ifdef to use __declspec(dllimport) only for
13476 other modules and not for gstreamer core
13477 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13478 use gst_guint64_to_gdouble for conversion
13479 * win32/common/libgstreamer.def:
13480 add new exported functions
13481 * win32/vs6/gst_inspect.dsp:
13482 * win32/vs6/gst_launch.dsp:
13483 * win32/vs6/libgstbase.dsp:
13484 * win32/vs6/libgstcontroller.dsp:
13485 * win32/vs6/libgstcoreelements.dsp:
13486 * win32/vs6/libgstdataprotocol.dsp:
13487 * win32/vs6/libgstnet.dsp:
13488 update project files
13490 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13492 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13493 * gst/gstclock.c: (gst_clock_class_init):
13494 * gst/gstelement.c: (gst_element_class_init):
13495 * gst/gstindex.c: (gst_index_class_init):
13496 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13497 * gst/gstobject.c: (gst_object_class_init),
13498 (gst_signal_object_class_init):
13499 * gst/gstpad.c: (gst_pad_class_init):
13500 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13501 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13502 * gst/gstregistry.c: (gst_registry_class_init):
13503 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13504 * gst/gsttask.c: (gst_task_class_init):
13505 * gst/gstxml.c: (gst_xml_class_init):
13506 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13507 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13508 (gst_base_src_loop):
13509 * libs/gst/controller/gstcontroller.c:/
13510 (_gst_controller_class_init):
13511 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13512 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13513 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13514 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13515 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13516 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13518 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13520 * gst/gstpad.c: (gst_pad_link):
13521 Must set peer pads before calling the link function, otherwise
13522 a task started from a link function might get a flow-not-linked
13523 result when trying to push because the other thread where the
13524 linking happens hasn't had a chance to set the peers yet. This
13525 might happen for example when a queue gets linked to a downstream
13526 element, as queue starts a streaming task when its source pad
13527 gets linked. Happens in real life when playing back flac/musepack
13528 files in playbin (#332390).
13530 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13534 * libs/gst/base/gstadapter.h:
13535 * libs/gst/base/gstbasesink.h:
13536 * libs/gst/base/gstbasesrc.h:
13537 * libs/gst/base/gstbasetransform.h:
13538 * libs/gst/base/gstcollectpads.h:
13539 * libs/gst/base/gstpushsrc.h:
13540 Fix broken GObject macros
13542 2006-04-07 Wim Taymans <wim@fluendo.com>
13544 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13545 Initialize start and stop times, thanks valgrind.
13547 2006-04-07 Wim Taymans <wim@fluendo.com>
13549 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13550 Be a bit nicer to badly behaving upstream elements that expect
13551 us to deal with non TIME segments and timestamps (such as fakesrc
13554 2006-04-07 Wim Taymans <wim@fluendo.com>
13557 Small documentation clarification about the signal watch.
13559 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13560 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13561 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13562 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13563 (gst_base_sink_get_position_last),
13564 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13565 Convert and store timestamps in stream time and running time, the
13566 raw timestamps are not useful, also document this better.
13567 Use different window sizes for good and bad QoS observations so
13568 we react to badness a little quicker.
13569 Keep track of the amount of rendered and dropped buffers.
13570 Send QoS timestamps in running time.
13572 * libs/gst/base/gstbasetransform.c:
13573 (gst_base_transform_sink_eventfunc),
13574 (gst_base_transform_handle_buffer):
13575 Compare QoS timestamps against running time.
13577 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13580 Typo fixes in docs.
13582 2006-04-06 Michael Smith <msmith@fluendo.com>
13584 * gst/gstpad.c: (gst_pad_set_property):
13585 Use g_value_get_object() instead of g_value_dup_gst_object(),
13586 to avoid double-reffing the pad template (which we then sink,
13587 so this worked previously if (and only if) the pad template
13590 * gst/gstpadtemplate.c: (gst_pad_template_init),
13591 (gst_pad_template_pad_created):
13592 Never return floating references to pad templates, create
13593 them as initially-sunken.
13595 Document an extra function (and make this stop sinking our
13596 pad template, since that is now guaranteed to do nothing,
13597 since we created it sunken).
13599 * gst/gstghostpad.c:
13602 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13604 * gst/gstinfo.c: (__gst_in_valgrind):
13607 * plugins/elements/gsttypefindelement.c:
13608 (gst_type_find_element_chain):
13609 Don't leak buffer caps.
13611 2006-04-06 Michael Smith <msmith@fluendo.com>
13613 * gst/parse/grammar.y:
13614 Fix a leak in parse-launch for any source-or-sink named element
13617 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13618 Unref the pipeline if it exists after we've failed parsing.
13620 2006-04-05 Michael Smith <msmith@fluendo.com>
13622 * gst/gstpipeline.c: (gst_pipeline_init):
13623 When we create a pipeline bus, initially create it in flushing mode.
13624 Fixes leaks in at least one test, and makes a new pipeline work the
13625 same as one that has gone to READY and then back to NULL.
13627 * gst/gstelement.c:
13630 2006-04-05 Michael Smith <msmith@fluendo.com>
13632 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13633 Unref a pad we reffed.
13634 * tests/check/gst/gstutils.c: (GST_START_TEST):
13637 2006-04-05 Michael Smith <msmith@fluendo.com>
13639 * gst/gstquery.c: (gst_query_set_formats),
13640 (gst_query_set_formatsv):
13641 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13643 2006-04-05 Michael Smith <msmith@fluendo.com>
13645 * tests/check/generic/sinks.c: (GST_START_TEST):
13646 Fix a variety of memleaks in sinks check, which are only sometimes
13647 shown by running the tests under valgrind (weird?).
13649 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13651 * docs/version.entities.in:
13652 Fix the substituted entity name after thomas' changes on the
13655 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13657 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13660 2006-04-05 Andy Wingo <wingo@pobox.com>
13662 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13664 * libs/gst/base/gstbasetransform.c
13665 (gst_base_transform_sink_eventfunc): When resetting our segment on
13666 FLUSH_STOP, also update the flag saying we haven't seen a
13669 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13671 Patch by: Paolo Borelli <pborelli at katamail dot com>
13673 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13674 (gst_plugin_check_license):
13675 minor clean-ups: G_DEFINE_TYPE already takes care of the
13676 parent_class stuff, no need to do it twice. Mark array of
13677 license strings as constant. (#337103)
13679 2006-04-04 Michael Smith <msmith@fluendo.com>
13681 * tools/gst-inspect.c: (print_element_list):
13682 Free the right plugin list; fixes a memory leak.
13684 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13686 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13688 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13689 Don't error out on empty buffers (#336945).
13691 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13693 * docs/libs/gstreamer-libs-sections.txt:
13694 * gst/gsttaglist.c:
13695 * libs/gst/base/gstbasesink.c:
13696 * libs/gst/base/gstbasesink.h:
13697 * libs/gst/base/gstbasesrc.c:
13698 * libs/gst/base/gstbasesrc.h:
13699 Documentation updates. Make BaseSink and BaseSrc docs contain the
13700 class structure so that people can actually see the prototypes for
13701 virtual functions they're supposed to be overriding.
13703 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13705 * plugins/elements/gsttypefindelement.c:
13706 (gst_type_find_element_chain):
13707 More debug info; when skipping typefinding, send cached
13708 events in all cases.
13710 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13713 use new AS_VERSION and AS_NANO macros
13714 * gst/gst-i18n-lib.h:
13717 * gst/gstversion.h.in:
13718 * win32/common/config.h:
13719 * win32/common/config.h.in:
13722 2006-03-31 Michael Smith <msmith@fluendo.com>
13724 * plugins/elements/gsttypefindelement.c:
13725 (gst_type_find_element_chain):
13726 Do not typefind content if the buffers already have caps.
13727 Neccesary for icydemux (#333657), and the right thing to do anyway.
13729 2006-03-30 Wim Taymans <wim@fluendo.com>
13731 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13732 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13733 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13734 (gst_base_sink_record_qos_observation),
13735 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13736 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13737 (gst_base_sink_change_state):
13738 More QoS measurements as described in the design doc.
13739 Get rid of ringbuffer with observations, running average is
13740 more simple and equally good.
13741 Calculates valid proportion now.
13742 Added beginning of flood measurement.
13744 2006-03-29 Wim Taymans <wim@fluendo.com>
13746 * docs/design/part-qos.txt:
13748 Small documentation updates and additions.
13750 2006-03-29 Wim Taymans <wim@fluendo.com>
13752 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13753 (gst_base_src_send_event), (gst_base_src_loop),
13754 (gst_base_src_change_state):
13755 Perform the EOS logic when we reach the segment stop position.
13756 Fix compilation on gcc4.1
13758 2006-03-29 Wim Taymans <wim@fluendo.com>
13760 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13762 * plugins/elements/gstqueue.c: (gst_queue_init),
13763 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13764 (gst_queue_set_property):
13765 * plugins/elements/gstqueue.h:
13766 In queue, when EOS is received, if minimum threshold > max_size -
13767 current_level, there is chance that queue blocks forever in conditional
13768 item del wait. This is because the queue is not emptied completely due
13769 to minimum threshold. Here is another approach. Instead of setting
13770 cur_levels to max in EOS, just zero all minimum threshold levels. This
13771 should make sure that queue gives out all data. When going to READY
13772 (stop) state, just reset the original minimum threshold levels.
13775 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13777 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13778 (gst_type_find_element_handle_event),
13779 (gst_type_find_element_send_cached_events),
13780 (gst_type_find_element_change_state):
13781 * plugins/elements/gsttypefindelement.h:
13782 When typefinding is done in push mode, we should cache
13783 events we receive during typefinding instead of just
13784 dropping them (e.g. newsegment, custom events from
13785 dvdreadsrc etc.) and then send them out once we've
13786 determined the type of the stream (and decodebin
13787 has had a chance to plug in a decoder/demuxer).
13789 2006-03-27 Wim Taymans <wim@fluendo.com>
13791 * docs/design/part-qos.txt:
13794 2006-03-27 Wim Taymans <wim@fluendo.com>
13796 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13798 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13799 (gst_base_src_send_event), (gst_base_src_change_state):
13800 Handle element seek correctly when we are streaming.
13803 2006-03-24 Michael Smith <msmith@fluendo.com>
13805 * docs/faq/gst-uninstalled:
13806 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13807 allow you to correctly run intalled applications built against old
13808 core, using plugins that require updated core (e.g. running
13809 installed totem against a full uninstalled gstreamer stack)
13811 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13813 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13816 2006-03-24 Wim Taymans <wim@fluendo.com>
13818 * docs/gst/gstreamer-sections.txt:
13819 Rearrange the order of the methods so that related methods
13820 are grouped together in sections.
13822 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13824 * gst/gstelement.c:
13825 Little clarification in the docs
13827 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13831 * plugins/elements/gstidentity.c:
13832 * plugins/elements/gstqueue.c:
13833 * plugins/elements/gsttee.c:
13834 * plugins/elements/gsttypefindelement.c:
13835 GST_ELEMENT_DETAILS formatting
13837 2006-03-24 Wim Taymans <wim@fluendo.com>
13839 * libs/gst/base/gstbasesink.h:
13840 Only add fields, not insert or we break ABI.
13842 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13844 * win32/common/libgstbase.def:
13845 * win32/common/libgstreamer.def:
13846 Update, add recently added functions.
13848 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13850 * docs/gst/gstreamer-sections.txt:
13851 * gst/gstutils.c: (gst_pad_query_peer_position),
13852 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13854 API: add some new utility functions:
13855 - gst_pad_query_peer_position()
13856 - gst_pad_query_peer_duration()
13857 - gst_pad_query_peer_convert()
13859 2006-03-23 Wim Taymans <wim@fluendo.com>
13861 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13862 (gst_base_sink_init), (gst_base_sink_finalize),
13863 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13864 (gst_base_sink_set_property), (gst_base_sink_get_property),
13865 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13866 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13867 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13868 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13869 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13870 (gst_base_sink_preroll_object), (gst_base_sink_event),
13871 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13872 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13873 (gst_base_sink_query), (gst_base_sink_change_state):
13874 Decouple max-lateness and the fact that QoS messages are generated
13875 with a new property (qos).
13876 added API: GstBaseSink::async_play()
13877 Add vmethod so subclasses can be notified of ASYNC playing
13879 Collect timestamp start and stop to report better current
13880 position in EOS/PLAYING/PAUSED/READY/NULL.
13881 Refactor QoS/frame dropping and other measurements.
13882 API: GstBaseSrc::qos
13885 * libs/gst/base/gstbasesink.h:
13886 Added Private struct.
13887 API: gst_base_sink_set_qos_enabled()
13888 API: gst_base_sink_is_qos_enabled()
13890 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13892 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13893 If compiling against GLib-2.8 or newer, try to read the
13894 registry file using GMappedFile first before falling back
13895 to fopen() + fread() (#332151).
13897 2006-03-22 Wim Taymans <wim@fluendo.com>
13899 * gst/gstinfo.c: (gst_debug_set_active),
13900 (gst_debug_category_set_threshold):
13901 Disable debugging unless explicitly activated.
13904 2006-03-22 Wim Taymans <wim@fluendo.com>
13906 * gst/gstelement.c: (gst_element_set_locked_state),
13907 (gst_element_dispose):
13908 Cleanup the error case.
13910 * gst/gstobject.c: (gst_object_dispose):
13911 print a critical when some object was disposed with
13912 a parent, also revive the object since it might
13915 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
13917 * tools/gst-launch.1.in:
13920 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13923 * tests/check/Makefile.am:
13924 disable some tests when we don't have a registry
13925 * tests/check/gst/gstutils.c: (gst_utils_suite):
13926 don't build the part that needs parsing
13928 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13931 * tests/examples/Makefile.am:
13932 fix --disable-parse build
13934 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13936 * tools/gst-feedback.1.in:
13937 Fix typo: s/feeback/feedback/ (#133494).
13939 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13941 * tools/Makefile.am:
13942 * tools/gst-launch.1.in:
13943 Add FILES section and correct entry about GST_REGISTRY_PATH
13944 environment variable (#133495; #133494).
13946 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13948 * tools/Makefile.am:
13949 * tools/gst-md5sum.1.in:
13950 * tools/gst-md5sum.c:
13951 Remove gst-md5sum and man page (the md5sink element
13952 required was removed ages ago)
13954 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13956 * gst/gststructure.c: (gst_structure_id_set_value):
13957 Make sure that string fields in structures/taglists
13958 contain valid UTF-8 - we don't want to pass rubbish to
13959 applications because of a buggy plugin (cp. #334167).
13961 2006-03-21 Edward Hervey <edward@fluendo.com>
13963 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13964 (gst_bin_handle_message_func):
13965 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13966 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13967 (gst_element_set_bus_func):
13968 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13969 * gst/gstminiobject.c: (gst_value_set_mini_object),
13970 (gst_value_take_mini_object):
13971 * gst/gstpad.c: (gst_pad_set_pad_template):
13972 * gst/gstpipeline.c: (gst_pipeline_dispose),
13973 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13974 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13975 (gst_collect_pads_chain):
13976 * libs/gst/net/gstnettimeprovider.c:
13977 (gst_net_time_provider_set_property):
13978 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13979 It's in fact all issues with gst_*object_replace().
13981 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13983 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
13985 * pkgconfig/gstreamer-check-uninstalled.pc.in:
13986 * pkgconfig/gstreamer-check.pc.in:
13987 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
13989 2006-03-21 Edward Hervey <edward@fluendo.com>
13993 * gst/gstmessage.h:
13994 gst_[buffer|event|message]_ref() macros are replaced by a static
13995 inline functions because gcc-4.1 will about if the return value
13997 * tests/check/gst/gstevent.c: (event_probe):
13998 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14000 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14003 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14004 the type' case. (Closes: #335195 for now). In the future, when we
14005 depend on GLib 2.10, we could also intern the type name using
14006 g_intern_static_string()
14008 2006-03-20 Wim Taymans <wim@fluendo.com>
14010 * gst/gstbin.c: (gst_bin_handle_message_func),
14011 (bin_query_max_init), (bin_query_position_fold),
14012 (bin_query_position_done), (gst_bin_query):
14013 Position query should also take max of all streams.
14015 2006-03-20 Wim Taymans <wim@fluendo.com>
14017 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14018 (gst_fake_src_finalize):
14019 Fix leaks in fakesrc.
14021 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14022 Fix leaks in the testcase.
14024 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14026 * gst/gst_private.h:
14027 add win32 specific import decoration(__declspec(dllimport))
14028 for all extern GstDebugCategory * variables
14029 * win32/common/libgstbase.def:
14030 * win32/common/libgstcontroller.def:
14031 * win32/common/libgstreamer.def:
14032 Add some exports, remove empty lines
14033 * win32/common/libgstdataprotocol.def:
14034 * win32/common/libgstdataprotocol.dsp:
14035 * win32/common/libgstnet.def:
14036 * win32/common/libgstnet.dsp:
14037 new project files and exportation files added
14039 2006-03-19 Wim Taymans <wim@fluendo.com>
14041 * tests/check/libs/basesrc.c: (eos_event_counter):
14042 Use proper return value for probe.
14044 2006-03-17 Wim Taymans <wim@fluendo.com>
14046 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14048 Don't leak buffers, caps and pads on negotiation errors.
14050 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14052 * docs/faq/cvs.xml:
14053 * docs/faq/dependencies.xml:
14054 * docs/faq/developing.xml:
14055 * docs/faq/faq.xml:
14056 * docs/faq/general.xml:
14057 * docs/faq/getting.xml:
14058 * docs/faq/legal.xml:
14059 * docs/faq/troubleshooting.xml:
14060 * docs/faq/using.xml:
14061 Faq review and update.
14063 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14065 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14067 Don't pound the cpu to pieces by checking get_caps when accept_caps
14068 is called with the same caps as the pad already has.
14069 Use GST_DEBUG_OBJECT when outputting caps change information.
14071 2006-03-15 Wim Taymans <wim@fluendo.com>
14073 * gst/gstclock.c: (gst_clock_class_init):
14076 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14081 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14082 (gst_pad_accept_caps), (gst_pad_configure_sink),
14083 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14084 Make the default acceptcaps behaviour be to check the requested
14085 caps against the gst_pad_get_caps output.
14087 Ensure that gst_pad_accept_caps is used to check caps when a pad
14088 doesn't have a setcaps function, so that pads automatically refuse
14089 caps that they don't allow in their pad template. (Fixes #332986)
14091 When a buffer with attached caps is pushed, ensure that the source
14092 pad receives those caps even if the element didn't call
14093 gst_pad_set_caps first.
14095 2006-03-15 Wim Taymans <wim@fluendo.com>
14097 * libs/gst/base/gstadapter.c:
14100 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14102 * win32/common/libgstbase.def:
14103 * win32/common/libgstcontroller.def:
14104 * win32/common/libgstreamer.def:
14105 Add a whole bunch of missing functions (#334434).
14107 2006-03-14 Wim Taymans <wim@fluendo.com>
14109 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14110 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14111 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14112 Better debug info when we receive a segment event.
14113 Reorganize a bit so we can pass the get_times() results around.
14114 Use the segment format when calculating the running time.
14115 Don't do QoS is sync is disabled or we have no clock or the
14116 element does not want us to sync to the clock.
14117 Don't drop buffers if QoS is disabled for now.
14119 2006-03-14 Wim Taymans <wim@fluendo.com>
14121 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14122 Marked the stats property as unimplemented so people don't get
14124 Add debug message when regression goes wrong.
14125 Added some more docs.
14127 2006-03-14 Wim Taymans <wim@fluendo.com>
14129 * gst/gstsegment.c: (gst_segment_to_stream_time):
14130 Return correct return type in case of errors.
14132 2006-03-14 Wim Taymans <wim@fluendo.com>
14134 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14135 Don't segfault on invalid formats.
14137 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14139 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14140 Can't use gst_segment_to_running_time() when the segment
14141 is not in GST_TIME_FORMAT (like with filesink, for example).
14142 Stops flac encoding pipelines from spewing critical warnings
14145 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14147 * gst/gstpipeline.c: (gst_pipeline_class_init):
14148 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14150 * plugins/elements/gsttypefindelement.c:
14151 (gst_type_find_element_handle_event):
14152 Don't try to typefind empty streams.
14154 2006-03-14 Wim Taymans <wim@fluendo.com>
14156 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14157 (gst_base_sink_do_qos):
14158 Separate QoS calculation.
14159 Only drop buffers when lateness is bigger than the
14160 duration of the buffer.
14162 2006-03-13 Wim Taymans <wim@fluendo.com>
14164 * gst/gstpipeline.c: (gst_pipeline_set_property),
14165 (gst_pipeline_get_property), (do_pipeline_seek),
14166 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14167 (gst_pipeline_get_delay):
14168 Don't deadlock when reading properties.
14170 2006-03-13 Wim Taymans <wim@fluendo.com>
14172 * libs/gst/base/gstbasetransform.c:
14173 (gst_base_transform_class_init), (gst_base_transform_init),
14174 (gst_base_transform_sink_event),
14175 (gst_base_transform_sink_eventfunc),
14176 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14177 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14178 (gst_base_transform_set_property),
14179 (gst_base_transform_get_property),
14180 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14181 (gst_base_transform_set_qos_enabled),
14182 (gst_base_transform_is_qos_enabled):
14183 * libs/gst/base/gstbasetransform.h:
14184 Make basetransform virtual method for src events too.
14185 Handle QOS in basetransform.
14186 API: gst_base_transform_update_qos()
14187 API: gst_base_transform_set_qos_enabled()
14188 API: gst_base_transform_is_qos_enabled()
14190 2006-03-13 Wim Taymans <wim@fluendo.com>
14192 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14193 (gst_base_sink_do_sync):
14195 Use QOS debug category.
14197 2006-03-13 Wim Taymans <wim@fluendo.com>
14199 * plugins/elements/gstqueue.c:
14200 Very small doc update.
14202 2006-03-13 Wim Taymans <wim@fluendo.com>
14204 * gst/gst_private.h:
14205 * gst/gstinfo.c: (_gst_debug_init):
14206 Added QOS debug category
14208 2006-03-13 Wim Taymans <wim@fluendo.com>
14210 * docs/gst/gstreamer-sections.txt:
14211 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14213 * gst/gstbus.c: (gst_bus_class_init):
14216 * gst/gstelement.c: (gst_element_set_locked_state):
14217 * gst/gstsegment.c:
14218 Documentation updates.
14220 * gst/gstpipeline.c: (gst_pipeline_get_type),
14221 (gst_pipeline_class_init), (gst_pipeline_init),
14222 (gst_pipeline_dispose), (gst_pipeline_set_property),
14223 (gst_pipeline_get_property), (do_pipeline_seek),
14224 (gst_pipeline_send_event), (gst_pipeline_change_state),
14225 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14226 (gst_pipeline_get_delay):
14227 * gst/gstpipeline.h:
14228 Added methods for setting the delay.
14229 API: gst_pipeline_set_delay()
14230 API: gst_pipeline_get_delay()
14231 Add pipeline debug category
14234 Don't reset stream time when seek failed.
14236 2006-03-13 Wim Taymans <wim@fluendo.com>
14238 * docs/design/draft-klass.txt:
14239 * docs/design/part-clocks.txt:
14240 * docs/design/part-events.txt:
14241 * docs/design/part-gstbin.txt:
14242 * docs/design/part-gstpipeline.txt:
14243 * docs/design/part-messages.txt:
14244 * docs/design/part-negotiation.txt:
14245 * docs/design/part-overview.txt:
14246 * docs/design/part-preroll.txt:
14247 * docs/design/part-seeking.txt:
14248 * docs/design/part-states.txt:
14249 * docs/design/part-streams.txt:
14250 Documentation updates.
14252 2006-03-12 Julien MOUTTE <julien@moutte.net>
14254 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14255 us to leak strings...
14257 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14259 * libs/gst/net/gstnettimeprovider.c:
14261 * win32/common/config.h:
14264 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14266 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14269 Don't check for libgnomeui (leftover from old examples
14270 that aren't built or disted any longer) (#334303).
14272 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14274 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14275 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14276 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14277 there's no space left on the device.
14279 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14282 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14283 to cast the input to GstClockTime before comparing with
14284 another GstClockTime value.
14286 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14291 === release 0.10.4 ===
14293 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14296 releasing 0.10.4, "Light"
14298 2006-03-10 Michael Smith <msmith@fluendo.com>
14300 * libs/gst/dataprotocol/dataprotocol.c:
14301 Fix docs for dataprocotol to not get the return types completely
14302 wrong for a few functions.
14304 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14306 * docs/gst/gstreamer-sections.txt:
14307 * gst/gstpipeline.c: (gst_pipeline_class_init),
14308 (gst_pipeline_init), (gst_pipeline_set_property),
14309 (gst_pipeline_get_property), (gst_pipeline_change_state),
14310 (gst_pipeline_set_auto_flush_bus),
14311 (gst_pipeline_get_auto_flush_bus):
14312 * gst/gstpipeline.h:
14313 Add new API: gst_pipeline_set_auto_flush_bus() and
14314 gst_pipeline_get_auto_flush_bus() to disable automatic
14315 flushing of the pipeline's GstBus when going from READY
14316 to NULL state (#332045).
14318 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14320 * docs/gst/gstreamer-sections.txt:
14321 * gst/gsturi.c: (gst_uri_has_protocol):
14323 Add new API: gst_uri_has_protocol() (#333779).
14325 2006-03-09 Wim Taymans <wim@fluendo.com>
14327 * gst/gstclock.c: (gst_clock_entry_new),
14328 (gst_clock_id_compare_func), (gst_clock_id_wait),
14329 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14330 (gst_clock_init), (gst_clock_get_internal_time),
14331 (gst_clock_set_master), (do_linear_regression),
14332 (gst_clock_add_observation), (gst_clock_set_property):
14336 Fix a possible segfault when the window-size is made smaller.
14337 Calculate jitter before performing the clock wait. Ideally
14338 the clock implementation should calculate jitter but we need
14339 API breakage for that.
14341 * gst/gstsystemclock.c: (gst_system_clock_init):
14344 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14345 Remove leftover else
14347 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14348 (gst_systemclock_suite):
14349 Added check to test GST_CLOCK_DIFF.
14351 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14353 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14354 (gst_type_find_helper_get_range):
14355 If we are provided with the size, we should implement
14356 GstTypeFind::get_length, so that typefind functions who
14357 want to can actually peek at the middle of a file.
14359 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14361 * docs/manual/advanced-dataaccess.xml:
14362 Add some very very basic error checking.
14364 * docs/pwg/appendix-checklist.xml:
14365 Some updates to the list of things to check when writing an element.
14367 2006-03-08 Wim Taymans <wim@fluendo.com>
14369 * docs/design/part-element-transform.txt:
14370 Added some docs about the design of tranform elements.
14372 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14373 (gst_base_src_loop), (gst_base_src_change_state):
14374 Mark buffers with the DISCONT flag.
14376 2006-03-08 Michael Smith <msmith@fluendo.com>
14378 * gst/gstregistry.h:
14379 * gst/gstregistryxml.c: (gst_registry_save),
14380 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14381 (gst_registry_xml_save_pad_template),
14382 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14383 (gst_registry_xml_write_cache):
14384 Rewrite registry-saving to avoid race conditions and check for
14387 2006-03-08 Wim Taymans <wim@fluendo.com>
14389 * libs/gst/base/gstbasetransform.c:
14390 (gst_base_transform_transform_caps),
14391 (gst_base_transform_transform_size),
14392 (gst_base_transform_prepare_output_buffer),
14393 (gst_base_transform_get_unit_size),
14394 (gst_base_transform_buffer_alloc),
14395 (gst_base_transform_handle_buffer),
14396 (gst_base_transform_change_state):
14397 Cleanups, separate normal flow from errors, add sensible
14399 Don't try to renegotiate when allocating an output buffer.
14400 Also copy DISCONT buffer flag when copying a buffer.
14401 Reset the transform after we finish streaming, not during.
14403 2006-03-08 Wim Taymans <wim@fluendo.com>
14405 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14406 Use last buffer timestamp in qos message.
14408 2006-03-07 Wim Taymans <wim@fluendo.com>
14410 Patch by: Christophe Fergeau
14412 * docs/pwg/advanced-tagging.xml:
14413 * docs/pwg/building-pads.xml:
14416 2006-03-07 Wim Taymans <wim@fluendo.com>
14418 * docs/libs/gstreamer-libs-sections.txt:
14419 Added basesink new methods.
14423 Docs updates. Flesh out the QoS docs.
14425 * libs/gst/base/gstadapter.c:
14426 Small doc clarification about ownership and flushing.
14428 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14429 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14430 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14431 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14432 * libs/gst/base/gstbasesink.h:
14434 Added new methods to allow subclass to control max-lateness
14436 Generate very basic QoS events based on last sync observation.
14437 Updated docs, fix typo, added some QoS blurb.
14439 * libs/gst/base/gstbasesrc.c:
14440 Remove obsolete _get_state() calls from docs.
14442 2006-03-07 Wim Taymans <wim@fluendo.com>
14444 * docs/libs/gstreamer-libs-sections.txt:
14445 * libs/gst/base/gstbasetransform.h:
14446 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14447 Fix docs for GstBaseSrc.
14449 2006-03-07 Wim Taymans <wim@fluendo.com>
14451 * docs/gst/gstreamer-sections.txt:
14454 * libs/gst/base/gstbasetransform.h:
14455 Small documentation fixes.
14457 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14460 Document thread-unsafety of gst_value_register_foo_func()
14461 when used at the same time as gst_value_foo() (#322628).
14463 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14465 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14466 (gst_push_src_check_get_range):
14467 Push sources don't support pull mode by default.
14469 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14471 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14472 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14473 (gst_base_src_default_check_get_range):
14474 * libs/gst/base/gstbasesrc.h:
14475 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14476 provide default implementation, and rename
14477 gst_base_src_check_get_range() to
14478 gst_base_src_pad_check_get_range() for clarity.
14480 2006-03-06 Wim Taymans <wim@fluendo.com>
14482 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14483 Make property overridable.
14485 2006-03-06 Wim Taymans <wim@fluendo.com>
14487 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14488 (gst_base_sink_init), (gst_base_sink_set_property),
14489 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14490 * libs/gst/base/gstbasesink.h:
14491 API addition: Make max-lateness a property.
14493 2006-03-06 Wim Taymans <wim@fluendo.com>
14495 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14496 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14497 Don't ever draw a frame that is >10ms late.
14499 2006-03-06 Michael Smith <msmith@fluendo.com>
14501 * gst/gstmessage.c: (_gst_message_copy):
14502 When copying a message, set the parent_refcount of the enclosed
14503 structure to point at the copy, not the original message.
14505 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14507 Patch by: Christophe Fergeau
14510 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14511 usable in c++ code (#333417)
14513 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14516 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14518 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14520 * libs/gst/base/gstbasetransform.c:
14521 (gst_base_transform_transform_caps):
14522 Make sure caps are writable before passing them to
14525 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14528 Fix some minor docs errors.
14530 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14532 Patch by: Ross Burton <ross at burtonini dot com>
14534 * gst/gsterror.c: (_gst_resource_errors_init):
14536 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14538 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14541 Add a check and output a g_warning when GStreamer is built
14542 against GLib 2.6 but running against 2.8 or higher, and vice
14543 versa. (Closes: #323542)
14545 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14547 * gst/parse/parse.l:
14548 Commit patch for parse_launch syntax from #331255. Removes
14549 support for quoted strings and mimetypes when writing filtered
14550 caps. See the bug report for more details - I'm pretty sure this
14551 obscure feature is not in use by _anyone_ anywhere.
14553 With this simple change, the size of the gstreamer.so here
14554 drops from 2193KB to 1565KB.
14556 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14558 * plugins/elements/gsttypefindelement.h:
14559 * plugins/elements/gsttypefindelement.c:
14560 (gst_type_find_element_src_event), (start_typefinding),
14561 (stop_typefinding), (gst_type_find_element_handle_event),
14562 (gst_type_find_element_chain),
14563 (gst_type_find_element_chain_do_typefinding):
14564 Use gst_type_find_helper_for_buffer() for chain-based
14567 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14569 * plugins/elements/gsttypefindelement.c:
14570 (gst_type_find_element_class_init),
14571 (gst_type_find_element_set_property),
14572 (gst_type_find_element_get_property):
14573 Deprecate "maximum" property (not only was it only taken into
14574 account for typefinding in push-mode anyway, it also was never
14575 actually possible to set it in the first place because the
14576 property was registered with the numeric property ID for the
14577 "minimum" property). Register "maximum" property correctly,
14578 for the sake of future copy'n'pasters. Remove some cruft
14579 from property get/set functions.
14581 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14583 * plugins/elements/gsttypefindelement.c:
14584 (gst_type_find_element_activate):
14585 Use gst_type_find_helper_get_range() here, so we
14586 can honour the "minimum" property and also emit
14587 the signal with the correct probability of the found caps.
14589 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14591 * docs/libs/gstreamer-libs-sections.txt:
14592 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14593 (helper_find_suggest), (gst_type_find_helper_get_range),
14594 (gst_type_find_helper):
14595 * libs/gst/base/gsttypefindhelper.h:
14596 New API: gst_type_find_helper_get_range() (#333042).
14598 2006-03-02 Michael Smith <msmith@fluendo.com>
14600 * gst/gstregistryxml.c: (load_feature):
14601 Asserting on a failure to read part of the registry is Not Cool.
14602 Just log a warning and return NULL (which is already handled)
14604 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14606 * win32/common/libgstbase.def:
14607 added export of gst_type_find_helper_for_buffer
14608 * win32/common/libgstbase.def:
14609 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14610 gst_ghost_pad_get_target
14612 2006-02-28 Wim Taymans <wim@fluendo.com>
14614 * docs/design/draft-klass.txt:
14616 Added Connector to mark elements that are only used to
14617 allow pipeline connections.
14618 Moved Debug to extra feature since most of them are
14619 functionally something else.
14621 2006-02-28 Wim Taymans <wim@fluendo.com>
14623 * docs/design/draft-klass.txt:
14624 Some updates and clarifications.
14626 2006-02-28 Wim Taymans <wim@fluendo.com>
14628 * docs/design/draft-klass.txt:
14629 Proposal for klass field values.
14631 * docs/design/part-streams.txt:
14632 Start of a doc describing stream anatomy.
14634 2006-02-28 Wim Taymans <wim@fluendo.com>
14636 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14637 Help the compiler a bit with type registration.
14638 Use existing forward cod path instead of duplicating it when
14639 handling a message.
14641 * gst/gstbus.c: (gst_bus_get_type):
14642 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14643 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14644 * gst/gstclock.c: (gst_clock_get_type):
14645 * gst/gstelement.c: (gst_element_get_type),
14646 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14647 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14648 * gst/gstminiobject.c: (gst_mini_object_get_type):
14649 * gst/gstpad.c: (gst_pad_get_type):
14650 * gst/gstsegment.c: (gst_segment_get_type):
14651 * gst/gststructure.c: (gst_structure_get_type):
14652 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14653 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14655 Help compiler with type registration.
14657 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14660 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14662 * plugins/elements/gsttypefindelement.c:
14663 (gst_type_find_element_handle_event):
14664 When we get an EOS event and have not found a type yet
14665 (most likely because we had not yet accumulated
14666 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14667 type given the data we have so far. Fixes typefinding
14668 for very short streams again, most notably quicktime
14669 redirections as used on Apple's trailer site (#331701).
14671 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14673 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14674 (gst_type_find_helper):
14675 Try typefinding factories with the highest rank first.
14677 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14679 * docs/libs/gstreamer-libs-docs.sgml:
14680 * docs/libs/gstreamer-libs-sections.txt:
14681 * libs/gst/base/gsttypefindhelper.c:
14682 Add section for typefind helper and add documentation
14683 for the old and the new function.
14685 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14687 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14688 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14689 (gst_type_find_helper_for_buffer):
14690 * libs/gst/base/gsttypefindhelper.h:
14691 New API: gst_type_find_helper_for_buffer() (#332723).
14693 2006-02-27 Michael Smith <msmith@fluendo.com>
14695 Patch by: Loïc Minier
14698 * docs/Makefile.am:
14699 * docs/slides/Makefile.am:
14700 prevent CVS directories getting disted.
14702 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14704 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14705 Use the REFCOUNTING category for caps refcounting.
14707 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14709 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14710 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14712 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14714 * plugins/elements/gsttypefindelement.c:
14715 (gst_type_find_element_activate):
14716 Use gst_pad_check_pull_range() before _activate_pull()
14717 to avoid unnecessary open/close (see #331690).
14719 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14722 Docs enhancement: make it crystal clear what the
14723 gst_pad_add_*_probe() callbacks should look like.
14725 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14727 * libs/gst/base/gstbasesrc.c:
14728 Document how applications can stop recording from
14729 live sources (see #330996).
14731 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14733 * tests/check/Makefile.am:
14734 * tests/check/libs/basesrc.c: (eos_event_counter),
14735 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14736 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14737 (gst_basesrc_suite), (main):
14738 ... and add some tests for the base source EOS stuff.
14740 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14742 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14743 Test case originally showed the problem fixed below,
14744 but was then amended. Add checks back at the place
14745 where they used to be.
14747 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14749 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14750 (gst_base_src_init), (gst_base_src_loop),
14751 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14752 (gst_base_src_change_state):
14753 * libs/gst/base/gstbasesrc.h:
14754 Don't unconditionally send EOS when going from PAUSED to
14755 READY state, esp. make sure we don't send two EOS events
14756 in some cases (e.g. one when reaching EOS and one when
14757 going from PAUSED to READY). Also, we don't want to send
14758 EOS events when operating in pull mode. However, we do
14759 want to send an EOS event when shutting down a live
14760 source explicitly, for example (fixes #330996).
14762 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14764 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14765 Update src->read_position after a seek when not using mmap.
14766 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14768 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14774 Make things work with --disable-parse as they do with
14775 --disable-load-save - the symbols involved disappear, but the
14776 header is still installed and GST_DISABLE_PARSE is included via
14779 2006-02-20 Julien MOUTTE <julien@moutte.net>
14781 * libs/gst/base/gstbasetransform.c:
14782 (gst_base_transform_change_state): Fix a stupid bug. I was
14783 sure I compiled that.
14785 2006-02-20 Julien MOUTTE <julien@moutte.net>
14787 * gst/gstpad.c: (gst_pad_set_blocked_async):
14788 * gst/gstutils.c: (gst_pad_add_data_probe),
14789 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14790 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14791 (gst_pad_remove_buffer_probe): Make those function act on the
14792 ghostpad target when it's a ghostpad. (Closes #331727)
14794 2006-02-20 Julien MOUTTE <julien@moutte.net>
14796 * libs/gst/base/gstbasetransform.c:
14797 (gst_base_transform_change_state): Make basetransform reusable.
14800 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14802 * docs/random/release:
14803 Move the current documentation of how to do a release to the top
14806 * gst/gstbin.c: (gst_bin_class_init),
14807 (gst_bin_handle_message_func):
14808 Allow multiple state-recalculation threads. (Closes #328873)
14810 2006-02-19 Julien MOUTTE <julien@moutte.net>
14812 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14813 * gst/gstpad.c: (gst_pad_set_event_function),
14814 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14815 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14816 2 strings. You can't use the STR_NULL macro on that.
14818 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14820 * gst/gstpad.c: (gst_pad_set_event_function),
14821 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14822 (gst_pad_set_getcaps_function)
14823 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14824 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14825 So now, we can use --gst-debug-level=5 on Windows
14826 * win32/common/libgstcontroller.def:
14827 Added export of gst_controller_init
14828 * win32/vs6/libgstcontroller.dsp:
14829 Fixed Release post build configuration
14831 2006-02-17 Wim Taymans <wim@fluendo.com>
14833 * tests/check/gst/gstquery.c: (GST_START_TEST):
14834 Added another check.
14836 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14838 * plugins/elements/gsttypefindelement.c: (find_peek):
14839 We can do peeks at non-zero offsets, as long as they
14840 fall within the buffer we have.
14842 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14844 * tests/check/Makefile.am:
14845 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14846 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14847 (parse_suite), (main):
14848 Add testsuite for parse launch syntax
14850 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14852 * plugins/elements/gsttypefindelement.c:
14853 (gst_type_find_element_chain):
14854 When typefinding is unsuccessful in the chain function, don't
14855 error out immediately. Only error out with NO_CAPS_FOUND if
14856 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14857 otherwise simply wait for more data so we can try typefinding
14858 again with more data later. Also, don't attempt to typefind
14859 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14860 this should improve typefinding from network sources where the
14861 size of the first buffer can be somewhat random.
14863 2006-02-14 Wim Taymans <wim@fluendo.com>
14865 * docs/gst/gstreamer-sections.txt:
14866 * gst/gstpadtemplate.c:
14867 * gst/gstpadtemplate.h:
14868 Fix padtemplate docs, fixes #328805.
14870 2006-02-14 Wim Taymans <wim@fluendo.com>
14872 * tools/gst-launch.c: (main):
14873 NO_PREROLL is not an ERROR so don't send confusing messages
14876 2006-02-14 Wim Taymans <wim@fluendo.com>
14878 Patch by: Torsten Schoenfeld
14880 * gst/gstregistry.c: (gst_registry_get_default),
14881 (_gst_registry_cleanup):
14882 Protect default registry with lock and ref/sink it.
14885 2006-02-14 Wim Taymans <wim@fluendo.com>
14888 * gst/gstquery.c: (gst_query_list_add_format),
14889 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14890 (gst_query_parse_formats_nth):
14891 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14894 2006-02-14 Wim Taymans <wim@fluendo.com>
14896 * docs/gst/gstreamer-sections.txt:
14897 Reworked query docs.
14899 * gst/gstquery.c: (gst_query_new_formats),
14900 (gst_query_list_add_format), (gst_query_set_formats),
14901 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14902 (gst_query_parse_formats_nth):
14904 Flesh out formats query, added some new methods.
14905 Fix part of #324398.
14907 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14908 Added query creation tests.
14910 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
14912 * gst/gstpad.c: (fixate_value):
14913 Add a default fixation for fraction lists.
14915 2006-02-13 Wim Taymans <wim@fluendo.com>
14917 * gst/gsttask.c: (gst_task_init), (gst_task_func),
14918 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14921 Detect and warn for obvious deadlocks. fixes #320340
14922 Fix error case where lock was not released.
14924 * tests/check/Makefile.am:
14925 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14926 (task_func), (gst_element_suite), (main):
14929 2006-02-13 Wim Taymans <wim@fluendo.com>
14931 * docs/gst/gstreamer-sections.txt:
14933 Add new functions to docs.
14935 2006-02-13 Wim Taymans <wim@fluendo.com>
14937 * docs/design/part-TODO.txt:
14938 Updated TODO list, basesrc supports seeking to non-bytes
14941 * docs/design/part-element-sink.txt:
14944 * gst/gstbin.c: (bin_replace_message),
14945 (gst_bin_handle_message_func):
14946 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14947 * gst/gstevent.c: (gst_event_finalize):
14948 * gst/gstpad.c: (gst_pad_event_default_dispatch),
14949 (gst_pad_send_event):
14950 Use shiny new _TYPE_NAME macros.
14952 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14953 Move debug statement up.
14955 * gst/gstelement.c: (gst_element_set_locked_state):
14956 Add some debugging.
14958 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
14960 * docs/gst/gstreamer-sections.txt:
14961 * gst/gstmessage.h:
14963 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14964 macros (#330906). Also, document the already existing
14965 GST_QUERY_TYPE macro.
14967 2006-02-13 Wim Taymans <wim@fluendo.com>
14969 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14970 (event_probe), (GST_START_TEST):
14971 Only events up to the pipeline EOS are counted, there are
14972 some more when going to NULL currently which we don't care
14975 2006-02-13 Wim Taymans <wim@fluendo.com>
14977 * gst/gstpad.c: (gst_pad_send_event):
14978 Correctly check flushing and emit probes. fixes #330125
14980 2006-02-10 Andy Wingo <wingo@pobox.com>
14982 * gst/gstbus.c (gst_bus_class_init): Declare our private data
14984 (gst_bus_init): Cache the location of the private data in the
14985 instance structure.
14986 (gst_bus_enable_sync_message_emission)
14987 (gst_bus_disable_sync_message_emission): Implement new public
14989 (gst_bus_post): Emit the sync-message signal if the user asked for
14992 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
14993 location of the bus-private structure.
14994 (gst_bus_enable_sync_message_emission)
14995 (gst_bus_disable_sync_message_emission): API addition
14997 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
14999 Patch by: Vincent Torri
15001 * docs/pwg/building-boiler.xml:
15002 PWG patch from #326800
15004 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15007 * docs/Makefile.am:
15008 * docs/design/Makefile.am:
15011 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15016 === release 0.10.3 ===
15018 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15021 releasing 0.10.3, "Like a virgin"
15023 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15026 2nd prerelease of 0.10.3
15027 Bump libtool versioning.
15029 2006-02-07 Andy Wingo <wingo@pobox.com>
15031 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15032 update last_stop if we're in TIME format and the timestamp is
15035 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15036 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15037 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15038 If we get a new newsegment with a different format, adapt
15041 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15042 of 0. Not a problem, really.
15044 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15047 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15052 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15055 project files updated to the default vs7 configuration
15056 * win32/common/libgstbase.def:
15057 * win32/common/libgstreamer.def:
15059 removed empty lines,
15060 sorted all exported symbols alphabetically
15061 * win32/common/dirent.c:
15062 * win32/common/dirent.h:
15063 * win32/common/gchar.h:
15064 use windows line end.
15066 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15068 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15069 Send EOS event when stopping.
15071 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15074 Tell folks what to do if the plugin-foobar.xml file
15075 hasn't been generated for a newly-added plugin.
15077 2006-02-05 Julien MOUTTE <julien@moutte.net>
15079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15080 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15081 (gst_collect_pads_start), (gst_collect_pads_stop),
15082 (gst_collect_pads_event): Collectpads now holds a reference
15083 to the GstPad that was added. Indeed we don't want to look
15084 at pads that might just go away with no warning...
15086 2006-02-05 Julien MOUTTE <julien@moutte.net>
15088 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15089 (gst_collect_pads_start), (gst_collect_pads_stop),
15090 (gst_collect_pads_event), (gst_collect_pads_chain):
15091 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15092 Mark Nauwelaerts's patch on bug #328491.
15094 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15096 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15098 Add some simple tests for gst_parse_bin_from_description() and
15099 gst_bin_find_unconnected_pad() (#329069).
15101 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15103 * tools/gst-launch.c: (event_loop), (main):
15104 Catch errors during preroll (#320084).
15106 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15108 * plugins/elements/gsttypefindelement.c:
15109 (gst_type_find_element_activate):
15110 Post TYPE_NOT_FOUND error message when typefinding
15111 is unsuccessful in the activate function as well.
15113 2006-02-02 Wim Taymans <wim@fluendo.com>
15115 * docs/design/part-element-sink.txt:
15118 2006-02-02 Wim Taymans <wim@fluendo.com>
15120 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15121 (gst_base_sink_render_object),
15122 (gst_base_sink_queue_object_unlocked):
15123 Only keep track of prerollable items when we are
15125 Before rendering after preroll, always check if we
15127 Added some more debugging.
15129 2006-02-02 Wim Taymans <wim@fluendo.com>
15131 * gst/gstelement.c: (gst_element_continue_state),
15132 (gst_element_set_state_func), (gst_element_change_state):
15133 Fixed #326576, been running this for quite some time with
15134 no regressions at all.
15136 2006-02-02 Wim Taymans <wim@fluendo.com>
15139 Added more suppressions
15141 2006-02-02 Wim Taymans <wim@fluendo.com>
15143 * docs/design/part-element-sink.txt:
15146 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15147 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15148 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15149 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15150 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15151 (gst_base_sink_preroll_object),
15152 (gst_base_sink_queue_object_unlocked),
15153 (gst_base_sink_queue_object), (gst_base_sink_event),
15154 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15155 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15156 (gst_base_sink_get_position), (gst_base_sink_change_state):
15157 * libs/gst/base/gstbasesink.h:
15158 Totally refactored matching the design doc.
15159 Use two segments, one to clip incomming buffers and another to
15161 Handle queueing correctly, bypass the queue when playing.
15162 Make EOS cancelable.
15163 Handle errors correctly when operating in pull based mode.
15165 * tests/check/elements/fakesink.c: (GST_START_TEST),
15167 Added new check for sinks.
15169 2006-02-02 Wim Taymans <wim@fluendo.com>
15171 * gst/gstsegment.c: (gst_segment_clip):
15172 No reason to refuse to clip when start == -1
15174 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15177 * docs/manual/intro-basics.xml:
15178 * docs/manual/intro-preface.xml:
15179 * docs/manual/manual.xml:
15180 * docs/pwg/advanced-dparams.xml:
15181 * docs/pwg/intro-basics.xml:
15182 * docs/pwg/intro-preface.xml:
15183 * docs/pwg/pwg.xml:
15184 describe dparams (controller) for plugins
15185 unify docs a little more
15187 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15189 * docs/gst/gstreamer-sections.txt:
15190 * gst/gstutils.c: (element_find_unconnected_pad),
15191 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15193 Add new API: gst_parse_bin_from_description() and
15194 gst_bin_find_unconnected_pad() (#329069).
15196 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15198 * docs/manual/README:
15199 uncover a nasty detail of the docs build
15201 2006-01-31 Wim Taymans <wim@fluendo.com>
15203 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15204 Don't cache duration messages if we're not going to use or
15207 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15209 * docs/manual/advanced-dparams.xml:
15210 * docs/pwg/advanced-dparams.xml:
15214 * libs/gst/controller/lib.c: (gst_controller_init):
15217 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15219 * gst/gstelement.c: (gst_element_message_full):
15220 also show file/line/func if no additional debug was given
15222 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15224 * win32/vs7/grammar.vcproj:
15225 activate copy of autogenerated files for Release mode
15227 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15229 * win32/common/libgstreamer.def:
15230 export gst_value_compare
15232 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15234 * plugins/elements/Makefile.am:
15235 * plugins/elements/gstelements.c:
15236 * plugins/elements/gstfdsink.c: (_do_init),
15237 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15238 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15239 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15240 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15241 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15242 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15243 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15244 * plugins/elements/gstfdsink.h:
15245 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15247 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15249 * docs/manual/advanced-dparams.xml:
15250 describe controller
15251 * docs/manual/advanced-position.xml:
15252 * docs/manual/basics-init.xml:
15253 * docs/manual/manual.xml:
15254 * docs/manual/titlepage.xml:
15255 * docs/pwg/pwg.xml:
15256 * docs/pwg/titlepage.xml:
15257 cleanup xml (more to come)
15258 * libs/gst/controller/gstcontroller.c:
15261 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15263 * win32/vs6/grammar.dsp:
15264 add autogen of gstmarshal.c,h for Release mode
15266 2006-01-30 Wim Taymans <wim@fluendo.com>
15268 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15269 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15270 (gst_base_sink_handle_object), (gst_base_sink_event),
15271 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15272 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15273 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15274 (gst_base_sink_deactivate), (gst_base_sink_activate),
15275 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15276 (gst_base_sink_query), (gst_base_sink_change_state):
15277 Basesink cleanups, remove some old code.
15278 Handle the case where a subclass can preroll in the render
15279 method (mostly audiosinks).
15280 Handle more events.
15281 Remove some locks around variables that are now protected
15282 with the PREROLL_LOCK (clock_id, flushing, ..).
15283 Optimize position query some more, do correct locking.
15284 Remove old code to push queue in state change, this is not
15285 needed anymore since preroll blocks on all prerollable items
15287 Almost implemented as described in design doc.
15289 2006-01-30 Wim Taymans <wim@fluendo.com>
15291 * tests/check/gst/gstbin.c: (GST_START_TEST):
15292 Wait for refcount to settle down before checking.
15294 2006-01-30 Wim Taymans <wim@fluendo.com>
15296 * docs/design/part-element-sink.txt:
15297 Pseudo code overview of desired sink behaviour regarding
15300 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15301 * win32/vs6/grammar.dsp:
15302 fix some bugs in Release mode for autogenerated files
15304 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15305 * win32/common/libgstbase.def:
15306 * win32/common/libgstreamer.def:
15307 export some new symbols: gst_base_src_set_format,
15308 gst_iterator_next, gst_structure_set_valist
15310 2006-01-29 Julien MOUTTE <julien@moutte.net>
15312 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15313 Set pad functions unconditionally. Fixes #329105.
15315 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15317 add vs8 project files created by Sergey Scobich
15319 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15321 * gst/gstutils.c: (gst_element_unlink_pads):
15322 Don't leak pad references.
15324 * tests/check/elements/fakesink.c: (GST_START_TEST):
15325 * tests/check/generic/sinks.c: (GST_START_TEST):
15326 * tests/check/generic/states.c: (GST_START_TEST):
15327 * tests/check/gst/gstbin.c: (GST_START_TEST):
15328 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15329 * tests/check/gst/gstelement.c: (GST_START_TEST):
15330 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15331 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15332 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15333 Fix a bunch of leaks. Make generic/sinks.c
15334 use a bit less cpu by slowing the buffer rate
15335 between fakesrc and fakesink.
15337 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15339 * gst/gstelement.c: (gst_element_send_event):
15342 * gst/gstiterator.c:
15343 * gst/gstiterator.h:
15344 * gst/gstpad.c: (gst_pad_send_event):
15345 * gst/gststructure.c:
15349 * libs/gst/base/gstadapter.c:
15350 doc fixes, to link to function, just write gst_cool_function(), don't
15353 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15355 * plugins/elements/gsttee.c: (gst_tee_do_push),
15356 (gst_tee_handle_buffer):
15357 Always prefer an actual return value from a src
15358 pad in place of NOT_LINKED. This means we return
15359 WRONG_STATE when all src pads are WRONG_STATE
15360 instead of NOT_LINKED.
15362 Lock when replacing the last message to prevent
15363 racing with the get_property method.
15367 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15369 * tests/check/Makefile.am:
15370 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15372 Add a very simple check that should have caught the memleak I fixed
15373 last night (if not for the slice allocator hiding it)
15375 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15377 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15378 (gst_bin_remove_func), (gst_bin_handle_message_func),
15379 (bin_query_duration_fold), (bin_query_generic_fold):
15380 Clean up references to the clock provider when disposed or when
15381 handling a clock-lost message from it.
15383 Unref sinks when performing a query via gst_iterator_fold, as the
15384 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15386 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15387 (gst_clock_set_master):
15388 Drop our reference to the master clock, if any, when we are disposed.
15390 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15391 Chain up in dispose.
15393 2006-01-26 Wim Taymans <wim@fluendo.com>
15395 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15396 Add some debugging.
15398 2006-01-26 Julien MOUTTE <julien@moutte.net>
15400 * plugins/elements/gsttee.c: (gst_tee_do_push),
15401 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15402 handles pad being NOT_LINKED or in WRONG_STATE.
15404 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15409 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15412 remove obsolete entry
15414 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15416 * docs/gst/gstreamer-sections.txt:
15417 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15418 (gst_bin_iterate_sources), (gst_bin_send_event):
15420 * gst/gstelement.c: (gst_element_send_event):
15422 * gst/gstpad.c: (gst_pad_send_event):
15423 added code for downstream events, reviewed docs in gstevent.c
15425 2006-01-25 Julien MOUTTE <julien@moutte.net>
15427 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15428 We only query position using the clock in the playing state.
15429 Query peer in the other cases.
15430 * win32/common/config.h: Updates.
15432 2006-01-24 Wim Taymans <wim@fluendo.com>
15434 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15435 A clock entry that is scheduled for the exact time of the
15436 clock is still in time.
15438 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15439 (gst_base_sink_do_sync):
15440 Add some more debug info.
15442 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15445 Add new vs7 project files and solution.
15447 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15450 all files removed as they were out-dated.
15452 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15454 * docs/random/release:
15456 * gst/gstbin.c: (gst_bin_init):
15457 * gst/gstbus.c: (gst_bus_new):
15459 * gst/gstpipeline.c: (gst_pipeline_init):
15460 use gst_bus_new(), improve logging, fix docs
15461 * win32/common/config.h:
15462 update for cvs build
15464 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15467 up required version of automake to 1.7
15469 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15471 * win32/common/libgstreamer.def:
15472 export gst_buffer_is_metadata_writable
15474 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15476 * docs/gst/gstreamer-sections.txt:
15478 Add gst_event_replace() (#327001)
15480 2006-01-20 Wim Taymans <wim@fluendo.com>
15482 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15483 Make it actually compile too..
15485 2006-01-20 Wim Taymans <wim@fluendo.com>
15488 Clarify behaviour of _is_equal() when passing NULL parameters.
15490 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15491 (gst_pad_set_caps):
15492 Cleanups. Don't unref NULL caps.
15493 When setting the same caps, protect caps of the pad with
15495 Use full functionality of _is_equal() when comparing caps.
15497 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15500 Don't loop infinitely if there are no buffers to present. Partially
15501 fixes #327197, but collectpads is just broken for reusing elements
15502 to do multiple encodes atm.
15504 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15506 * tools/gst-inspect.c: (print_element_features):
15507 * tools/gst-xmlinspect.c: (main):
15508 URL_HANDLER is not a plugin feature we can search for in
15511 2006-01-19 Edward Hervey <edward@fluendo.com>
15513 * gst/gstelement.c: (gst_element_pads_activate):
15514 When activating, do src pads first, then sink pads.
15515 When de-activating, do sink pads first, then src pads.
15517 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15519 * docs/gst/gstreamer-sections.txt:
15520 Add gst_index_add_associationv to the docs
15522 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15527 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15528 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15529 Do some refactoring. Doesn't actually change functionality,
15530 but makes landing the DRAIN event easier later.
15532 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15534 * docs/pwg/advanced-scheduling.xml:
15535 Update from 0.9.x to 0.10 API and make example a bit
15538 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15540 * docs/gst/gstreamer-sections.txt:
15541 Add gst_buffer_(is|make)_metadata_writable methods.
15543 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15545 * docs/design/part-sparsestreams.txt:
15546 Update sparse streams doc, hopefully for greater clarity
15548 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15550 * docs/design/part-events.txt:
15551 Remove mention of FILLER events.
15554 * docs/design/part-sparsestreams.txt:
15555 Write some things about using NEWSEGMENT to keep sparse streams
15558 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15560 * gst/gstbin.c: (gst_bin_dispose):
15561 Guard gst_object_unref call against a NULL object (dispose
15562 can theoretically be called multiple times).
15564 2006-01-18 Wim Taymans <wim@fluendo.com>
15566 * gst/gstbin.c: (gst_bin_element_set_state):
15567 * gst/gstclock.c: (gst_clock_id_wait):
15568 Added some more debug info.
15570 * libs/gst/base/gstadapter.c:
15573 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15574 (gst_base_sink_do_sync), (gst_base_sink_chain):
15575 Added some comments.
15577 2006-01-18 Wim Taymans <wim@fluendo.com>
15579 * tests/check/Makefile.am:
15580 * tests/check/elements/fakesink.c: (chain_async_buffer),
15581 (chain_async), (chain_async_return), (GST_START_TEST),
15582 (fakesink_suite), (main):
15583 Added fakesink test that checks prerolling and clipping
15586 * tests/check/gst/gstutils.c: (GST_START_TEST):
15587 Make check run faster so that buildbots don't timeout.
15589 2006-01-18 Wim Taymans <wim@fluendo.com>
15591 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15592 (gst_base_sink_do_sync):
15594 When the sink finishes blocking on the preroll buffer, it can
15595 immediatly render it instead of rendering when the next buffer
15598 2006-01-18 Wim Taymans <wim@fluendo.com>
15600 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15601 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15602 (gst_base_sink_chain):
15604 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15605 Don't store _last_stop if the buffer is dropped.
15607 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15609 * plugins/elements/gsttypefindelement.c:
15610 (gst_type_find_element_class_init):
15611 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15612 object method handler that sets the caps on the pad and we want
15613 that to happen before we emit the signal (fixes e.g. feeding a
15614 plain text file to decodebin).
15616 2006-01-18 Christian Schaller <Christian@fluendo.com>
15618 * gst/gstplugin.c: Add MPL and Proprietary as license options
15620 2006-01-18 Andy Wingo <wingo@pobox.com>
15622 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15623 symbol was exported before, it appears this was just an oversight.
15625 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15627 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15628 prototype to gint. OK since this prototype was not in the header.
15630 2006-01-17 Andy Wingo <wingo@pobox.com>
15632 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15633 registry while we remove plugins.
15635 * tools/gst-inspect.c (print_element_info): Don't unref the
15636 factory arg, that should be the responsibility of whatever code
15637 received the ref. Fixes a double-free when called from
15638 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15639 (main): Unref the factory if we have one.
15640 (print_element_list): No change -- relies on the
15641 plugin_feature_list_free to free the list of features.
15643 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15645 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15646 (gst_buffer_make_metadata_writable):
15648 * libs/gst/base/gstbasetransform.c:
15649 (gst_base_transform_prepare_output_buf):
15650 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15651 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15652 Replace gst_buffer_(make|is)_metadata_writable patch now
15653 that the release is out.
15655 2006-01-17 Andy Wingo <wingo@pobox.com>
15657 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15658 in the present tense without reference to versions.
15660 * gst/gstregistry.c (gst_registry_add_plugin)
15661 (gst_registry_remove_plugin, gst_registry_remove_feature)
15662 (gst_registry_find_feature, gst_registry_get_feature_list)
15663 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15664 (gst_registry_lookup, gst_registry_scan_path)
15665 (_gst_registry_remove_cache_plugins)
15666 (gst_registry_get_feature_list_by_plugin): Add argument
15669 === release 0.10.2 ===
15671 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15674 releasing 0.10.2, "If man is five"
15676 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15680 * libs/gst/base/gstbasetransform.c:
15681 (gst_base_transform_prepare_output_buf):
15682 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15683 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15684 Back out patch until after the release.
15686 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15688 * gst/gstminiobject.c:
15689 Spelling fix in docs.
15690 * ChangeLog - remove conflict indicator
15692 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15694 Reviewed By: Andy Wingo
15696 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15697 (gst_buffer_make_metadata_writable):
15699 Add gst_buffer_(is|make)_metadata_writable as analogues of
15700 gst_buffer_(is|make)_writable.
15702 * libs/gst/base/gstbasetransform.c:
15703 (gst_base_transform_prepare_output_buf):
15704 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15705 Use name gst_buffer_(is|make)_metadata_writable functions.
15707 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15708 Test gst_buffer_(is|make)_metadata_writable
15712 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15714 * docs/manual/Makefile.am:
15715 don't do parallel make
15718 * win32/common/config.h.in:
15719 add generations for HOST_CPU and GST_MAJORMINOR
15720 * win32/common/config.h:
15721 commit generated result
15723 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15725 * docs/manual/appendix-integration.xml:
15726 Update GNOME integration section to use gst_init_get_option_group()
15727 instead of the old popt stuff (#322911). Also, GNOME applications
15728 should now use gconf*sink and gconf*src instead of the old gconf
15731 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15734 * docs/gst/gstreamer-docs.sgml:
15735 * docs/gst/gstreamer-sections.txt:
15736 * docs/libs/gstreamer-libs-sections.txt:
15737 add new API entries to the docs
15738 * libs/gst/controller/Makefile.am:
15739 * libs/gst/controller/gstcontroller.c:
15740 * libs/gst/controller/gstcontroller.h:
15741 * libs/gst/controller/gstcontrollerprivate.h:
15742 * libs/gst/controller/gsthelper.c:
15743 * libs/gst/controller/gstinterpolation.c:
15744 move private structs to private header
15746 gstreamer-0.7 -> gstreamer-0.10
15747 * tests/check/libs/struct_i386.h:
15748 remove private structs
15750 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15752 * plugins/indexers/Makefile.am:
15753 Fixes as part of #317048
15755 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15757 * plugins/indexers/Makefile.am:
15758 fix #316086 - compilation when mmap is missing
15760 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15762 * libs/gst/base/gstbasesink.c:
15763 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15764 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15765 * win32/common/config.h:
15766 added some defines GST_MAJORMINOR and HOST_CPU
15767 * win32/common/libgstbase.def:
15768 * win32/common/libgstreamer.def:
15769 added some exported functions.
15771 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15773 * libs/gst/controller/gstcontroller.c:
15774 (gst_controlled_property_set_interpolation_mode),
15775 (gst_controlled_property_new):
15776 * libs/gst/controller/gstcontroller.h:
15777 * libs/gst/controller/gstinterpolation.c:
15778 (interpolate_none_get_string_value_array):
15779 make G_TYPE_STRING controlable
15781 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15784 * tools/gst-feedback.1.in:
15785 * tools/gst-inspect.1.in:
15786 * tools/gst-launch.1.in:
15787 * tools/gst-md5sum.1.in:
15788 * tools/gst-typefind.1.in:
15789 * tools/gst-xmlinspect.1.in:
15790 * tools/gst-xmllaunch.1.in:
15791 cleanup man-pages, remove reference to gst-register, document env-vars
15793 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15795 * gst/gstbuffer.c: (gst_buffer_span):
15796 gst_buffer_span should copy the timestamp of the first buffer
15797 if they were both originally overlapping subbuffers of the
15798 same parent, using the same logic as the 'slow copy' case.
15800 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15802 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15803 Need to awaken ALL the pads when we pop a buffer, otherwise
15804 collectpads only works when there is 2 input streams.
15806 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15808 * docs/random/ensonic/media-device-daemon.txt:
15811 fix doc example, add clarification
15812 * tools/gst-launch.1.in:
15813 add initial info about GST_PLUGIN_PATH, needs more work
15815 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15817 * docs/manual/basics-bins.xml:
15818 * docs/manual/basics-elements.xml:
15819 * docs/manual/intro-basics.xml:
15820 Some more minor docs additions and updates.
15822 2006-01-11 Wim Taymans <wim@fluendo.com>
15824 * docs/manual/basics-bins.xml:
15825 * docs/manual/basics-elements.xml:
15826 Some small fixes as pointed out by Ser-ver on IRC.
15828 2006-01-10 Edward Hervey <edward@fluendo.com>
15830 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15831 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15832 the single-segment mode.
15834 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15836 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15838 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15839 (gst_base_src_perform_seek), (gst_base_src_send_event),
15840 (gst_base_src_set_property), (gst_base_src_get_property),
15841 (gst_base_src_loop), (gst_base_src_start),
15842 (gst_base_src_activate_push):
15843 * libs/gst/base/gstbasesrc.h:
15844 Name (private) union; makes Sun's Forte compiler happy (#324900).
15846 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15849 gst-register is gone.
15851 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15853 * gst/gstvalue.c: (_gst_value_initialize):
15854 make the G_TYPE_DATE instantiation work if debug is disabled
15856 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15858 * gst/gstmessage.c: (gst_message_parse_tag),
15859 (gst_message_parse_error), (gst_message_parse_warning):
15860 Don't crash when return location for error/warning debug
15861 string is NULL; add fact that return locations can be
15862 NULL to docs where appropriate.
15864 2006-01-05 Wim Taymans <wim@fluendo.com>
15866 * gst/gstplugin.c: (gst_plugin_load_file):
15867 Replace strdup by g_strdup.
15869 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15871 * docs/pwg/advanced-types.xml:
15874 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15876 submitted by: Abel Cheung
15880 Added Chinese (traditional) translation
15882 2006-01-04 Wim Taymans <wim@fluendo.com>
15884 * docs/manual/basics-pads.xml:
15885 * docs/plugins/Makefile.am:
15886 * docs/plugins/gstreamer-plugins-docs.sgml:
15887 * docs/plugins/gstreamer-plugins-sections.txt:
15888 * docs/pwg/advanced-clock.xml:
15889 * docs/pwg/advanced-scheduling.xml:
15890 * docs/pwg/advanced-types.xml:
15891 * plugins/elements/gstfdsink.c:
15892 * plugins/elements/gstfdsrc.c:
15893 * plugins/elements/gstfdsrc.h:
15894 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15895 * plugins/elements/gstidentity.h:
15896 * plugins/elements/gstqueue.h:
15897 * plugins/elements/gsttee.c:
15898 * plugins/elements/gsttee.h:
15899 * plugins/elements/gsttypefindelement.c:
15900 (gst_type_find_element_class_init):
15901 * plugins/elements/gsttypefindelement.h:
15902 Small updates to various docs.
15903 Added core plugins to docs.
15905 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15908 add a suppression for liboil's uninitialized variable
15910 2006-01-02 James Livingston <jrl at ids dot org dot au>
15912 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15915 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15916 macro, so that gcc doesn't complain if the -Wmissing-prototypes
15917 compiler switch is being used (#325429).
15919 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
15921 * gst/gstbin.c: (gst_bin_query):
15922 Disable duration query caching in bins until it gets
15923 fixed (see #324807).
15925 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15927 * tools/gst-inspect.c: (print_element_properties_info):
15928 Handle properties of POINTER and BOXED type.
15930 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15932 * gst/gst.c: (init_post):
15933 Init tags stuff and some other things before loading
15934 any static plugins (there may be other static plugins
15935 than just the GStreamer ones, and they may want to
15936 register their own tags or formats or whatever, and
15937 preferably without segfaulting).
15939 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15940 Print at least a warning in the debug logs if we drop a
15941 query just because we don't know how to adjust the value
15942 in the particular format.
15944 2005-12-24 David Schleef <ds@schleef.org>
15946 * tools/gstreamer-completion:
15947 Replacement for gst-complete written in sh and sed. Only
15948 completes names of features, but that's 90% of what I want
15949 it for. Properties are not available in registry.xml. (Maybe
15952 === release 0.10.1 ===
15954 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
15957 releasing 0.10.1, "Nollaig chridheil"
15959 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
15961 * docs/faq/cvs.xml:
15962 Add missing quote, should be make ERROR_CFLAGS="".
15964 2005-12-20 Wim Taymans <wim@fluendo.com>
15966 * docs/design/part-trickmodes.txt:
15967 More documentation on trickmodes.
15969 2005-12-20 Edward Hervey <edward@fluendo.com>
15971 * gst/gstcaps.c: (gst_static_caps_get_type):
15973 API addition: GST_TYPE_STATIC_CAPS
15974 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15975 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15976 * gst/gstpadtemplate.h:
15977 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15978 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15981 2005-12-18 Wim Taymans <wim@fluendo.com>
15983 * libs/gst/base/gstadapter.c:
15984 * libs/gst/base/gstadapter.h:
15985 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15986 (gst_base_sink_get_position):
15987 * libs/gst/base/gstbasesink.h:
15988 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15989 (gst_base_src_default_query), (gst_base_src_default_do_seek),
15990 (gst_base_src_do_seek), (gst_base_src_perform_seek),
15991 (gst_base_src_send_event), (gst_base_src_update_length),
15992 (gst_base_src_get_range), (gst_base_src_loop),
15993 (gst_base_src_start):
15994 * libs/gst/base/gstbasesrc.h:
15995 * libs/gst/base/gstbasetransform.h:
15996 * libs/gst/base/gstcollectpads.h:
15997 * libs/gst/base/gstpushsrc.c:
15998 * libs/gst/base/gstpushsrc.h:
15999 * libs/gst/dataprotocol/dataprotocol.c:
16000 * libs/gst/dataprotocol/dataprotocol.h:
16001 * libs/gst/net/gstnetclientclock.h:
16002 * libs/gst/net/gstnettimeprovider.h:
16003 Documentation updates.
16005 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16007 * docs/manual/basics-helloworld.xml:
16008 Remove superfluous closing bracket in helloworld example.
16010 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16012 * tools/gst-launch.1.in:
16013 Update gst-launch man page; add a section with useful
16014 environment variables. Fixes #323882.
16016 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16019 * gst/gst_private.h:
16020 change some char* into char[]
16022 2005-12-16 Wim Taymans <wim@fluendo.com>
16024 * gst/gstregistryxml.c: (load_feature):
16026 Don't use g_object_unref on GstObjects so that we avoid
16027 leaks on unsafe glibs.
16029 2005-12-16 Wim Taymans <wim@fluendo.com>
16031 * gst/gstbin.c: (gst_bin_recalc_state):
16034 2005-12-16 Wim Taymans <wim@fluendo.com>
16036 * common/check.mak:
16037 Added make forever target for check.
16039 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16041 * gst/gst.c: (init_post):
16042 make the registry cache file HOST_CPU-dependent
16044 2005-12-16 Andy Wingo <wingo@pobox.com>
16046 * plugins/elements/gstbufferstore.c
16047 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16050 * tests/check/gst/gstobject.c
16051 (test_fake_object_name_threaded_unique): Pay attention to
16052 g_list_sort return value.
16054 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16056 * tools/gst-feedback-m.m:
16057 Update for 0.9/0.10 (fixes #323870).
16059 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16061 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16062 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16064 * tests/check/gst/gstminiobject.c: (my_foo_init),
16065 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16066 (test_value_collection), (gst_mini_object_suite):
16067 Add test to ensure refcounts end up as expected when passing
16068 GstMiniObjects through g_object_get() and g_object_set().
16070 2005-12-14 Julien MOUTTE <julien@moutte.net>
16072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16073 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16074 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16075 of collectpads. This version removes a lot of races without
16076 touching API/ABI. Yay !
16078 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16080 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16081 Don't allow activation of a srcpad in pull_range if it has no
16083 Change some debug statements to be a little clearer
16085 * plugins/elements/gsttypefindelement.c:
16086 (gst_type_find_handle_src_query):
16087 Check that we have a peer before executing queries thereupon.
16089 * tests/examples/metadata/read-metadata.c: (message_loop):
16090 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16091 immediately return us any available message with 0 timeout.
16093 2005-12-12 Michael Smith <msmith@fluendo.com>
16095 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16096 Don't unref factories after calling them.
16097 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16098 * plugins/elements/gsttypefindelement.c:
16099 (gst_type_find_element_chain):
16100 Free lists of factories after using them. Fixing typefinding memory
16103 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16105 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16106 (gst_plugin_feature_load):
16107 more meaningful debug output
16109 * tests/Makefile.am:
16110 * tests/old/examples/Makefile.am:
16111 make make distcheck happy again
16113 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16115 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16116 Catch the special case where we are operating chain-based,
16117 but the downstream peer pad has no chain function. Emit a
16118 custom error message in this case instead of letting the
16119 core generate one implying that this is some sort of core
16120 bug. It's not, it just means that whatever got plugged
16121 into the pipeline downstream when we announced the type
16122 can only operate pull-based, while our source can only
16123 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16124 Error string has not been marked for translation yet, as
16125 it probably needs some more work first.
16127 (gst_type_find_element_get_best_possibility):
16128 Add helper function to find the best of all available
16129 found possibilities that qualify given the min. threshold.
16131 (gst_type_find_element_handle_event):
16132 Fix the case where we get an EOS while still in TYPEFIND
16133 mode (we want to chose the best of all possible types,
16134 not just the first type that happens to be in our unsorted
16135 list of possible types).
16137 (gst_type_find_element_chain):
16138 Make sure we return GST_FLOW_ERROR when we errored out
16139 in stop_typefinding(); also, don't just find the best of
16140 all found type entries and then use the last examined
16141 type entry, but actually use the best entry.
16143 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16145 * tests/examples/typefind/typefind.c: (type_found):
16146 * tests/examples/xml/runxml.c: (xml_loaded):
16147 More gcc4 fixes and a mem leak fix.
16149 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16151 * tests/examples/xml/createxml.c: (object_saved):
16154 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16156 * tests/Makefile.am:
16157 enable the examples even more
16159 2005-12-12 Andy Wingo <wingo@pobox.com>
16161 * libs/gst/net/gstnettimeprovider.c
16162 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16163 (gst_net_time_provider_set_property)
16164 (gst_net_time_provider_get_property):
16165 API addition: Export "active" as a GObject property.
16166 (gst_net_time_provider_thread): Only respond to time queries if
16167 the time provider is active.
16169 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16170 NetTimeProvider, preserving binary compat.
16172 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16174 * tests/examples/controller/audio-example.c: (main):
16175 * tests/examples/launch/Makefile.am:
16176 convert comments again
16178 2005-12-12 Wim Taymans <wim@fluendo.com>
16180 * libs/gst/base/gstpushsrc.c:
16183 2005-12-12 Wim Taymans <wim@fluendo.com>
16185 * docs/libs/gstreamer-libs-sections.txt:
16186 Added new symbol to docs.
16188 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16189 (gst_base_src_init), (gst_base_src_set_format),
16190 (gst_base_src_default_query), (gst_base_src_query),
16191 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16192 (gst_base_src_perform_seek), (gst_base_src_send_event),
16193 (gst_base_src_default_event), (gst_base_src_event_handler),
16194 (gst_base_src_set_property), (gst_base_src_get_property),
16195 (gst_base_src_wait), (gst_base_src_do_sync),
16196 (gst_base_src_update_length), (gst_base_src_get_range),
16197 (gst_base_src_check_get_range), (gst_base_src_loop),
16198 (gst_base_src_default_negotiate), (gst_base_src_start),
16199 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16200 (gst_base_src_change_state):
16201 * libs/gst/base/gstbasesrc.h:
16202 Implement seeking to other formats than _BYTES.
16203 Implement more seeking methods correctly.
16205 Added query vmethod.
16206 Added do_seek vmethod to make life easier for subclasses
16208 API addition: gst_base_src_set_format()
16210 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16212 * tests/examples/Makefile.am:
16215 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16218 * docs/random/ensonic/media-device-daemon.txt:
16219 * tests/examples/controller/.cvsignore:
16220 * tests/examples/controller/Makefile.am:
16221 * tests/examples/controller/audio-example.c: (main):
16222 * tests/examples/helloworld/.cvsignore:
16223 * tests/examples/helloworld/Makefile.am:
16224 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16225 * tests/examples/launch/.cvsignore:
16226 * tests/examples/launch/Makefile.am:
16227 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16228 * tests/examples/metadata/.cvsignore:
16229 * tests/examples/metadata/Makefile.am:
16230 * tests/examples/metadata/read-metadata.c: (message_loop),
16231 (make_pipeline), (print_tag), (main):
16232 * tests/examples/queue/.cvsignore:
16233 * tests/examples/queue/Makefile.am:
16234 * tests/examples/queue/queue.c: (event_loop), (main):
16235 * tests/examples/typefind/.cvsignore:
16236 * tests/examples/typefind/Makefile.am:
16237 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16239 * tests/examples/xml/.cvsignore:
16240 * tests/examples/xml/Makefile.am:
16241 * tests/examples/xml/createxml.c: (object_saved), (main):
16242 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16243 * tests/old/examples/Makefile.am:
16244 * tests/old/examples/TODO:
16245 * tests/old/examples/controller/.cvsignore:
16246 * tests/old/examples/controller/Makefile.am:
16247 * tests/old/examples/controller/audio-example.c:
16248 * tests/old/examples/helloworld/.cvsignore:
16249 * tests/old/examples/helloworld/Makefile.am:
16250 * tests/old/examples/helloworld/helloworld.c:
16251 * tests/old/examples/launch/.cvsignore:
16252 * tests/old/examples/launch/Makefile.am:
16253 * tests/old/examples/launch/mp3parselaunch.c:
16254 * tests/old/examples/launch/mp3play:
16255 * tests/old/examples/manual/Makefile.am:
16256 * tests/old/examples/metadata/Makefile.am:
16257 * tests/old/examples/metadata/read-metadata.c:
16258 * tests/old/examples/queue/.cvsignore:
16259 * tests/old/examples/queue/Makefile.am:
16260 * tests/old/examples/queue/queue.c:
16261 * tests/old/examples/typefind/.cvsignore:
16262 * tests/old/examples/typefind/Makefile.am:
16263 * tests/old/examples/typefind/typefind.c:
16264 * tests/old/examples/xml/.cvsignore:
16265 * tests/old/examples/xml/Makefile.am:
16266 * tests/old/examples/xml/createxml.c:
16267 * tests/old/examples/xml/runxml.c:
16268 applied some simple fixing to some examples
16269 re-enabled the working examples
16271 2005-12-12 Wim Taymans <wim@fluendo.com>
16273 * gst/gstsegment.c: (gst_segment_init),
16274 (gst_segment_set_last_stop), (gst_segment_set_seek),
16275 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16276 (gst_segment_to_running_time):
16277 Added more documentation.
16278 Make sure the last_pos value is updated properly.
16279 Make sure to_stream_time and to_running_time don't
16280 operate on wrong values.
16282 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16285 2005-12-12 Michael Smith <msmith@fluendo.com>
16287 * plugins/elements/gsttypefindelement.c: (free_entry),
16288 (gst_type_find_element_chain):
16289 Now that we're not leaking factories, make sure we keep references
16290 to them while we need them.
16292 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16294 * tests/check/gst/struct_i386.h:
16295 ifdef out the XML structs
16297 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16299 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16300 floor is not needed, F is always positive; this obviates the
16301 need for adding -lm when building without libxml
16303 2005-12-12 Wim Taymans <wim@fluendo.com>
16305 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16306 Take current playback rate into account when reporting
16309 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16311 * docs/manual/mime-world.fig:
16312 Let's try this again, this time with a file that is
16313 actually in XFig format.
16315 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16317 * docs/manual/mime-world.fig:
16318 Add audioconvert element to diagram so that it
16319 matches the text and the code (fixes #319526).
16321 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16323 * docs/pwg/building-chainfn.xml:
16324 * docs/pwg/building-pads.xml:
16325 * docs/pwg/building-state.xml:
16326 * docs/pwg/other-source.xml:
16327 Update state change stuff for 0.10 (fixes #322969).
16329 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16331 * docs/manual/advanced-dataaccess.xml:
16332 * docs/manual/appendix-checklist.xml:
16333 * docs/manual/appendix-programs.xml:
16334 * docs/manual/basics-pads.xml:
16335 * docs/manual/highlevel-components.xml:
16336 * docs/manual/manual.xml:
16337 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16338 add converters in front of pipelines; remove curly
16339 brackets for threads stuff, they no longer exist; use
16340 GST_TYPE_FRACTION for framerates; update some pieces of
16341 code to 0.10, but there's plenty more to do.
16343 * docs/manual/appendix-porting.xml:
16344 Expand on asynchroneous state changes; s/0.9/0.10/;
16345 mention disappearance of gst_init_get_popt_table()
16348 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16350 * docs/faq/using.xml:
16351 Spider no longer exists, and neither does gst-launch-ext.
16352 Update examples to use decodebin and playbin and put
16353 converters in front of sinks (fixes #323726).
16355 2005-12-09 Michael Smith <msmith@fluendo.com>
16357 * plugins/elements/gsttypefindelement.c: (find_peek),
16358 (gst_type_find_element_chain):
16359 Fix leaking element factories in typefinding.
16360 Fix problem where we forgot about a probable type on non-seekable
16361 files, and thus later mis-typefound it.
16363 2005-12-09 Michael Smith <msmith@fluendo.com>
16365 * common/m4/gst-makecontext.m4:
16366 * common/m4/gst-mcsc.m4:
16368 * win32/common/config.h:
16369 * win32/common/config.h.in:
16370 Remove makecontext stuff; not used in 0.10 and causes problems on
16371 HPUX according to bug #322441
16373 2005-12-07 Wim Taymans <wim@fluendo.com>
16375 * tests/check/Makefile.am:
16376 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16378 * tests/check/libs/struct_i386.h:
16379 Added ABI check for libs
16381 2005-12-07 Wim Taymans <wim@fluendo.com>
16383 * tests/check/Makefile.am:
16384 And add the struct_i386.h to dist.
16386 2005-12-07 Wim Taymans <wim@fluendo.com>
16388 * tests/check/Makefile.am:
16389 * tests/check/gst/.cvsignore:
16390 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16392 * tests/check/gst/struct_i386.h:
16393 Added check for ABI compatibility.
16395 2005-12-07 Wim Taymans <wim@fluendo.com>
16397 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16398 (gst_fake_src_get_times), (gst_fake_src_create):
16399 Fix broken sync option, fixes #323259
16401 2005-12-07 Wim Taymans <wim@fluendo.com>
16406 * gst/gstcaps.c: (gst_caps_is_equal):
16407 Don't assert on NULL <--> X. Fixes #323260
16409 * gst/gstminiobject.c: (gst_mini_object_replace):
16410 If we're doing atomic operations, we might just as well use
16411 the proper way to get an atomic pointer.
16413 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16414 Clean up debugging.
16416 2005-12-07 Michael Smith <msmith@fluendo.com>
16418 * gst/parse/grammar.y:
16419 Remove handling of { } for threads.
16421 2005-12-06 David Schleef <ds@schleef.org>
16423 * libs/gst/base/gstbasetransform.c: speling fix.
16425 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16427 * docs/libs/tmpl/gstdataprotocol.sgml:
16428 * docs/random/omega/testing/gstobject.c:
16431 * gst/gstelement.c:
16432 * gst/gstelementfactory.c:
16435 * gst/gstghostpad.c:
16437 * gst/gstpadtemplate.c:
16438 * gst/gstregistryxml.c:
16439 * gst/gsttaglist.c:
16440 * gst/gsttagsetter.c:
16441 * gst/gsttypefind.c:
16443 * libs/gst/base/gstbasesrc.c:
16444 * libs/gst/net/gstnetclientclock.c:
16445 * libs/gst/net/gstnettimeprovider.c:
16446 * plugins/elements/gstfakesrc.c:
16447 * plugins/elements/gstfdsrc.c:
16448 * plugins/elements/gstfilesrc.c:
16449 * plugins/elements/gstidentity.c:
16450 * plugins/elements/gstqueue.c:
16451 * plugins/elements/gsttypefindelement.c:
16452 * plugins/indexers/gstfileindex.c:
16453 * plugins/indexers/gstmemindex.c:
16454 * tests/check/gst/gsttag.c:
16455 * tests/old/examples/cutter/cutter.c:
16456 * tests/old/examples/mixer/mixer.c:
16457 * tests/old/examples/xml/runxml.c: (main):
16458 * tests/old/testsuite/caps/normalisation.c:
16459 * tests/old/testsuite/debug/global.c:
16460 * tests/old/testsuite/parse/parse1.c:
16461 * tools/gst-xmlinspect.c:
16462 * win32/common/dirent.c:
16465 === release 0.10.0 ===
16467 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16470 releasing 0.10.0, "Maroilles"
16472 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16474 submitted by: Funda Wang <fundawang@linux.net.cn>
16478 added Chinese (Traditional) translation
16480 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16482 * docs/gst/gstreamer-sections.txt:
16483 * docs/libs/tmpl/gstdataprotocol.sgml:
16484 * docs/random/thomasvs/TODO:
16489 2005-12-05 Andy Wingo <wingo@pobox.com>
16491 patch by: Wim Taymans <wim@fluendo.com>
16493 * libs/gst/base/gstbasetransform.c
16494 (gst_base_transform_prepare_output_buf)
16495 (gst_base_transform_buffer_alloc):
16496 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16497 alloc_buffer_and_set_caps.
16499 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16500 set_caps on the source pad.
16501 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16502 alloc_buffer used to do. Fixes #322874.
16504 * docs/gst/gstreamer-sections.txt:
16505 * docs/design/part-negotiation.txt:
16506 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16509 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16511 patch by: Sebastien Moutte
16514 * win32/common/config.h.in:
16515 * win32/vs6/libgstcontroller.dsp:
16518 2005-12-05 Wim Taymans <wim@fluendo.com>
16520 * gst/gstcaps.c: (gst_caps_is_equal):
16521 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16522 (gst_fake_src_create):
16523 Back out previous code changes, leave doc updates, file bugs
16526 2005-12-05 Wim Taymans <wim@fluendo.com>
16528 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16529 (gst_fake_src_get_times), (gst_fake_src_create):
16530 * plugins/elements/gstfakesrc.h:
16531 Fix broken sync code.
16533 2005-12-05 Wim Taymans <wim@fluendo.com>
16535 * gst/gstcaps.c: (gst_caps_is_equal):
16536 Comparing NULL against !NULL yields different caps, not a
16539 2005-12-05 Wim Taymans <wim@fluendo.com>
16541 * gst/gstpipeline.c:
16542 Fix small typo in docs.
16544 2005-12-05 Andy Wingo <wingo@pobox.com>
16546 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16548 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16549 registries/plugins with a MAJORMINOR one.
16550 (plugin_desc): Rename library from gstcoreleements to
16551 staticelements. Fixes #323222.
16553 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16555 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16556 Change debug category to 'collectpads' from 'collect_pads'
16559 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16561 patch by: Sebastien Moutte
16563 * libs/gst/controller/gstinterpolation.c:
16564 use convert function for uint64/double
16565 * win32/vs6/libgstcontroller.dsp:
16568 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16570 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16571 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16573 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16574 add tests that seem to show that the guint64/gdouble conversions
16577 2005-12-02 Wim Taymans <wim@fluendo.com>
16579 * gst/gstregistry.c: (gst_registry_add_path):
16580 * gst/gstregistry.h:
16581 * gst/gstregistryxml.c:
16584 2005-12-02 Wim Taymans <wim@fluendo.com>
16586 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16587 (gst_util_uint64_scale_int):
16590 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16591 Add debug log line.
16593 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16596 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16599 * win32/common/config.h:
16600 * win32/vs6/gstreamer.dsw:
16601 * win32/vs6/libgstcoreelements.dsp:
16602 * win32/vs6/libgstelements.dsp:
16603 renamed core elements plugin
16605 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16607 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16609 do piece-wise major/minor comparison so 0.9 < 0.10
16610 also allow .exe extensions for tools
16612 2005-12-02 Michael Smith <msmith@fluendo.com>
16615 Escape a % to make gtkdoc happier; bug 322958.
16617 === release 0.9.7 ===
16619 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16622 releasing 0.9.7, "My Dog Has No Nose"
16624 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16626 * common/gst-xmlinspect.py:
16628 * docs/libs/tmpl/gstdataprotocol.sgml:
16629 * docs/random/release:
16648 * win32/common/config.h:
16649 * win32/common/config.h.in:
16650 * win32/vs6/gst_inspect.dsp:
16651 * win32/vs6/gst_launch.dsp:
16652 * win32/vs6/libgstbase.dsp:
16653 * win32/vs6/libgstelements.dsp:
16654 * win32/vs6/libgstreamer.dsp:
16655 * win32/vs7/GStreamer.vcproj:
16656 * win32/vs7/gst-inspect.vcproj:
16657 * win32/vs7/gst-launch.vcproj:
16658 * win32/vs7/libgstbase.vcproj:
16659 bump GST_MAJORMINOR to 0.10
16660 reset libtool version
16662 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16666 Added Bulgarian translation by (Alexander Shopov)
16668 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16670 * tests/check/gst/gstplugin.c:
16673 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16675 * common/gst-xmlinspect.py:
16676 * common/gtk-doc-plugins.mak:
16678 * docs/Makefile.am:
16679 * docs/gst/Makefile.am:
16680 * docs/gst/gstreamer-docs.sgml:
16681 * docs/gst/gstreamer-sections.txt:
16682 * docs/gst/gstreamer.types:
16683 * docs/gst/gstreamer.types.in:
16684 * docs/plugins/Makefile.am:
16685 * docs/plugins/gstreamer-plugins-docs.sgml:
16686 * docs/plugins/gstreamer-plugins-sections.txt:
16687 * docs/plugins/gstreamer-plugins.types:
16688 * docs/plugins/inspect.stamp:
16689 * docs/plugins/inspect/plugin-coreelements.xml:
16690 * docs/plugins/inspect/plugin-coreindexers.xml:
16691 * docs/plugins/scanobj-build.stamp:
16692 * gstreamer.spec.in:
16693 * plugins/elements/Makefile.am:
16694 * plugins/elements/gstelements.c:
16695 * plugins/elements/gstfakesink.c:
16696 * plugins/elements/gstfakesrc.c:
16697 * plugins/elements/gstfilesink.c:
16698 * plugins/elements/gstfilesrc.c:
16699 * plugins/elements/gstqueue.c:
16700 * plugins/indexers/Makefile.am:
16701 * plugins/indexers/gstindexers.c:
16702 document core plugins in a separate document just like all the
16704 rename these plugins to something starting with core
16706 2005-12-01 Andy Wingo <wingo@pobox.com>
16708 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16709 padding here before, but it missed the commit.
16711 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16713 * libs/gst/controller/gstinterpolation.c:
16714 whitespace prices have crashed, we should feel free to use some now
16715 use gst_guint64_to_gdouble
16717 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16719 * libs/gst/controller/gstcontroller.c:
16720 * libs/gst/controller/gsthelper.c:
16721 * libs/gst/controller/gstinterpolation.c:
16722 * libs/gst/controller/lib.c:
16723 wrap config.h include
16725 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16727 * docs/gst/gstreamer-sections.txt:
16730 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16732 * plugins/elements/gstelements.c:
16733 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16734 (gst_fd_sink__class_init), (gst_fd_sink__init),
16735 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16736 (gst_fd_sink__get_property):
16737 * plugins/elements/gstfdsink.h:
16738 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16739 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16740 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16741 (gst_fd_src_unlock), (gst_fd_src_set_property),
16742 (gst_fd_src_get_property), (gst_fd_src_create),
16743 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16744 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16745 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16746 (gst_fd_src_uri_handler_init):
16747 * plugins/elements/gstfdsrc.h:
16748 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16751 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16753 * docs/gst/Makefile.am:
16754 * docs/gst/gstreamer.types.in:
16758 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16764 * gst/gstregistry.h:
16765 * tests/benchmarks/complexity.c:
16766 * tests/benchmarks/mass-elements.c:
16767 * tests/check/Makefile.am:
16768 * tools/Makefile.am:
16769 * tools/gst-inspect.c:
16770 * tools/gst-xmlinspect.c:
16771 various fixes to make
16772 --disable-nls --disable-registry --disable-loadsave
16773 --disable-parse --disable-gst-debug
16774 work and get the core .so down to 360444 bytes after stripping
16776 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16781 * docs/random/thomasvs/TODO:
16782 * tests/Makefile.am:
16786 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16788 * win32/GStreamer.vcproj:
16791 * win32/Makefile.inspect:
16792 * win32/Makefile.launch:
16793 * win32/Makefile.register:
16794 * win32/README.txt:
16795 * win32/gst-inspect.vcproj:
16796 * win32/gst-launch.vcproj:
16797 * win32/gst-register.vcproj:
16798 * win32/gstelements.vcproj:
16799 * win32/gstgetbits.def:
16800 * win32/gstgetbits.vcproj:
16801 * win32/gstreamer-dbg.def:
16802 * win32/gstreamer.def:
16803 * win32/libgstbase.def:
16804 * win32/libgstbase.vcproj:
16805 * win32/link_oldruntime.c:
16809 * win32/msvc71.sln:
16810 move even more stuff, win32/ is nice and clean now
16812 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16814 * libs/gst/control/.cvsignore:
16819 * win32/gstbytestream.def:
16820 * win32/gstbytestream.vcproj:
16821 * win32/gstconfig.h:
16822 * win32/gstenumtypes.c:
16823 * win32/gstenumtypes.h:
16824 * win32/gstoptimalscheduler.vcproj:
16825 * win32/gstversion.h:
16827 * win32/testsuite/bins.vcproj:
16828 * win32/testsuite/bytestream.vcproj:
16829 * win32/testsuite/caps.vcproj:
16830 * win32/testsuite/cleanup.vcproj:
16831 * win32/testsuite/clock.vcproj:
16832 * win32/testsuite/debug.vcproj:
16833 * win32/testsuite/dlopen.vcproj:
16834 * win32/testsuite/dynparams.vcproj:
16835 * win32/testsuite/elements.vcproj:
16836 * win32/testsuite/ghostpads.vcproj:
16837 * win32/testsuite/indexers.vcproj:
16838 * win32/testsuite/negotiation.vcproj:
16839 * win32/testsuite/parse.vcproj:
16840 * win32/testsuite/plugin.vcproj:
16841 * win32/testsuite/refcounting.vcproj:
16842 * win32/testsuite/schedulers.vcproj:
16843 * win32/testsuite/states.vcproj:
16844 * win32/testsuite/tags.vcproj:
16845 * win32/testsuite/threads.vcproj:
16846 remove old win32 stuff that isn't maintained and should be
16849 2005-11-30 Andy Wingo <wingo@pobox.com>
16851 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16852 loading the gst.interfaces python module bork.
16854 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16855 available since GLib 2.2. Fixes #318031.
16857 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16860 * check/.cvsignore:
16861 * check/Makefile.am:
16862 * check/elements/.cvsignore:
16863 * check/elements/fakesrc.c:
16864 * check/elements/fdsrc.c:
16865 * check/elements/identity.c:
16866 * check/generic/.cvsignore:
16867 * check/generic/states.c:
16868 * check/gst-libs/.cvsignore:
16869 * check/gst-libs/controller.c:
16870 * check/gst-libs/gdp.c:
16871 * check/gst/.cvsignore:
16872 * check/gst/capslist.h:
16874 * check/gst/gstbin.c:
16875 * check/gst/gstbuffer.c:
16876 * check/gst/gstbus.c:
16877 * check/gst/gstcaps.c:
16878 * check/gst/gstelement.c:
16879 * check/gst/gstevent.c:
16880 * check/gst/gstghostpad.c:
16881 * check/gst/gstiterator.c:
16882 * check/gst/gstmessage.c:
16883 * check/gst/gstminiobject.c:
16884 * check/gst/gstobject.c:
16885 * check/gst/gstpad.c:
16886 * check/gst/gstpipeline.c:
16887 * check/gst/gstplugin.c:
16888 * check/gst/gstsegment.c:
16889 * check/gst/gststructure.c:
16890 * check/gst/gstsystemclock.c:
16891 * check/gst/gsttag.c:
16892 * check/gst/gstutils.c:
16893 * check/gst/gstvalue.c:
16894 * check/net/.cvsignore:
16895 * check/net/gstnetclientclock.c:
16896 * check/net/gstnettimeprovider.c:
16897 * check/pipelines/.cvsignore:
16898 * check/pipelines/cleanup.c:
16899 * check/pipelines/simple_launch_lines.c:
16900 * check/pipelines/stress.c:
16901 * check/states/.cvsignore:
16902 * check/states/sinks.c:
16904 * examples/Makefile.am:
16905 * examples/appreader/.cvsignore:
16906 * examples/appreader/Makefile.am:
16907 * examples/appreader/appreader.c:
16908 * examples/controller/.cvsignore:
16909 * examples/controller/Makefile.am:
16910 * examples/controller/audio-example.c:
16911 * examples/cutter/.cvsignore:
16912 * examples/cutter/Makefile.am:
16913 * examples/cutter/cutter.c:
16914 * examples/cutter/cutter.h:
16915 * examples/events/Makefile.am:
16916 * examples/events/seek.c:
16917 * examples/helloworld/.cvsignore:
16918 * examples/helloworld/Makefile.am:
16919 * examples/helloworld/helloworld.c:
16920 * examples/helloworld2/.cvsignore:
16921 * examples/helloworld2/Makefile.am:
16922 * examples/helloworld2/helloworld2.c:
16923 * examples/launch/.cvsignore:
16924 * examples/launch/Makefile.am:
16925 * examples/launch/mp3parselaunch.c:
16926 * examples/launch/mp3play:
16927 * examples/manual/.cvsignore:
16928 * examples/manual/Makefile.am:
16929 * examples/manual/extract.pl:
16930 * examples/metadata/Makefile.am:
16931 * examples/metadata/read-metadata.c:
16932 * examples/mixer/.cvsignore:
16933 * examples/mixer/Makefile.am:
16934 * examples/mixer/mixer.c:
16935 * examples/mixer/mixer.h:
16936 * examples/pingpong/.cvsignore:
16937 * examples/pingpong/Makefile.am:
16938 * examples/pingpong/pingpong.c:
16939 * examples/plugins/.cvsignore:
16940 * examples/plugins/Makefile.am:
16941 * examples/plugins/example.c:
16942 * examples/plugins/example.h:
16943 * examples/pwg/.cvsignore:
16944 * examples/pwg/Makefile.am:
16945 * examples/pwg/extract.pl:
16946 * examples/queue/.cvsignore:
16947 * examples/queue/Makefile.am:
16948 * examples/queue/queue.c:
16949 * examples/queue2/.cvsignore:
16950 * examples/queue2/Makefile.am:
16951 * examples/queue2/queue2.c:
16952 * examples/queue3/.cvsignore:
16953 * examples/queue3/Makefile.am:
16954 * examples/queue3/queue3.c:
16955 * examples/queue4/.cvsignore:
16956 * examples/queue4/Makefile.am:
16957 * examples/queue4/queue4.c:
16958 * examples/retag/.cvsignore:
16959 * examples/retag/Makefile.am:
16960 * examples/retag/retag.c:
16961 * examples/retag/transcode.c:
16962 * examples/thread/.cvsignore:
16963 * examples/thread/Makefile.am:
16964 * examples/thread/thread.c:
16965 * examples/typefind/.cvsignore:
16966 * examples/typefind/Makefile.am:
16967 * examples/typefind/typefind.c:
16968 * examples/xml/.cvsignore:
16969 * examples/xml/Makefile.am:
16970 * examples/xml/createxml.c:
16971 * examples/xml/runxml.c:
16972 * tests/Makefile.am:
16973 * tests/check/Makefile.am:
16974 * testsuite/.cvsignore:
16975 * testsuite/Makefile.am:
16977 * testsuite/caps/.cvsignore:
16978 * testsuite/caps/Makefile.am:
16979 * testsuite/caps/app_fixate.c:
16980 * testsuite/caps/audioscale.c:
16981 * testsuite/caps/caps.c:
16982 * testsuite/caps/caps.h:
16983 * testsuite/caps/caps_strings:
16984 * testsuite/caps/compatibility.c:
16985 * testsuite/caps/deserialize.c:
16986 * testsuite/caps/enumcaps.c:
16987 * testsuite/caps/eratosthenes.c:
16988 * testsuite/caps/filtercaps.c:
16989 * testsuite/caps/fixed.c:
16990 * testsuite/caps/fraction-convert.c:
16991 * testsuite/caps/fraction-multiply-and-zero.c:
16992 * testsuite/caps/intersect2.c:
16993 * testsuite/caps/intersection.c:
16994 * testsuite/caps/normalisation.c:
16995 * testsuite/caps/random.c:
16996 * testsuite/caps/renegotiate.c:
16997 * testsuite/caps/sets.c:
16998 * testsuite/caps/simplify.c:
16999 * testsuite/caps/string-conversions.c:
17000 * testsuite/caps/structure.c:
17001 * testsuite/caps/subtract.c:
17002 * testsuite/caps/union.c:
17003 * testsuite/debug/.cvsignore:
17004 * testsuite/debug/Makefile.am:
17005 * testsuite/debug/category.c:
17006 * testsuite/debug/commandline.c:
17007 * testsuite/debug/global.c:
17008 * testsuite/debug/output.c:
17009 * testsuite/debug/printf_extension.c:
17010 * testsuite/dlopen/.cvsignore:
17011 * testsuite/dlopen/Makefile.am:
17012 * testsuite/dlopen/dlopen_gst.c:
17013 * testsuite/dlopen/loadgst.c:
17014 * testsuite/elements/.cvsignore:
17015 * testsuite/elements/Makefile.am:
17016 * testsuite/elements/gst-inspect-check.in:
17017 * testsuite/elements/struct_i386.h:
17018 * testsuite/elements/struct_size.c:
17019 * testsuite/indexers/.cvsignore:
17020 * testsuite/indexers/Makefile.am:
17021 * testsuite/indexers/cache1.c:
17022 * testsuite/indexers/indexdump.c:
17023 * testsuite/parse/.cvsignore:
17024 * testsuite/parse/Makefile.am:
17025 * testsuite/parse/parse1.c:
17026 * testsuite/parse/parse2.c:
17027 * testsuite/plugin/.cvsignore:
17028 * testsuite/plugin/Makefile.am:
17029 * testsuite/plugin/README:
17030 * testsuite/plugin/dynamic.c:
17031 * testsuite/plugin/linked.c:
17032 * testsuite/plugin/loading.c:
17033 * testsuite/plugin/registry.c:
17034 * testsuite/plugin/static.c:
17035 * testsuite/plugin/static2.c:
17036 * testsuite/plugin/testplugin.c:
17037 * testsuite/plugin/testplugin2.c:
17038 * testsuite/plugin/testplugin2_s.c:
17039 * testsuite/plugin/testplugin_s.c:
17040 * testsuite/refcounting/.cvsignore:
17041 * testsuite/refcounting/Makefile.am:
17042 * testsuite/refcounting/bin.c:
17043 * testsuite/refcounting/element.c:
17044 * testsuite/refcounting/element_pad.c:
17045 * testsuite/refcounting/mainloop.c:
17046 * testsuite/refcounting/mem.c:
17047 * testsuite/refcounting/mem.h:
17048 * testsuite/refcounting/object.c:
17049 * testsuite/refcounting/pad.c:
17050 * testsuite/refcounting/sched.c:
17051 * testsuite/refcounting/thread.c:
17052 * testsuite/states/.cvsignore:
17053 * testsuite/states/Makefile.am:
17054 * testsuite/states/bin.c:
17055 * testsuite/states/locked.c:
17056 * testsuite/states/parent.c:
17057 * testsuite/threads/.cvsignore:
17058 * testsuite/threads/159566.c:
17059 * testsuite/threads/159852.c:
17060 * testsuite/threads/Makefile.am:
17061 * testsuite/threads/queue.c:
17062 * testsuite/threads/signals.c:
17063 * testsuite/threads/staticrec.c:
17064 * testsuite/threads/thread.c:
17065 * testsuite/threads/threadb.c:
17066 * testsuite/threads/threadc.c:
17067 * testsuite/threads/threadd.c:
17068 * testsuite/threads/threade.c:
17069 * testsuite/threads/threadf.c:
17070 * testsuite/threads/threadg.c:
17071 * testsuite/threads/threadh.c:
17072 * testsuite/threads/threadi.c:
17073 move all of these under tests
17075 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17078 * tests/Makefile.am:
17081 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17083 * docs/gst/gstreamer-sections.txt:
17084 * tests/sched/.cvsignore:
17085 * tests/sched/Makefile.am:
17086 * tests/sched/cases/(fs-fs).xml:
17087 * tests/sched/cases/(fs-i-fs).xml:
17088 * tests/sched/cases/(fs-i-i-fs).xml:
17089 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17090 * tests/sched/dynamic-pipeline.c:
17091 * tests/sched/interrupt1.c:
17092 * tests/sched/interrupt2.c:
17093 * tests/sched/interrupt3.c:
17094 * tests/sched/runtestcases:
17095 * tests/sched/runxml.c:
17096 * tests/sched/sched-stress.c:
17097 * tests/sched/sort.c:
17098 * tests/sched/testcases:
17099 * tests/sched/testcases1.tc:
17100 * tests/seeking/.cvsignore:
17101 * tests/seeking/Makefile.am:
17102 * tests/seeking/seeking1.c:
17103 * tests/threadstate/.cvsignore:
17104 * tests/threadstate/Makefile.am:
17105 * tests/threadstate/test1.c:
17106 * tests/threadstate/test2.c:
17107 * tests/threadstate/threadstate1.c:
17108 * tests/threadstate/threadstate2.c:
17109 * tests/threadstate/threadstate3.c:
17110 * tests/threadstate/threadstate4.c:
17111 * tests/threadstate/threadstate5.c:
17112 remove obsolete tests
17114 * tests/bench-complexity.scm:
17115 * tests/bench-mass_elements.scm:
17116 * tests/complexity.c:
17117 * tests/complexity.gnuplot:
17118 * tests/instantiate/.cvsignore:
17119 * tests/instantiate/Makefile.am:
17120 * tests/instantiate/caps.c:
17121 * tests/mass_elements.c:
17122 * tests/network-clock-utils.scm:
17123 * tests/network-clock.scm:
17125 First pass at cleaning up tests/ dir before moving the rest
17126 Combined with CVS surgery
17128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17131 queue has moved, update
17133 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17135 * docs/gst/gstreamer-sections.txt:
17136 remove double entries from the docs
17137 * gst/gst_private.h:
17138 * gst/gstinfo.c: (_gst_debug_init):
17139 remove the THREAD debug category
17143 * docs/gst/gstreamer.types:
17144 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17145 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17146 completely move queue and fix up debugging categories
17148 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17150 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17151 make initialization portable, using LL is not
17153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17155 * win32/common/gstconfig.h:
17158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17160 * win32/common/libgstreamer.def:
17161 rename symbols; sort base section
17163 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17165 * gst/gstclock.c: (do_linear_regression):
17166 remove crack non-portable handrolled DEBUG macro
17168 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17170 * docs/random/release:
17172 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17173 (gst_object_flags_get_type), (register_gst_bin_flags),
17174 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17175 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17176 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17177 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17178 (gst_caps_flags_get_type), (register_gst_clock_return),
17179 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17180 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17181 (gst_clock_flags_get_type), (register_gst_state),
17182 (gst_state_get_type), (register_gst_state_change_return),
17183 (gst_state_change_return_get_type), (register_gst_state_change),
17184 (gst_state_change_get_type), (register_gst_element_flags),
17185 (gst_element_flags_get_type), (register_gst_core_error),
17186 (gst_core_error_get_type), (register_gst_library_error),
17187 (gst_library_error_get_type), (register_gst_resource_error),
17188 (gst_resource_error_get_type), (register_gst_stream_error),
17189 (gst_stream_error_get_type), (register_gst_event_type_flags),
17190 (gst_event_type_flags_get_type), (register_gst_event_type),
17191 (gst_event_type_get_type), (register_gst_seek_type),
17192 (gst_seek_type_get_type), (register_gst_seek_flags),
17193 (gst_seek_flags_get_type), (register_gst_format),
17194 (gst_format_get_type), (register_gst_index_certainty),
17195 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17196 (gst_index_entry_type_get_type),
17197 (register_gst_index_lookup_method),
17198 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17199 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17200 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17201 (gst_index_flags_get_type), (register_gst_debug_level),
17202 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17203 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17204 (gst_iterator_result_get_type), (register_gst_iterator_item),
17205 (gst_iterator_item_get_type), (register_gst_message_type),
17206 (gst_message_type_get_type), (register_gst_mini_object_flags),
17207 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17208 (gst_pad_link_return_get_type), (register_gst_flow_return),
17209 (gst_flow_return_get_type), (register_gst_activate_mode),
17210 (gst_activate_mode_get_type), (register_gst_pad_direction),
17211 (gst_pad_direction_get_type), (register_gst_pad_flags),
17212 (gst_pad_flags_get_type), (register_gst_pad_presence),
17213 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17214 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17215 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17216 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17217 (gst_plugin_flags_get_type), (register_gst_rank),
17218 (gst_rank_get_type), (register_gst_query_type),
17219 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17220 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17221 (gst_tag_flag_get_type), (register_gst_task_state),
17222 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17223 (gst_alloc_trace_flags_get_type),
17224 (register_gst_type_find_probability),
17225 (gst_type_find_probability_get_type), (register_gst_uri_type),
17226 (gst_uri_type_get_type), (register_gst_parse_error),
17227 (gst_parse_error_get_type):
17228 * win32/common/gstenumtypes.h:
17229 * win32/common/gstversion.h:
17230 update visual studio generated files
17232 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17234 * win32/vs6/libgstbase.dsp:
17235 * win32/vs6/libgstelements.dsp:
17236 update project files for new locations
17238 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17243 reinstate and update
17248 * docs/random/LICENSE:
17251 2005-11-30 Edward Hervey <edward@fluendo.com>
17253 * gst/gsttypefind.c: (gst_type_find_register):
17254 * gst/gsttypefind.h:
17255 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17256 (gst_type_find_factory_dispose):
17257 * gst/gsttypefindfactory.h:
17258 Fix memory leak in GstTypeFindFactory.
17260 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17263 * plugins/elements/Makefile.am:
17264 * plugins/elements/gstelements.c:
17265 * plugins/elements/gstqueue.c:
17266 move queue from core to the elements plugin
17268 2005-11-29 Andy Wingo <wingo@pobox.com>
17270 * libs/gst/base/gstbasetransform.h:
17271 * libs/gst/base/gstbasesrc.h:
17272 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17274 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17275 of pointers by which to pad very extensible base classes (like the
17276 ones in libs/gst/base).
17278 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17280 * docs/gst/gstreamer-docs.sgml:
17281 * docs/gst/gstreamer-sections.txt:
17282 * docs/libs/gstreamer-libs-docs.sgml:
17283 * docs/libs/gstreamer-libs-sections.txt:
17284 moving documentation from core to lib
17286 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17288 * check/Makefile.am:
17290 * docs/gst/Makefile.am:
17292 * gst/base/.cvsignore:
17293 * gst/base/Makefile.am:
17295 * gst/base/gstadapter.c:
17296 * gst/base/gstadapter.h:
17297 * gst/base/gstbasesink.c:
17298 * gst/base/gstbasesink.h:
17299 * gst/base/gstbasesrc.c:
17300 * gst/base/gstbasesrc.h:
17301 * gst/base/gstbasetransform.c:
17302 * gst/base/gstbasetransform.h:
17303 * gst/base/gstcollectpads.c:
17304 * gst/base/gstcollectpads.h:
17305 * gst/base/gstpushsrc.c:
17306 * gst/base/gstpushsrc.h:
17307 * gst/base/gsttypefindhelper.c:
17308 * gst/base/gsttypefindhelper.h:
17309 * gst/check/Makefile.am:
17310 * gst/check/gstcheck.c:
17311 * gst/check/gstcheck.h:
17312 * gst/net/Makefile.am:
17313 * gst/net/gstnet.h:
17314 * gst/net/gstnetclientclock.c:
17315 * gst/net/gstnetclientclock.h:
17316 * gst/net/gstnettimepacket.c:
17317 * gst/net/gstnettimepacket.h:
17318 * gst/net/gstnettimeprovider.c:
17319 * gst/net/gstnettimeprovider.h:
17320 * libs/gst/Makefile.am:
17321 * libs/gst/base/Makefile.am:
17322 * libs/gst/base/gstbasetransform.c:
17323 * libs/gst/check/Makefile.am:
17324 * plugins/elements/Makefile.am:
17326 CVS surgery + support to move base, check, and net out of gst
17329 2005-11-29 Andy Wingo <wingo@pobox.com>
17331 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17333 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17336 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17338 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17340 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17342 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17343 padding; reduces object size by about 30%. We don't expect
17344 anything else to go into gstobject.
17346 * gst/gstminiobject.h (struct _GstMiniObject)
17347 (struct _GstMiniObjectClass): Only one pointer of padding; the
17348 payload is only a pointer and two ints anyway. For the class there
17349 are only two methods as well.
17351 * gst/gstelement.h (struct _GstElementClass): Removed
17352 the state_changed signal callback, it is not used.
17354 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17356 * docs/gst/gstreamer.types:
17357 fix includes, though they are a little dinky
17359 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17361 * check/Makefile.am:
17362 look in the right place for elements, a lot more chance of
17365 remove indexers and elements subdirs
17366 * plugins/Makefile.am:
17367 make indexers conditional
17369 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17373 * plugins/elements/Makefile.am:
17374 * plugins/elements/gstcapsfilter.c:
17375 * plugins/elements/gstfilesink.c:
17376 * plugins/elements/gstfilesrc.c:
17377 * plugins/elements/gstidentity.c:
17378 * plugins/indexers/Makefile.am:
17379 do CVS surgery and related build fixery to move elements
17380 and indexers in a new gstreamer/plugins directory, out of the
17383 2005-11-29 Andy Wingo <wingo@pobox.com>
17385 * check/Makefile.am:
17386 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17387 * pkgconfig/gstreamer-net.pc.in:
17388 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17391 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17393 * tools/Makefile.am:
17394 * tools/gst-complete.1.in:
17395 * tools/gst-complete.c:
17396 * tools/gst-compprep.1.in:
17397 * tools/gst-compprep.c:
17398 removing -compprep and -complete
17400 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17402 * gst/gstevent.c: (gst_event_new_new_segment),
17403 (gst_event_parse_new_segment):
17405 fix #320529 - clean up new_segment API and structure.
17406 Let's hope everyone was using the methods, and not the structure.
17408 2005-11-29 Edward Hervey <edward@fluendo.com>
17410 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17411 (gst_base_sink_event), (gst_base_sink_do_sync),
17412 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17413 Properly handle non GST_FORMAT_TIME segment
17414 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17415 Properly handle non GST_FORMAT_TIME segment
17416 * gst/gstsegment.c:
17417 This function is valid if the accumulator is 0 and the format
17418 is different from the requested format.
17420 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17422 * docs/gst/gstreamer-sections.txt:
17423 Add gst_query_new_seeking and gst_query_parse_seeking to the
17426 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17428 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17429 Treat a pad alloc with new caps the same as if we were not
17430 negotiated, in order to allow a changing upstream output
17431 to produce a new format of data.
17433 2005-11-29 Edward Hervey <edward@fluendo.com>
17435 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17436 (gst_base_transform_event), (gst_base_transform_eventfunc):
17437 The event virtual method is now properly implemented, with a default
17439 Sub classes should call the parent_class event method. They should
17440 return FALSE if they had a problem handling the given event, or don't
17441 want GstBaseTransform to send that even downstream
17442 * gst/elements/gstidentity.c: (gst_identity_class_init),
17443 (gst_identity_init), (gst_identity_event),
17444 (gst_identity_transform_ip), (gst_identity_set_property),
17445 (gst_identity_get_property):
17446 * gst/elements/gstidentity.h:
17447 Added the single-segment boolean property.
17448 If set to TRUE, it will output a single segment of data, starting from
17449 0, will eat up all incoming newsegment, and modify the timestamp of the
17450 buffers accordingly
17452 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17454 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17455 Don't ref NULL target pad (#322751). Improve docs.
17457 2005-11-29 Michael Smith <msmith@fluendo.com>
17459 * gst/gstregistryxml.c: (load_plugin):
17460 Don't crash if we failed to load a feature from a plugin.
17462 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17464 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17466 use more check API and less GLib API
17468 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17471 don't run checks if we don't have check
17472 * common/check.mak:
17473 remove the registry when running make torture
17474 * docs/gst/gstreamer-sections.txt:
17475 remove second multiply
17476 * gst/gstqueue.c: (gst_queue_loop):
17477 fix a compile warning when disabling debug
17479 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17482 Hey! Let's print the pad name if the pointer != NULL instead
17483 of when it == NULL :-)
17485 2005-11-28 Wim Taymans <wim@fluendo.com>
17487 * check/gst/gstutils.c: (GST_START_TEST):
17488 Updated check, add some scaling accuracy checking code.
17490 * gst/gstutils.c: (gst_util_div128_64),
17491 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17492 (gst_util_uint64_scale_int):
17493 Fix 6 times faster division code. Optimize for common
17494 1/1 and less common X/1 cases.
17496 2005-11-28 Wim Taymans <wim@fluendo.com>
17498 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17501 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17502 (do_linear_regression), (gst_clock_add_observation):
17504 Release lock when the clock cannot be slaved.
17505 Catch the case where the regression returned an invalid denominator.
17507 * gst/gstutils.c: (gst_util_div128_64_iterate),
17508 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17509 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17510 Add protentially more performant non-iterative 128/64 divide function
17511 that unfortunatly does not work yet.
17512 Shortcut the trivial 0/X = 0 case.
17513 Remove the warnings on overflow.
17515 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17517 * gst/gstplugin.c: (gst_plugin_register_func):
17518 everything causing a plugin not to load should be at least a WARNING
17520 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17522 * docs/random/ensonic/dparams.txt:
17523 some TODOs for the next dev cycle
17524 * libs/gst/controller/gstcontroller.c:
17525 (gst_controlled_property_set_interpolation_mode),
17526 (gst_controlled_property_new):
17527 * libs/gst/controller/gstcontroller.h:
17528 use base type to assign acccessor functions
17530 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17532 * check/Makefile.am:
17533 Oops, that should have been top_srcdir
17535 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17537 * check/Makefile.am:
17538 * check/elements/fdsrc.c: (GST_START_TEST):
17539 Use a cmdline define to specify the location of a file to use for
17540 testing, to avoid breaking distcheck.
17542 2005-11-28 Andy Wingo <wingo@pobox.com>
17544 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17546 2005-11-28 Edward Hervey <edward@fluendo.com>
17548 * tools/gst-launch.c: (main):
17549 Clarify the output strings, makes it easier to translate.
17552 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17555 don't try and build net if we don't even have <sys/socket.h>
17557 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17559 * check/Makefile.am:
17560 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17561 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17562 Add tests for fdsrc seekability
17564 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17565 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17566 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17567 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17568 * gst/elements/gstfdsrc.h:
17569 fdsrc should not be a 'live' source.
17570 Implement seeking on seekable fd's.
17572 * gst/gstquery.c: (gst_query_new_seeking),
17573 (gst_query_parse_seeking):
17575 Implement SEEKING query functions:
17576 *_new_seeking and *_parse_seeking
17578 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17580 * gst/gstelement.c: (gst_element_dispose):
17583 * gst/gstiterator.c:
17584 * gst/gststructure.c:
17587 * libs/gst/controller/gstcontroller.c:
17588 (gst_controlled_property_set_interpolation_mode):
17589 * libs/gst/controller/gstcontroller.h:
17590 * libs/gst/controller/gstinterpolation.c:
17591 (interpolate_none_get_enum_value_array):
17592 support controlling enums
17594 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17597 Improve documentation for gst_value_union().
17600 Change return value for union, intersect and subtract functions
17601 from gint to gboolean.
17603 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17605 * gst/gstvalue.c: (gst_value_serialize_any_list),
17606 (gst_value_transform_any_list_string),
17607 (gst_value_deserialize_list), (gst_value_deserialize_array),
17608 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17609 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17610 (gst_value_set_fraction_range_full),
17611 (gst_value_deserialize_fraction_range),
17612 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17613 (gst_value_deserialize_boolean),
17614 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17615 (gst_value_serialize_float), (gst_value_deserialize_float),
17616 (gst_string_wrap), (gst_value_deserialize_string),
17617 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17618 (gst_value_union_int_range_int_range),
17619 (gst_value_intersect_int_range_int_range),
17620 (gst_value_intersect_double_range_double_range),
17621 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17622 (gst_value_subtract_int_range_int_range),
17623 (gst_value_subtract_double_double_range),
17624 (gst_value_subtract_double_range_double_range),
17625 (gst_value_deserialize_fraction):
17627 Use gint, gdouble and gchar in our API instead of int, double and
17628 char (and make usage in gstvalue.c more consistent).
17630 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17632 * check/Makefile.am:
17633 * libs/gst/controller/Makefile.am:
17634 * libs/gst/dataprotocol/Makefile.am:
17635 fix up Makefile.am and remove GST_ENABLE_NEW
17637 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17641 * gst/base/Makefile.am:
17642 * gst/check/Makefile.am:
17643 * gst/elements/Makefile.am:
17644 * gst/net/Makefile.am:
17645 update LDFLAGS use some more
17647 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17649 * common/m4/gst-doc.m4:
17652 2005-11-26 Edward Hervey <edward@fluendo.com>
17654 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17655 This shouldn't issue a g_warning since it returns NULL if it
17656 couldn't find the plugin, and all functions using this behave
17657 properly on a NULL return. Switching to a GST_WARNING.
17659 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17661 * gst/gstbin.c: (gst_bin_handle_message_func):
17662 Don't leak clock messages.
17664 2005-11-25 Wim Taymans <wim@fluendo.com>
17666 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17667 (gst_util_uint64_scale_int):
17668 Optimisations, remove unneeded vars.
17670 2005-11-25 Wim Taymans <wim@fluendo.com>
17672 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17673 Added more checks for the high precision uint64 cases.
17675 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17676 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17677 Implement high precision (guint64 * guint64) / guint64.
17679 2005-11-24 Wim Taymans <wim@fluendo.com>
17681 * gst/base/gstbasesrc.c: (gst_base_src_query):
17682 Fix wrong percentage query.
17684 * gst/gstutils.c: (gst_util_uint64_scale),
17685 (gst_util_uint64_scale_int):
17686 Add some more common cases that can be handled
17687 efficiently to _scale.
17689 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17691 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17692 (gst_mini_object_suite):
17693 don't use check calls from threads; check probably isn't
17694 threadsafe and using a lock to make it threadsafe would
17695 defeat the purpose of this check
17696 * gst/check/gstcheck.c:
17697 * gst/check/gstcheck.h:
17698 use GST_DEBUG some more
17700 2005-11-24 Wim Taymans <wim@fluendo.com>
17702 * gst/gstutils.c: (gst_util_uint64_scale),
17703 (gst_util_uint64_scale_int):
17704 Chain trivial case to _scale_int.
17706 2005-11-24 Wim Taymans <wim@fluendo.com>
17708 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17709 Added test for scaling.
17714 * gst/gstutils.c: (gst_util_uint64_scale_int):
17715 Implemented high precision scaling code.
17717 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17720 do not crash on pad==NULL
17722 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17724 Patch by: Stefan Kost
17726 * common/gtk-doc.mak:
17727 * docs/gst/Makefile.am:
17728 * docs/libs/Makefile.am:
17729 Fix distcheck issues for the libraries docs build
17732 2005-11-24 Michael Smith <msmith@fluendo.com>
17734 * docs/manual/basics-helloworld.xml:
17735 Fix bug #315027: memory leak in example code in docs.
17737 2005-11-24 Michael Smith <msmith@fluendo.com>
17739 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17740 Unlock the PREROLL_LOCK in a failure case.
17742 2005-11-24 Wim Taymans <wim@fluendo.com>
17744 * docs/gst/gstreamer-sections.txt:
17745 * gst/base/gstadapter.h:
17746 * gst/base/gstbasesink.h:
17747 * gst/base/gstbasesrc.h:
17748 * gst/base/gstbasetransform.h:
17749 * gst/base/gstpushsrc.h:
17750 * gst/elements/gstfakesink.h:
17751 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17752 * gst/elements/gstfakesrc.h:
17753 * gst/elements/gstfilesink.h:
17754 * gst/elements/gstfilesrc.h:
17757 * gst/gstbuffer.c: (_gst_buffer_copy):
17760 * gst/gstchildproxy.c:
17762 * gst/gstelement.c:
17763 * gst/gstelementfactory.c:
17764 * gst/gstelementfactory.h:
17766 * gst/gstghostpad.h:
17768 * gst/gstinterface.h:
17769 * gst/gstminiobject.c:
17770 * gst/gstminiobject.h:
17773 * gst/gstpadtemplate.h:
17774 * gst/gstpipeline.h:
17775 * gst/gstpluginfeature.h:
17778 * gst/gsttaglist.c:
17779 * gst/gsttaglist.h:
17780 * gst/gsttagsetter.c:
17781 * gst/gsttagsetter.h:
17784 * gst/gsttypefind.h:
17787 * gst/net/gstnetclientclock.c:
17788 * gst/net/gstnetclientclock.h:
17789 * gst/net/gstnettimepacket.c:
17790 * gst/net/gstnettimeprovider.c:
17791 * gst/net/gstnettimeprovider.h:
17794 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17796 * configure.ac: back to HEAD
17798 === release 0.9.6 ===
17800 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17803 releasing 0.9.6, "Always On Time"
17805 2005-11-23 Wim Taymans <wim@fluendo.com>
17807 * docs/gst/gstreamer-sections.txt:
17808 * gst/glib-compat.c:
17809 * gst/gsttagsetter.c:
17811 * gst/net/gstnetclientclock.c:
17812 * gst/net/gstnettimepacket.h:
17815 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * docs/faq/using.xml:
17818 * docs/libs/tmpl/gstcontrol.sgml:
17819 * docs/manual/advanced-dparams.xml:
17820 * docs/manual/appendix-checklist.xml:
17821 * docs/manual/basics-elements.xml:
17822 * docs/pwg/other-source.xml:
17823 * docs/random/moving-plugins:
17825 * tools/gst-launch.1.in:
17826 remove mentions of sinesrc
17828 2005-11-23 Michael Smith <msmith@fluendo.com>
17830 * docs/gst/gstreamer-sections.txt:
17831 Update for new API and API changes.
17833 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17835 Documentation typo fix.
17836 * gst/net/gstnettimepacket.c:
17837 Documentation fixes for arguments.
17839 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17841 * gst/gststructure.c: (gst_structure_get_fraction),
17842 (gst_structure_parse_value),
17843 (gst_structure_fixate_field_nearest_fraction):
17844 * gst/gststructure.h:
17845 * gst/gstutils.c: (gst_util_uint64_scale_int):
17847 * scripts/update-funcnames:
17849 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17850 Make gst_structure_fixate_field_nearest_fraction take a numerator
17851 and denominator argument instead of a GValue
17852 add gst_structure_get_fraction helper function.
17854 2005-11-23 Wim Taymans <wim@fluendo.com>
17856 * docs/design/part-TODO.txt:
17859 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17860 * gst/net/gstnetclientclock.h:
17861 Use parent fields for timeout and window_size.
17863 2005-11-23 Andy Wingo <wingo@pobox.com>
17865 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17866 rate_num/rate_denom change.
17868 * gst/net/gstnetclientclock.c
17869 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17870 OBJECT_LOCK. Don't call add_observation with the lock.
17872 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17874 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17876 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17877 deal with rate as a fraction whose numerator and denominator are
17878 GstClockTime values.
17879 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17880 master; the other fields are protected by the SLAVE_LOCK.
17881 (do_linear_regression): Note that this must be called with the
17883 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17884 OBJECT_LOCK. Call set_calibration instead of touching the
17885 variables directly.
17886 (gst_clock_set_property, gst_clock_get_property): Protect
17887 master/slave parameters with the SLAVE_LOCK.
17889 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17890 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17891 note that all of the instance variables that add_observation and
17892 the set_master functions use are protected by that lock and not
17894 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17896 * gst/gstclock.c (gst_clock_add_observation): No longer requires
17897 the caller to take the object lock.
17899 2005-11-23 Wim Taymans <wim@fluendo.com>
17901 * gst/gsterror.c: (_gst_core_errors_init):
17903 Add error for clock stuff.
17905 * gst/gstpipeline.c: (gst_pipeline_change_state),
17906 (gst_pipeline_set_clock):
17907 Post clock error when clock cannot be used in a pipeline.
17909 2005-11-23 Stefan Kost <ensonic@users.sf.net>
17911 * docs/gst/gstreamer-sections.txt:
17912 make two symbols from gstinfo private for the docs
17913 * gst/base/gstcollectpads.h:
17915 fix doc typos, update docs
17917 2005-11-22 Wim Taymans <wim@fluendo.com>
17919 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17920 (gst_base_sink_wait), (gst_base_sink_do_sync),
17921 (gst_base_sink_handle_event):
17922 * gst/base/gstbasesink.h:
17923 No need to store the clock, the parent element class already
17926 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17927 Updates for clock_set returning a gboolean
17929 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17930 (gst_clock_id_wait_async), (gst_clock_class_init),
17931 (gst_clock_init), (gst_clock_finalize),
17932 (gst_clock_get_internal_time), (gst_clock_get_time),
17933 (gst_clock_slave_callback), (gst_clock_set_master),
17934 (gst_clock_get_master), (do_linear_regression),
17935 (gst_clock_add_observation), (gst_clock_set_property),
17936 (gst_clock_get_property):
17938 Implement master/slave. When setting a clock as a slave, a
17939 periodic timeout is scheduled to sample master and slave times.
17940 Then the slave clock is recalibrated to match offset and rate
17941 of the master clock.
17942 Update logging a bit.
17943 Add flag so that a clock can state that is cannot be slaved to
17946 * gst/gstelement.c: (gst_element_set_clock):
17947 * gst/gstelement.h:
17948 The set clock returns a gboolean for when an element cannot
17949 deal with the selected clock in the pipeline.
17951 * gst/gstpipeline.c: (gst_pipeline_change_state),
17952 (gst_pipeline_set_clock):
17953 * gst/gstpipeline.h:
17954 Handle the case where the selected clock cannot be set on
17957 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17958 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17959 (gst_net_client_clock_set_property),
17960 (gst_net_client_clock_get_property),
17961 (gst_net_client_clock_observe_times):
17962 * gst/net/gstnetclientclock.h:
17963 Use regression code in GstClock parent, remove duplicated
17966 2005-11-22 Michael Smith <msmith@fluendo.com>
17968 * gst/gstutils.c: (gst_util_clock_time_scale):
17970 * docs/gst/gstreamer-sections.txt:
17971 Rename method to have extra underscore.
17973 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
17975 * gst/elements/Makefile.am:
17976 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17977 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17978 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17979 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
17980 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
17981 * gst/elements/gstfakesrc.h:
17982 * gst/gstqueue.c: (queue_leaky_get_type):
17983 correctly fix GEnumValues so that nick is the short lowercase
17985 * tools/gst-inspect.c: (print_element_properties_info):
17986 also show the nick, since it's useful to use from parse_launch
17990 2005-11-22 Michael Smith <msmith@fluendo.com>
17992 * gst/gstutils.c: (gst_util_clocktime_scale):
17994 * docs/gst/gstreamer-sections.txt:
17995 Add util method for scaling a clocktime by a fraction. Useful
17996 implementation is left as an exercise for the reader.
17998 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18000 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18001 If needed, allocate storage in the destination value during
18004 2005-11-22 Edward Hervey <edward@fluendo.com>
18006 * docs/gst/gstreamer-sections.txt:
18009 * gst/gsturitype.c:
18010 * gst/gsturitype.h:
18011 * gst/gstutils.c: (gst_util_set_object_arg):
18012 * tools/gst-compprep.c: (main):
18013 * tools/gst-inspect.c: (print_element_properties_info):
18014 Removed GstURI, closes bug #321061
18016 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18018 * check/gst/gststructure.c: (GST_START_TEST):
18019 * gst/gststructure.c: (gst_structure_parse_value):
18020 Oops, broke automatic string type parsing.
18021 Add a test to catch it in future.
18023 2005-11-22 Andy Wingo <wingo@pobox.com>
18025 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18026 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18027 Actually rename the function implementations. Grr.
18029 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18031 * check/gst/capslist.h:
18033 * check/gst/gststructure.c: (GST_START_TEST),
18034 (gst_structure_suite):
18035 Test automatic value type detection in gst_structure_from_string.
18036 * gst/gststructure.c: (gst_structure_parse_value):
18037 Add fraction as a type we try and guess automatically in
18038 caps/structure strings.
18040 2005-11-22 Andy Wingo <wingo@pobox.com>
18042 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18044 * gst/gsttagsetter.h:
18045 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18046 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18047 (gst_tag_setter_add_tag_valist)
18048 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18049 _add_values, _add_valist, and _add_valist_values. Since this is an
18050 interface the function suffixes should be more explicit so
18051 language binding don't end up with element.add_valist ->
18052 gst_tag_setter_add_valist, for example. Fixes #322069.
18054 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18056 * check/gst/gstcaps.c: (GST_START_TEST):
18057 Extend caps string tests to check that a caps to string
18058 conversion is reversible and produces the same caps.
18060 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18061 Output "fraction" as the generic type fraction range, so caps
18062 serialisation and deserialisation works.
18063 * check/gst/capslist.h:
18064 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18065 Support 'MIN' and 'MAX' for deserialising fractions.
18067 2005-11-22 Andy Wingo <wingo@pobox.com>
18069 * gst/gstevent.h (gst_event_new_new_segment)
18070 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18071 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18072 Renamed from *_newsegment, *_buffersize, *_notarget.
18074 * scripts/update-funcnames: New script, performs the changes
18077 2005-11-22 Wim Taymans <wim@fluendo.com>
18079 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18080 Make sure the GstFlowReturn is returned.
18082 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18083 (gst_bus_add_signal_watch):
18085 add gst_bus_add_signal_watch_full.
18087 * gst/gstplugin.c: (gst_plugin_load_file):
18088 Small style cleanup.
18090 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18092 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18093 Block the fakesrc srcpad when we send an event, to avoid
18094 contention on the stream_lock causing random test failures.
18096 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18098 * check/gst/gstvalue.c: (GST_START_TEST):
18099 * gst/gstvalue.c: (gst_value_fraction_subtract):
18102 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18105 include "gstchildproxy.h"
18106 * gst/gstchildproxy.h:
18107 * libs/gst/controller/gstcontroller.h:
18108 use G_GNUC_NULL_TERMINATED
18110 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18112 * check/gst/capslist.h:
18113 * check/gst/gstcaps.c: (GST_START_TEST):
18114 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18115 * gst/gststructure.c: (gst_structure_parse_range),
18116 (gst_structure_fixate_field_nearest_fraction):
18117 * gst/gststructure.h:
18118 * gst/gstvalue.c: (gst_value_init_fraction_range),
18119 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18120 (gst_value_collect_fraction_range),
18121 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18122 (gst_value_set_fraction_range_full),
18123 (gst_value_get_fraction_range_min),
18124 (gst_value_get_fraction_range_max),
18125 (gst_value_serialize_fraction_range),
18126 (gst_value_transform_fraction_range_string),
18127 (gst_value_compare_fraction_range),
18128 (gst_value_deserialize_fraction_range),
18129 (gst_value_intersect_fraction_fraction_range),
18130 (gst_value_intersect_fraction_range_fraction_range),
18131 (gst_value_subtract_fraction_fraction_range),
18132 (gst_value_subtract_fraction_range_fraction),
18133 (gst_value_subtract_fraction_range_fraction_range),
18134 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18135 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18136 (gst_value_transform_string_fraction), (_gst_value_initialize):
18138 Implement fraction ranges and extend GstFraction to support
18139 arithmetic subtraction, as well as deserialization from integer
18140 strings such as "100"
18141 Add a testsuite as for int and double range set operations
18143 2005-11-21 Andy Wingo <wingo@pobox.com>
18145 * gst/gsttaglist.h:
18147 * gst/gststructure.h: Add glib-compat.h.
18149 2005-11-21 Wim Taymans <wim@fluendo.com>
18151 * gst/gstbin.c: (gst_bin_change_state_func):
18154 2005-11-21 Wim Taymans <wim@fluendo.com>
18156 * gst/gstsegment.h:
18157 And add a nice define too.
18159 2005-11-21 Wim Taymans <wim@fluendo.com>
18161 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18162 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18163 (gst_segment_set_duration), (gst_segment_set_last_stop),
18164 (gst_segment_set_seek), (gst_segment_set_newsegment),
18165 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18166 (gst_segment_clip):
18167 * gst/gstsegment.h:
18168 Make binding friendly.
18170 2005-11-21 Andy Wingo <wingo@pobox.com>
18172 * gst/gsttagsetter.h:
18173 * gst/gsttaglist.h:
18174 * gst/gststructure.h:
18176 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18179 * gst/gsterror.c (_gst_core_errors_init):
18180 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18183 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18184 (noinst_HEADERS): noinst the -private.
18186 2005-11-21 Michael Smith <msmith@fluendo.com>
18189 * gst/gstregistry.h:
18190 Remove unimplemented declarations for which we can see no sensible
18193 2005-11-21 Andy Wingo <wingo@pobox.com>
18195 * gst/gst.h: Include glib-compat.h.
18197 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18199 * gst/glib-compat.c: Include the public and the private header.
18201 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18205 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18207 * check/gst/gstevent.c (create_custom_events): Check that
18208 FLUSH_STOP is serialized.
18210 * check/elements/identity.c (event_func):
18211 * check/elements/fakesrc.c (event_func): No stream lock, the core
18214 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18215 stream lock taking, yay.
18217 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18218 ensure that core takes the stream lock.
18220 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18223 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18224 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18225 it already. For the flush start we do take it though so we get the
18226 right preroll state change messages.
18228 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18229 the stream lock here, the core does it for us.
18231 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18232 GST_STREAM_GET_LOCK.
18233 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18234 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18235 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18236 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18237 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18238 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18240 * gst/gstpad.c: Update for stream lock name change.
18242 * gst/base/gstbasesink.c: Update for preroll lock name change.
18244 2005-11-21 Wim Taymans <wim@fluendo.com>
18246 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18247 (gst_clock_get_master):
18249 * gst/gstsystemclock.c: (gst_system_clock_init):
18250 Convert Clock flags to object flags.
18251 Added methods to manage master/slave clocks.
18253 2005-11-21 Wim Taymans <wim@fluendo.com>
18255 * check/gst/gstsegment.c: (GST_START_TEST):
18256 * docs/design/part-TODO.txt:
18257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18258 (gst_base_sink_event), (gst_base_sink_do_sync),
18259 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18260 (gst_base_sink_query), (gst_base_sink_change_state):
18261 * gst/base/gstbasesink.h:
18262 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18263 (gst_base_src_default_newsegment),
18264 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18265 (gst_base_src_get_range), (gst_base_src_loop),
18266 (gst_base_src_change_state):
18267 * gst/base/gstbasesrc.h:
18268 * gst/base/gstbasetransform.c:
18269 (gst_base_transform_prepare_output_buf),
18270 (gst_base_transform_event), (gst_base_transform_change_state):
18271 * gst/base/gstbasetransform.h:
18272 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18273 (gst_collect_pads_event):
18274 * gst/base/gstcollectpads.h:
18275 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18276 (gst_fake_src_create):
18277 * gst/elements/gstfakesrc.h:
18278 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18279 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18280 (gst_segment_set_last_stop), (gst_segment_set_seek),
18281 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18282 (gst_segment_to_running_time), (gst_segment_clip):
18283 * gst/gstsegment.h:
18284 More segment updates, replace code in plugins with segment
18287 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18289 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18290 Don't ignore sscanf results
18292 2005-11-21 Andy Wingo <wingo@pobox.com>
18294 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18297 * *.c: Ran scripts/update-macros. Oh yes.
18299 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18300 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18303 * scripts/update-macros: New script. Run it on your files to
18304 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18307 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18309 * docs/gst/Makefile.am:
18310 * docs/gst/gstreamer-docs.sgml:
18311 * docs/gst/gstreamer-sections.txt:
18312 * docs/gst/gstreamer.types:
18314 more docs fixes, add new api to the docs
18316 2005-11-21 Andy Wingo <wingo@pobox.com>
18318 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18319 state_broadcast call.
18321 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18323 2005-11-21 Julien MOUTTE <julien@moutte.net>
18325 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18326 function calls for arrays.
18328 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18330 * docs/random/ensonic/media-device-daemon.txt:
18331 wild idea, can this be done?
18332 * docs/gst/gstreamer-sections.txt:
18337 * gst/gstpluginfeature.c:
18341 doc fixes and additions
18343 2005-11-21 Andy Wingo <wingo@pobox.com>
18345 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18346 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18347 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18348 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18349 private to the basesrc implementation.
18351 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18352 behalf of event function if necessary. It should no longer be
18353 necessary to take the stream lock in pad's event functions. Fixes
18356 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18357 * docs/gst/gstreamer-sections.txt:
18358 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18359 (gst_structure_fixate_field_nearest_double),
18360 (gst_structure_fixate_field_boolean):
18361 * gst/gststructure.h:
18362 * win32/common/libgstreamer.def:
18363 * win32/gstreamer.def:
18365 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18368 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18370 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18371 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18372 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18373 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18374 (gst_fdsrc_uri_handler_init):
18375 * gst/elements/gstfdsrc.h:
18376 Port fd:// URI handler from 0.8 to fdsrc
18378 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18380 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18381 (gst_value_serialize_fourcc):
18383 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18384 consistent with our other format defines (#320324).
18386 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18388 * gst/gstvalue.c: (gst_value_is_fixed):
18389 Revert previous commit. Value lists are by definition
18390 not fixed, as they are a list of possible values.
18392 2005-11-21 Andy Wingo <wingo@pobox.com>
18394 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18395 during the stable series if we need it. Fixes #319178.
18397 * gst/gstevent.c (gst_event_new_filler): Removed.
18399 * check/gst/gstevent.c: Update comment about filler events.
18401 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18403 * gst/gstvalue.c: (gst_value_is_fixed):
18404 Should handle both value arrays and value lists.
18406 2005-11-21 Andy Wingo <wingo@pobox.com>
18408 patch by: Alessandro Dessina <alessandro nnva org>
18410 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18411 functions to access arrays. Fixes #321962.
18413 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18415 * docs/gst/gstreamer.types:
18416 gst_collectpads_get_type => gst_collect_pads_get_type.
18418 * gst/base/gstbasetransform.c:
18419 Remove unused SIGNAL_HANDOFF enum.
18421 2005-11-21 Andy Wingo <wingo@pobox.com>
18423 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18424 the event type (upstream, downstream, serialized). Renamed
18425 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18426 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18427 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18429 * gst/gstevent.c: Update for new CUSTOM event names.
18431 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18434 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18437 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18439 * docs/gst/gstreamer-sections.txt:
18440 * win32/common/libgstbase.def:
18441 * win32/libgstbase.def:
18442 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18443 (gst_collect_pads_class_init), (gst_collect_pads_init),
18444 (gst_collect_pads_finalize), (gst_collect_pads_new),
18445 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18446 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18447 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18448 (gst_collect_pads_start), (gst_collect_pads_stop),
18449 (gst_collect_pads_peek), (gst_collect_pads_pop),
18450 (gst_collect_pads_available), (gst_collect_pads_read),
18451 (gst_collect_pads_flush), (gst_collect_pads_event),
18452 (gst_collect_pads_chain):
18453 * gst/base/gstcollectpads.h:
18454 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18455 unimplemented functions as unimplemented. Add padding to
18456 GstCollectData. (#320766, #320423)
18458 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18460 * gst/gstmessage.c:
18461 Improve docs for DURATION message (usage of duration parameter)
18464 2005-11-20 Wim Taymans <wim@fluendo.com>
18466 * check/Makefile.am:
18467 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18471 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18472 (gst_segment_set_seek), (gst_segment_set_newsegment),
18473 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18474 (gst_segment_clip):
18475 * gst/gstsegment.h:
18476 Added segment helper structure and methods. Not fully implemented
18478 Added segment check.
18480 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18482 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18483 Add a deserialisation test for fractions
18484 * examples/metadata/read-metadata.c: (message_loop),
18485 (make_pipeline), (main):
18486 Fix up metadata reading sample.
18487 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18489 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18490 Don't try and fixate empty caps
18491 * gst/gst_private.h:
18492 Wrap in G_BEGIN_DECLS/G_END_DECLS
18493 * gst/gstvalue.c: (gst_value_collect_fraction),
18494 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18495 (gst_value_transform_string_fraction),
18496 (gst_value_compare_fraction):
18497 Add some extra guards to ensure that we don't end up
18498 with an invalid denominator of 0 in a gstfraction and
18499 that fractions always get reduced.
18501 2005-11-20 Wim Taymans <wim@fluendo.com>
18503 * docs/gst/gstreamer-sections.txt:
18505 * gst/gstelement.c:
18514 2005-11-20 Wim Taymans <wim@fluendo.com>
18516 * docs/design/part-TODO.txt:
18518 Make a proper enum of the flag.
18520 2005-11-19 Wim Taymans <wim@fluendo.com>
18522 * docs/design/part-TODO.txt:
18523 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18524 (gst_format_to_quark), (gst_format_register):
18526 * gst/gstquery.c: (_gst_query_initialize),
18527 (gst_query_type_get_name), (gst_query_type_to_quark),
18528 (gst_query_type_register):
18530 Add type to quark and type to string conversions.
18532 2005-11-19 Andy Wingo <wingo@pobox.com>
18534 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18537 2005-11-19 Wim Taymans <wim@fluendo.com>
18539 * docs/design/part-TODO.txt:
18540 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18541 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18542 (gst_bin_handle_message_func):
18544 Make message handling overridable.
18546 2005-11-19 Andy Wingo <wingo@pobox.com>
18548 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18551 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18553 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18554 is a GstClockTime. Fixes #321710.
18556 * gst/gstclock.h (GstClock): Remove offset property. Add
18557 internal_calibration and external_calibration. Fix padding. Pad
18558 also by GstClockTime so we don't run into problems.
18560 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18561 (gst_clock_get_rate_offset): Remove.
18562 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18565 * gst/gstutils.c (g_static_rec_cond_wait)
18566 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18568 * gst/gstbin.c: Remove terrible continue_state prototype.
18570 * gst/gstelement.h (gst_element_continue_state): Make public.
18572 * gst/gstelement.h:
18573 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18574 by continue_state. Fixes #319389.
18576 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18577 Really fixes #168438. However I don't see anywhere where the
18578 filter function is called... stupid GStreamer...
18580 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18581 don't have a dispose function, so it won't get called when the
18582 object is unreffed, but oh well!
18584 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18585 allows a destroy function to be set so user_data can be freed.
18587 (gst_index_set_filter): Call gst_index_set_filter_full.
18589 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18591 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18592 string should produce an error, given the lack of a way to
18593 represent NULL strings. Fixes #165650.
18596 * gst/gstvalue.c (gst_value_array_append_value)
18597 (gst_value_array_prepend_value, gst_value_array_get_size)
18598 (gst_value_array_get_value): New API, copied from
18599 gst_value_list_*, only operates on arrays.
18600 (gst_value_list_append_value, gst_value_list_prepend_value)
18601 (gst_value_list_concat, gst_value_list_get_size)
18602 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18604 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18605 init_list, because it works on both.
18606 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18607 (gst_value_copy_list_or_array): Renamed from copy_list.
18608 (gst_value_free_list_or_array): Renamed from free_list.
18609 (gst_value_collect_list_or_array): Renamed from collect_list.
18610 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18611 (gst_value_list_or_array_peek_pointer): Renamed from
18613 (_gst_value_array_value_table, _gst_value_list_value_table):
18614 Update value table functions.
18615 (gst_value_compare_list_or_array): Renamed from compare_list.
18617 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18620 * gst/gsttaglist.c:
18621 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18622 GstTagList*. Fixes #143472.
18624 * gst/gststructure.h: Clarify what the foreach/map functions can
18625 or can't do to their arguments.
18627 2005-11-18 Wim Taymans <wim@fluendo.com>
18629 * gst/gstclock.c: (gst_clock_set_calibration),
18630 (gst_clock_get_calibration):
18632 Calibration can be set with internal time equal to current
18635 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18641 2005-11-18 Andy Wingo <wingo@pobox.com>
18644 * pkgconfig/gstreamer-net.pc.in:
18645 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18646 * pkgconfig/Makefile.am: Add net pkgconfig files.
18648 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18651 * gst/gstghostpad.c:
18657 2005-11-18 Andy Wingo <wingo@pobox.com>
18659 * gst/net/gstnetclientclock.c: Turn off debugging.
18661 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18662 times connverge somewhat. Can't make a real test.
18664 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18665 integer arithmetic. Return the minimum of the domain, which can be
18666 set as "internal" for gst_clock_set_calibration.
18667 (gst_net_client_clock_observe_times): Call _set_calibration.
18668 (gst_net_client_clock_new): Call _set_calibration instead of
18671 * check/net/gstnetclientclock.c (test_functioning): Use the right
18675 * gst/gstclock.c (gst_clock_get_calibration)
18676 (gst_clock_set_calibration): New functions, obsolete the ones I
18677 added yesterday. Doh. Precision issues mean we have to extrapolate
18678 from a point in the more recent past than 1970.
18679 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18681 (gst_clock_adjust_unlocked): Use the right calibration data.
18683 2005-11-18 Edward Hervey <edward@fluendo.com>
18685 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18686 Also reset the ->current_* values in READY->PAUSED
18688 2005-11-18 Andy Wingo <wingo@pobox.com>
18690 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18691 Whoops, check the right fd. Also add some debugging.
18692 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18693 (do_linear_regression): Add a crapload of debugging. Subtract off
18694 the minimum values from the input series to discard unneeded bits.
18695 Use only int arithmetic. There is still double arithmetic when
18696 calculating the intercept that needs fixing. Return boolean to
18697 indicate success; FALSE would mean the domain or range is too
18698 great. Still needs fixes.
18700 2005-11-18 Wim Taymans <wim@fluendo.com>
18702 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18703 For the current position in stream time, we need to subtract
18706 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18707 Release lock before calling the callback function of async
18710 2005-11-18 Andy Wingo <wingo@pobox.com>
18712 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18713 Port goes all the way to MAXUINT16.
18715 * gst/net/gstnettimeprovider.c: Make the port range the same as
18716 for the kernel: 0 assigns, otherwise ports are less than
18719 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18722 * check/net/gstnetclientclock.c (test_functioning): Add the start
18725 2005-11-18 Wim Taymans <wim@fluendo.com>
18727 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18728 (gst_bin_remove_func), (bin_bus_handler):
18730 Removing a clock provider from a bin, triggers a clock lost message
18731 so that a new clock will be selected.
18732 Adding a clock to a bin triggers a clock provider message.
18733 Make sure we reselect a clock when we received a clock lost message.
18734 Keep a reference to the element that provided the clock.
18736 2005-11-18 Andy Wingo <wingo@pobox.com>
18738 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18739 the clock initially so it produces values around the base time.
18740 (gst_net_client_clock_class_init): Typo fix.
18741 (gst_net_client_clock_thread): Add note on when the socket gets
18744 2005-11-17 Wim Taymans <wim@fluendo.com>
18746 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18747 Free remote and local time arrays.
18749 2005-11-17 Wim Taymans <wim@fluendo.com>
18751 * gst/net/gstnetclientclock.c: (do_linear_regression),
18752 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18753 Fix compilation, uninitialized vars and a forgotten continue.
18755 2005-11-17 Andy Wingo <wingo@pobox.com>
18757 * check/Makefile.am (check_PROGRAMS):
18758 * check/net/gstnetclientclock.c: Add a most minimal test for the
18759 net client clock. More to come later.
18761 * gst/net/gstnet.h:
18762 * gst/net/Makefile.am: Add netclientclock.
18764 * gst/net/gstnetclientclock.h:
18765 * gst/net/gstnetclientclock.c: New files, implement an untested
18766 GstClock that takes its time from a network time provider.
18767 Implements the algorithm in network-clock.scm.
18769 * tests/network-clock.scm (*window-size*): Rename from
18771 * tests/network-clock.scm (network-time):
18772 * tests/network-clock-utils.scm (q-push): Update callers.
18774 2005-11-17 Wim Taymans <wim@fluendo.com>
18776 * gst/gstbin.c: (gst_bin_provide_clock_func),
18777 (gst_bin_sort_iterator_new):
18778 And unref the child too..
18780 2005-11-17 Wim Taymans <wim@fluendo.com>
18782 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18783 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18784 Refactor the sort iterator so it can be used while holding the
18786 Make clock selection select a clock closest to the source.
18788 2005-11-17 Michael Smith <msmith@fluendo.com>
18790 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18791 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18793 Anonymous structs are a gcc (and some other compilers) extension, so
18794 don't use them. Since this is only for ABI-compatibility, and our
18795 API/ABI freeze is over in a few days, this whole thing will only
18796 last a few days, so don't bother trying to think up a meaningful
18797 name for the struct.
18799 2005-11-17 Andy Wingo <wingo@pobox.com>
18801 * gst/gstclock.h (GstClock): Add rate and offset properties,
18802 preserving ABI stability. Add rate/offset accessors. Will file bug
18803 for the freeze break.
18805 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18806 and offset, trying to keep precision and avoiding
18807 underflow/overflow.
18808 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18809 functions. Make gst_clock_set_time_adjust obsolete.
18810 (gst_clock_set_time_adjust): Note that this function is obsolete.
18811 Will file bug soon.
18813 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18814 greppable by using GST_PADDING-1+1.
18816 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18818 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18820 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18821 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18823 * gst/gstpadtemplate.h:
18824 * gst/gstpluginfeature.h:
18825 Don't use c++ style comments in headers (#321638).
18827 2005-11-16 Andy Wingo <wingo@pobox.com>
18829 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18832 * check/net/gstnettimeprovider.c: Check to see that the time
18833 provider actually provides times. Works, yo!
18835 2005-11-16 Wim Taymans <wim@fluendo.com>
18837 * check/Makefile.am:
18840 * check/elements/fakesrc.c: (GST_START_TEST):
18841 Set element to NULL before disposing it.
18843 2005-11-16 Andy Wingo <wingo@pobox.com>
18845 * gst/net/Makefile.am:
18846 * gst/net/gstnet.h:
18847 * gst/net/gstnettimeprovider.c:
18848 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18849 provider, include it from gstnet.h, and add it to the build.
18851 * gst/net/gstnettimepacket.h:
18852 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18853 sending and receiving.
18855 2005-11-16 Wim Taymans <wim@fluendo.com>
18857 * check/Makefile.am:
18858 Enable valgrind check.
18860 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18861 (gst_fake_src_alloc_buffer):
18864 2005-11-16 Wim Taymans <wim@fluendo.com>
18866 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18867 Call parent finalize too.
18869 2005-11-16 Wim Taymans <wim@fluendo.com>
18871 * check/Makefile.am:
18872 Enable valgrind check that should work fine now.
18874 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18875 * gst/gstqueue.c: (gst_queue_init):
18876 Fix memleaks in pad allocation.
18878 2005-11-16 Andy Wingo <wingo@pobox.com>
18880 * gst/net/Makefile.am:
18881 * gst/net/gstnet.h: New part of core to hold network elements and
18882 objects. Put in core because it exposes API that applications want
18883 to use. The library is named libgstnet-tempname right now because
18884 of the existing libgstnet in gst-plugins-base. Solution is
18885 probably to rename the one in plugins-base; will file a bug for
18888 * gst/net/gstnettimeprovider.c:
18889 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18890 get_time call over the network.
18893 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18895 * check/Makefile.am:
18896 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18897 get additions shortly.
18899 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18901 * gst/gstpad.c: (gst_pad_new_from_static_template):
18903 add gst_pad_new_from_static_template functions
18904 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18905 (gst_check_setup_sink_pad):
18906 * gst/elements/gsttee.c: (gst_tee_init):
18909 2005-11-16 Wim Taymans <wim@fluendo.com>
18911 * gst/gstpad.c: (gst_pad_pause_task):
18912 Removed warning, it's not really an error either.
18914 2005-11-16 Wim Taymans <wim@fluendo.com>
18916 * gst/base/gstbasetransform.c:
18917 (gst_base_transform_prepare_output_buf),
18918 (gst_base_transform_event):
18919 Check if the caps are NULL, this can happen if the element
18920 is shutting down and the pad caps are set to NULL.
18922 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18924 * gst/elements/gsttee.c: (gst_tee_init):
18925 fix pad template leak in tee
18927 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18929 * gst/glib-compat.c: (g_value_dup_gst_object):
18930 * gst/glib-compat.h:
18931 * gst/gstpad.c: (gst_pad_set_property):
18932 use gst_object_ref when setting the pad template; this will
18933 trigger the pad template leaks on GLib 2.6 and the slaves
18935 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18937 * gst/glib-compat.c: (gst_flags_get_first_value):
18938 * gst/glib-compat.h:
18939 * gst/gstregistryxml.c:
18940 remove functions copied from GLib 2.6
18942 2005-11-16 Michael Smith <msmith@fluendo.com>
18945 Don't link against VALGRIND_LIBS. That was always the wrong thing to
18946 do, but only breaks with newer valgrind versions. We're not a
18947 valgrind tool, we have no link-time dependencies on libcoregrind.
18949 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18951 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18953 * gst/gstmessage.h:
18956 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18958 * gst/base/gstbasesrc.c: (gst_base_src_init):
18959 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18960 * gst/gstqueue.c: (gst_queue_init):
18961 * gst/gstregistryxml.c: (load_feature):
18962 Revert all these unrefs, they don't even pass make check !
18964 2005-11-15 Johan Dahlin <johan@gnome.org>
18966 * gst/base/gstbasesrc.c: (gst_base_src_init):
18967 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18968 * gst/gstqueue.c: (gst_queue_init):
18969 Free pad templates, fixes a couple of leaks.
18971 2005-11-15 Daniel Fischer <dan at f3c dot com>
18973 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18975 * gst/gstpad.c: (gst_pad_get_property):
18976 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18977 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18980 2005-11-15 Wim Taymans <wim@fluendo.com>
18985 2005-11-15 Andy Wingo <wingo@pobox.com>
18987 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
18989 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
18990 using GST_CLOCK_TIME_NONE to disable base time management.
18991 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
18992 time if it was NONE before.
18993 (gst_pipeline_change_state): Only munge the base time if
18994 stream_time != GST_CLOCK_TIME_NONE.
18996 * check/gst/gstpipeline.c (test_base_time): Punt around the
18997 problem of the probe not being called, because that's not the
18998 issue I'm looking at. Add a check that setting stream_time to NONE
18999 disables base time management.
19001 2005-11-15 Wim Taymans <wim@fluendo.com>
19003 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19004 segment_stop == -1 at startup.
19006 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19007 (gst_base_transform_change_state):
19008 Init segment values at start.
19010 2005-11-15 Wim Taymans <wim@fluendo.com>
19012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19013 0 segment values are 0 in any format.
19015 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19016 * gst/base/gstbasetransform.h:
19017 Parse newsegment correctly in basetransform
19019 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19020 Sync to clock using updated segment values.
19022 2005-11-15 Andy Wingo <wingo@pobox.com>
19024 * check/gst/gstpipeline.c (test_base_time): Add check that the
19025 base time and stream time are reset correctly.
19027 2005-11-15 Wim Taymans <wim@fluendo.com>
19029 * docs/design/part-TODO.txt:
19030 Some more TODO items.
19032 2005-11-15 Andy Wingo <wingo@pobox.com>
19034 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19035 error if the user selected "no clock" as the clocking method.
19037 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19038 timestamps with live capture.
19040 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19041 is 0 but we are a live source, timestamp the buffers using the
19044 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19046 * docs/gst/gstreamer-sections.txt:
19048 * gst/gstghostpad.c:
19053 2005-11-14 Wim Taymans <wim@fluendo.com>
19056 add suppressions from Wim's Debian machine
19058 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19061 add suppressions from Andy's AMD64 Ubuntu machine
19063 2005-11-14 Andy Wingo <wingo@pobox.com>
19065 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19066 STATE_LOCK not necessary. Fixes #311489.
19068 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19071 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19072 this function is not implemented.
19074 2005-11-14 Julien MOUTTE <julien@moutte.net>
19076 * gst/base/gstbasetransform.c:
19077 (gst_base_transform_prepare_output_buf):
19078 Ref the source pad caps while we need them.
19081 2005-11-11 Wim Taymans <wim@fluendo.com>
19083 * docs/gst/gstreamer-sections.txt:
19084 Added some docs for GstCollectData.
19086 * gst/base/gstadapter.c:
19087 Some small code example fix.
19089 * gst/base/gstcollectpads.c:
19090 * gst/base/gstcollectpads.h:
19091 Document some more.
19093 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19095 * configure.ac: back to HEAD
19097 === release 0.9.5 ===
19099 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19102 releasing 0.9.5, "Bike Lunch Day"
19104 2005-11-11 Wim Taymans <wim@fluendo.com>
19106 * gst/gstbuffer.c: (_gst_buffer_copy):
19109 * gst/gstcaps.c: (gst_caps_is_equal):
19111 Make _is_equal fast in the trivial cases.
19113 * gst/gstminiobject.c:
19114 * gst/gstminiobject.h:
19115 More docs. Spifify .h file.
19120 2005-11-11 Wim Taymans <wim@fluendo.com>
19122 * gst/base/gstbasetransform.c:
19123 (gst_base_transform_prepare_output_buf),
19124 (gst_base_transform_handle_buffer):
19126 If we're processing a buffer and need to allocate an output
19127 buffer, we cannot accept a format change. If we did get a
19128 format change, we have to alloc a buffer ourselves of the
19131 2005-11-11 Wim Taymans <wim@fluendo.com>
19133 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19134 While checking the flag for reentrancy in the gstcaps function
19135 is nice to detect recursive invocations, it also makes it
19136 impossible to call getcaps from multiple threads, which must be
19137 possible. So, checking for recursive calls has to go.
19139 2005-11-11 Michael Smith <msmith@fluendo.com>
19141 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19142 Don't sync on buffers that fall partially outside our current
19143 segment. Prevents an assertion failure/abort playing some files.
19145 2005-11-10 Andy Wingo <wingo@pobox.com>
19147 * check/gst/gstbin.c (test_message_state_changed_children): Style
19150 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19151 gst_bus_poll with the signal watch. Ensures that poll and a signal
19152 watch see the same messages.
19154 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19155 a poll and a watch at the same time get the same messages.
19157 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19159 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19160 * gst/gstcaps.c: (gst_caps_intersect):
19161 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19162 and it's not needed.
19164 2005-11-10 Wim Taymans <wim@fluendo.com>
19166 * docs/design/part-TODO.txt:
19169 2005-11-10 Wim Taymans <wim@fluendo.com>
19171 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19172 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19173 (gst_base_src_do_sync), (gst_base_src_get_range):
19174 Implement clock sync in base class.
19176 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19178 patch by: Tim-Philipp Müller <tim at centricular dot net>
19180 * gst/gststructure.c: (gst_structure_parse_field),
19181 (gst_structure_from_string):
19182 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19183 so that gst_parse_launch() can deal with spaces in filtered link
19184 caps (fixes #164479)
19185 * check/gst/capslist.h:
19186 * check/gst/gststructure.c: (GST_START_TEST):
19187 add unit tests for this change
19189 2005-11-10 Wim Taymans <wim@fluendo.com>
19191 * docs/gst/gstreamer-sections.txt:
19192 * gst/gstelement.c:
19193 * gst/gstelement.h:
19194 Fix docs, move some STATE macros to private.
19196 2005-11-10 Wim Taymans <wim@fluendo.com>
19198 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19199 Added check for bug #317341
19203 Some more spiffifying.
19205 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19206 Call peer linkfunction if we are a source pad. Totally fixes
19210 Update docs, source pads should call the peer linkfunction
19211 so they can atomically perform the pad link.
19213 2005-11-09 Wim Taymans <wim@fluendo.com>
19217 Uber-spiffy-spiffify some more.
19219 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19221 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19222 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19223 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19224 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19225 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19226 * gst/gstpad.c: (gst_pad_init):
19227 Use GST_DEBUG_FUNCPTR() more extensively.
19229 2005-11-09 Wim Taymans <wim@fluendo.com>
19231 * gst/gstobject.c: (gst_object_class_init):
19233 Documentation fixes.
19235 2005-11-09 Edward Hervey <edward@fluendo.com>
19237 * gst/gsttypefindfactory.c:
19240 2005-11-09 Edward Hervey <edward@fluendo.com>
19242 * gst/base/gsttypefindhelper.c:
19243 * gst/gsttypefind.c:
19244 * gst/gsttypefind.h:
19247 2005-11-09 Wim Taymans <wim@fluendo.com>
19249 * gst/gstiterator.c:
19256 2005-11-09 Wim Taymans <wim@fluendo.com>
19262 2005-11-09 Wim Taymans <wim@fluendo.com>
19264 * docs/gst/gstreamer-sections.txt:
19265 Moved the message async delivery private lock and cond
19266 to the private section.
19268 * gst/gstmessage.c:
19269 * gst/gstmessage.h:
19272 2005-11-09 Edward Hervey <edward@fluendo.com>
19274 * docs/gst/gstreamer-sections.txt:
19277 Document GstURIHandler
19279 2005-11-09 Wim Taymans <wim@fluendo.com>
19281 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19282 (gst_iterator_find_custom):
19283 * gst/gstiterator.h:
19286 2005-11-09 Wim Taymans <wim@fluendo.com>
19289 Document another field.
19291 * gst/gststructure.c:
19292 * gst/gststructure.h:
19295 2005-11-09 Wim Taymans <wim@fluendo.com>
19298 Documented structs.
19300 2005-11-09 Wim Taymans <wim@fluendo.com>
19302 * docs/gst/gstreamer-sections.txt:
19303 Added some new macros.
19310 2005-11-09 Wim Taymans <wim@fluendo.com>
19312 * docs/design/part-TODO.txt:
19313 Some more items for the TODO
19319 2005-11-09 Andy Wingo <wingo@pobox.com>
19321 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19322 to work on something else now tho...
19324 * gst/base/gstadapter.c: More adapter docs.
19326 * gst/elements/gstfilesink.c (gst_file_sink_start)
19327 (gst_file_sink_stop): New functions, replace the state change
19329 (gst_file_sink_class_init): Hook up the start and stop functions.
19330 (gst_file_sink_base_init): Don't set the state change handler any
19331 more. It was a bit ugly too, being set from here...
19332 (gst_file_sink_get_property, gst_file_sink_set_property):
19334 (gst_file_sink_set_location): More robust check that doesn't call
19335 GST_STATE. Ugggggg.
19337 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19339 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19340 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19342 2005-11-08 Wim Taymans <wim@fluendo.com>
19344 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19345 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19346 (gst_base_sink_chain), (gst_base_sink_change_state):
19347 * gst/base/gstbasesink.h:
19348 * gst/base/gstbasesrc.h:
19349 * gst/gstelement.h:
19351 Avoid excessive typechecking in macros.
19353 * gst/gstminiobject.c: (gst_mini_object_get_type),
19354 (gst_mini_object_init), (gst_mini_object_new),
19355 (gst_mini_object_free):
19356 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19357 (gst_object_finalize):
19358 Remove cruft code, optimize alloc_trace.
19360 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19362 * docs/faq/gst-uninstalled:
19363 fix up PS1 for systems that try to reset it
19365 2005-11-07 Wim Taymans <wim@fluendo.com>
19367 * gst/base/gstbasesrc.c: (gst_base_src_init),
19368 (gst_base_src_get_range):
19369 Set the segment_end to -1 initially. Fixed typefind.
19371 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19373 * gst/base/gstadapter.c:
19374 Debug category should be 'adapter', not 'GstAdapter'.
19376 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19377 (gst_collectpads_class_init), (gst_collectpads_init),
19378 (gst_collectpads_peek), (gst_collectpads_pop),
19379 (gst_collectpads_event), (gst_collectpads_chain):
19380 Add debug category and some debugging output. Use boilerplate
19381 macros. Remove some extraneous words from docs.
19383 2005-11-05 Andy Wingo <wingo@pobox.com>
19385 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19388 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19390 * docs/gst/gstreamer-sections.txt:
19393 * gst/gstminiobject.h:
19398 2005-11-04 Wim Taymans <wim@fluendo.com>
19400 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19401 Small update to stop at the configured segment_end
19404 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19406 * gst/gstregistry.c:
19407 * gst/gstregistry.h:
19410 2005-11-04 Edward Hervey <edward@fluendo.com>
19412 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19413 Check if we are doing a segment seek and have arrived at the
19414 end of that segment.
19416 2005-11-04 Wim Taymans <wim@fluendo.com>
19418 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19419 Don't leak a mutex unlock in case of an error.
19424 2005-11-04 Wim Taymans <wim@fluendo.com>
19426 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19428 Get the context to wake up only once.
19430 2005-11-03 Wim Taymans <wim@fluendo.com>
19432 * check/states/sinks.c: (GST_START_TEST):
19433 Uncomment fixed check.
19435 * docs/design/part-TODO.txt:
19438 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19439 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19440 (gst_base_sink_get_position):
19441 If we are going to PLAYING, post the right pending state
19442 when we post the intermediate paused message.
19444 * gst/gstelement.c: (gst_element_continue_state),
19445 (gst_element_set_state_func), (gst_element_change_state):
19446 Don't post state changes that were between the same state
19447 and were not ASYNC.
19449 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19451 * docs/gst/gstreamer-sections.txt:
19454 * gst/gstminiobject.h:
19457 more docs and doc style fixes
19459 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19461 * docs/gst/gstreamer-sections.txt:
19462 * gst/gstelement.c:
19463 * gst/gstminiobject.c:
19466 2005-11-03 Andy Wingo <wingo@pobox.com>
19468 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19469 state-changed messages actually have the right order and the right
19472 2005-11-03 Wim Taymans <wim@fluendo.com>
19474 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19475 Added some more checks. Specifically the case where NO_PREROLL
19476 elements are in the pipeline.
19478 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19479 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19480 (gst_base_sink_get_position):
19481 Post READY->PAUSED state change messages too.
19482 Fix bug where VOID was posted as pending state...
19484 * gst/gstbin.c: (gst_bin_recalc_state):
19485 use _element_continue_state() to continue the state change.
19487 * gst/gstelement.c: (gst_element_continue_state),
19488 (gst_element_commit_state), (gst_element_set_state_func),
19489 (gst_element_change_state), (gst_element_change_state_func):
19490 Lots of state change cleanups, assign the STATE_RETURN in
19491 a new continue_state() function that also propagates the
19492 last return value from a state change to the app.
19493 Update some debug statements with proper category.
19495 2005-11-03 Wim Taymans <wim@fluendo.com>
19497 * docs/design/part-events.txt:
19498 * docs/design/part-gstpipeline.txt:
19499 * docs/design/part-messages.txt:
19500 * docs/design/part-overview.txt:
19501 * docs/design/part-seeking.txt:
19502 * docs/design/part-states.txt:
19503 * docs/design/part-trickmodes.txt:
19504 * docs/manual/advanced-position.xml:
19505 Small docs updates.
19508 People think !! is ugly, this looks better.
19510 * gst/gstpad.c: (gst_pad_set_blocked_async):
19511 Remove !! since it's fixed elsewhere now.
19513 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19515 * gst/gstminiobject.h:
19517 Add !! to _FLAG_IS_SET macros to make the result boolean.
19519 2005-11-03 Edward Hervey <edward@fluendo.com>
19521 * gst/gstpad.c: (gst_pad_set_blocked_async):
19522 comparing a flag and a gboolean rarely returns coherent results...
19523 Added two characters (!!) to make that work correctly.
19525 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19527 * gst/gstbus.c: (gst_bus_class_init):
19530 * gst/gstqueue.c: (gst_queue_loop):
19531 Don't assume a miniobject that isn't a buffer is an
19532 event (it could be that there is a refcounting
19533 problem somewhere and the pointer is stale and
19534 refers to an already destroyed miniobject).
19536 2005-11-03 Julien MOUTTE <julien@moutte.net>
19538 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19540 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19542 * docs/manual/advanced-position.xml:
19543 Update seek example and explanations to current 0.9 API.
19545 * gst/elements/gsttypefindelement.c:
19546 (gst_type_find_element_activate):
19547 Remove FIXME comment now that the found caps
19550 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19552 * gst/gstregistryxml.c: (load_feature):
19553 Add another GST_STR_NULL instance
19555 2005-11-02 Edward Hervey <edward@fluendo.com>
19557 * gst/gstpad.c: (handle_pad_block):
19558 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19560 2005-11-02 Wim Taymans <wim@fluendo.com>
19565 * gst/gstelement.c: (gst_element_commit_state):
19566 Remove unused value.
19568 * gst/gstiterator.c:
19569 Mention that the returned element is reffed in the docs.
19571 2005-11-02 Wim Taymans <wim@fluendo.com>
19573 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19574 (gst_pad_push), (gst_pad_push_event):
19575 Unlock blocked pads when they are flushed.
19577 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19580 * docs/gst/gstreamer-sections.txt:
19583 * gst/gstregistry.c: (gst_registry_scan_path_level):
19584 fix for a nasty little missed situation where an installed plug-in
19585 which was in the cache did not get overridden by an uninstalled one
19586 which was earlier in the plugin path because the newly created plugin
19587 for the uninstalled one (not in the registry) didn't get its
19588 ->registered set to TRUE
19590 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19592 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19593 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19594 (gst_collectpads_is_active), (gst_collectpads_collect),
19595 (gst_collectpads_collect_range), (gst_collectpads_start),
19596 (gst_collectpads_stop), (gst_collectpads_peek),
19597 (gst_collectpads_pop), (gst_collectpads_available),
19598 (gst_collectpads_read), (gst_collectpads_flush):
19599 Guard public API with assertions.
19602 Fix docs for gst_pad_set_link_function().
19604 2005-11-02 Johan Dahlin <johan@gnome.org>
19606 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19607 Unref found_caps after we used it.
19609 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19611 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19612 Don't try to ref NULL.
19614 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19616 * win32/common/config.h.in:
19617 provide a GST_FUNCTION that just gives a string for now
19619 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19621 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19622 (gst_object_flags_get_type), (register_gst_bin_flags),
19623 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19624 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19625 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19626 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19627 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19628 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19629 (gst_clock_flags_get_type), (register_gst_state),
19630 (gst_state_get_type), (register_gst_state_change_return),
19631 (gst_state_change_return_get_type), (register_gst_state_change),
19632 (gst_state_change_get_type), (register_gst_element_flags),
19633 (gst_element_flags_get_type), (register_gst_core_error),
19634 (gst_core_error_get_type), (register_gst_library_error),
19635 (gst_library_error_get_type), (register_gst_resource_error),
19636 (gst_resource_error_get_type), (register_gst_stream_error),
19637 (gst_stream_error_get_type), (register_gst_event_type),
19638 (gst_event_type_get_type), (register_gst_seek_type),
19639 (gst_seek_type_get_type), (register_gst_seek_flags),
19640 (gst_seek_flags_get_type), (register_gst_format),
19641 (gst_format_get_type), (register_gst_index_certainty),
19642 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19643 (gst_index_entry_type_get_type),
19644 (register_gst_index_lookup_method),
19645 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19646 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19647 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19648 (gst_index_flags_get_type), (register_gst_debug_level),
19649 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19650 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19651 (gst_iterator_result_get_type), (register_gst_iterator_item),
19652 (gst_iterator_item_get_type), (register_gst_message_type),
19653 (gst_message_type_get_type), (register_gst_mini_object_flags),
19654 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19655 (gst_pad_link_return_get_type), (register_gst_flow_return),
19656 (gst_flow_return_get_type), (register_gst_activate_mode),
19657 (gst_activate_mode_get_type), (register_gst_pad_direction),
19658 (gst_pad_direction_get_type), (register_gst_pad_flags),
19659 (gst_pad_flags_get_type), (register_gst_pad_presence),
19660 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19661 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19662 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19663 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19664 (gst_plugin_flags_get_type), (register_gst_rank),
19665 (gst_rank_get_type), (register_gst_query_type),
19666 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19667 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19668 (gst_tag_flag_get_type), (register_gst_task_state),
19669 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19670 (gst_alloc_trace_flags_get_type),
19671 (register_gst_type_find_probability),
19672 (gst_type_find_probability_get_type), (register_gst_uri_type),
19673 (gst_uri_type_get_type), (register_gst_parse_error),
19674 (gst_parse_error_get_type):
19675 * win32/common/gstversion.h:
19676 update win32 copies
19678 2005-11-01 Luca Ognibene <luogni@tin.it>
19681 fix docs. popt is dead, long live GOption.
19683 2005-10-31 Wim Taymans <wim@fluendo.com>
19688 2005-10-31 Andy Wingo <wingo@pobox.com>
19692 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19694 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19695 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19696 the possibility of deadlocks here if code calling notify() or
19697 set() has a lock that can be taken in another notify handler (ABBA
19698 with class lock and e.g. python GIL state lock).
19700 2005-10-28 Julien MOUTTE <julien@moutte.net>
19702 * gst/gstbus.c: Doc updates.
19704 2005-10-28 Wim Taymans <wim@fluendo.com>
19706 * docs/design/part-TODO.txt:
19707 * gst/gstiterator.c:
19708 * gst/gstsystemclock.c:
19709 * gst/gstsystemclock.h:
19712 2005-10-28 Edward Hervey <edward@fluendo.com>
19714 * docs/gst/gstreamer-docs.sgml:
19715 * docs/gst/gstreamer-sections.txt:
19716 the GstURIType documentation page is private, it only defines GstURIType
19717 which should be defined in the GstURIHandler page
19719 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19721 * gst/gstbin.c: (gst_bin_class_init):
19724 Documentation updates.
19726 2005-10-28 Wim Taymans <wim@fluendo.com>
19728 * docs/gst/gstreamer-sections.txt:
19731 Documented the clocks.
19733 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19735 * docs/gst/gstreamer-sections.txt:
19736 move some macros to private sections
19737 * gst/gstminiobject.c:
19738 * gst/gstminiobject.h:
19739 add descriptions provided by ds and some more
19741 mark macro as to be removed
19743 2005-10-28 Wim Taymans <wim@fluendo.com>
19745 * docs/design/part-TODO.txt:
19746 Add an item to TODO.
19748 * gst/gstiterator.c: (gst_iterator_fold),
19749 (gst_iterator_find_custom):
19750 * gst/gstiterator.h:
19753 2005-10-28 Wim Taymans <wim@fluendo.com>
19755 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19756 (gst_base_transform_init):
19759 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19760 An EOS event marks the queue as completely filled.
19762 2005-10-27 Wim Taymans <wim@fluendo.com>
19764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19765 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19766 Some more debugging.
19768 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19769 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19770 (gst_base_transform_event), (gst_base_transform_getrange),
19771 (gst_base_transform_chain):
19772 * gst/base/gstbasetransform.h:
19774 Protect transform and concurrent buffer alloc with a new lock.
19775 Try not to break ABI/API.
19777 2005-10-27 Wim Taymans <wim@fluendo.com>
19779 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19780 (gst_base_src_init), (gst_base_src_query),
19781 (gst_base_src_default_newsegment),
19782 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19783 (gst_base_src_send_event), (gst_base_src_event_handler),
19784 (gst_base_src_pad_get_range), (gst_base_src_loop),
19785 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19786 (gst_base_src_start), (gst_base_src_deactivate),
19787 (gst_base_src_activate_push), (gst_base_src_change_state):
19788 Move some stuff around and cleanup things.
19790 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19792 * gst/base/gstbasesrc.c: (gst_base_src_query):
19793 Add missing break statements.
19795 2005-10-27 Wim Taymans <wim@fluendo.com>
19797 * check/gst/gstbin.c: (GST_START_TEST):
19798 An extra refcount is taken in basesrc.
19800 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19801 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19802 (gst_base_src_loop):
19803 Small cleanups, check for flushing after being unlocked from the
19804 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19805 Don't send out EOS when going to READY.
19807 2005-10-27 Wim Taymans <wim@fluendo.com>
19809 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19810 (gst_base_sink_get_position):
19813 * gst/gstbin.c: (message_check), (bin_replace_message),
19814 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19815 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19816 (bin_query_duration_init), (bin_query_duration_fold),
19817 (bin_query_duration_done), (bin_query_generic_fold),
19819 * tools/gst-launch.c: (main):
19822 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19824 * examples/controller/audio-example.c: (main):
19825 * examples/queue/queue.c: (event_loop):
19826 * gst/base/gstbasetransform.h:
19827 * gst/gstelement.c: (gst_element_send_event):
19829 * gst/gstpad.c: (gst_pad_send_event):
19832 changing log priority in error situations
19834 2005-10-25 Wim Taymans <wim@fluendo.com>
19836 * gst/gstbin.c: (message_check), (bin_replace_message),
19837 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19838 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19839 (bin_query_duration_init), (bin_query_duration_fold),
19840 (bin_query_duration_done), (bin_query_generic_fold),
19842 Some doc and debug updates.
19843 Cache previously requested query DURATION for speed. invalidate
19844 cached duration if element posts a DURATION message.
19846 2005-10-25 Wim Taymans <wim@fluendo.com>
19848 * docs/design/part-TODO.txt:
19851 * gst/gstbin.c: (message_check), (bin_replace_message),
19852 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19853 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19854 (bin_query_duration_init), (bin_query_duration_fold),
19855 (bin_query_duration_done), (bin_query_generic_fold),
19857 Handle SEGMENT_START/DONE messages correctly.
19858 More evolved query algorithm that handles duration queries
19861 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19862 (gst_element_get_state_func), (gst_element_abort_state),
19863 (gst_element_commit_state), (gst_element_lost_state):
19864 Some more debugging.
19866 * gst/gstmessage.h:
19869 2005-10-25 Wim Taymans <wim@fluendo.com>
19871 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19872 Don't use invalid stream_time.
19874 * gst/gstevent.c: (gst_event_new_newsegment):
19875 stream_time in newsegment cannot be undefined.
19877 2005-10-24 Wim Taymans <wim@fluendo.com>
19882 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19884 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19886 2005-10-24 Stefan Kost <ensonic@users.sf.net>
19888 * docs/libs/tmpl/gstdparam.sgml:
19889 * docs/libs/tmpl/gstdplinint.sgml:
19890 * docs/libs/tmpl/gstdpman.sgml:
19891 * docs/libs/tmpl/gstdpsmooth.sgml:
19892 * docs/libs/tmpl/gstunitconvert.sgml:
19895 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
19900 === release 0.9.4 ===
19902 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19905 releasing 0.9.4, "Tyrannosaurus Rex"
19907 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
19909 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19910 (gst_file_sink_get_current_offset):
19911 Use fseeko() and ftello() if available. When falling back on
19912 lseek() to get the current offset, fflush() first to make sure
19913 everything is up-to-date and we get the right offset.
19915 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19918 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19919 * gst/gsterror.c: (_gst_stream_errors_init):
19921 * gst/gstqueue.c: (gst_queue_loop):
19923 remove prematurely added error category and clean up the instances
19925 2005-10-21 Wim Taymans <wim@fluendo.com>
19927 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19928 (gst_base_sink_get_position), (gst_base_sink_query),
19929 (gst_base_sink_change_state):
19930 Simply set the right flag when going to playing, that's all
19931 we need to do instead of calling a function inside the object
19932 lock (that could take the lock as well and deadlock)
19934 2005-10-21 Wim Taymans <wim@fluendo.com>
19936 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19937 (gst_base_src_loop):
19938 Don't warn, the peer element knows what to do best when
19939 the seek failed, it might try something else.
19941 2005-10-21 Wim Taymans <wim@fluendo.com>
19943 * gst/base/gstbasesrc.c: (gst_base_src_init),
19944 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19947 2005-10-21 Wim Taymans <wim@fluendo.com>
19949 * docs/design/part-segments.txt:
19952 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19953 Correctly set caps, even on the subbufer.
19955 2005-10-21 Wim Taymans <wim@fluendo.com>
19957 * docs/gst/gstreamer-docs.sgml:
19958 * docs/gst/gstreamer-sections.txt:
19959 * gst/gstelement.h:
19962 * gst/gstmessage.h:
19965 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19969 And 2% more doc coverage.
19971 2005-10-21 Andy Wingo <wingo@pobox.com>
19973 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19974 position reporting.
19976 2005-10-20 Wim Taymans <wim@fluendo.com>
19978 * gst/gsterror.c: (gst_error_get_message):
19981 * gst/gststructure.c:
19986 2005-10-20 Wim Taymans <wim@fluendo.com>
19991 Another 1% more coverage.
19993 2005-10-20 Wim Taymans <wim@fluendo.com>
19995 * docs/gst/gstreamer-sections.txt:
19996 * gst/gstelement.c: (gst_element_get_state_func),
19997 (gst_element_abort_state), (gst_element_commit_state),
19998 (gst_element_lost_state):
20000 * gst/gstquery.c: (gst_query_set_position),
20001 (gst_query_parse_position), (gst_query_set_duration),
20002 (gst_query_parse_duration), (gst_query_new_convert):
20004 Yay! 1% more docs coverage.
20006 2005-10-20 Wim Taymans <wim@fluendo.com>
20009 * gst/gstquery.c: (gst_query_set_position),
20010 (gst_query_parse_position), (gst_query_set_duration),
20011 (gst_query_parse_duration), (gst_query_new_convert):
20013 * gst/gstutils.c: (gst_element_query_convert):
20015 Docs and consistency fixes.
20017 2005-10-20 Wim Taymans <wim@fluendo.com>
20023 2005-10-20 Wim Taymans <wim@fluendo.com>
20025 * gst/gstbin.c: (message_check), (bin_replace_message),
20026 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20027 (update_degree), (gst_bin_sort_iterator_next),
20028 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20029 Reworked the message handling a bit, cache the messages instead of
20030 only the senders. alows us to do more in the future.
20032 2005-10-20 Wim Taymans <wim@fluendo.com>
20034 * docs/design/part-TODO.txt:
20037 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20038 (gst_base_sink_query):
20039 Don't use clock time to report position when in EOS.
20041 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20043 * tools/gst-inspect.c: (print_interfaces),
20044 (print_element_properties_info), (print_element_info):
20045 Fix interface output with gst-inspect -a; don't print
20046 newlines after double/float properties.
20048 2005-10-20 Wim Taymans <wim@fluendo.com>
20050 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20051 (gst_base_sink_query):
20052 Speed up current position calculation.
20054 * gst/base/gstbasesrc.c: (gst_base_src_query),
20055 (gst_base_src_default_newsegment):
20056 Correctly set stream position in newsegment.
20058 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20059 (update_degree), (gst_bin_sort_iterator_next),
20060 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20061 * gst/gstmessage.c: (gst_message_new_custom):
20062 Clean up debugging info
20064 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20065 (gst_queue_loop), (gst_queue_handle_src_query):
20068 2005-10-19 Wim Taymans <wim@fluendo.com>
20070 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20071 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20072 Fix query handling again.
20074 2005-10-19 Wim Taymans <wim@fluendo.com>
20076 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20077 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20078 * gst/base/gstbasesrc.c: (gst_base_src_query):
20079 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20080 * gst/elements/gsttypefindelement.c:
20081 (gst_type_find_handle_src_query), (find_element_get_length),
20082 (gst_type_find_element_activate):
20085 * gst/gstquery.c: (gst_query_new_position),
20086 (gst_query_set_position), (gst_query_parse_position),
20087 (gst_query_new_duration), (gst_query_set_duration),
20088 (gst_query_parse_duration), (gst_query_set_segment),
20089 (gst_query_parse_segment):
20091 Bundling query position/duration is not a good idea since duration
20092 does not change much and we don't want to recalculate it for every
20093 position query, so they are separated again..
20094 Base value in segment query is not needed.
20096 * gst/gstqueue.c: (gst_queue_handle_src_query):
20097 * gst/gstutils.c: (gst_element_query_position),
20098 (gst_element_query_duration), (gst_pad_query_position),
20099 (gst_pad_query_duration):
20101 Updates for query API change.
20102 Added some docs here and there.
20104 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20106 * check/gst/gstbin.c: (GST_START_TEST):
20107 * check/gst/gstghostpad.c: (GST_START_TEST):
20108 * check/pipelines/cleanup.c: (GST_START_TEST):
20109 wait on thread to die so we can check refcount correctly
20111 2005-10-18 Wim Taymans <wim@fluendo.com>
20113 * check/pipelines/stress.c: (GST_START_TEST):
20114 Make check a little more time consuming.
20116 2005-10-18 Wim Taymans <wim@fluendo.com>
20118 * check/Makefile.am:
20119 * check/pipelines/stress.c: (GST_START_TEST),
20120 (simple_launch_lines_suite), (main):
20121 Small state change torture test.
20123 * docs/design/part-states.txt:
20124 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20125 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20126 (gst_base_sink_change_state):
20127 Never take state lock from streaming thread, clean up ugly
20128 hacks. Unfortunatly core does not yet support nice ways to
20129 async commit state.
20131 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20133 Start state recalc if a STATE_DIRTY message is posted, but only
20134 on the toplevel bin.
20136 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20137 (gst_element_get_state_func), (gst_element_abort_state),
20138 (gst_element_commit_state), (gst_element_lost_state),
20139 (gst_element_set_state_func), (gst_element_change_state):
20140 * gst/gstelement.h:
20141 State variables are now protected with the LOCK, the state
20142 lock is only used to serialize _set_state().
20144 2005-10-18 Wim Taymans <wim@fluendo.com>
20146 * check/gst/gstbin.c: (GST_START_TEST):
20147 * check/gst/gstmessage.c: (GST_START_TEST):
20148 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20151 * gst/gstelement.c: (gst_element_abort_state),
20152 (gst_element_commit_state), (gst_element_lost_state):
20153 * gst/gstmessage.c: (gst_message_new_state_changed),
20154 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20155 (gst_message_new_segment_done), (gst_message_new_duration),
20156 (gst_message_parse_state_changed),
20157 (gst_message_parse_segment_start),
20158 (gst_message_parse_segment_done), (gst_message_parse_duration):
20159 * gst/gstmessage.h:
20160 * tools/gst-launch.c: (event_loop):
20161 Seriously, this is better than a previous commit as we only need
20162 to notify the fact that an element changed state in a streaming
20163 thread, marking the state of the parents dirty, hence the
20164 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20167 2005-10-18 Wim Taymans <wim@fluendo.com>
20169 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20170 (gst_bin_recalc_func):
20171 * gst/gstelement.c: (gst_element_set_clock),
20172 (gst_element_abort_state), (gst_element_lost_state):
20173 Cleanups, prepare for state change fixes.
20175 2005-10-18 Wim Taymans <wim@fluendo.com>
20178 * gst/gstelement.c: (gst_element_class_init),
20179 (gst_element_set_state), (gst_element_set_state_func):
20180 * gst/gstelement.h:
20181 Pending ABI changes.
20182 GThreadPool in GstBinClass to monitor async state changes.
20183 state_cookie in GstElement to detect concurrent gst/set state.
20184 set_state is now virtual too in case a very complicated element
20185 has to be constructed.
20187 2005-10-18 Wim Taymans <wim@fluendo.com>
20189 * check/gst/gstbin.c: (GST_START_TEST):
20190 * check/gst/gstmessage.c: (GST_START_TEST):
20191 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20192 * gst/gstbin.c: (bin_bus_handler):
20193 * gst/gstelement.c: (gst_element_commit_state),
20194 (gst_element_lost_state):
20195 * gst/gstmessage.c: (gst_message_new_state_changed),
20196 (gst_message_new_segment_start), (gst_message_new_segment_done),
20197 (gst_message_new_duration), (gst_message_parse_state_changed),
20198 (gst_message_parse_segment_start),
20199 (gst_message_parse_segment_done), (gst_message_parse_duration):
20200 * gst/gstmessage.h:
20201 * tools/gst-launch.c: (event_loop):
20202 Make messages future proof.
20203 state-change gets a flag if it was a message comming from the
20205 segment-start/stop can also be specified in other formats.
20206 A message to notify an app that a pipeline changed playback
20208 Also fix a GstMessage leak in -launch
20210 2005-10-18 Andy Wingo <wingo@pobox.com>
20212 * gst/gstelement.c (gst_element_dispose): More helpful message.
20214 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20216 reviewed by: <delete if not using a buddy>
20218 * common/gtk-doc.mak:
20220 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20222 * gst/gstregistry.c: (gst_registry_scan_path_level):
20223 unref a plug-in we get that was already initialized
20225 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20227 * docs/gst/gstreamer-sections.txt:
20228 * docs/libs/gstreamer-libs-sections.txt:
20229 * gst/gstelement.h:
20230 add new api entries
20231 hide internal macro
20233 2005-10-17 Andy Wingo <wingo@pobox.com>
20235 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20238 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20240 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20242 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20243 (gst_element_get_state_func): Better debug message.
20244 (gst_element_commit_state): s/INFO/DEBUG/.
20245 (gst_element_lost_state, gst_element_change_state):
20247 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20248 (gst_message_new_custom): s/INFO/LOG/.
20250 2005-10-17 Michael Smith <msmith@fluendo.com>
20252 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20253 Check if end time is valid using end time, not start time.
20255 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20257 * check/gst-libs/controller.c: (GST_START_TEST),
20258 (gst_controller_suite):
20259 * libs/gst/controller/gstcontroller.c:
20260 (gst_controlled_property_set_interpolation_mode):
20261 * libs/gst/controller/gstcontroller.h:
20262 * libs/gst/controller/gstinterpolation.c:
20263 * testsuite/controller/.cvsignore:
20264 * testsuite/controller/Makefile.am:
20265 * testsuite/controller/interpolator.c:
20266 merge controller testsuites
20268 remove mem-chunk from docs
20270 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20272 * gst/gstmemchunk.c:
20273 * gst/gstmemchunk.h:
20274 * gst/gsttrashstack.c:
20275 * gst/gsttrashstack.h:
20276 out. get out. you're fired. to the Attic !
20278 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20280 * gst/gstcaps.c: (gst_caps_intersect):
20281 fix signedness issues in a (hopefully) correct way
20282 * gst/gstelement.c: (gst_element_pads_activate):
20284 * gst/gstobject.c: (gst_object_set_parent):
20287 2005-10-17 Julien MOUTTE <julien@moutte.net>
20289 * gst/gstvalue.h: Fix prototypes.
20291 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20293 * docs/gst/gstreamer-sections.txt:
20294 * gst/gst.c: (gst_version_string):
20296 * gst/gstversion.h.in:
20297 * win32/common/libgstreamer.def:
20298 add gst_version_string ()
20300 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20304 * gst/gst.c: (init_post):
20305 * win32/common/config.h.in:
20307 * gst/gstcaps.c: (gst_caps_intersect):
20308 use gint64, the range could be bigger than a guint
20310 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20313 document potential problem in 2038
20315 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20317 * gst/gstcaps.c: (gst_caps_intersect):
20318 Fix guint j diving under 0
20320 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20323 * win32/common/config.h:
20324 * win32/common/config.h.in:
20325 check for process.h, declares getpid() on Windows
20327 include process.h if we have it
20328 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20329 * gst/gstmemchunk.h:
20330 fix signedness issues
20331 * win32/common/libgstreamer.def:
20334 2005-10-16 Julien MOUTTE <julien@moutte.net>
20336 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20337 fix. Because of unsigned ints, caps intersection was going nuts and
20338 trying to access structures with G_MAXUINT index. That fixes
20339 videotestsrc ! ffmpegcolorspace ! fakesink
20340 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20343 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20346 use the gettext macro
20347 * gst/elements/gstelements.c:
20349 * gst/indexers/gstindexers.c:
20350 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20351 * win32/common/config.h:
20353 * win32/common/config.h.in:
20354 add the template to generate config.h
20355 * win32/common/gstenumtypes.c:
20356 * win32/common/gstversion.h:
20359 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20361 * gst/gst.c: (gst_version):
20362 * gst/gstversion.h.in:
20365 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20368 Oops, add missing closing bracket.
20370 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20373 use common m4's for argument checking
20375 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20377 * docs/gst/gstreamer-sections.txt:
20379 Add GST_EVENT_TYPE_NAME() macro.
20381 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20384 * gst/gstpluginfeature.c:
20386 privatize more symbols
20388 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20391 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20392 everything that uses GStreamer API should have the includes
20394 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20396 * docs/gst/gstreamer-sections.txt:
20397 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20399 give each value a _get_type, removes the DATA exports
20401 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20405 remove _gst_registry_auto_load, not used anymore
20406 * gst/gstbin.c: (gst_bin_get_type):
20408 * gst/gstelement.c: (gst_element_get_type):
20409 * gst/gstelement.h:
20410 * gst/gstobject.c: (gst_object_get_type):
20412 * gst/gstpad.c: (gst_pad_get_type):
20414 make _get_type functions similar, fixes data export from library
20416 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20419 correctly make conditionals
20420 * gst/elements/Makefile.am:
20421 * gst/elements/gstelements.c:
20422 fix typo causing fdsrc not to build
20424 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20426 * testsuite/Makefile.am:
20427 * testsuite/bytestream/.cvsignore:
20428 * testsuite/bytestream/Makefile.am:
20429 * testsuite/bytestream/filepadsink.c:
20430 * testsuite/bytestream/gstbstest.c:
20431 * testsuite/bytestream/test1.c:
20432 * testsuite/bytestream/testfile1:
20433 * testsuite/caps/normalisation.c:
20434 * testsuite/caps/random.c: (main):
20435 * testsuite/cleanup/.cvsignore:
20436 * testsuite/cleanup/Makefile.am:
20437 * testsuite/cleanup/cleanup1.c:
20438 * testsuite/cleanup/cleanup2.c:
20439 * testsuite/cleanup/cleanup3.c:
20440 * testsuite/cleanup/cleanup4.c:
20441 * testsuite/cleanup/cleanup5.c:
20442 * testsuite/controller/interpolator.c:
20443 * testsuite/debug/printf_extension.c: (main):
20444 * testsuite/elements/tee.c:
20445 * testsuite/negotiation/.cvsignore:
20446 * testsuite/negotiation/Makefile.am:
20447 * testsuite/negotiation/pad_link.c:
20448 * testsuite/pad/Makefile.am:
20449 * testsuite/pad/chainnopull.c:
20450 * testsuite/pad/getnopush.c:
20451 * testsuite/pad/link.c:
20452 * testsuite/refcounting/sched.c: (create_pipeline):
20453 * testsuite/registry/Makefile.am:
20454 * testsuite/registry/gst-print-formats.c:
20455 * testsuite/schedulers/.cvsignore:
20456 * testsuite/schedulers/142183-2.c:
20457 * testsuite/schedulers/142183.c:
20458 * testsuite/schedulers/143777-2.c:
20459 * testsuite/schedulers/143777.c:
20460 * testsuite/schedulers/147713.c:
20461 * testsuite/schedulers/147819.c:
20462 * testsuite/schedulers/147894-2.c:
20463 * testsuite/schedulers/147894.c:
20464 * testsuite/schedulers/Makefile.am:
20465 * testsuite/schedulers/group_link.c:
20466 * testsuite/schedulers/queue_link.c:
20467 * testsuite/schedulers/relink.c:
20468 * testsuite/schedulers/unlink.c:
20469 * testsuite/schedulers/unref.c:
20470 * testsuite/schedulers/useless_iteration.c:
20471 * testsuite/states/bin.c:
20472 clean out/remove some stuff from the testsuite directories
20474 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20477 check for some headers
20478 * gst/elements/Makefile.am:
20479 * gst/elements/gstelements.c:
20480 don't compile fdsrc without sys/socket.h
20481 * gst/indexers/Makefile.am:
20482 * gst/indexers/gstindexers.c: (plugin_init):
20483 don't compile fileindex without mmap
20485 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20492 * check/Makefile.am:
20493 * docs/gst/Makefile.am:
20494 * examples/helloworld/Makefile.am:
20496 * gst/base/Makefile.am:
20497 * gst/check/Makefile.am:
20498 * gst/elements/Makefile.am:
20499 * gst/indexers/Makefile.am:
20500 * gst/parse/Makefile.am:
20501 * libs/gst/controller/Makefile.am:
20502 * libs/gst/dataprotocol/Makefile.am:
20503 * examples/helloworld/helloworld.c: (event_loop):
20504 compile fixes, though it's not being compiled currently
20506 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20508 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20509 Add some simple tests for the new taglist date API.
20511 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20513 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20514 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20515 Beautify 'last-message' output: print 'none' for buffer timestamps
20516 and durations if none is set; improve alignment with next messages.
20518 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20520 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20521 * gst/gstpluginfeature.h:
20522 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20523 * gst/gstregistry.h:
20524 * docs/gst/gstreamer-sections.txt:
20525 Add new API to check plugin feature version requirements.
20527 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20528 Some basic tests for the above.
20530 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20532 * gst/gststructure.c: (gst_structure_to_string):
20533 guard against NULL printf - happens when for example
20534 a message structure with GstClock gets serialized
20536 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20538 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20539 Fix presumable copy'n'pasto.
20541 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20543 * gst/elements/gstfakesrc.h:
20544 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20545 * gst/elements/gsttypefindelement.c:
20546 fix some signedness
20547 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20548 I wonder if this could actually write +2GB files before
20550 2005-10-13 Andy Wingo <wingo@pobox.com>
20552 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20553 Fix Timmeke Waymans bug.
20554 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20555 string of the proper length to gst_caps_from_string. There's a
20556 potential for, before this fix, that this could cause someone
20557 connecting over the network to cause a segfault if the payload is
20558 not NUL-terminated.
20560 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20562 * docs/design/draft-push-pull.txt:
20563 * docs/design/part-overview.txt:
20564 * docs/random/TODO-pre-0.9:
20565 * docs/random/old/ChangeLog.gstreamer:
20566 * gst/base/gstpushsrc.c:
20570 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20572 * gst/glib-compat.c: (gst_flags_get_first_value):
20573 * gst/glib-compat.h:
20574 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20575 (gst_value_compare_double), (gst_value_serialize_flags):
20576 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20579 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20582 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20584 * tools/gst-launch.c: (event_loop):
20585 print out clock nicely
20587 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20589 * docs/gst/gstreamer-sections.txt:
20590 * gst/gsttaglist.h:
20591 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20592 (gst_tag_list_get_date_index):
20593 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20594 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20596 2005-10-13 Julien MOUTTE <julien@moutte.net>
20598 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20599 (gst_collectpads_chain):
20600 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20603 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20605 * docs/gst/gstreamer-sections.txt:
20608 * tools/gst-inspect.c: (main):
20609 * tools/gst-launch.c: (main):
20610 * tools/gst-run.c: (main):
20611 * tools/gst-xmlinspect.c: (main):
20612 fix GOption context leaks
20615 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20619 * win32/common/config.h:
20621 * win32/vs6/grammar.dsp:
20622 * win32/vs6/libgstelements.dsp:
20623 * win32/vs6/libgstreamer.dsp:
20626 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20629 * gst/base/gstbasesrc.c: (gst_base_src_query):
20630 fix more guint64<->gdouble conversions
20632 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20635 add win32-update target
20636 * win32/common/gstconfig.h:
20637 * win32/common/gstenumtypes.c:
20638 * win32/common/gstenumtypes.h:
20639 * win32/common/gstversion.h:
20640 add files that visual studio can't generate
20642 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20645 add a win32-update target
20648 2005-10-12 Wim Taymans <wim@fluendo.com>
20650 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20651 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20652 * gst/gstelement.c: (gst_element_commit_state),
20653 (gst_element_set_state):
20654 Protect flags with proper lock.
20655 unref provided cached clock in dispose.
20657 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20660 * gst/gstminiobject.h:
20662 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20663 removed unused flags from miniobject
20666 2005-10-12 Wim Taymans <wim@fluendo.com>
20668 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20669 (gst_file_sink_event), (gst_file_sink_render):
20670 Flush before seeking.
20672 2005-10-12 Andy Wingo <wingo@pobox.com>
20674 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20675 always been the case.
20677 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20679 * check/gst/gstbin.c: (GST_START_TEST):
20680 * docs/gst/gstreamer-sections.txt:
20681 * gst/base/gstbasesink.c: (gst_base_sink_init):
20682 * gst/base/gstbasesrc.c: (gst_base_src_init),
20683 (gst_base_src_get_range), (gst_base_src_check_get_range),
20684 (gst_base_src_start), (gst_base_src_stop):
20685 * gst/base/gstbasesrc.h:
20686 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20687 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20688 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20692 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20694 * gst/gstelement.c: (gst_element_is_locked_state),
20695 (gst_element_set_locked_state), (gst_element_commit_state),
20696 (gst_element_set_state):
20697 * gst/gstelement.h:
20698 * gst/gstindex.c: (gst_index_init):
20700 * gst/gstminiobject.h:
20701 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20702 (gst_object_set_parent):
20704 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20705 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20707 * gst/gstpadtemplate.h:
20708 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20709 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20710 * gst/gstpipeline.h:
20711 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20712 (gst_file_index_commit):
20713 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20714 * testsuite/pad/link.c: (gst_test_src_init),
20715 (gst_test_filter_init), (gst_test_sink_init):
20716 * testsuite/states/locked.c: (main):
20717 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20718 moved bitshift from macro to enum definition
20720 2005-10-12 Wim Taymans <wim@fluendo.com>
20722 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20723 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20724 (gst_file_sink_render):
20725 Some more debugging info.
20727 2005-10-12 Wim Taymans <wim@fluendo.com>
20729 * docs/design/part-states.txt:
20730 * tools/gst-launch.c: (main):
20732 Revert non-intentional change.
20734 2005-10-12 Wim Taymans <wim@fluendo.com>
20736 * check/gst/gstbin.c: (GST_START_TEST):
20737 * check/gst/gstelement.c: (GST_START_TEST):
20738 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20739 * check/gst/gstghostpad.c: (GST_START_TEST):
20740 * check/gst/gstpipeline.c: (GST_START_TEST):
20741 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20742 * check/states/sinks.c: (GST_START_TEST):
20743 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20744 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20745 (gst_bin_remove_func), (gst_bin_get_state_func),
20746 (gst_bin_recalc_state), (gst_bin_change_state_func),
20748 * gst/gstelement.c: (gst_element_get_state_func),
20749 (gst_element_get_state), (gst_element_abort_state),
20750 (gst_element_commit_state), (gst_element_set_state),
20751 (gst_element_change_state), (gst_element_change_state_func):
20752 * gst/gstelement.h:
20753 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20754 (gst_pipeline_provide_clock_func):
20755 * gst/gstutils.c: (gst_element_link_pads_filtered):
20756 * tools/gst-launch.c: (main):
20757 * tools/gst-typefind.c: (main):
20758 Use GstClockTime in _get_state() instead of GTimeVal.
20759 Remove old code in gstutils.c
20761 2005-10-12 Andy Wingo <wingo@pobox.com>
20763 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20766 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20767 there is no task. Shouldn't affect any code, as nothing in our
20768 plugins checks this return value.
20769 (gst_pad_stop_task): Also take the stream lock if the pad has no
20770 task. Docs updated.
20772 2005-10-12 Wim Taymans <wim@fluendo.com>
20774 * gst/gstpad.c: (pre_activate), (post_activate),
20775 (gst_pad_activate_pull), (gst_pad_activate_push):
20776 Cleanup activation code. Reset old state if
20779 2005-10-12 Wim Taymans <wim@fluendo.com>
20781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20782 (gst_base_sink_change_state):
20783 No need to prerol after receiving EOS.
20785 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20786 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20787 * gst/elements/gstidentity.c: (gst_identity_event):
20788 Print events more verbosely.
20790 2005-10-12 Wim Taymans <wim@fluendo.com>
20792 * check/Makefile.am:
20793 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20794 * check/states/sinks2.c:
20795 Moved sinks2 testcode in sinks check.
20797 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20798 (gst_bin_remove_func), (gst_bin_recalc_state),
20799 (gst_bin_change_state_func), (bin_bus_handler):
20800 Fix potential race condition when _get_state() iterated over an
20801 ASYNC element right before it posted a state completion.
20804 Do proper cast here.
20806 * gst/gstevent.c: (gst_event_new_newsegment),
20807 (gst_event_parse_newsegment):
20808 A playback rate of 0.0 is not allowed.
20810 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20812 * win32/common/config.h:
20813 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20814 (_trewinddir), (_ttelldir), (_tseekdir):
20815 * win32/common/dirent.h:
20816 * win32/common/gtchar.h:
20817 * win32/common/libgstbase.def:
20818 * win32/common/libgstreamer.def:
20819 * win32/vs6/grammar.dsp:
20820 * win32/vs6/gst_inspect.dsp:
20821 * win32/vs6/gst_launch.dsp:
20822 * win32/vs6/gstreamer.dsw:
20823 * win32/vs6/libgstbase.dsp:
20824 * win32/vs6/libgstelements.dsp:
20825 * win32/vs6/libgstreamer.dsp:
20826 Visual Studio 6 project files, and a new common directory.
20829 2005-10-11 Wim Taymans <wim@fluendo.com>
20831 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20832 (gst_base_sink_do_sync), (gst_base_sink_query),
20833 (gst_base_sink_change_state):
20834 * gst/base/gstbasesink.h:
20835 Correctly parse newsegment info.
20837 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20839 * gst/gst.c: (init_post):
20840 split plugin paths correctly
20842 2005-10-11 Wim Taymans <wim@fluendo.com>
20844 * check/gst/gstevent.c: (GST_START_TEST):
20845 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20846 (gst_base_sink_change_state):
20847 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20848 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20849 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20850 * gst/gstevent.c: (gst_event_new_newsegment),
20851 (gst_event_parse_newsegment):
20853 Added extra flag to newsegment for future API freeze.
20854 Updated check and base elements.
20856 2005-10-11 Julien MOUTTE <julien@moutte.net>
20858 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20859 (gst_collectpads_add_pad), (gst_collectpads_pop),
20860 (gst_collectpads_event), (gst_collectpads_chain):
20861 * gst/base/gstcollectpads.h: Handle EOS correctly.
20863 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20865 * tools/gst-launch.c: (main):
20866 more null protecting
20868 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20870 * gst/gst-i18n-lib.h:
20871 check for ENABLE_NLS, not GETTEXT_PACKAGE
20872 * gst/gstregistry.c: (gst_registry_add_plugin),
20873 (gst_registry_scan_path_level),
20874 (_gst_registry_remove_cache_plugins):
20875 protect possibly NULL strings
20876 * gst/parse/types.h:
20877 config.h already included before
20878 * tools/gst-inspect.c: (main):
20879 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20880 check for ENABLE_NLS, not GETTEXT_PACKAGE
20881 * tools/gst-launch.c: (main):
20882 check for ENABLE_NLS, not GETTEXT_PACKAGE
20884 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20887 if we don't have glib, fail before testing 2.8
20888 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20889 fix a leak, should fix plugins-base testsuite
20891 2005-10-11 Andy Wingo <wingo@pobox.com>
20893 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20894 take the mode we're going to as an arg. Go head and set the mode
20895 and flushing flags now, so that if the activate function starts a
20896 thread all the flags will be in the right state.
20897 (post_activate): Renamed also. Just handle making sure streaming
20898 finishes for the deactivation case, and setting the deactivated
20900 (gst_pad_set_active): Complain loudly if deactivation fails.
20901 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20902 (gst_pad_activate_push): Adapt to pre/post_activate changes,
20903 remove the terrible hack.
20905 2005-10-11 Wim Taymans <wim@fluendo.com>
20907 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20908 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20909 (gst_bin_recalc_state), (gst_bin_change_state_func),
20910 (gst_bin_dispose), (bin_bus_handler):
20912 Prepare to make current EOS message queue more generic.
20915 * gst/gstevent.c: (gst_event_new_newsegment),
20916 (gst_event_parse_newsegment):
20918 Rename base to stream_time.
20920 * gst/gstmessage.h:
20923 2005-10-11 Wim Taymans <wim@fluendo.com>
20925 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20926 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20927 (gst_bin_change_state_func), (bin_bus_handler):
20929 Work on proper clock selection.
20931 2005-10-11 Edward Hervey <edward@fluendo.com>
20933 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
20934 * libs/gst/controller/gstcontroller.h:
20935 Added GList* version of _remove_properties() in order to be able to wrap
20938 2005-10-11 Wim Taymans <wim@fluendo.com>
20940 * docs/design/part-states.txt:
20943 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20944 (gst_bin_change_state_func), (bin_bus_handler):
20945 Doc updates. Don't distribute the same clock over and over again.
20951 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20952 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20953 (gst_pad_send_event):
20955 Make probe emission threadsafe again.
20956 Register quarks and move _get_name() from utils.
20959 * gst/gstpipeline.c: (gst_pipeline_class_init),
20960 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20961 Only redistribute the clock of it changed.
20963 * gst/gstsystemclock.h:
20968 Moved the _flow_get_name() to GstPad.
20970 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20972 * check/gst-libs/gdp.c: (GST_START_TEST):
20973 * check/gst/gstcaps.c: (GST_START_TEST):
20974 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20975 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20976 (gst_dp_packet_from_caps):
20977 fix more valgrind warnings before turning up the heat
20979 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20981 * gst/parse/grammar.y:
20982 some cleanup before the hacking
20984 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
20986 * gst/base/gstbasesrc.c: (gst_base_src_query):
20988 * gst/gstutils.c: (gst_guint64_to_gdouble),
20989 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
20991 externalize, basesrc uses it
20992 obviously the implementation needs testing
20994 2005-10-10 Wim Taymans <wim@fluendo.com>
20996 * tests/sched/Makefile.am:
20997 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
20998 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21000 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21002 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21003 apparently converting from guint64 to double is not implemented
21006 2005-10-10 Wim Taymans <wim@fluendo.com>
21008 * check/Makefile.am:
21009 * check/generic/states.c: (GST_START_TEST):
21010 * check/gst/gstbin.c: (GST_START_TEST):
21011 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21012 * check/states/sinks.c: (GST_START_TEST):
21013 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21015 Check fixes, use API as stated in design docs, remove hacks.
21017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21018 (gst_base_sink_change_state):
21019 Catch stopping our task while we're shutting down.
21021 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21022 (gst_bin_remove_func), (gst_bin_get_state_func),
21023 (gst_bin_recalc_state), (gst_bin_change_state_func),
21026 * gst/gstelement.c: (gst_element_init),
21027 (gst_element_get_state_func), (gst_element_abort_state),
21028 (gst_element_commit_state), (gst_element_lost_state),
21029 (gst_element_set_state), (gst_element_change_state),
21030 (gst_element_change_state_func):
21031 * gst/gstelement.h:
21032 New state change algorithm (see #318116)
21034 * gst/gstpipeline.c: (gst_pipeline_class_init),
21035 (gst_pipeline_init), (gst_pipeline_set_property),
21036 (gst_pipeline_get_property), (do_pipeline_seek),
21037 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21038 * gst/gstpipeline.h:
21039 Remove crude state change hacks.
21042 Remove crude hacks.
21044 * tools/gst-launch.c: (main):
21045 Fixes for state change. Needs some more work to fully use the
21048 2005-10-10 Andy Wingo <wingo@pobox.com>
21050 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21052 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21053 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21056 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21058 * gst/gstiterator.c: (gst_iterator_new):
21059 Fix my previous commit: GTypes passed to gst_iterator_new()
21060 can be fundamental types.
21062 2005-10-10 Wim Taymans <wim@fluendo.com>
21064 * gst/gstelement.c: (gst_element_iterate_pad_list),
21065 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21066 (gst_element_iterate_sink_pads):
21067 Use src/sink pads lists for the respective iterators instead
21070 2005-10-10 Andy Wingo <wingo@pobox.com>
21072 Merged in popt removal + GOption addition patch from Ronald, bug
21075 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21076 GstElement macros around, remove popt-related symbols, add goption
21079 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21081 * docs/gst/Makefile.am:
21082 * docs/libs/Makefile.am: No POPT_CFLAGS.
21084 * examples/manual/Makefile.am:
21085 * docs/manual/basics-init.xml: Doc updates with an example.
21087 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21088 (gst_init), (parse_one_option), (parse_goption_arg):
21089 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21090 bit of hand merging and debugging to get the GOption stuff working
21093 * tests/Makefile.am:
21094 * tools/Makefile.am:
21095 * tools/gst-inspect.c: (main):
21096 * tools/gst-launch.c: (main):
21097 * tools/gst-run.c: (main):
21098 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21100 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21102 * gst/gstiterator.c: (gst_iterator_new):
21103 Add assertions to make sure passed GType is likely to really
21104 be a GType (as the compiler won't catch it if the size and
21105 GType arguments get mixed up, see #318447).
21107 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21109 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21111 * gst/gstbin.c: (gst_bin_iterate_sorted):
21112 Pass GType and size arguments to gst_iterator_new() in the right
21113 order (maybe we should make _new() take the GType as first argument
21114 just like _new_list()?) (#318447).
21117 2005-10-10 Wim Taymans <wim@fluendo.com>
21119 * gst/gstelement.c: (gst_element_finalize):
21120 And free the GStaticRecMutex too
21122 2005-10-10 Andy Wingo <wingo@pobox.com>
21124 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21125 Allocate and free the mutex properly.
21127 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21129 (GstElement): The state_lock is now recursive. Rebuild your
21130 plugins, suckers. Old macros adapted.
21132 * docs/gst/gstreamer-sections.txt: Doc updates.
21135 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21136 (g_static_rec_cond_wait): Ported from state changes patch, while
21137 we wait on bug #317802 to be solved in a well-distributed GLib.
21139 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21140 gst_element_change_state, variable name changes.
21141 (gst_element_change_state): Split out of gst_element_set_state in
21142 preparation for the state change merge. Doesn't pay attention to
21143 the 'transition' argument.
21144 (gst_element_set_state): Updates, hopefully purely cosmetic.
21145 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21146 state change patch.
21147 (gst_element_get_state_func): Renamed from get_state, cosmetic
21150 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21152 * gst/elements/gstelements.c:
21153 * win32/GStreamer.vcproj:
21155 * win32/dirent.c: (_tseekdir):
21156 * win32/gst-inspect.vcproj:
21157 * win32/gst-launch.vcproj:
21158 * win32/gstconfig.h:
21159 * win32/gstelements.vcproj:
21160 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21161 * win32/gstreamer.def:
21162 * win32/msvc71.sln:
21163 updates for the win32 build (patch from Sebastien Moutte)
21165 2005-10-10 Andy Wingo <wingo@pobox.com>
21167 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21168 gst_bin_get_state, cleaned up (but no logic changes).
21169 (bin_element_is_sink): Comment updates.
21170 (sink_iterator_filter): Remove needless cast.
21171 (gst_bin_iterate_sinks): Doc update.
21172 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21173 cleaned up (but no logic changes).
21175 * check/states/sinks.c (test_src_sink): Cleanups from the state
21177 (test_livesrc_sink): Sync on the state.
21179 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21180 the state change patch.
21182 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21185 * check/gst/gstbin.c: Merge in some style fixes and additional
21186 checks from Wim's state change patch.
21188 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21190 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21191 (gst_type_find_helper):
21192 Check whether we have the requested data already in our list of
21193 cached buffers before pulling a new buffer; also make the buffer
21194 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21196 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21201 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21202 don't use long long, it's not portable. Replacing with
21203 gint64 seems to work; let's hope no skeletons fall out of the closet.
21205 2005-10-10 Andy Wingo <wingo@pobox.com>
21207 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21209 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21211 * docs/gst/gstreamer-sections.txt:
21216 * gst/gstmessage.c: (gst_message_parse_state_changed):
21219 more docs, fix compilation
21221 2005-10-09 Philippe Khalaf <burger@speedy.org>
21222 * gst/gstmessage.c:
21223 Fixed a few forgotten variables on previous commit
21225 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21227 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21228 Fix evil typefind crasher: getrange() might return a short
21229 buffer at the end of a file, but gst_type_find_peek() must
21230 either return the full data as requested or NULL, but
21231 never a short buffer.
21233 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21235 * gst/gstmessage.c: (gst_message_new_state_changed),
21236 (gst_message_parse_state_changed):
21237 * gst/gstmessage.h:
21238 don't use "new", it's a C++ keyword
21240 2005-10-08 Wim Taymans <wim@fluendo.com>
21242 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21243 * gst/gstelement.c: (gst_element_post_message):
21244 * gst/gstpipeline.c: (gst_pipeline_change_state):
21245 Small docs and debug updates.
21247 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21249 * docs/gst/gstreamer-sections.txt:
21250 * gst/gstelementfactory.c:
21252 * gst/gsttaglist.c:
21255 2005-10-08 Wim Taymans <wim@fluendo.com>
21257 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21258 (gst_bin_dispose), (bin_bus_handler):
21259 Fix typos, add comments.
21260 Clear EOS list when going to PAUSED from any direction and do it
21261 in a threadsafe way.
21262 Get base time in a threadsafe way too.
21263 Fix confusing debug in the change_state function.
21264 Various other small cleanups.
21266 * gst/gstelement.c: (gst_element_post_message):
21267 Fix very verbose bus posting code.
21269 * gst/gstpipeline.c: (gst_pipeline_class_init),
21270 (gst_pipeline_set_property), (gst_pipeline_get_property),
21271 (gst_pipeline_change_state):
21272 Small ARG_ -> PROP_ cleanup
21274 2005-10-08 Wim Taymans <wim@fluendo.com>
21276 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21277 Do a less CPU demanding EOS check because we can.
21279 2005-10-08 Wim Taymans <wim@fluendo.com>
21281 * libs/gst/dataprotocol/dataprotocol.c:
21282 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21283 (gst_dp_packet_from_event):
21284 * libs/gst/dataprotocol/dataprotocol.h:
21285 * libs/gst/dataprotocol/dp-private.h:
21286 It's about time we bump the version number.
21287 Since event types don't fit in the guint8 anymore describing
21288 the payload type, make payload type 16 bits wide.
21290 2005-10-08 Wim Taymans <wim@fluendo.com>
21292 * docs/design/part-TODO.txt:
21293 * docs/design/part-clocks.txt:
21294 * docs/design/part-events.txt:
21295 * docs/design/part-gstbin.txt:
21296 * docs/design/part-gstelement.txt:
21297 * docs/design/part-gstpipeline.txt:
21298 * docs/design/part-live-source.txt:
21299 * docs/design/part-messages.txt:
21300 * docs/design/part-overview.txt:
21301 * docs/design/part-states.txt:
21304 2005-10-08 Wim Taymans <wim@fluendo.com>
21308 Fix event quark registration.
21309 Add some space between events so we can insert them in the
21312 2005-10-08 Wim Taymans <wim@fluendo.com>
21314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21315 (gst_base_sink_handle_buffer):
21316 Better log message.
21319 * gst/gstelement.h:
21322 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21323 (gst_queue_set_property), (gst_queue_get_property):
21325 Remove old unused properties.
21327 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21328 * docs/gst/gstreamer-sections.txt:
21329 * gst/gstmessage.c:
21330 * gst/gstmessage.h:
21331 * gst/gstminiobject.c:
21332 * gst/gstminiobject.h:
21336 lots of new docs and doc fixes
21338 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21340 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21342 * gst/gstregistry.c: (gst_registry_lookup_locked),
21343 (gst_registry_scan_path_level):
21344 * gst/gstregistryxml.c: (load_plugin):
21345 Only ever load one plugin for a given plugin basename.
21346 This ensures correct overriding of GST_PLUGIN_PATH over
21347 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21348 system installed plugins.
21350 2005-10-08 Wim Taymans <wim@fluendo.com>
21352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21353 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21354 Prepare for doing QOS.
21356 2005-10-08 Wim Taymans <wim@fluendo.com>
21358 * check/gst/gstbin.c: (GST_START_TEST):
21359 * check/pipelines/cleanup.c: (GST_START_TEST):
21360 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21361 Allow new clock message too.
21363 2005-10-08 Wim Taymans <wim@fluendo.com>
21365 * gst/gstmessage.c: (gst_message_new_error),
21366 (gst_message_new_warning), (gst_message_new_tag),
21367 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21368 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21369 (gst_message_new_segment_start), (gst_message_new_segment_done),
21370 (gst_message_parse_state_changed),
21371 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21372 (gst_message_parse_new_clock):
21373 * gst/gstmessage.h:
21374 Also carry the clock in question.
21376 2005-10-08 Wim Taymans <wim@fluendo.com>
21378 * gst/gstmessage.c: (gst_message_new_custom),
21379 (gst_message_new_eos), (gst_message_new_error),
21380 (gst_message_new_warning), (gst_message_new_tag),
21381 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21382 (gst_message_new_new_clock), (gst_message_new_segment_start),
21383 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21384 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21385 * gst/gstmessage.h:
21387 Added clock related messages.
21389 * gst/gstpipeline.c: (gst_pipeline_change_state):
21390 Post message when the clock changed.
21392 * tools/gst-launch.c: (event_loop):
21395 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21397 * tools/gst-inspect.c: (print_element_properties_info):
21398 Can't pass NULL strings to g_print() on windows.
21400 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21402 * docs/Makefile.am:
21403 * docs/gst/Makefile.am:
21404 * docs/gst/gstreamer-docs.sgml:
21405 * docs/gst/running.xml:
21406 * docs/version.entities.in:
21407 add a chapter on running GStreamer.
21408 document GST_DEBUG and GST_PLUGIN* env vars
21410 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21415 remove PLUGINS_BUILDDIR stuff
21416 * gst/gst.c: (init_post):
21417 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21419 remove, it was condescending and not needed
21421 2005-10-08 Wim Taymans <wim@fluendo.com>
21423 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21424 (gst_base_sink_handle_object), (gst_base_sink_event),
21425 (gst_base_sink_wait), (gst_base_sink_handle_event),
21426 (gst_base_sink_change_state):
21427 * gst/base/gstbasesink.h:
21428 Repost EOS message while going to PLAYING if still EOS.
21429 Make sure that when receiving a FLUSH_START we don't attempt
21430 to sync on the clock anymore.
21432 2005-10-08 Wim Taymans <wim@fluendo.com>
21434 * tools/gst-launch.c: (event_loop):
21435 Better message printout.
21437 2005-10-08 Wim Taymans <wim@fluendo.com>
21439 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21440 (gst_bin_child_proxy_get_children_count):
21441 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21442 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21443 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21444 (gst_child_proxy_set_valist):
21445 * gst/parse/grammar.y:
21446 Make ChildProxy threadsafe and fix mem leaks.
21448 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21450 * gst/gst.c: (init_post):
21451 debug the GST_PLUGIN_ env vars
21453 2005-10-08 Wim Taymans <wim@fluendo.com>
21455 * check/gst/gstbin.c: (GST_START_TEST):
21456 * check/gst/gstmessage.c: (GST_START_TEST):
21457 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21458 * gst/gstelement.c: (gst_element_commit_state),
21459 (gst_element_lost_state):
21460 * gst/gstmessage.c: (gst_message_new_state_changed),
21461 (gst_message_parse_state_changed):
21462 * gst/gstmessage.h:
21463 * tools/gst-launch.c: (event_loop):
21464 Added extra field to STATE_CHANGE message with the pending
21465 state, which will be different from the new state soon.
21467 2005-10-08 Wim Taymans <wim@fluendo.com>
21469 * gst/gstbus.c: (gst_bus_pop):
21471 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21472 Small cleanups and doc updates.
21474 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21476 * gst/gst.c: (init_pre):
21477 * gst/gstbin.c: (gst_bin_add_func):
21478 log distributing clocks and base time
21479 * gst/gstregistry.c: (gst_registry_add_plugin),
21480 (gst_registry_scan_path_level), (gst_registry_scan_path):
21481 clean up the debugging output a little
21482 * gst/gstutils.c: (gst_element_state_get_name):
21483 warn about a memleak (I've actually seen this be used, though
21484 it was probably a bug)
21486 2005-10-07 Wim Taymans <wim@fluendo.com>
21488 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21489 (gst_base_src_init), (gst_base_src_default_newsegment),
21490 (gst_base_src_newsegment), (gst_base_src_do_seek),
21491 (gst_base_src_loop), (gst_base_src_start):
21492 * gst/base/gstbasesrc.h:
21493 Make the newsegment event customizable by subclasses.
21495 2005-10-07 Wim Taymans <wim@fluendo.com>
21497 * gst/gstevent.c: (gst_event_new_buffersize),
21498 (gst_event_parse_buffersize):
21500 New event for future idea.
21502 2005-10-07 Andy Wingo <wingo@pobox.com>
21504 * gst/gstelement.c (gst_element_post_message): Doc update.
21506 * docs/gst/gstreamer-sections.txt: Update.
21508 * gst/gstmessage.c (gst_message_new_application): Made into a
21509 function like honest API calls.
21510 (gst_message_new_element): New message type.
21512 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21514 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21515 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21518 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21519 NO_PREROLL from gst_element_change_state to fall through.
21521 2005-10-07 Wim Taymans <wim@fluendo.com>
21523 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21524 (gst_ghost_pad_do_activate_push):
21525 Activating a ghostpad with no internal pad in push mode
21528 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21531 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21532 Fixes compilation on Windows.
21534 2005-10-07 Michael Smith <msmith@fluendo.com>
21536 * tools/gst-inspect.c:
21537 Print out feature and plugin count at the end when printing out
21540 2005-10-04 Michael Smith <msmith@fluendo.com>
21542 * gst/gsterror.c: (_gst_stream_errors_init):
21543 Add another error string used in a few existing plugins.
21546 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21547 * tools/gst-inspect.c: (print_element_info):
21548 When a feature disappears from a plugin (and the feature exists in
21549 the cached registry file), things went horribly wrong. This isn't a
21550 complete fix, we should actually be removing the 'missing' features
21551 from the features list when we load the actual plugin. That's not
21554 2005-10-04 Johan Dahlin <johan@gnome.org>
21556 * check/gst/gstiterator.c: (GST_START_TEST):
21557 * gst/gstbin.c: (gst_bin_iterate_elements),
21558 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21559 * gst/gstelement.c: (gst_element_iterate_pads):
21560 * gst/gstformat.c: (gst_format_iterate_definitions):
21561 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21562 (gst_iterator_new_list), (gst_iterator_filter):
21563 * gst/gstiterator.h:
21564 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21565 Add a GType to GstIterator, update callsites and tests.
21567 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21569 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21570 give events a chance to be handled by event probes when the pad
21573 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21575 * gst/gstevent.c: (gst_event_type_get_name),
21576 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21578 add string representations for event types
21580 2005-10-06 Wim Taymans <wim@fluendo.com>
21582 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21583 Don't use NULL pointers.
21585 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21587 * gst/gst_private.h:
21589 * gst/gstelement.c:
21591 * gst/gstpluginfeature.c:
21592 widen the debug category in output to fit the biggest one we have
21593 add a bus category and use it
21594 play with the colors
21595 fix up some categories
21597 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21599 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21600 add push activation of sink ghost pads.
21601 Andye, please verify
21603 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21605 * gst/gstutils.c: (gst_element_link_pads):
21606 fix a bug in the case where neither element has a pad
21607 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21608 add a test for that case
21610 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21612 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21613 emit have-data before checking for peers. This allows
21614 for probe handlers to connect elements. This helps autopluggers.
21615 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21617 add six checks, linked/unlinked with no/true/false probe
21619 2005-10-04 Wim Taymans <wim@fluendo.com>
21621 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21622 (gst_fake_sink_event), (gst_fake_sink_preroll),
21623 (gst_fake_sink_render), (gst_fake_sink_change_state):
21624 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21625 (gst_fake_src_get_property), (gst_fake_src_create),
21626 (gst_fake_src_stop):
21627 * gst/elements/gstidentity.c: (gst_identity_stop):
21628 Protect last_message with lock.
21630 2005-10-04 Edward Hervey <edward@fluendo.com>
21633 Added precision in the comments for GST_FORMAT_DEFAULT
21635 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21637 * tools/gst-launch.c: (main):
21638 Don't try to run erroneous pipelines.
21640 2005-10-04 Julien MOUTTE <julien@moutte.net>
21642 * gst/gstbus.c: We don't need this header.
21644 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21647 back to development
21649 === release 0.9.3 ===
21651 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21655 Releasing 0.9.3, "Unregistered"
21657 2005-10-03 Andy Wingo <wingo@pobox.com>
21659 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21660 whereby calling a pad's activatepush() function can start a thread
21661 that starts to push or pull before the pad gets the FLUSHING flag
21662 unset. Hack around it by holding the stream lock until the flag is
21663 set. Need to replace this with a proper solution. Together with
21664 the ghost pad fixes, this fixes mp3 playing/tagreading.
21666 * docs/design/part-gstghostpad.txt: Add a note about activation of
21667 proxy pads outside of ghost pads.
21669 * gst/gstghostpad.c: Implement the ghost pad activation design.
21671 2005-10-02 Andy Wingo <wingo@pobox.com>
21673 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21674 It is volatile, after all.
21676 * docs/design/part-gstghostpad.txt: Flesh out activation with
21679 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21682 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21685 Fix (unused) AM_CONDITIONAL tests.
21687 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21689 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21691 * gst/gstutils.c: (gst_pad_query_convert):
21692 Add assertion that makes sure src_val is >=0, just like
21693 gst_query_new_convert() has. (#315895)
21695 2005-09-30 Edward Hervey <edward@fluendo.com>
21697 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21698 Let's not iterate pads we're not interested in, it avoids getting
21699 sky-high refcounts on sinkpad.
21701 2005-09-30 Wim Taymans <wim@fluendo.com>
21703 * gst/gstelement.c: (gst_element_set_state),
21704 (gst_element_change_state):
21705 Small tweak, element in ASYNC remains ASYNC.
21707 2005-09-30 Wim Taymans <wim@fluendo.com>
21709 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21710 Only error is an error.
21712 * gst/gstbin.c: (gst_bin_change_state):
21715 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21716 Also call pad_block in pad alloc.
21718 * gst/gstutils.c: (gst_flow_get_name):
21721 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21723 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21724 (gst_base_src_get_range):
21725 Fix documentation typos. Add some more debug info.
21727 2005-09-29 David Schleef <ds@schleef.org>
21729 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21730 more end-user friendly.
21731 * tools/gst-inspect.c: (main): Check if command-line argument is
21732 a file and attempt to load that file as a plugin.
21734 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21736 * check/gst/gstbin.c:
21737 * check/states/sinks.c:
21738 fix tests for the new warning
21739 * check/gst/gstpipeline.c:
21740 add a test for pipeline and bus interaction
21741 * gst/gstelement.c:
21742 elements should be NULL if they get disposed; add a warning if not
21744 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21747 for 2.6 refcounting, make debug log more correct by printing
21748 the actual refcounts at the time of swap (Wim)
21750 2005-09-29 Andy Wingo <wingo@pobox.com>
21752 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21753 removes signal watches previously added via
21754 gst_bus_add_signal_watch.
21755 (gst_bus_add_signal_watch): Don't return the source id, just store
21756 it on the bus if there wasn't an id already.
21758 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21759 add_signal_watch and remove_signal_watch.
21761 2005-09-29 Edward Hervey <edward@fluendo.com>
21763 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21764 Better if we actually iterate the list :)
21766 2005-09-29 Wim Taymans <wim@fluendo.com>
21768 * check/gst/gstbin.c: (GST_START_TEST):
21769 Change for new bus API.
21771 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21772 (send_messages), (GST_START_TEST), (gstbus_suite):
21773 Change for new bus signal API.
21775 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21776 (gst_bus_source_prepare), (gst_bus_source_check),
21777 (gst_bus_create_watch), (gst_bus_add_watch_full),
21778 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21779 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21781 Remove support for multiple GSources operating on different
21782 message types as it is too complex and unneeded when using
21784 Added support for receiving signals from the bus.
21786 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21788 * docs/libs/tmpl/gstdataprotocol.sgml:
21789 * docs/manual/advanced-dataaccess.xml:
21790 * gst/elements/gstcapsfilter.c:
21792 rename filter-caps to caps property
21794 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21796 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21797 More robust fraction string parsing.
21799 * docs/pwg/appendix-porting.xml:
21800 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21802 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21804 * gst/gstcaps.c: (gst_caps_do_simplify):
21805 Thou shalt not free a structure and then continue using it
21806 in the next loop iteration.
21808 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21810 Add test case for caps simplification.
21812 2005-09-29 Wim Taymans <wim@fluendo.com>
21814 * check/gst/gstbin.c: (GST_START_TEST):
21817 2005-09-29 Wim Taymans <wim@fluendo.com>
21819 * check/gst/gstbin.c: (GST_START_TEST):
21822 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21823 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21824 (find_element), (gst_bin_sort_iterator_next),
21825 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21826 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21827 (gst_bin_change_state), (gst_bin_dispose):
21828 A bin does not have a bus, it gets the bus from the parent.
21830 * gst/gstelement.c: (gst_element_requires_clock),
21831 (gst_element_provides_clock), (gst_element_is_indexable),
21832 (gst_element_is_locked_state), (gst_element_change_state),
21833 (gst_element_set_bus_func):
21836 * gst/gstpipeline.c: (gst_pipeline_class_init),
21837 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21838 The pipeline provides a bus.
21840 2005-09-28 Johan Dahlin <johan@gnome.org>
21842 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21843 gst_structure_get_enum instead of gst_structure_get_int
21845 * gst/gststructure.c (gst_structure_get_enum): Impl.
21847 * gst/gststructure.h (gst_structure_get_enum): Add
21849 * docs/gst/gstreamer-sections.txt: Ditto
21851 * gst/gstmessage.c (gst_message_new_state_changed): Use
21852 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21853 which does introspection.
21854 Reviewed by Christian Schaller
21856 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21858 * gst/gstinfo.c: (gst_debug_log_default):
21859 don't do dummy g_strdup()s
21860 * libs/gst/controller/gstcontroller.c:
21861 (on_object_controlled_property_changed),
21862 (gst_controlled_property_new), (gst_controller_new_valist),
21863 (gst_controller_new_list),
21864 (gst_controller_remove_properties_valist), (gst_controller_set),
21865 (gst_controller_get), (gst_controller_sync_values),
21866 (gst_controller_get_value_array), (_gst_controller_class_init),
21867 (gst_controller_get_type):
21868 * libs/gst/controller/gstcontroller.h:
21869 * libs/gst/controller/gstinterpolation.c:
21870 (gst_controlled_property_find_timed_value_node):
21871 convert // to /**/ comments
21873 2005-09-28 Wim Taymans <wim@fluendo.com>
21875 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21876 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21877 (gst_bus_sync_signal_handler):
21879 Added async-message and sync-message signals to the bus.
21880 Added helper BusFunc to emit signals for all posted messages.
21882 * gst/gstmessage.c: (gst_message_type_get_name),
21883 (gst_message_type_to_quark), (gst_message_get_type):
21884 * gst/gstmessage.h:
21885 Register quarks for message names.
21887 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21889 * docs/libs/gstreamer-libs-sections.txt:
21890 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21891 (gst_controller_new_list):
21892 * libs/gst/controller/gstcontroller.h:
21893 added another constructor for language bindings
21895 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
21897 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21901 * gst/gstinfo.c: (_gst_debug_init):
21902 slightly more readable color for refcount debugging
21904 2005-09-28 Wim Taymans <wim@fluendo.com>
21906 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21907 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21908 (find_element), (gst_bin_sort_iterator_next),
21909 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21910 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21911 (gst_bin_change_state), (gst_bin_dispose):
21912 Small doc fixes. get_clock -> provide_clock.
21914 * gst/gstelement.c: (gst_element_class_init),
21915 (gst_element_provides_clock), (gst_element_provide_clock),
21916 (gst_element_get_clock), (gst_element_commit_state),
21917 (gst_element_lost_state):
21918 * gst/gstelement.h:
21919 Make get/set_clock() symetric. Add provide_clock vmethod since
21920 that is actually what this function does.
21922 * gst/gstpipeline.c: (gst_pipeline_class_init),
21923 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21924 (gst_pipeline_get_clock):
21925 get_clock -> provide_clock.
21927 2005-09-28 Andy Wingo <wingo@pobox.com>
21929 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21930 lieu of real docs...
21932 * gst/elements/gstfdsrc.c: Cleaned up a bit.
21934 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
21936 * gst/elements/gstcapsfilter.c:
21937 * gst/elements/gstfakesink.c:
21938 * gst/elements/gstfakesrc.c:
21939 * gst/elements/gstfdsink.c:
21940 * gst/elements/gstfdsrc.c:
21941 * gst/elements/gstfilesink.c:
21942 * gst/elements/gstfilesrc.c:
21943 * gst/elements/gstidentity.c:
21944 * gst/elements/gsttee.c:
21945 * gst/elements/gsttypefindelement.c:
21946 Make element details static.
21948 2005-09-28 Wim Taymans <wim@fluendo.com>
21950 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21951 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21952 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21953 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21954 (gst_bin_change_state), (gst_bin_dispose):
21955 Some documentation updates.
21956 Clean up dispose handlers.
21958 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21959 * gst/gstpad.c: (gst_pad_dispose):
21960 Clean up dispose handler.
21962 * gst/gstpipeline.c: (gst_pipeline_change_state):
21963 Removed spurious UNLOCK.
21965 2005-09-27 Stefan Kost <ensonic@users.sf.net>
21967 * docs/gst/gstreamer-sections.txt:
21968 * gst/base/gstbasesrc.h:
21969 * gst/gstelement.h:
21973 * gst/gstpipeline.c:
21974 * gst/gstpipeline.h:
21977 added two new functions to the docs
21978 documents all undocumented GstXXXFlags
21979 completed some incomplete docs
21981 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
21983 * gst/gstbin.c: (gst_bin_dispose):
21984 * gst/gstelement.c: (gst_element_dispose):
21985 remove now useless and leaky resurrection code in dispose
21986 * gst/base/gstbasesrc.c: (gst_base_src_init):
21987 * gst/gstelementfactory.c: (gst_element_factory_create):
21988 * gst/gstobject.c: (gst_object_set_parent):
21991 2005-09-27 Wim Taymans <wim@fluendo.com>
21993 * docs/design/part-TODO.txt:
21996 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21997 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21998 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21999 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22000 (gst_bin_change_state):
22001 * gst/gstelement.h:
22002 Remove element variable, we keep element info in the iterator now.
22004 2005-09-27 Andy Wingo <wingo@pobox.com>
22006 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22009 2005-09-27 Wim Taymans <wim@fluendo.com>
22011 * check/gst/gstbin.c: (GST_START_TEST):
22012 Enable check that works now.
22014 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22015 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22016 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22017 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22018 (gst_bin_change_state):
22020 Redid the state change algorithm using a topological sort algo.
22021 Handles all cases correctly.
22022 Exposed iterator for state change order.
22024 * gst/gstelement.h:
22025 Temp storage for state changes. Need to get rid of this soon.
22027 2005-09-27 Wim Taymans <wim@fluendo.com>
22029 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22030 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22031 (link_fold_func), (gst_pad_proxy_setcaps):
22032 Leak fixes, the fold functions need to unref the passed object and
22033 _get_parent_*() returns ref to parent.
22035 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22037 * check/gst/gstbuffer.c: (test_make_writable):
22038 Plug leak in test case and fix 'make check-valgrind'
22040 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22042 * gst/gstbuffer.c: (gst_subbuffer_init):
22043 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22044 works correctly in all circumstances (we could have just copied
22045 the parent buffer's readonly flag, but conceptually it seems
22046 cleaner to mark all subbuffers as read-only). (based on patch
22047 by Alessandro Decina, #314710).
22049 * check/gst/gstbuffer.c: (create_read_only_buffer),
22050 (test_make_writable), (test_subbuffer_make_writable),
22052 Add some tests for gst_buffer_make_writable().
22054 2005-09-27 Wim Taymans <wim@fluendo.com>
22056 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22057 use gst_object_has_ancestor().
22059 * gst/gstobject.c: (gst_object_has_ancestor):
22061 gst_object_has_ancestor() copied from gstbin.c as it is a
22064 * tests/instantiate/create.c: (create_all_elements):
22065 * tests/lat.c: (handoff_src), (handoff_sink):
22066 * tests/sched/runxml.c: (main):
22067 * tests/seeking/seeking1.c: (main):
22068 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22070 Fix compilation of some tests.
22072 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22075 Remove comment. GST_TYPE_G_ERROR is here to stay,
22076 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22077 (#316961, #300610).
22079 2005-09-26 Wim Taymans <wim@fluendo.com>
22081 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22082 Added check that shows error in state change order.
22084 2005-09-26 Wim Taymans <wim@fluendo.com>
22086 * gst/gstbin.c: (gst_bin_change_state):
22087 Make state change function use 3 queues again, we were
22088 adding elements in the wrong order.
22090 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22093 * gst/gstpad.c: (gst_pad_dispose):
22094 Added some debug info first.
22096 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22098 * docs/design/draft-push-pull.txt:
22099 * docs/design/part-events.txt:
22100 * docs/design/part-overview.txt:
22101 * docs/design/part-scheduling.txt:
22102 Replace all _pull_region() with _pull_range()
22104 2005-09-26 Andy Wingo <wingo@pobox.com>
22106 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22108 * check/gst-libs/controller.c: Update for controller api change.
22111 * tests/Makefile.am:
22112 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22113 over by GLib bug 118439.
22115 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22116 routines to a function.
22118 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22120 * libs/gst/controller/gsthelper.c:
22121 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22122 (gst_object_sync_values): Renamed from sink_values. Ugh.
22124 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22126 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22127 Renamed from controller_key, as it is exported.
22129 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22131 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22136 * gst/gstpadtemplate.h:
22139 * gst/gstqueryutils.c:
22140 * gst/gstqueryutils.h:
22141 remove queryutils headers after moving the two used functions
22142 to gstquery. also fixes build problem for gstsiddec
22144 2005-09-26 Michael Smith <msmith@fluendo.com>
22146 * tools/gst-launch.1.in:
22147 Correct documentation in manpage of debug syntax
22149 2005-09-26 Wim Taymans <wim@fluendo.com>
22151 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22152 (gst_base_src_is_seekable), (gst_base_src_change_state):
22153 Some more debugging info.
22155 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22157 * docs/gst/gstreamer-sections.txt:
22158 * gst/base/gstbasetransform.h:
22162 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22164 * docs/gst/.cvsignore:
22165 * docs/gst/tmpl/.cvsignore:
22166 * docs/gst/tmpl/gstpipeline.sgml:
22167 * docs/gst/tmpl/gstplugin.sgml:
22168 * gst/gstpipeline.c:
22171 inlined the last two docs files
22172 removed the tmpl directory from cvs (no more conflicts here!)
22174 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22176 * docs/gst/gstreamer-sections.txt:
22177 * docs/gst/tmpl/.cvsignore:
22178 * docs/gst/tmpl/gstpad.sgml:
22179 * docs/gst/tmpl/gstpadtemplate.sgml:
22181 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22182 (gst_pad_finalize), (gst_pad_set_pad_template):
22184 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22185 (gst_pad_template_class_init), (gst_pad_template_init),
22186 (gst_pad_template_dispose), (name_is_valid),
22187 (gst_static_pad_template_get), (gst_pad_template_new),
22188 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22189 (gst_pad_template_pad_created):
22190 * gst/gstpadtemplate.h:
22191 inlined two more docs
22192 factored gstpadtemplate out of gstpad
22194 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22196 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22197 (test_children_state_change_order_semi_sink):
22198 Fix test case: we can't rely on a fixed state change order when
22199 going from READY => PAUSED because the sink might commit its
22200 new state first when the first buffer created by the source
22201 reaches the sink before the source has finished its change state.
22202 (Test case still fails at times, see #316856, comment 5 onwards)
22204 2005-09-24 Wim Taymans <wim@fluendo.com>
22206 * docs/design/part-events.txt:
22207 * docs/design/part-gstbus.txt:
22208 * docs/design/part-gstpipeline.txt:
22209 * docs/design/part-messages.txt:
22210 * docs/design/part-overview.txt:
22211 * docs/design/part-segments.txt:
22215 * gst/gstelement.c:
22218 * gst/gstiterator.c:
22219 Various documentation updates.
22221 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22224 Well, that's embarassing. Luckily we weren't using
22225 GST_CLOCK_DIFF anywhere.
22227 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22229 * common/gtk-doc.mak:
22230 don't fail on building XML, FC4 slave shows a bunch of doc
22231 missing bits that I don't get
22233 * gst/gstpipeline.c:
22234 * gst/gststructure.c:
22237 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22239 * docs/design/part-gstbin.txt:
22240 * docs/design/part-gstbus.txt:
22242 Add blurb about how the bus goes into flushing mode and
22243 drops all messages when its bin goes from READY into NULL
22246 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22248 * docs/gst/gstreamer-sections.txt:
22249 * gst/gststructure.c: (gst_structure_get_clock_time):
22250 * gst/gststructure.h:
22251 add a method to get a GstClockTime out of a structure
22253 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22255 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22256 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22257 Added test to check state change order in bins (can still be made
22258 to fail here under heavy disk load; bails out with 'Push on pad
22259 fakesink:sink0, but it was not activated in push mode').
22261 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22262 Fix state change order when there is only a semi sink (#316856)
22264 * gst/gstbus.c: (gst_bus_class_init):
22265 Use _class_peek_parent(), not _class_ref(); fix docs to say
22266 'default main context' instead of 'mainloop' where that is
22269 * gst/gstelement.c: (gst_element_commit_state),
22270 (gst_element_set_state):
22271 Fix typos in debug messages
22273 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22276 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22277 * gst/gstpluginfeature.c:
22279 various doc updates
22280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22281 change an assert into an error until it gets fixed properly
22283 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22285 * docs/gst/gstreamer-sections.txt:
22286 * docs/gst/tmpl/.cvsignore:
22287 * docs/gst/tmpl/gstelement.sgml:
22288 * docs/gst/tmpl/gstinfo.sgml:
22289 * docs/gst/tmpl/gstobject.sgml:
22290 * gst/gstelement.c:
22291 * gst/gstelement.h:
22294 * gst/gstobject.c: (gst_object_class_init):
22296 inlined 3 more biiiig doc files and added some missing docs on the fly
22298 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22300 * check/gst/.cvsignore:
22301 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22302 * gst/gstregistryxml.c: (load_plugin),
22303 (gst_registry_xml_save_plugin):
22304 put back source in registry. add checks for find_plugin.
22305 * testsuite/states/bin.c: (assert_state), (empty_bin),
22306 (test_adding_one_element), (main):
22307 * testsuite/states/locked.c: (main):
22308 some compile/run fixes
22310 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22312 * check/gst/gstvalue.c: (GST_START_TEST):
22313 fix leaks in the test itself
22315 2005-09-22 Wim Taymans <wim@fluendo.com>
22317 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22318 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22319 (gst_base_sink_query):
22320 Prepare for more accurate position reporting and query
22323 * gst/gstelement.c: (gst_element_send_event),
22324 (gst_element_set_state):
22327 2005-09-22 Wim Taymans <wim@fluendo.com>
22329 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22330 (gst_query_parse_segment):
22332 More documentation.
22333 Add segment query for future use.
22335 2005-09-22 Wim Taymans <wim@fluendo.com>
22337 * gst/gstbin.c: (gst_bin_add_func):
22338 Some more debug info.
22340 * gst/gstelement.c: (gst_element_send_event):
22341 Simplify send_event
22343 * gst/gstelement.h:
22344 Don't know how flags got broken.
22349 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22351 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22352 Add simplistic test suite for GST_TYPE_DATE serialisation and
22355 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22357 * docs/gst/gstreamer-sections.txt:
22358 * gst/gststructure.c: (gst_structure_set_valist),
22359 (gst_structure_get_date):
22360 * gst/gststructure.h:
22361 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22362 (gst_date_copy), (gst_value_compare_date),
22363 (gst_value_serialize_date), (gst_value_deserialize_date),
22364 (gst_value_transform_date_string),
22365 (gst_value_transform_string_date), (_gst_value_initialize):
22367 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22368 bunch of utility functions along with a hack that checks that
22369 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22370 is required. Part of the grand scheme in #170777.
22372 2005-09-22 Andy Wingo <wingo@pobox.com>
22374 * gst/gstconfig.h.in: Psych out gtk-doc.
22376 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22378 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22380 * tools/gst-inspect.c (print_element_list): Plug some
22381 inconsequential leaks.
22383 * gst/gstregistry.c (gst_registry_get_default): Doc.
22385 * check/gst/gstplugin.c:
22386 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22387 * gst/gstelementfactory.c (gst_element_factory_create):
22388 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22391 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22392 (gst_plugin_feature_load): Doc, don't eat refs.
22394 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22395 (gst_plugin_list_free): Doc.
22396 (gst_plugin_load_file): Doc updates.
22398 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22399 accessors returning refcounted objects, return a ref.
22401 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22402 accessor for caps. IDEMPOTENCE. Oh yes.
22404 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22406 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22408 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22409 (_gst_debug_register_funcptr):
22410 Add mutex to serialise access to the hash table with
22411 the function pointer => function name string mapping;
22412 make that hash table static scope (#316809).
22414 * gst/registries/.cvsignore:
22415 Remove left-over file.
22417 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22419 * docs/pwg/appendix-porting.xml:
22420 And something about newsegment events and caps-on-buffers to
22421 the porting guide (feel free to improve).
22423 2005-09-21 Andy Wingo <wingo@pobox.com>
22425 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22426 data and event probes on the same pad.
22427 (test_buffer_probe_once): Test that removing probes from within
22428 the probe functions works.
22430 2005-09-21 Andy Wingo <wingo@pobox.com>
22432 * check/gst/gstutils.c: New file.
22433 (test_buffer_probe_n_times): A simple buffer probe test. More to
22436 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22437 have-data::buffer, not have-data.
22438 (gst_pad_add_event_probe): Likewise for have-data::event.
22439 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22440 peer' isn't quite right yet though.
22441 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22442 (gst_pad_remove_data_probe): Change to take the guint handler_id
22443 as their arg, not the function+data, which is more glib-like.
22445 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22446 the signal emission to indicate if the data is a buffer or an
22448 (gst_pad_get_type): Initialize buffer and event quarks.
22449 (gst_pad_class_init): have-data is now a detailed signal, yes it
22452 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22454 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22455 * gst/gstutils.c: (gst_util_set_value_from_string),
22456 (gst_util_set_object_arg):
22457 Don't put functional code in g_return_if_fail() or
22458 g_return_val_if_fail() statements, otherwise things will
22459 break when G_DISABLE_CHECKS is defined during compilation.
22461 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22463 * docs/gst/tmpl/.cvsignore:
22464 * docs/gst/tmpl/gstvalue.sgml:
22467 inlied another one and added some obvious docs
22469 2005-09-21 Wim Taymans <wim@fluendo.com>
22471 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22472 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22473 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22474 (gst_fdsrc_get_property), (gst_fdsrc_create):
22475 * gst/elements/gstfdsrc.h:
22476 Properly implement fdsrc. Removed signal and timeout,
22477 better implemented somewhere else.
22479 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22481 * docs/gst/tmpl/.cvsignore:
22482 * docs/gst/tmpl/gstimplementsinterface.sgml:
22483 * gst/gstinterface.c:
22486 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22488 * docs/gst/gstreamer-sections.txt:
22489 * docs/gst/tmpl/.cvsignore:
22490 * docs/gst/tmpl/gstenumtypes.sgml:
22491 remove obsolete doc file
22493 2005-09-21 David Schleef <ds@schleef.org>
22495 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22496 little beer, fix a little leak.
22498 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22500 * docs/gst/gstreamer-docs.sgml:
22501 * docs/gst/gstreamer-sections.txt:
22502 * docs/gst/tmpl/.cvsignore:
22506 * gst/gstelement.h:
22507 * gst/gstindex.c: (gst_index_class_init):
22509 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22510 (gst_index_factory_class_init), (gst_index_factory_init),
22511 (gst_index_factory_finalize), (gst_index_factory_new),
22512 (gst_index_factory_destroy), (gst_index_factory_find),
22513 (gst_index_factory_create), (gst_index_factory_make):
22514 * gst/gstindexfactory.h:
22515 * gst/gstpluginfeature.c:
22516 * gst/gstpluginfeature.h:
22517 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22518 more docs inlined, splitted gstindex.{c,h}
22520 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22522 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22525 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22527 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22528 Set sync to FALSE by default.
22530 2005-09-20 Wim Taymans <wim@fluendo.com>
22532 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22533 (gst_base_sink_init):
22534 Make sync property settable from subclass.
22536 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22537 (gst_fake_sink_change_state):
22538 Set sync to FALSE by default.
22540 2005-09-20 Wim Taymans <wim@fluendo.com>
22542 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22543 * tools/gst-launch.c: (main):
22544 The timeout handler should have lower priority than the source
22545 so we don't timeout before popping a message with 0 timeout.
22546 Dump error messages after failed state change.
22548 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22550 * tools/gst-inspect.c: (print_element_properties_info):
22553 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22555 * check/gst/gstevent.c:
22556 * gst/elements/gstfakesink.c:
22557 * gst/elements/gstfakesink.h:
22558 remove the sync property from fakesink.
22559 has the side effect of setting sync TRUE
22560 for fakesink, which is a change. Anyone who knows how
22561 to fix this nicely in a GObject-y way, feel free.
22563 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22565 * docs/gst/gstreamer-docs.sgml:
22566 remove probe refsection
22568 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22570 * check/Makefile.am:
22571 disable valgrinding the controller test again
22572 * docs/gst/gstreamer-sections.txt:
22573 update for api-changes
22575 2005-09-20 Wim Taymans <wim@fluendo.com>
22577 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22578 (gst_base_sink_set_property), (gst_base_sink_get_property),
22579 (gst_base_sink_do_sync):
22580 * gst/base/gstbasesink.h:
22581 Added sync property to basesink to disable clock sync.
22583 2005-09-20 Andy Wingo <wingo@pobox.com>
22585 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22586 eating the caller's refcount.
22588 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22589 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22592 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22593 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22594 of GLib 2.8 public, so we can know which refcount to check in
22597 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22598 (gst_object_init): Only set the gst refcount if we're going ahead
22599 with the refcount hack.
22601 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22603 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22604 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22605 more leaks plumbed, added more debug-logging
22609 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22611 * gst/gstmessage.c:
22612 remove include of gstmemchunk.h
22614 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22616 * gst/gstclock.c: (_gst_clock_id_free):
22617 Commit from the Political Party For More Atomic CVS Commits,
22618 so that people don't waste too much of their day fishing
22619 out obvious leaks out of massive commits.
22620 Oh, and fix a pretty damn obvious leak in the memchunk
22623 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22625 * check/Makefile.am:
22626 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22627 plug mem-leak, re-add to valgrindable tests
22629 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22632 unbreak the build for those who have chronic arthritis
22633 and typing "make check" is just too taxing on the hands
22635 2005-09-20 Andy Wingo <wingo@pobox.com>
22637 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22638 really want it out, you should fix plugins at the same time.
22640 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22643 * docs/gst/gstreamer-sections.txt:
22645 added missing symbols to api docs
22646 disable ref-count hack if we have glib >= 2.8
22648 2005-09-19 David Schleef <ds@schleef.org>
22650 * docs/gst/Makefile.am: Ignore a few more internal headers
22651 * docs/gst/gstreamer-docs.sgml: Remove old sections
22652 * docs/gst/gstreamer-sections.txt: Remove old sections
22653 * docs/gst/tmpl/gstobject.sgml: update
22654 * docs/gst/tmpl/gstplugin.sgml: update
22655 * docs/gst/tmpl/gstpluginfeature.sgml: update
22656 * docs/random/ds/0.9-suggested-changes: update.
22657 * gst/Makefile.am: remove memchunk and trashstack, since they're
22659 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22660 * gst/gst.h: don't include some headers
22661 * gst/gstchildproxy.c: add gstmarshal.h
22662 * gst/gstclock.c: Don't use memchunks
22663 * gst/gstminiobject.c: Add some docs
22664 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22665 * gst/gstobject.h: same
22666 * gst/gstplugin.c: include gstmacros.h
22667 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22668 * gst/gstquery.c: don't use memchunks
22669 * gst/gstregistry.c: rename gst_registry_deinit()
22670 * gst/gstregistry.h: same
22672 2005-09-19 David Schleef <ds@schleef.org>
22674 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22675 * docs/libs/gstreamer-libs-sections.txt:
22676 * docs/libs/tmpl/gstgetbits.sgml:
22677 * docs/libs/tmpl/gstputbits.sgml:
22679 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22681 * win32/gstenumtypes.c:
22682 * win32/gstenumtypes.h:
22685 2005-09-19 Wim Taymans <wim@fluendo.com>
22687 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22688 Automatically PAUSE and RESUME a pipeline when a flushing seek
22691 2005-09-19 Andy Wingo <wingo@pobox.com>
22693 * gst/gstregistry.h: Spacing fixen.
22695 2005-09-19 Wim Taymans <wim@fluendo.com>
22697 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22698 Handle state change failure more correctly.
22700 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22702 * check/Makefile.am:
22703 * check/pipelines/cleanup.c: (run_pipeline):
22704 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22706 enable cleanup again after fixing the leak
22708 some more info on docs
22710 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22712 * check/Makefile.am:
22713 re-enable tests now that leaks are plugged
22715 * check/gst/gstbin.c:
22716 * check/gst/gstpipeline.c:
22717 add some more tests while fixing leaks
22718 * common/check.mak:
22719 make sure binaries are uptodate when valgrinding/gdbing
22721 * gst/gstelementfactory.c:
22722 remove a ref too many, and add a FIXME for when we get
22723 round to disposing of classes
22725 fix the refcounting when loading a plugin from a file and
22726 the code pretends that the pointer is the same even though
22727 of course it can change
22728 * gst/gstpluginfeature.c:
22729 unref plugins marked cached (a bit confusing as a name)
22730 as the docs state should be done
22731 various doc additions to explain refcounting
22732 * gst/gstregistry.c:
22733 * gst/gstregistryxml.c:
22736 2005-09-19 Wim Taymans <wim@fluendo.com>
22738 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22739 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22740 (send_messages), (GST_START_TEST), (gstbus_suite):
22741 * check/gst/gstpipeline.c: (GST_START_TEST):
22742 * check/pipelines/cleanup.c: (run_pipeline):
22743 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22745 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22746 (gst_bus_source_check), (gst_bus_source_dispatch),
22747 (gst_bus_create_watch), (gst_bus_add_watch_full),
22748 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22750 * tools/gst-launch.c: (event_loop):
22751 * tools/gst-md5sum.c: (event_loop):
22752 GstBusHandler -> GstBusFunc, return value has the same meaning as
22753 any other GSource (FALSE == remove source).
22754 _add_watch() and _add_watch_full() now take a MessageType mask to
22755 only handle specific types of messages.
22756 _poll() returns the GstMessage instead of the message type to avoid
22758 _have_pending() takes a MessageType mask now too.
22759 Added testsuite for multiple bus watches.
22760 Fix testsuites and applications for new bus API.
22762 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22764 * check/Makefile.am:
22765 mark a bunch of the tests as to fix until we fix them
22767 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22769 * common/check.mak:
22770 use GST_PLUGIN settings for valgrind tests as well, so we're
22771 valgrinding the correct thing
22772 * gst/gst.c: (init_post):
22775 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22777 * gst/gst.c: (init_post), (gst_deinit):
22778 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22779 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22780 * gst/gstindex.c: (gst_index_factory_class_init),
22781 (gst_index_factory_finalize):
22782 * gst/gstobject.c: (gst_object_dispose):
22783 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22784 (gst_plugin_load_file), (gst_plugin_desc_free):
22785 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22786 (gst_plugin_feature_finalize):
22787 * gst/gstregistry.c: (gst_registry_class_init),
22788 (gst_registry_init), (gst_registry_finalize),
22789 (gst_registry_get_default), (gst_registry_deinit):
22790 * gst/gstregistry.h:
22791 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22792 various cleanups and memleak plugging. make valgrind is happy now.
22794 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22796 * common/check.mak:
22797 add a check-valgrind target
22799 2005-09-18 David Schleef <ds@schleef.org>
22801 * tools/gst-inspect.c: Revert the GOption code.
22803 2005-09-17 David Schleef <ds@schleef.org>
22805 * check/Makefile.am: Fix environment variables.
22806 * check/gst/gstplugin.c: Fix for API changes.
22807 * tools/gst-inspect.c: Fix for API changes.
22808 * tools/gst-xmlinspect.c: Fix for API changes.
22809 * gst/gstelementfactory.c:
22812 * gst/gstpluginfeature.c:
22813 * gst/gstpluginfeature.h:
22814 * gst/gstregistry.c:
22815 * gst/gstregistry.h:
22816 * gst/gstregistryxml.c:
22817 * gst/gsttypefind.c:
22818 * gst/gsttypefindfactory.c:
22819 * gst/indexers/gstfileindex.c:
22820 * gst/indexers/gstmemindex.c:
22821 * gst/schedulers/Makefile.am:
22822 Change registry to keep track of both plugins and features,
22823 removing the feature tracking from plugins themselves.
22825 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22827 * check/Makefile.am:
22828 * tools/gst-register.1.in:
22829 remove gst-register
22831 2005-09-15 David Schleef <ds@schleef.org>
22833 * check/gst/gstplugin.c:
22834 * gst/gstelementfactory.c:
22836 * gst/gstpluginfeature.c:
22837 * gst/gstregistry.c:
22838 Getting tired of debugging. Disabled all the unreffing of
22839 plugins and features, which fixes the segfaults, but of
22840 course leaks like crazy. At least playbin works.
22842 2005-09-15 David Schleef <ds@schleef.org>
22844 * check/gst/gstplugin.c: (register_check_elements),
22845 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22847 * gst/elements/gsttypefindelement.c: Fix refcounting.
22848 * gst/gsttypefind.c:
22849 * gst/gsttypefindfactory.c:
22850 * gst/gsttypefindfactory.h:
22852 2005-09-15 David Schleef <ds@schleef.org>
22854 * gst/gstindex.c: get refcounting correct.
22855 * gst/gstregistry.c: Handle the case where a feature/plugin is
22858 2005-09-15 David Schleef <ds@schleef.org>
22860 * check/Makefile.am:
22861 * check/gst/gstplugin.c: Add test
22862 * gst/gstplugin.c: Fix problems noticed by testsuite
22864 * gst/gstregistry.c:
22865 * gst/gstregistry.h:
22867 2005-09-15 David Schleef <ds@schleef.org>
22869 * gst/gstplugin.c: Implement semi-decent recounting and locking
22870 in plugins and plugin features.
22872 * gst/gstpluginfeature.c:
22873 * gst/gstpluginfeature.h:
22874 * gst/gstregistry.c:
22876 2005-09-15 Michael Smith <msmith@fluendo.com>
22878 * gst/gstregistry.c: (gst_registry_get_feature_list):
22879 Implement this. Makes oggdemux work; decodebin still broken.
22881 2005-09-14 David Schleef <ds@schleef.org>
22883 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22885 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22886 * gst/check/Makefile.am:
22887 * libs/gst/controller/Makefile.am:
22888 * libs/gst/dataprotocol/Makefile.am:
22890 2005-09-14 David Schleef <ds@schleef.org>
22892 * configure.ac: Remove getbits library. Nothing uses it, and
22893 it should be in something like liboil if someone did want
22895 * libs/gst/Makefile.am:
22896 * libs/gst/getbits/Makefile.am:
22897 * libs/gst/getbits/gbtest.c:
22898 * libs/gst/getbits/getbits.c:
22899 * libs/gst/getbits/getbits.h:
22900 * libs/gst/getbits/gstgetbits_generic.c:
22901 * libs/gst/getbits/gstgetbits_i386.s:
22902 * libs/gst/getbits/gstgetbits_inl.h:
22904 2005-09-14 David Schleef <ds@schleef.org>
22906 * gst/Makefile.am: Dist glib-compat.h
22908 2005-09-14 David Schleef <ds@schleef.org>
22910 * configure.ac: Remove gst/registries, since it's no longer used.
22911 * gst/registries/Makefile.am:
22912 * gst/registries/gstlibxmlregistry.c:
22913 * gst/registries/gstlibxmlregistry.h:
22914 * gst/registries/gstxmlregistry.c:
22915 * gst/registries/gstxmlregistry.h:
22916 * gst/registries/registrytest.c:
22918 2005-09-14 David Schleef <ds@schleef.org>
22920 * gst/glib-compat.h:
22921 * gst/gstregistryxml.c:
22922 Convergence is near. Seriously.
22924 2005-09-14 David Schleef <ds@schleef.org>
22926 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22927 * gst/glib-compat.h:
22928 Attempt #4 to appease the buildbots.
22930 2005-09-14 David Schleef <ds@schleef.org>
22932 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22935 2005-09-14 David Schleef <ds@schleef.org>
22937 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22940 2005-09-14 David Schleef <ds@schleef.org>
22942 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22945 2005-09-14 David Schleef <ds@schleef.org>
22947 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22948 * gst/glib-compat.h: Add some functions that are in newer versions
22949 of glib than we care to require.
22950 * gst/gstregistryxml.c: Use them.
22952 2005-09-14 David Schleef <ds@schleef.org>
22954 * po/POTFILES.in: remove gst-register.c
22956 2005-09-14 David Schleef <ds@schleef.org>
22958 * docs/gst/gstreamer-docs.sgml:
22959 * docs/gst/gstreamer-sections.txt:
22960 * docs/gst/gstreamer.types:
22961 * docs/gst/tmpl/gstelement.sgml:
22962 * docs/gst/tmpl/gstplugin.sgml:
22963 * docs/gst/tmpl/gstpluginfeature.sgml:
22964 Documentation updates for registry changes.
22966 2005-09-14 David Schleef <ds@schleef.org>
22968 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22969 because we don't require glib-2.8.
22971 2005-09-14 David Schleef <ds@schleef.org>
22973 * gst/gstregistryxml.c: Added. Essentially moved out of the
22974 registries directory.
22976 2005-09-14 David Schleef <ds@schleef.org>
22978 * check/Makefile.am:
22979 * check/generic/states.c:
22983 * gst/gst_private.h:
22984 * gst/gstelementfactory.c:
22989 * gst/gstpluginfeature.c:
22990 * gst/gstpluginfeature.h:
22991 * gst/gstregistry.c:
22992 * gst/gstregistry.h:
22993 * gst/gstregistrypool.c: remove
22994 * gst/gstregistrypool.h: remove
22995 * gst/gsttypefind.c:
22996 * gst/gsttypefindfactory.c:
22998 * tools/Makefile.am:
22999 * tools/gst-compprep.c:
23000 * tools/gst-inspect.c:
23001 * tools/gst-register.c: remove
23002 * tools/gst-xmlinspect.c:
23003 Registry rewrite. Changes registry from being a file created
23004 by a tool into a simple cache file created automatically by
23005 libgstreamer. Removed gst-register (because it's no longer
23006 needed). Remove registry pools, because we only have one
23007 registry implementation (XML). Fix up other subsystems as
23010 2005-09-13 Michael Smith <msmith@fluendo.com>
23012 * gst/gstconfig.h.in:
23013 Don't Use windows linking attributes for MinGW. Fixes #316157
23015 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23017 * gst/gstutils.c: (set_state_async_thread_func),
23018 (gst_element_set_state_async):
23019 Apparently people think it's better if this function doesn't
23020 try to set the state to whatever state was asked for on the first
23021 call to this function for any object. Seriously.
23023 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * check/gst/gstpipeline.c: (GST_START_TEST):
23026 * docs/gst/gstreamer-sections.txt:
23027 * gst/gstutils.c: (set_state_async_thread_func),
23028 (gst_element_set_state_async):
23030 add a "gst_element_set_state_async" method that
23031 sets the state and starts a thread to make sure the state
23032 change completes as best as it can
23034 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23036 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23037 codify design+behaviour in testsuite after discussion
23039 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23041 * docs/gst/tmpl/gstelement.sgml:
23042 * docs/manual/appendix-quotes.xml:
23044 * gst/gstelement.c: (gst_element_set_state):
23047 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23049 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23050 (gst_base_transform_prepare_output_buf),
23051 (gst_base_transform_handle_buffer):
23052 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23053 (gst_capsfilter_prepare_buf):
23054 Remove the requirement for sub-classes to call the parent
23055 implementation of prepare_output_buffer with a wrapper function.
23057 * gst/gsttaglist.h:
23058 * gst/gsttagsetter.h:
23059 Fix #define wrapper
23061 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23063 * docs/gst/gstreamer-sections.txt:
23066 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23068 * docs/gst/gstreamer-sections.txt:
23069 * docs/gst/tmpl/gstelement.sgml:
23070 * docs/gst/tmpl/gstplugin.sgml:
23071 * gst/gstminiobject.c:
23073 docs now stop throwing warnings
23075 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23077 * docs/gst/gstreamer-sections.txt:
23078 * docs/gst/gstreamer.types:
23079 * docs/gst/tmpl/gstpad.sgml:
23080 * docs/gst/tmpl/gsttypes.sgml:
23081 * gst/base/gstadapter.h:
23082 * gst/base/gstbasesink.h:
23083 * gst/base/gstbasesrc.h:
23089 * gst/gstelement.h:
23091 * gst/gstmessage.h:
23093 * gst/gststructure.c:
23094 * gst/registries/gstlibxmlregistry.h:
23095 various documentation fixes
23097 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23099 * docs/gst/gstreamer-sections.txt:
23100 * docs/gst/tmpl/gstvalue.sgml:
23101 rearrange gstvalue section
23102 * gst/gstutils.c: (gst_element_state_get_name):
23104 * gst/gstvalue.c: (_gst_value_initialize):
23108 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23110 * check/gst-libs/controller.c:
23111 Header include fix.
23112 * gst/base/gstbasetransform.c:
23113 (gst_base_transform_default_prepare_buf),
23114 (gst_base_transform_handle_buffer):
23115 * gst/base/gstbasetransform.h:
23116 Some more basetransform changes and fixes to enable sub-classes
23117 that modify buffer metadata only.
23118 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23119 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23120 (gst_capsfilter_prepare_buf):
23121 If the output pad has fixed allowed caps and input buffers
23122 don't have any, set the fixed caps on outgoing buffers.
23124 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23125 * check/elements/identity.c: (GST_START_TEST):
23126 Make the error a little clearer when the test fails because
23127 identity made a copy of the buffer.
23128 * docs/gst/gstreamer-sections.txt:
23129 New symbols in gstbasetransform.h
23130 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23131 (gst_base_transform_init), (gst_base_transform_transform_size),
23132 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23133 (gst_base_transform_default_prepare_buf),
23134 (gst_base_transform_get_unit_size),
23135 (gst_base_transform_buffer_alloc),
23136 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23137 (gst_base_transform_change_state),
23138 (gst_base_transform_set_passthrough),
23139 (gst_base_transform_set_in_place),
23140 (gst_base_transform_is_in_place):
23141 * gst/base/gstbasetransform.h:
23142 Change BaseTransform to separate in_place operate from same_caps
23143 output. in_place implies that the element can perform the transform
23144 on incoming buffers in-place, even if the caps on the output are
23146 Sub-class elements can now implement special buffer allocation
23147 methods for outgoing buffers if they wish to.
23148 Big documentation addition.
23149 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23150 * gst/elements/gstelements.c:
23151 Changes for basetransform modifications.
23152 * gst/elements/Makefile.am:
23153 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23154 Compile fix. Extra debug output.
23156 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23158 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23160 add tests for valid pad naming
23161 * gst/check/gstcheck.c: (gst_check_log_message_func),
23162 (gst_check_log_critical_func):
23164 remove printing of code, it is fragile when the code contains
23165 % and the line number is enough info
23166 * gst/check/gstcheck.h:
23167 * gst/gstpad.c: (gst_pad_template_new):
23170 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23173 say what CHECK flags we use
23174 * docs/libs/gstreamer-libs.types:
23175 * libs/gst/controller/Makefile.am:
23176 * libs/gst/controller/gst-controller.c:
23177 * libs/gst/controller/gst-controller.h:
23178 * libs/gst/controller/gst-helper.c:
23179 * libs/gst/controller/gst-interpolation.c:
23180 * libs/gst/controller/gstcontroller.c:
23181 * libs/gst/controller/gsthelper.c:
23182 * libs/gst/controller/gstinterpolation.c:
23183 * tools/gst-inspect.c: (print_plugin_info):
23184 we don't use dashes in header names
23186 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23188 * check/Makefile.am:
23189 * check/gst/.cvsignore:
23190 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23191 (gst_pipeline_suite), (main):
23192 adding a test for pipelines and state changes
23193 * gst/gstutils.c: (get_state_func):
23195 * gstreamer.spec.in:
23198 2005-09-08 Michael Smith <msmith@fluendo.com>
23200 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23201 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23202 (gst_file_src_is_seekable), (gst_file_src_get_size),
23203 (gst_file_src_start):
23204 * gst/elements/gstfilesrc.h:
23205 Various fixes for unseekable, unmmapable, and non-normal files, so
23206 that fallback to read() rather than mmap() works.
23207 * gst/gstevent.c: (gst_event_new_newsegment):
23208 Allow newsegment events with segment_start == segment_end, as will
23209 correctly happen if you use filesrc on a zero-size file, for
23212 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23214 * gst/gstplugin.c: (gst_plugin_load_file):
23215 Call g_module_close when we don't load the module
23217 * gst/registries/gstlibxmlregistry.c:
23218 (gst_xml_registry_get_property):
23219 Port leak fix from 0.8
23221 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23223 * docs/gst/gstreamer-docs.sgml:
23224 * docs/gst/tmpl/.cvsignore:
23225 * docs/gst/tmpl/gsttrace.sgml:
23226 * docs/gst/tmpl/gsttrashstack.sgml:
23229 * gst/gstelement.h:
23231 * gst/gstmessage.c:
23232 * gst/gstmessage.h:
23235 * gst/gsttaginterface.c:
23236 * gst/gsttaginterface.h:
23237 * gst/gsttaglist.c:
23238 * gst/gsttaglist.h:
23239 * gst/gsttagsetter.c:
23240 * gst/gsttagsetter.h:
23243 * gst/gsttrashstack.c:
23244 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23245 inlined docs for gsttrace, gsttrashstack
23247 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23250 * gst/elements/gstbufferstore.h:
23251 * gst/elements/gsttypefindelement.c:
23252 * gst/elements/gsttypefindelement.h:
23254 * gst/gsttypefind.c:
23255 * gst/gsttypefind.h:
23256 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23257 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23258 (gst_type_find_factory_dispose),
23259 (gst_type_find_factory_unload_thyself),
23260 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23261 (gst_type_find_factory_get_caps),
23262 (gst_type_find_factory_get_extensions),
23263 (gst_type_find_factory_call_function):
23264 * gst/gsttypefindfactory.h:
23265 * gst/registries/gstlibxmlregistry.c:
23266 * gst/registries/gstxmlregistry.c:
23267 splitted gsttypefind into gsttypefind, gsttypefindfactory
23269 2005-09-07 Andy Wingo <wingo@pobox.com>
23271 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23272 condition whereby the pad's task function is entered before the
23273 pad_mode variable was set.
23275 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23277 * gst/gstpad.c: (gst_pad_alloc_buffer):
23278 Catch misbehaving pad_alloc functions that don't
23279 set up caps and do it for them.
23281 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23283 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23284 test for pipe!=NULL
23285 * docs/gst/tmpl/.cvsignore:
23286 * docs/gst/tmpl/gstmemchunk.sgml:
23287 * docs/gst/tmpl/gstparse.sgml:
23288 * docs/gst/tmpl/gsttaglist.sgml:
23289 * docs/gst/tmpl/gsttagsetter.sgml:
23290 * docs/gst/tmpl/gsttypefind.sgml:
23291 * docs/gst/tmpl/gsttypefindfactory.sgml:
23292 * gst/gstmemchunk.c:
23295 * gst/gsttaginterface.c:
23296 * gst/gsttypefind.c:
23297 * gst/gsttypefind.h:
23300 === release 0.9.2 ===
23302 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23307 releasing 0.9.2, "South"
23309 2005-09-05 Andy Wingo <wingo@pobox.com>
23311 * gst/registries/gstxmlregistry.h:
23312 * gst/registries/gstxmlregistry.c: Um... resurrect...
23314 * gst/registries/gstxmlregistry.h:
23315 * gst/registries/gstxmlregistry.c: and update to newer API.
23316 Incidentally they should be a bit faster now that they don't have
23319 2005-09-05 Andy Wingo <wingo@pobox.com>
23321 * gst/registries/gstxmlregistry.h:
23322 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23323 replaced by the libxml registry a while back
23325 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23327 * docs/gst/tmpl/gstplugin.sgml:
23328 * gst/elements/gstelements.c:
23330 * gst/gstplugin.c: (gst_plugin_register_func),
23331 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23332 (gst_plugin_get_source):
23334 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23335 (gst_xml_registry_save_plugin):
23336 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23337 (gst_xml_registry_save_plugin):
23338 * tools/gst-inspect.c: (print_plugin_info):
23339 add a "source" plugin description field, to represent the source
23340 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23341 will set it to PACKAGE, which is automake's idea of the name of
23342 the source project.
23344 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23349 * docs/Makefile.am:
23350 * docs/faq/Makefile.am:
23351 * docs/gst/tmpl/gstelement.sgml:
23352 * docs/gst/tmpl/gsttypes.sgml:
23353 * docs/htmlinstall.mak:
23354 * docs/manual/Makefile.am:
23355 * docs/pwg/Makefile.am:
23356 reorganize doc build a little
23357 split out docbook and gtk-doc stuff
23358 have two separate --enable's and enable them through autogen
23359 but disable by default in configure (to be similar to other
23361 * gstreamer.spec.in:
23362 clean up docs install
23380 translation updates
23382 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23384 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23387 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23388 (gst_fake_sink_change_state):
23389 Make state change function thread-safe.
23391 * gst/gstpad.c: (gst_pad_alloc_buffer):
23392 Set offset on generic buffer allocated by fallback.
23394 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23396 * docs/gst/gstreamer-sections.txt:
23397 * docs/gst/tmpl/gstelement.sgml:
23399 * libs/gst/controller/gst-controller.c:
23400 (gst_controlled_property_set_interpolation_mode),
23401 (gst_controlled_property_new),
23402 (gst_controller_find_controlled_property):
23403 run the wingo-magic script against the docs
23405 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23407 * docs/gst/gstreamer-docs.sgml:
23408 * docs/gst/gstreamer-sections.txt:
23409 * docs/gst/tmpl/.cvsignore:
23410 * docs/gst/tmpl/gstelementdetails.sgml:
23411 * docs/gst/tmpl/gstelementfactory.sgml:
23414 * gst/gstelementfactory.c:
23415 * gst/gstelementfactory.h:
23416 merged elementdetails docs into elementfactory docs
23419 2005-09-02 Andy Wingo <wingo@pobox.com>
23421 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23422 consider this enum an enum and not a flags.
23424 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23426 * docs/gst/gstreamer-docs.sgml:
23427 * docs/gst/tmpl/.cvsignore:
23428 * docs/gst/tmpl/gstghostpad.sgml:
23429 * docs/gst/tmpl/gstiterator.sgml:
23430 * docs/gst/tmpl/gstmacros.sgml:
23431 * docs/gst/tmpl/gstrealpad.sgml:
23432 * docs/gst/tmpl/gstregistry.sgml:
23433 * docs/gst/tmpl/gstregistrypool.sgml:
23434 * docs/gst/tmpl/gststructure.sgml:
23435 * docs/gst/tmpl/gstsystemclock.sgml:
23436 * docs/gst/tmpl/gsttrace.sgml:
23437 * gst/gstghostpad.c:
23439 * gst/gstmemchunk.c:
23440 * gst/gstmemchunk.h:
23442 * gst/gstregistry.c:
23443 * gst/gstregistrypool.c:
23444 * gst/gststructure.c:
23445 * gst/gstsystemclock.c:
23448 2005-09-02 Andy Wingo <wingo@pobox.com>
23450 * gst/gstelement.h (GstState): Renamed from GstElementState,
23451 changed to be a normal enum instead of flags.
23452 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23453 munged to be GST_STATE_CHANGE_*.
23454 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23455 work with the new state representation.
23456 (GstStateChange): New enumeration of possible state transitions.
23457 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23458 (GstElementClass::change_state): Pass the GstStateChange along as
23459 an argument. Helps language bindings, so they don't have to use
23460 tricky lock-needing macros like GST_STATE_CHANGE ().
23462 * scripts/update-states (file): New script. Run it on a file to
23463 update it for state naming and API changes. Updates files in
23466 * All files updated for the new API.
23468 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23470 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23471 * gst/gstutils.c: (gst_util_set_value_from_string),
23472 (gst_util_set_object_arg):
23473 fix a bunch of unchecked return values
23474 * tools/gst-complete.c: (main):
23475 * gstreamer.spec.in:
23478 2005-09-01 Wim Taymans <wim@fluendo.com>
23480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23481 (gst_base_sink_event), (gst_base_sink_do_sync),
23482 (gst_base_sink_handle_event):
23483 * gst/base/gstbasesink.h:
23484 Handle newsegments more correctly.
23489 * gst/gstevent.c: (gst_event_new_newsegment):
23490 A newsegment cannot have a start_time of -1
23492 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23494 * win32/gstenumtypes.c:
23495 * win32/gstenumtypes.h:
23498 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23500 * libs/gst/controller/gst-controller.c:
23501 (gst_controlled_property_set_interpolation_mode),
23502 (gst_controlled_property_new):
23503 fixed boolean again
23505 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23507 * docs/faq/gst-uninstalled:
23512 * gst/gstutils.c: (gst_element_link_filtered):
23514 add gst_element_link_filtered
23516 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23518 * docs/gst/gstreamer-docs.sgml:
23519 * docs/gst/gstreamer-sections.txt:
23520 * docs/gst/tmpl/.cvsignore:
23521 * docs/gst/tmpl/gsterror.sgml:
23522 * docs/gst/tmpl/gstfilter.sgml:
23523 * docs/gst/tmpl/gsturihandler.sgml:
23524 * docs/gst/tmpl/gsturitype.sgml:
23525 * docs/gst/tmpl/gstutils.sgml:
23526 * docs/gst/tmpl/gstxml.sgml:
23531 * gst/gsturitype.c:
23534 inlined more docs, fixed double id-ref
23536 2005-08-31 Wim Taymans <wim@fluendo.com>
23538 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23539 (gst_base_transform_handle_buffer):
23540 Passthrough elements don't need the caps as they don't care.
23542 2005-08-31 Wim Taymans <wim@fluendo.com>
23544 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23545 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23546 Don't leak refcounts on buffers.
23548 2005-08-31 Wim Taymans <wim@fluendo.com>
23550 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23551 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23552 (gst_base_transform_chain), (gst_base_transform_change_state):
23553 * gst/base/gstbasetransform.h:
23554 Handle the case where we are not negotiated more gracefully.
23556 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23558 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23559 (gst_file_src_map_region):
23560 Set READONLY flag on mmap'ed buffers, otherwise
23561 gst_buffer_make_writable() won't work properly (#314708).
23563 2005-08-31 Wim Taymans <wim@fluendo.com>
23565 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23566 passthrough elements can even do inplace on non writable
23567 buffers (as they don't touch them).
23569 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23571 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23572 (gst_test_mono_source_set_property),
23573 (gst_test_mono_source_class_init), (GST_START_TEST),
23574 (gst_controller_suite):
23575 more tests (hehe I have the most)
23577 describe popping messages whenusing mulltiple sources
23578 * libs/gst/controller/gst-controller.c:
23579 (gst_controlled_property_set_interpolation_mode),
23580 (gst_controlled_property_new):
23581 * libs/gst/controller/gst-controller.h:
23582 * libs/gst/controller/gst-interpolation.c:
23583 implement boolean properties
23585 2005-08-31 Wim Taymans <wim@fluendo.com>
23587 * gst/gstminiobject.c: (gst_mini_object_ref):
23588 Cannot assert that the refcount has to be positive
23589 since a disposed object can be resurrected.
23591 2005-08-31 Wim Taymans <wim@fluendo.com>
23593 * gst/gstpad.c: (gst_pad_init):
23594 Revert change, need to first fix badly behaving
23597 2005-08-30 Wim Taymans <wim@fluendo.com>
23599 * check/elements/fakesrc.c: (setup_fakesrc):
23600 * check/elements/identity.c: (setup_identity):
23601 Activate pads before using them.
23603 2005-08-30 Wim Taymans <wim@fluendo.com>
23605 * gst/base/gstadapter.c: (gst_adapter_flush):
23606 Flushing out 0 bytes is ok for this function.
23608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23609 no newsegment gives a warning and sets the start/stop to
23612 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23613 (gst_base_transform_set_passthrough):
23616 * gst/gstminiobject.c: (gst_mini_object_ref):
23617 Check refcount here too.
23619 * gst/gstpad.c: (gst_pad_init):
23620 Pads are initially flushing and refusing data.
23622 * gst/gstutils.c: (gst_element_link_pads_filtered):
23623 When adding a capsfilter element make sure it has the
23624 same state as the parent bin.
23626 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23628 * docs/gst/tmpl/.cvsignore:
23629 * docs/gst/tmpl/gstformat.sgml:
23630 * docs/gst/tmpl/gstversion.sgml:
23634 * gst/gstversion.h.in:
23635 more docs and two more inlined
23637 2005-08-30 Wim Taymans <wim@fluendo.com>
23639 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23640 Don't sync to clock.
23642 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23644 * docs/gst/gstreamer-sections.txt:
23645 ultral33t func10ns deserve to appear in the docs actually
23646 * docs/gst/tmpl/.cvsignore:
23647 * docs/gst/tmpl/gstcompat.sgml:
23648 * docs/gst/tmpl/gstconfig.sgml:
23649 * gst/check/gstcheck.c:
23651 * gst/gstconfig.h.in:
23654 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23656 * docs/gst/tmpl/.cvsignore:
23657 * docs/gst/tmpl/gstquery.sgml:
23658 * docs/gst/tmpl/gstutils.sgml:
23661 inlined and extended docs
23663 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23665 * check/gst-libs/controller.c: (GST_START_TEST),
23666 (gst_controller_suite):
23668 * docs/gst/tmpl/gstutils.sgml:
23669 * docs/libs/gstreamer-libs-sections.txt:
23670 * docs/libs/tmpl/gstdataprotocol.sgml:
23672 * examples/controller/audio-example.c: (main):
23673 controller example works now
23676 * tools/gst-inspect.c: (print_element_properties_info):
23677 show param spec flags
23679 2005-08-29 Andy Wingo <wingo@pobox.com>
23681 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23683 2005-08-28 Andy Wingo <wingo@pobox.com>
23685 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23686 as having two arguments instead of just one. Allows superclasses
23687 to access information on subclasses -- see the terrible for() loop
23688 in gtype.c:g_type_create_instance for the reason why. All callers
23691 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23693 * docs/design/part-messages.txt:
23695 * docs/gst/tmpl/.cvsignore:
23696 * docs/gst/tmpl/gstcaps.sgml:
23697 * docs/gst/tmpl/gstclock.sgml:
23703 * gst/gstmessage.c:
23704 added descriptions for bus and message
23705 inline caps and clock docs
23707 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23709 * gst/gstmessage.c:
23710 * gst/gstmessage.h:
23713 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23715 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23718 2005-08-26 Andy Wingo <wingo@pobox.com>
23720 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23721 element_set_state's return val.
23722 (test_2_elements): Add test that's been disabled for months.
23724 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23725 can-activate-pull properties.
23727 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23728 can-activate-pull properties. Implement is_seekable so fakesrc can
23729 operate in pull mode.
23731 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23733 (gst_base_sink_activate, gst_base_sink_activate_pull)
23734 (gst_base_sink_activate_push): Make activation mode choosing work.
23736 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23737 is right. Make pull mode work. Post an eos before pausing in pull
23739 (gst_base_sink_change_state): Pay attention to the core's
23740 change_state() return val.
23742 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23743 has-getrange properties. Cleanups.
23745 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23746 has_getrange and replace with can_activate_pull and
23749 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23750 locking comments. Remove has_loop, has_chain and replace with
23751 can_activate_pull and can_activate_push.
23753 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23756 * examples/Makefile.am:
23757 * examples/metadata/Makefile.am:
23758 * examples/metadata/read-metadata.c: (message_loop),
23759 (have_pad_handler), (make_pipeline), (print_tag), (main):
23760 Add metadata reading example that loops over a list of filenames,
23761 dumping any tags found.
23763 * gst/gstbus.c: (gst_bus_dispose):
23764 * gst/gstelement.c: (gst_element_dispose):
23765 Release a few potentially-held references in dispose.
23767 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23769 * docs/gst/tmpl/gstminiobject.sgml:
23770 do *not* add tmpl/*.sgml files to CVS!
23772 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23774 * libs/gst/bytestream/.cvsignore:
23775 * libs/gst/bytestream/Makefile.am:
23776 * libs/gst/bytestream/adapter.c:
23777 * libs/gst/bytestream/adapter.h:
23778 * libs/gst/bytestream/bytestream.c:
23779 * libs/gst/bytestream/bytestream.h:
23780 * libs/gst/bytestream/filepad.c:
23781 * libs/gst/bytestream/filepad.h:
23782 removing obsolete files
23784 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23786 * docs/gst/gstreamer-docs.sgml:
23787 * docs/libs/gstreamer-libs-docs.sgml:
23788 disabed additional index entries again, as this makes docs-gen just
23789 slow and they aren't useful yet
23790 * docs/libs/gstreamer-libs-sections.txt:
23791 little -section.txt cleanup for libs
23793 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23795 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23796 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23797 fix up some debugging
23798 (gst_base_transform_get_unit_size),
23799 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23800 (gst_base_transform_handle_buffer):
23801 * gst/base/gstbasetransform.h:
23802 handle and store timed NEWSEGMENT events so that subclasses that
23803 calculate time by counting samples have a segment_start time they
23804 need to add to their timestamps - see audioresample
23806 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23809 removed ';' from the end of macro defs
23810 * docs/gst/gstreamer-docs.sgml:
23811 * docs/gst/gstreamer-sections.txt:
23812 * docs/gst/tmpl/.cvsignore:
23814 * gst/gstelement.c: (gst_element_class_init),
23815 (gst_element_set_state), (activate_pads),
23816 (gst_element_save_thyself):
23817 * gst/gstevent.c: (gst_event_new_newsegment):
23819 * gst/gstiterator.c:
23820 * gst/gstiterator.h:
23823 * gst/gstutils.c: (gst_pad_query_convert):
23825 fixed parameter name mismatches between source, header and docs
23826 added some more docs, resolved the last batch of unused elements in
23827 docs (now someone needs to doc them)
23829 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23831 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23832 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23833 don't walk through the plugins backwards. Where is all this
23834 reversed logic coming from ?
23836 2005-08-25 Wim Taymans <wim@fluendo.com>
23838 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23839 (gst_base_transform_transform_size),
23840 (gst_base_transform_configure_caps),
23841 (gst_base_transform_get_unit_size),
23842 (gst_base_transform_buffer_alloc),
23843 (gst_base_transform_change_state):
23844 * gst/base/gstbasetransform.h:
23845 Cache caps unit_size.
23846 Make sure we cannot negotiate up and downstream at the
23849 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23851 * gst/gst.c: (init_pre), (init_post):
23852 register the installed plugin path after the env var
23853 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23854 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23855 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23856 directories, so the tests can prefer uninstalled over installed
23858 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23860 * gst/base/gstbasetransform.h:
23865 2005-08-25 Wim Taymans <wim@fluendo.com>
23867 * gst/gstbin.c: (bin_bus_handler):
23868 Be a bit more conservative about the posted message.
23870 * gst/gstbus.c: (gst_bus_post):
23871 Some cleanups, warn wrong return values.
23873 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23875 * check/gst/gstbin.c: (GST_START_TEST):
23876 * gst/gstbin.c: (bin_bus_handler):
23877 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23878 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23879 (gst_message_new_warning), (gst_message_new_tag),
23880 (gst_message_new_state_changed), (gst_message_new_segment_start),
23881 (gst_message_new_segment_done), (gst_message_new_custom):
23882 * gst/gstmessage.h:
23883 * tools/gst-launch.c: (event_loop):
23884 * tools/gst-md5sum.c: (event_loop):
23885 Revert unpopular change for GST_MESSAGE_SRC to GObject.
23887 2005-08-25 Wim Taymans <wim@fluendo.com>
23889 * check/generic/states.c: (GST_START_TEST):
23890 Cleanup can be done at the end.
23892 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23893 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23894 (gst_task_get_state), (gst_task_start), (gst_task_pause):
23895 Oh boy.. Thanks for finding this, Thomas.
23897 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23899 * docs/gst/gstreamer.types:
23900 added missing types
23902 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23904 * docs/gst/gstreamer-docs.sgml:
23905 * docs/gst/gstreamer-sections.txt:
23906 * docs/gst/tmpl/.cvsignore:
23908 * gst/gstiterator.c:
23910 * gst/registries/gstxmlregistry.h:
23911 added missing classes and symbols (123 more to go)
23912 removed removed symbols from section file
23913 fixed many doc-comments
23915 2005-08-24 Wim Taymans <wim@fluendo.com>
23917 * check/generic/states.c: (GST_START_TEST):
23918 Make sure all tasks are stopped.
23920 * check/gst/gstbin.c: (GST_START_TEST):
23921 Unref after usage for proper valgrinding.
23923 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23924 Really wait for the task to stop before destroying the
23927 * gst/gstqueue.c: (gst_queue_sink_activate_push),
23928 (gst_queue_src_activate_push):
23929 Small cleanups. Don't stop the task when we did not start
23932 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23933 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23934 (gst_task_get_state), (gst_task_start), (gst_task_pause),
23937 Protect the stream lock with the object lock.
23938 Disallow setting the stream lock when running.
23939 Add cleanup_all to wait for the threadpool to finish.
23940 Remove code to autoallocate a mutex if none was provided.
23941 Add _join() to wait for a task to stop.
23942 Protect the thread pool with a global lock.
23944 2005-08-24 Wim Taymans <wim@fluendo.com>
23946 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23947 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23948 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23949 * gst/base/gstbasesink.h:
23950 Handle newsegment events correctly.
23951 Drop buffers out of the segment range.
23953 2005-08-22 Andy Wingo <wingo@pobox.com>
23955 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23956 macro, implements an interface and gstimplementsinterface for a
23959 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
23961 * check/Makefile.am:
23962 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23963 add a test that does a bunch of state changes on elements
23964 needs some fixing for valgrind
23965 * check/states/sinks.c: (gst_object_suite):
23968 add prototype for gst_caps_is_equal_fixed
23970 * gst/gstregistrypool.c:
23973 2005-08-24 Andy Wingo <wingo@pobox.com>
23975 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23976 convert a negative value. Doesn't make much sense. Mostly this is
23977 here to force callers to ensure -1 maps to -1.
23979 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
23981 * docs/pwg/advanced-types.xml:
23982 Well done to Michael for catching my deliberate introduction
23983 of this spelling mistake.
23984 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
23985 * gst/gstelement.h:
23986 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
23987 unlink pads before removing the element from the bin.
23989 2005-08-24 Andy Wingo <wingo@pobox.com>
23991 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
23992 the same thing as GST_DEBUG=*:4.
23993 (parse_debug_level, parse_debug_category): New helper parsers.
23995 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
23997 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23998 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
23999 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24000 (gst_base_transform_buffer_alloc),
24001 (gst_base_transform_handle_buffer):
24002 use gboolean return values and pointers to size so we can use the
24003 full GST_BUFFER_SIZE range (guint) for buffer sizes
24004 use GstPadDirection for transform_caps
24005 * gst/base/gstbasetransform.h:
24006 rename get_size to get_unit_size since that's what it is
24007 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24008 use GstPadDirection for transform_caps
24009 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24011 cleanup and debugging
24013 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24015 * gst/gstelement.c: (gst_element_class_init),
24016 (gst_element_set_state), (activate_pads),
24017 (gst_element_save_thyself):
24018 * tools/gst-compprep.c: (main):
24019 * tools/gst-inspect.c: (print_element_properties_info):
24020 * tools/gst-xmlinspect.c: (print_element_properties):
24021 Fixed long standing mem-leak
24023 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24025 * check/gst/gstbin.c: (GST_START_TEST):
24026 * gst/gstbin.c: (bin_bus_handler):
24027 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24028 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24029 (gst_message_new_warning), (gst_message_new_tag),
24030 (gst_message_new_state_changed), (gst_message_new_segment_start),
24031 (gst_message_new_segment_done), (gst_message_new_custom):
24032 * gst/gstmessage.h:
24033 * tools/gst-launch.c: (event_loop):
24034 * tools/gst-md5sum.c: (event_loop):
24035 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24036 that applications can sensibly post custom messages with references
24037 to their own objects.
24039 2005-08-24 Andy Wingo <wingo@pobox.com>
24041 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24044 2005-08-24 Wim Taymans <wim@fluendo.com>
24046 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24047 (gst_base_transform_transform_caps),
24048 (gst_base_transform_transform_size),
24049 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24050 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24051 (gst_base_transform_handle_buffer):
24052 * gst/base/gstbasetransform.h:
24053 Many fixes and new features added by Thomas. Can now also do
24054 transforms with variable sizes and a custom fixate_caps function.
24056 2005-08-24 Wim Taymans <wim@fluendo.com>
24058 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24062 Cast to ClockTime before formatting to time.
24067 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24069 * check/gst-libs/controller.c: (GST_START_TEST),
24070 (gst_controller_suite):
24071 * docs/gst/tmpl/gstcaps.sgml:
24072 * docs/gst/tmpl/gstghostpad.sgml:
24073 * docs/gst/tmpl/gstquery.sgml:
24074 * docs/gst/tmpl/gstutils.sgml:
24075 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24076 (gst_object_sink_values), (gst_object_get_value_arrays),
24077 (gst_object_get_value_array):
24078 gracefully handle helper method calls to objects that are not beeing
24079 controlled, added test case for that
24081 2005-08-23 Wim Taymans <wim@fluendo.com>
24083 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24084 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24085 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24086 (gst_event_parse_qos), (gst_event_new_seek),
24087 (gst_event_parse_seek):
24089 Some more debugging output and doc cleanups.
24091 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24092 Fix possible deadlock.
24094 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24096 * docs/gst/gstreamer-docs.sgml:
24097 * docs/gst/gstreamer-sections.txt:
24098 * docs/gst/gstreamer.types:
24099 * docs/gst/tmpl/.cvsignore:
24102 * gst/gstelement.c:
24104 added 100 symbols from gstreamer-unused.txt to the right sections
24105 fixed more broken comments
24106 added GstBus to docs
24108 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24110 * docs/gst/gstreamer-sections.txt:
24111 * docs/gst/tmpl/.cvsignore:
24112 * docs/gst/tmpl/gstbin.sgml:
24113 * docs/gst/tmpl/gstbuffer.sgml:
24114 * gst/base/gstbasesrc.c:
24115 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24118 * tools/gst-launch.1.in:
24119 inlined more doc comments, added missing comments and fixed comments
24122 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24124 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24128 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24130 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24131 * gst/gststructure.h:
24132 add a fixate function for booleans; add a FIXME that these func
24133 names should probably be gst_structure_fixate_*
24135 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24137 * docs/gst/gstreamer-docs.sgml:
24138 * docs/gst/gstreamer-sections.txt:
24140 * gst/gstbin.c: (gst_bin_get_type),
24141 (gst_bin_child_proxy_get_child_by_index),
24142 (gst_bin_child_proxy_get_children_count),
24143 (gst_bin_child_proxy_init):
24144 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24145 (gst_child_proxy_get_child_by_index),
24146 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24147 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24148 (gst_child_proxy_get), (gst_child_proxy_set_property),
24149 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24150 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24151 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24152 * gst/gstchildproxy.h:
24153 * gst/parse/grammar.y:
24154 * tools/gst-inspect.c: (print_interfaces),
24155 (print_element_properties_info), (print_element_info):
24156 ported gstchildproxy over from 0.8
24157 ported gst-inspect fixes and enhancements over from 0.8
24159 2005-08-22 Wim Taymans <wim@fluendo.com>
24161 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24162 (gst_base_transform_handle_buffer):
24163 Also call the transform function if we have ANY caps.
24165 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24168 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24170 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24171 Don't pretend to handle seek events if the source is not seekable
24173 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24175 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24176 Remove extra parameter to debug output
24178 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24179 (gst_base_src_do_seek), (gst_base_src_activate_push):
24180 Fix seek event handling.
24182 * gst/gstpipeline.c: (gst_pipeline_change_state):
24183 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24184 (gst_queue_src_activate_push):
24185 Don't start the src pad task on FLUSH_STOP if the pad
24189 2005-08-22 Wim Taymans <wim@fluendo.com>
24191 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24192 Added check for gst_static_caps_get() refcounting.
24194 2005-08-22 Wim Taymans <wim@fluendo.com>
24196 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24197 Make _static_caps_get() refcounting sane.
24199 * gst/gstelement.c: (gst_element_set_state):
24200 Add g_return_val_if_fail() to protect against segfaults.
24202 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24204 * docs/gst/tmpl/gstevent.sgml:
24207 inlined remaining docs, added missing doc comments
24209 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24211 * check/gst/gstbin.c: (GST_START_TEST):
24212 since we don't know when preroll is done, use refcount range
24214 * gst/check/gstcheck.h:
24215 add macro for checking refcount range
24217 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24219 * check/Makefile.am:
24220 clean up environment for when registry gets built versus
24221 when actual tests are run; valgrind seems to not report
24222 leaks if GST_PLUGIN_PATH is set to some specific values
24223 * check/gst/gstbin.c: (GST_START_TEST):
24224 add more refcounting checks; maybe this exposes a
24226 * common/check.mak:
24227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24228 * gst/check/gstcheck.h:
24229 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24230 (gst_bin_change_state):
24231 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24232 add/fix debugging/whitespace
24234 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24236 * check/gst/gstevent.c: (event_probe), (test_event),
24238 Er, don't call gst_bin_watch_for_state_change you idiot.
24240 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24242 * check/Makefile.am:
24243 Use CHECK_CFLAGS and CHECK_LIBS
24244 * check/gst/gstevent.c: (event_probe), (test_event),
24247 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24248 (gst_base_src_start), (gst_base_src_stop),
24249 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24250 (gst_base_src_change_state):
24251 Sprinkle gst_base_src_stop liberally around error paths to fix
24252 problems reusing a source after failed state changes.
24253 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24254 (helper_find_suggest), (gst_type_find_helper):
24255 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24257 * docs/gst/tmpl/gstevent.sgml:
24258 Migrate part of the docs from the SGML file. Wait for ensonic to
24259 tell me how I did it wrong ;)
24260 * tools/gst-typefind.c: (main):
24261 Extra robustness to state changes between files.
24263 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24265 * check/Makefile.am:
24266 don't valgrind the controller test - it's leaking - Stefan, HELP
24267 * gst/check/gstcheck.c: (gst_check_message_error),
24268 (gst_check_chain_func), (gst_check_setup_element),
24269 (gst_check_teardown_element), (gst_check_setup_src_pad),
24270 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24271 (gst_check_teardown_sink_pad):
24272 * gst/check/gstcheck.h:
24273 add a bunch of methods to set up elements, and src and sink pads
24274 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24275 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24278 * gst/gstmessage.c:
24280 whitespace/doc fixes
24282 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24284 * gst/gstelement.h:
24285 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24286 be handled by the application and not always printed as well
24288 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24290 * check/Makefile.am:
24292 * gst/check/gstcheck.c: (gst_check_message_error):
24293 * gst/check/gstcheck.h:
24294 add a fail_unless_equals_int
24295 add fail_unless for error messages
24297 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24299 * check/Makefile.am:
24301 * common/Makefile.am:
24302 * common/check.mak:
24304 factor out some of the common stuff so we can use it
24306 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24308 * check/Makefile.am:
24309 * check/gst/gstiterator.c: (GST_START_TEST):
24310 * check/gst/gstsystemclock.c: (GST_START_TEST),
24311 (gst_systemclock_suite):
24312 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24314 valgrind more tests
24316 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24318 * check/elements/.cvsignore:
24319 * check/elements/gstfakesrc.c:
24320 rename to name of element
24321 * check/elements/identity.c: (chain_func), (event_func),
24322 (setup_identity), (cleanup_identity), (GST_START_TEST),
24323 (identity_suite), (main):
24324 add a test for identity
24325 * check/Makefile.am:
24326 * pkgconfig/Makefile.am:
24327 * pkgconfig/gstreamer-check.pc.in:
24328 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24332 move the check stuff to a library that gets installed
24333 * check/gst-libs/controller.c: (GST_START_TEST):
24334 * check/gst-libs/gdp.c:
24335 * check/gst/gst.c: (GST_START_TEST):
24336 * check/gst/gstbin.c:
24337 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24338 * check/gst/gstbus.c:
24339 * check/gst/gstcaps.c: (GST_START_TEST):
24340 * check/gst/gstelement.c:
24341 * check/gst/gstghostpad.c:
24342 * check/gst/gstiterator.c:
24343 * check/gst/gstmessage.c:
24344 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24345 * check/gst/gstobject.c:
24346 * check/gst/gstpad.c: (GST_START_TEST):
24347 * check/gst/gststructure.c: (GST_START_TEST):
24348 * check/gst/gstsystemclock.c: (GST_START_TEST),
24349 (gst_systemclock_suite):
24350 * check/gst/gsttag.c: (gst_tag_suite):
24351 * check/gst/gstvalue.c:
24352 * check/pipelines/cleanup.c:
24353 * check/pipelines/simple_launch_lines.c:
24354 * check/states/sinks.c:
24355 change include statement
24357 * docs/gst/gstreamer-sections.txt:
24358 * docs/gst/tmpl/gstpad.sgml:
24359 document more pad stuff
24360 * gst/gstminiobject.c: (gst_mini_object_ref),
24361 (gst_mini_object_unref):
24364 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24366 * docs/gst/tmpl/gst.sgml:
24368 eliminate another tmpl file, fix spelling in the long-description
24370 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24372 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24373 (test_event), (timediff), (gstevents_suite):
24374 Should fix build on 64-bit arch's
24376 2005-08-18 Andy Wingo <wingo@pobox.com>
24378 Make sure that when a pipeline goes to PLAYING, that data has
24379 actually hit the sink.
24381 * check/states/sinks.c (test_sink): A sink that doesn't get any
24382 data shouldn't return SUCCESS for going to either PLAYING or
24383 PAUSED. Test also the return values on the way back down.
24385 * gst/gstelement.c (gst_element_set_state): When changing the
24386 state of an element currently changing state asynchronously, go to
24387 lost-state after commiting the pending state. Makes future calls
24388 to get_state continue to return ASYNC.
24390 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24391 ASYNC when going to PLAYING if we still don't have preroll, as can
24392 happen with live sources.
24394 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24396 * docs/pwg/advanced-types.xml:
24397 Hack long paragraph into 2 chunks as a workaround for buggy
24398 jadetex version in sid and breezy that loops infinitely and
24401 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24403 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24404 (test_event), (timediff), (gstevents_suite):
24405 Provide more error margin in clock measurements to allow for
24406 g_get_current_time inaccuracies.
24408 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24410 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24411 (test_event), (timediff), (gstevents_suite):
24412 Fix error message output so I might be able to tell why the
24413 test works here but fails on the build farm.
24415 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24417 * check/Makefile.am:
24418 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24419 (test_event), (timediff), (gstevents_suite), (main):
24422 * docs/design/part-seeking.txt:
24423 Spelling correction
24425 * docs/gst/tmpl/gstevent.sgml:
24426 * docs/gst/tmpl/gstfakesrc.sgml:
24429 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24430 Treat a buffer-without-newsegment the same as a receiving
24431 a newsegment not in time format, and disable syncing to the clock
24434 * gst/gstbus.c: (gst_bus_set_sync_handler):
24435 Assert if anyone tries to replace the existing sync_handler for bus,
24436 as only the owner should be setting it.
24439 Have a fixed set of custom event enums with events identified by
24440 their structure name (as in 0.8), rather than a free-for-all
24441 allowing collisions between enum values from different plugins.
24443 * gst/gstpad.c: (gst_pad_class_init):
24446 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24447 Handle out-of-band downstream events from the sending thread.
24449 2005-08-17 Andy Wingo <wingo@pobox.com>
24451 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24452 play-timeout==0 to mean no timeout at all. In that case, don't
24453 bother with a get_state or a warning, just return directly, even
24456 * gst/base/gstbasetransform.c: Debug changes.
24459 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24460 ensure bins post state change messages. A bit of a hack but I can't
24461 think of a way to avoid it.
24463 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24465 2005-08-16 Andy Wingo <wingo@pobox.com>
24467 * gst/base/gstadapter.h:
24468 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24469 peek() but you own the data. Not terribly efficient atm.
24471 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24473 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24474 (gst_element_found_tags):
24476 Add two utility functions for tag handling.
24478 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24480 * docs/manual/advanced-dataaccess.xml:
24481 * docs/manual/basics-helloworld.xml:
24482 Fix docs to use _bin_add() before _link(), which fixes the examples
24483 with recent core versions (reported by Madhan Raj M
24484 <raj_madan@rediffmail.com>, #313199).
24486 2005-08-16 Wim Taymans <wim@fluendo.com>
24488 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24489 Added subtract checks.
24491 * docs/design/part-events.txt:
24492 Some more docs about newsegment
24494 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24497 * gst/gstcaps.c: (gst_caps_to_string):
24498 Add comments, cleanups.
24500 * gst/gstelement.c: (gst_element_save_thyself):
24503 * gst/gstvalue.c: (gst_value_collect_int_range),
24504 (gst_string_unwrap), (gst_value_union_int_int_range),
24505 (gst_value_union_int_range_int_range),
24506 (gst_value_intersect_int_int_range),
24507 (gst_value_intersect_int_range_int_range),
24508 (gst_value_intersect_double_double_range),
24509 (gst_value_intersect_double_range_double_range),
24510 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24511 (gst_value_subtract_int_range_int),
24512 (gst_value_subtract_double_range_double),
24513 (gst_value_subtract_double_range_double_range),
24514 (gst_value_subtract_from_list), (gst_value_subtract_list),
24515 (gst_value_can_compare), (gst_value_compare_fraction):
24516 Cleanups, add comments, remove unneeded asserts.
24518 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24520 * tools/gst-launch.c: (event_loop):
24521 don't convert NULL structures to strings
24523 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24525 * docs/gst/gstreamer-sections.txt:
24526 made some defines private
24527 * docs/gst/tmpl/gstconfig.sgml:
24528 * docs/gst/tmpl/gstqueue.sgml:
24529 * docs/gst/tmpl/gsttaglist.sgml:
24530 * docs/gst/tmpl/gsttypes.sgml:
24531 * docs/gst/tmpl/gstutils.sgml:
24532 * docs/pwg/appendix-porting.xml:
24533 * gst/base/gstbasesink.h:
24534 * gst/base/gstbasesrc.c:
24535 * gst/base/gstbasesrc.h:
24536 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24537 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24538 * gst/gstelement.c: (gst_element_class_init):
24539 * gst/gstpad.c: (gst_pad_class_init):
24540 * gst/gstqueue.c: (gst_queue_class_init):
24541 * gst/gstxml.c: (gst_xml_class_init):
24542 documented all undocumented signal inline
24543 * libs/gst/controller/gst-controller.h:
24546 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24548 * docs/pwg/appendix-porting.xml:
24549 Document _set_link_function -> _set_setcaps_function.
24551 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24553 * check/Makefile.am:
24554 add a .check target for running the check
24555 * check/gst-libs/controller.c: (GST_START_TEST):
24557 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24558 complete checks for gstbuffer; would be nice if I could get the
24559 gcov stuff to work so I can see if I actually completed gstbuffer.c
24560 * check/gstcheck.h:
24561 add ASSERT_BUFFER_REFCOUNT
24563 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24565 * docs/gst/gstreamer-sections.txt:
24566 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24568 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24569 spew out a warning if a tag that is already registered
24570 is re-registered, unless it is re-registered with a
24571 different type (#308438).
24573 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24575 * docs/pwg/appendix-porting.xml:
24576 * docs/pwg/building-state.xml:
24577 Add some paragraphs about state changes in 0.9 to the PWG
24578 and the porting guide, in particular about the new meaning
24579 of GST_STATE_PAUSED and how to write state change functions
24580 with concurrent access by multiple threads in mind.
24582 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24584 * docs/gst/gstreamer-docs.sgml:
24585 * docs/libs/gstreamer-libs-docs.sgml:
24586 added deprecation and since indexes
24587 * libs/gst/controller/gst-controller.c:
24588 * libs/gst/controller/gst-helper.c:
24592 2005-08-11 Wim Taymans <wim@fluendo.com>
24594 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24595 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24596 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24597 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24598 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24599 (gst_ghost_pad_set_target):
24600 Actually implement (re)setting the target on a ghostpad
24601 as described in the docs.
24603 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24605 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24606 Check whether GST_DEBUG_NO_COLOR environment variable is
24607 set and disable coloured debug output if that is the case.
24609 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24611 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24612 (gst_type_find_helper):
24613 The memory returned by gst_type_find_peek() needs to
24614 stay valid until the end of a typefind function, and
24615 typefind functions may keep results from different
24616 offsets around, so we can't just unref the buffer from
24617 the previous _peek(), but have to save all buffers
24618 returned by _peek() until typefinding is done and only
24621 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24623 * docs/gst/gstreamer-sections.txt:
24625 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24627 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24629 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24630 Fix a pretty good memleak.
24632 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24634 * gst/gstiterator.h:
24635 Fix wrong include and 'make distcheck'.
24637 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24639 * gst/gstbin.c: (bin_bus_handler):
24640 Use gst_element_post_message() instead.
24642 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24644 * gst/base/gstadapter.h:
24645 * gst/base/gstbasesink.h:
24646 * gst/base/gstbasesrc.h:
24647 * gst/base/gstbasetransform.h:
24648 * gst/base/gstcollectpads.h:
24649 * gst/base/gstpushsrc.h:
24650 * gst/gstiterator.h:
24651 Add padding to our base elements' class and instance structs and
24652 to GstIterator (you will need to rebuild all plugins and apps!)
24654 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24656 * gst/gstbin.c: (bin_bus_handler):
24657 Make default message forwarding from child->bus to bin->bus
24658 threadsafe and make it not emit warnings if the parent has no bus.
24660 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24662 * gst/gstelement.c: (activate_pads):
24663 On paused->ready, set pad->caps to NULL, as is the documented
24664 behaviour in this state change. Fixes playback of series of
24665 media files when visualization is enabled in Totem.
24667 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24669 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24670 Allow NULL as filter-caps (which means "any").
24672 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24674 * docs/libs/gstreamer-libs-sections.txt:
24675 * libs/gst/controller/gst-controller.c:
24676 * libs/gst/controller/gst-controller.h:
24677 * libs/gst/controller/gst-helper.c:
24678 adding more entries to the docs and fix small doc-bugs
24680 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24682 * docs/gst/gstreamer-docs.sgml:
24683 * docs/gst/gstreamer-sections.txt:
24684 * docs/gst/gstreamer.types:
24685 * docs/gst/tmpl/gstbasesink.sgml:
24686 * docs/gst/tmpl/gstbasesrc.sgml:
24687 * docs/gst/tmpl/gstbasetransform.sgml:
24688 * docs/gst/tmpl/gstfakesrc.sgml:
24689 * gst/base/gstcollectpads.c:
24690 * gst/base/gstcollectpads.h:
24691 * libs/gst/controller/gst-controller.c:
24692 * libs/gst/controller/gst-controller.h:
24693 * libs/gst/controller/gst-helper.c:
24694 * libs/gst/controller/gst-interpolation.c:
24695 * libs/gst/controller/lib.c:
24696 added long/short desc for controller docs
24697 added collectpads base class docs
24698 added correct includes to base-class docs
24700 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24702 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24703 (gst_test_mono_source_set_property),
24704 (gst_test_mono_source_class_init), (GST_START_TEST),
24705 (gst_controller_suite):
24706 * docs/gst/gstreamer-docs.sgml:
24707 * docs/gst/gstreamer-sections.txt:
24708 * docs/gst/gstreamer.types:
24709 * docs/libs/gstreamer-libs-docs.sgml:
24710 * docs/libs/gstreamer-libs-sections.txt:
24711 * gst/base/gstadapter.c:
24712 * libs/gst/controller/gst-controller.c:
24713 (gst_controlled_property_new), (gst_controlled_property_free),
24714 (gst_controller_new_valist),
24715 (gst_controller_remove_properties_valist),
24716 (gst_controller_sink_values), (_gst_controller_finalize):
24717 * libs/gst/controller/gst-controller.h:
24718 * libs/gst/controller/gst-helper.c:
24719 (gst_object_control_properties), (gst_object_uncontrol_properties),
24720 (gst_object_get_controller), (gst_object_set_controller),
24721 (gst_object_sink_values), (gst_object_get_value_arrays),
24722 (gst_object_get_value_array):
24723 more tests (and fixes) for the controller
24724 more docs for the controller
24725 integrated companies docs for the adapter
24727 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24729 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24730 (GST_START_TEST), (fakesrc_suite):
24731 add tests for sizetype
24733 2005-08-04 Andy Wingo <wingo@pobox.com>
24735 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24736 fixes buffer_alloc proxying among other things.
24738 * gst/base/gstbasetransform.c:
24739 * gst/base/gstbasetransform.h:
24740 Revert patch to gstbasetransform from 7-28 removing
24743 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24744 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24745 Semantics changed, should return not the size of the output buffer
24746 but the byte size of a buffer with a given caps.
24748 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24750 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24751 out) are not the pad caps until setcaps finishes.
24752 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24753 not-in-place case as well. Deal with changing from in-place to
24754 not-in-place within calling pad_alloc_buffer. Still a bit
24755 concerned about the overhead here...
24757 2005-08-03 Andy Wingo <wingo@pobox.com>
24759 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24760 fixating is an error.
24762 2005-08-04 Edward Hervey <edward@fluendo.com>
24764 * gst/base/gstadapter.h:
24765 Added gst_adapter_get_type() to the header
24767 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24769 * check/Makefile.am:
24770 * check/gst-libs/controller.c:
24771 * libs/gst/controller/gst-controller.c:
24772 (gst_controller_new_valist):
24773 added check test suite for the controller
24774 * gst/base/gstpushsrc.c:
24777 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24779 * docs/gst/Makefile.am:
24780 * docs/gst/gstreamer-docs.sgml:
24781 * docs/gst/gstreamer-sections.txt:
24782 * docs/gst/gstreamer.types:
24783 * docs/gst/tmpl/gstfakesrc.sgml:
24785 * gst/base/gstbasesink.c:
24786 * gst/base/gstbasesink.h:
24787 * gst/base/gstbasesrc.c:
24788 * gst/base/gstbasesrc.h:
24789 * gst/base/gstbasetransform.c:
24790 * gst/base/gstpushsrc.c:
24791 * gst/base/gstpushsrc.h:
24792 add short/long description docs to base classes
24793 add pushsrc to the docs
24794 remove consolidated doc fragments
24796 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24799 * docs/libs/Makefile.am:
24800 * docs/libs/gstreamer-libs-docs.sgml:
24801 * docs/libs/gstreamer-libs-sections.txt:
24802 * docs/libs/gstreamer-libs.types:
24803 * examples/Makefile.am:
24804 * examples/controller/.cvsignore:
24805 * examples/controller/Makefile.am:
24806 * examples/controller/audio-example.c: (main):
24807 * libs/gst/Makefile.am:
24808 * libs/gst/controller/.cvsignore:
24809 * libs/gst/controller/Makefile.am:
24810 * libs/gst/controller/gst-controller.c:
24811 (on_object_controlled_property_changed), (gst_timed_value_compare),
24812 (gst_timed_value_find),
24813 (gst_controlled_property_set_interpolation_mode),
24814 (gst_controlled_property_new), (gst_controlled_property_free),
24815 (gst_controller_find_controlled_property),
24816 (gst_controller_new_valist), (gst_controller_new),
24817 (gst_controller_remove_properties_valist),
24818 (gst_controller_remove_properties), (gst_controller_set),
24819 (gst_controller_set_from_list), (gst_controller_unset),
24820 (gst_controller_get), (gst_controller_get_all),
24821 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24822 (gst_controller_get_value_array),
24823 (gst_controller_set_interpolation_mode),
24824 (_gst_controller_finalize), (_gst_controller_init),
24825 (_gst_controller_class_init), (gst_controller_get_type):
24826 * libs/gst/controller/gst-controller.h:
24827 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24828 (g_object_uncontrol_properties), (g_object_get_controller),
24829 (g_object_set_controller), (g_object_sink_values),
24830 (g_object_get_value_arrays), (g_object_get_value_array):
24831 * libs/gst/controller/gst-interpolation.c:
24832 (gst_controlled_property_find_timed_value_node),
24833 (interpolate_none_get), (interpolate_trigger_get),
24834 (interpolate_trigger_get_value_array):
24835 * libs/gst/controller/lib.c: (gst_controller_init):
24836 * pkgconfig/Makefile.am:
24837 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24838 * pkgconfig/gstreamer-control.pc.in:
24839 * testsuite/Makefile.am:
24840 * testsuite/controller/.cvsignore:
24841 * testsuite/controller/Makefile.am:
24842 * testsuite/controller/interpolator.c: (main):
24843 added controller code
24844 removed dparam pc files
24846 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24847 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24848 (gst_collectpads_stop):
24849 Broadcast the condition when shutting down, to make sure we wake all
24850 threads up. Shut down pads on finalize, for safety.
24852 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24853 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24854 (gst_base_transform_handle_buffer),
24855 (gst_base_transform_change_state):
24856 Handle PAUSED->READY->PAUSED transition after negotiation
24858 * gst/gstmessage.c: (gst_message_init):
24859 Extra piece of debug for new messages.
24861 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24864 * docs/gst/tmpl/gstbasesrc.sgml:
24865 * docs/gst/tmpl/gstelement.sgml:
24866 * docs/gst/tmpl/gstevent.sgml:
24867 * docs/gst/tmpl/gstfakesrc.sgml:
24868 * docs/gst/tmpl/gstformat.sgml:
24869 * docs/gst/tmpl/gstghostpad.sgml:
24870 * docs/gst/tmpl/gstpad.sgml:
24871 * docs/gst/tmpl/gstquery.sgml:
24872 * docs/gst/tmpl/gststructure.sgml:
24873 * docs/gst/tmpl/gsttaglist.sgml:
24874 * docs/gst/tmpl/gstvalue.sgml:
24875 * docs/libs/gstreamer-libs-docs.sgml:
24876 * docs/libs/gstreamer-libs-sections.txt:
24877 * docs/libs/gstreamer-libs.types:
24878 * libs/gst/Makefile.am:
24879 * libs/gst/control/.cvsignore:
24880 * libs/gst/control/Makefile.am:
24881 * libs/gst/control/control.c:
24882 * libs/gst/control/control.h:
24883 * libs/gst/control/dparam.c:
24884 * libs/gst/control/dparam.h:
24885 * libs/gst/control/dparam_smooth.c:
24886 * libs/gst/control/dparam_smooth.h:
24887 * libs/gst/control/dparamcommon.h:
24888 * libs/gst/control/dparammanager.c:
24889 * libs/gst/control/dparammanager.h:
24890 * libs/gst/control/dplinearinterp.c:
24891 * libs/gst/control/dplinearinterp.h:
24892 * libs/gst/control/unitconvert.c:
24893 * libs/gst/control/unitconvert.h:
24894 * testsuite/Makefile.am:
24895 * testsuite/dynparams/.cvsignore:
24896 * testsuite/dynparams/Makefile.am:
24897 * testsuite/dynparams/dparamstest.c:
24898 * tools/Makefile.am:
24899 * tools/gst-inspect.c: (print_element_info), (main):
24900 * tools/gst-xmlinspect.c: (print_element_info), (main):
24901 deactivate and remove dparams (libgstcontrol)
24903 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24905 * gst/elements/gsttypefindelement.c:
24906 (gst_type_find_element_have_type), (gst_type_find_element_init),
24907 (stop_typefinding), (gst_type_find_element_handle_event),
24908 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24909 * gst/elements/gsttypefindelement.h:
24910 Set caps on all outgoing buffers, not just the first one.
24912 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24914 * gst/elements/gsttypefindelement.c:
24915 (gst_type_find_element_have_type),
24916 (gst_type_find_element_check_set_buffer_caps),
24917 (gst_type_find_element_init), (stop_typefinding),
24918 (gst_type_find_element_handle_event),
24919 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24920 * gst/elements/gsttypefindelement.h:
24921 Set caps on first outgoing buffer when we've found the type.
24923 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24925 * docs/gst/gstreamer-docs.sgml:
24926 * docs/gst/gstreamer-sections.txt:
24927 * docs/gst/tmpl/gstscheduler.sgml:
24928 * docs/gst/tmpl/gstschedulerfactory.sgml:
24929 Remove some old cruft from docs.
24931 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
24934 Fix inline docs for GstPadLinkReturn.
24936 * gst/gststructure.c: (gst_structure_has_name):
24937 * gst/gststructure.h:
24938 * docs/gst/gstreamer-sections.txt:
24939 New API: gst_structure_has_name().
24941 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
24944 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24945 and _LARGEFILE_SOURCE in config.h as required. Do not
24946 export those flags in our .pc files any longer (#142209).
24948 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24950 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24951 (gst_file_sink_do_seek), (gst_file_sink_event),
24952 (gst_file_sink_get_current_offset), (gst_file_sink_render):
24953 Redo seek/tell calls with large file support in mind; add some
24954 debugging messages; add log message that tells us when large
24955 file support is unavailable or not enabled for some reason.
24957 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24958 Add log message that tells us when large file support
24959 is unavailable or not enabled for some reason.
24961 2005-07-29 Wim Taymans <wim@fluendo.com>
24963 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24964 Added test for removing an element with ghostpad from a bin.
24965 Fixed test as current implementation does the right thing.
24967 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24968 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24969 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24970 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24971 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24972 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24973 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24974 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24975 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24976 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24977 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24978 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24979 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
24980 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
24981 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
24982 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
24983 * gst/gstghostpad.h:
24984 Clean up ghostpads, remove properties for internal stuff.
24987 Prepare for switching targets, not all use cases work yet.
24989 2005-07-29 Wim Taymans <wim@fluendo.com>
24991 * docs/design/part-gstghostpad.txt:
24994 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24995 (gst_bin_remove_func):
24996 Unlinking pads while holding the bin LOCK is not a good
24999 * gst/gstpad.c: (gst_pad_class_init),
25000 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25001 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25002 No prob setting template after creating the pad.
25004 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25006 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25007 (gst_bus_peek), (gst_bus_source_dispatch),
25008 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25009 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25010 gst_bus_poll may be called from other threads. Handle
25011 this nicely by not making poll_data disappear off the
25012 stack once gst_bus_poll returns.
25013 gst_bus_peek now increments the refcount on the returned
25016 2005-07-29 Wim Taymans <wim@fluendo.com>
25018 * docs/design/part-gstghostpad.txt:
25019 Overview of current GhostPad datastructures and use
25020 cases for changing the target.
25022 2005-07-28 Wim Taymans <wim@fluendo.com>
25024 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25025 Added checks for hierarchy consistency whan adding linked
25028 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25029 Added check to test element scheduling without bin/pipeline.
25031 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25032 First add elements to bin, then link.
25034 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25035 (gst_bin_remove_func):
25036 Unlink pads from elements added/removed from bin to maintain
25037 hierarchy consistency.
25039 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25041 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25042 (gst_base_transform_handle_buffer):
25043 * gst/base/gstbasetransform.h:
25044 Remove broken delay_configure (fixes renegotiation of software
25045 scaling pipelines); remove some leftover printf()s.
25047 2005-07-28 Wim Taymans <wim@fluendo.com>
25049 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25050 Added some more tests for wrong hierarchy
25052 * docs/design/part-overview.txt:
25055 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25058 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25059 (gst_element_dispose):
25060 Some more cleanups.
25062 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25063 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25064 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25065 (gst_pad_set_caps), (gst_pad_send_event):
25066 Check for correct hierarchy when linking pads. Moving to
25067 strict requirement for ghostpads when linking elements in
25071 Clean ups. Added WRONG_HIERARCHY return value.
25073 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25075 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25076 Better debug if no transform is possible.
25078 2005-07-27 Wim Taymans <wim@fluendo.com>
25080 * docs/random/wtay/network-transp:
25081 Some old doc I had.
25083 2005-07-27 Wim Taymans <wim@fluendo.com>
25085 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25086 (gst_dp_event_from_packet):
25087 Fix serialization of seek events.
25089 2005-07-27 Wim Taymans <wim@fluendo.com>
25091 * check/gst-libs/gdp.c: (GST_START_TEST):
25092 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25093 Fix compilation and fix event serialization.
25095 2005-07-27 Wim Taymans <wim@fluendo.com>
25098 * docs/design/part-TODO.txt:
25099 * docs/design/part-events.txt:
25102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25103 (gst_base_sink_event), (gst_base_sink_do_sync),
25104 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25105 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25106 (gst_base_src_do_seek), (gst_base_src_event_handler),
25107 (gst_base_src_loop):
25108 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25109 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25110 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25111 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25112 (gst_base_transform_set_passthrough),
25113 (gst_base_transform_is_passthrough):
25114 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25115 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25121 * gst/gstelement.c: (gst_element_seek):
25122 * gst/gstelement.h:
25123 Update gst_element_seek.
25125 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25126 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25127 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25128 (gst_event_new_eos), (gst_event_new_newsegment),
25129 (gst_event_parse_newsegment), (gst_event_new_tag),
25130 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25131 (gst_event_parse_qos), (gst_event_new_seek),
25132 (gst_event_parse_seek), (gst_event_new_navigation):
25134 Make GstEvent use GstStructure. Add parsing code, make sure the
25135 API is sufficiently generic.
25136 Mark possible directions of events and serialization.
25138 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25139 (_gst_message_copy), (gst_message_new_segment_start),
25140 (gst_message_new_segment_done), (gst_message_new_custom),
25141 (gst_message_parse_segment_start),
25142 (gst_message_parse_segment_done):
25145 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25146 (gst_pad_set_caps), (gst_pad_send_event):
25147 Update for new events.
25148 Catch events sent in wrong directions.
25150 * gst/gstqueue.c: (gst_queue_link_src),
25151 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25152 (gst_queue_handle_src_query):
25157 Remove event code from this file.
25159 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25160 (gst_dp_event_from_packet):
25163 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25165 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25166 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25167 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25168 Make debugging actually useful.
25170 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25172 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25173 (gst_pad_fixate_caps):
25174 Implement default fixation once again, so that gst_pad_fixate()
25175 actually does anything at all. This probably needs to be some
25176 sort of a last resort, and use profile-based fixation first, but
25177 since that doesn't exist yet, this is the best we have. Fixes
25178 visualization in Totem.
25180 2005-07-22 Wim Taymans <wim@fluendo.com>
25182 * docs/design/part-events.txt:
25185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25186 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25187 (gst_base_sink_activate_pull):
25188 Some more comments.
25190 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25191 (gst_fake_src_create):
25192 Fix handoff marshall.
25194 * gst/elements/gstidentity.c: (gst_identity_class_init),
25195 (gst_identity_transform_ip):
25196 We're a real inplace element.
25198 * gst/gstbus.c: (gst_bus_post):
25199 Added some comments.
25201 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25202 * tests/muxing/case1.c: (main):
25203 * tests/sched/dynamic-pipeline.c: (main):
25204 * tests/sched/interrupt1.c: (main):
25205 * tests/sched/interrupt2.c: (main):
25206 * tests/sched/interrupt3.c: (main):
25207 * tests/sched/runxml.c: (main):
25208 * tests/sched/sched-stress.c: (main):
25209 * tests/seeking/seeking1.c: (event_received), (main):
25210 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25212 * tests/threadstate/threadstate3.c: (main):
25213 * tests/threadstate/threadstate4.c: (main):
25214 * tests/threadstate/threadstate5.c: (main):
25217 2005-07-21 Wim Taymans <wim@fluendo.com>
25219 * docs/design/part-seeking.txt:
25220 Some small additions.
25222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25223 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25224 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25225 * gst/base/gstbasesink.h:
25226 discont values are gint64, handle the math correctly.
25228 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25229 Make the basesrc report error if the source pad is not linked.
25231 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25232 (gst_queue_loop), (gst_queue_handle_src_query),
25233 (gst_queue_src_activate_push):
25234 Make queue collect data even if the srcpad is not linked.
25235 Start pushing out data as soon as it is linked.
25237 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25239 Added gst_flow_get_name() to ease error reporting.
25241 2005-07-20 Wim Taymans <wim@fluendo.com>
25243 * gst/gstmessage.c: (gst_message_new_segment_start),
25244 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25245 (gst_message_parse_segment_done):
25246 * gst/gstmessage.h:
25247 Added a bunch of messages for advanced seeking.
25249 * gst/parse/grammar.y:
25250 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25251 (gst_dpman_state_changed):
25252 Fix some new-pad -> pad-added signals
25254 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25256 * docs/manual/appendix-porting.xml:
25257 * docs/pwg/appendix-porting.xml:
25258 Document new-pad/state-change signal renames and the FixedList
25261 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25263 * docs/manual/advanced-autoplugging.xml:
25264 * docs/manual/basics-helloworld.xml:
25265 * docs/manual/basics-pads.xml:
25266 * docs/random/ds/0.9-suggested-changes:
25267 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25268 * gst/gstelement.h:
25272 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25273 (gst_structure_parse_array), (gst_structure_parse_value):
25274 * gst/gstvalue.c: (gst_type_is_fixed),
25275 (gst_value_list_prepend_value), (gst_value_list_append_value),
25276 (gst_value_list_get_size), (gst_value_list_get_value),
25277 (gst_value_transform_array_string), (gst_value_serialize_array),
25278 (gst_value_deserialize_array), (gst_value_intersect_array),
25279 (gst_value_is_fixed), (_gst_value_initialize):
25281 GstElement::new-pad -> pad-added, GstElement::state-change ->
25282 state-changed, GstValueFixedList -> GstValueArray, add format and
25283 flags as their own arguments in gst_element_seek() (should improve
25284 "bindeability"), remove function generators since they don't work
25285 under a whole bunch of compilers (they were deprecated already
25288 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25290 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25291 (_gst_debug_register_funcptr):
25293 Fix illegal cast on some platforms (#309253).
25295 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25297 * gst/gstmessage.c: (gst_message_new_custom):
25298 * gst/gstmessage.h:
25299 Add _new_custom, make _new_application a macro to _new_custom.
25301 2005-07-20 Wim Taymans <wim@fluendo.com>
25303 * gst/base/gstbasesrc.c: (gst_base_src_init),
25304 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25305 * gst/base/gstbasesrc.h:
25306 Add a gboolean to decide when to push out a discont.
25308 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25309 (gst_queue_loop), (gst_queue_handle_src_query),
25310 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25311 (gst_queue_set_property), (gst_queue_get_property):
25314 * tests/threadstate/threadstate1.c: (main):
25315 Make a thread test compile and run... very silly..
25318 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25320 * docs/manual/appendix-porting.xml:
25321 Mention removal of libgstgconf-0.9.la and existence of gconf
25324 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25326 * docs/pwg/advanced-clock.xml:
25327 * docs/pwg/appendix-porting.xml:
25328 * docs/pwg/intro-preface.xml:
25329 * docs/pwg/other-base.xml:
25330 * docs/pwg/other-manager.xml:
25331 * docs/pwg/other-nton.xml:
25332 * docs/pwg/other-ntoone.xml:
25333 * docs/pwg/other-oneton.xml:
25334 * docs/pwg/pwg.xml:
25335 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25336 demuxer), remove n-to-n (was never written), fix some code examples
25337 and links and update the porting section to include all this.
25339 2005-07-19 Wim Taymans <wim@fluendo.com>
25341 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25342 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25343 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25344 (gst_queue_src_activate_push), (gst_queue_change_state),
25345 (gst_queue_get_property):
25347 Propagate GstFlowReturn more intelligently upstream and output
25348 an ERROR/EOS when streaming stopped due to fatal error.
25350 2005-07-19 Wim Taymans <wim@fluendo.com>
25352 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25353 Don't block forever for the state change to complete, the
25354 pipeline already did with a sensible timeout.
25356 2005-07-19 Wim Taymans <wim@fluendo.com>
25358 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25359 Make sure we never call the create function is we
25362 2005-07-19 Andy Wingo <wingo@pobox.com>
25364 * gst/parse/parse.l: Attempt to solve bug #172815.
25366 2005-07-19 Wim Taymans <wim@fluendo.com>
25368 * docs/design/part-clocks.txt:
25369 * docs/design/part-events.txt:
25370 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25371 Small docs updates.
25372 Only update the seeking values when we are not
25375 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25377 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25378 Oops, ignore the result of gst_pad_push_event here.
25380 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25382 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25383 (gst_base_src_activate_push):
25384 Send discont event from the loop function, as pads
25385 aren't activated yet in the activate_push handler.
25387 * gst/gstbin.c: (bin_bus_handler):
25388 Don't leak element name.
25390 2005-07-18 Andy Wingo <wingo@pobox.com>
25392 * configure.ac: Use AS_LIBTOOL_TAGS.
25394 2005-07-18 Wim Taymans <wim@fluendo.com>
25396 * docs/gst/gstreamer.types:
25397 Remove deleted types.
25399 2005-07-18 Wim Taymans <wim@fluendo.com>
25401 * check/elements/gstfakesrc.c: (GST_START_TEST):
25404 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25405 (init_popt_callback):
25407 * gst/gst_private.h:
25408 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25409 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25412 * gst/gstconfig.h.in:
25413 * gst/gstelement.c: (gst_element_class_init),
25414 (gst_element_set_base_time), (gst_element_get_base_time),
25415 (iterator_fold_with_resync), (gst_element_change_state),
25416 (gst_element_dispose), (gst_element_get_bus):
25417 * gst/gstelement.h:
25418 * gst/gstelementfactory.h:
25419 * gst/gsterror.c: (_gst_core_errors_init):
25422 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25424 * gst/gstinfo.c: (_gst_debug_init):
25425 * gst/gstmessage.c: (_gst_message_copy):
25426 * gst/gstmessage.h:
25427 * gst/gstminiobject.h:
25430 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25431 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25434 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25435 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25436 (gst_pipeline_get_last_stream_time):
25437 * gst/gstpipeline.h:
25438 * gst/gstpluginfeature.h:
25440 * gst/gstscheduler.c:
25441 * gst/gstscheduler.h:
25442 * gst/gststructure.h:
25443 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25444 (gst_task_finalize), (gst_task_func), (gst_task_create),
25445 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25446 (gst_task_stop), (gst_task_pause):
25448 * gst/gsttypefind.h:
25450 * gst/registries/gstlibxmlregistry.c: (load_feature),
25451 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25452 * gst/registries/gstxmlregistry.c:
25453 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25454 * gst/schedulers/threadscheduler.c:
25455 * libs/gst/control/dparammanager.h:
25456 * tools/gst-inspect.c: (print_element_list),
25457 (print_plugin_features), (print_element_features):
25458 * tools/gst-xmlinspect.c: (print_element_list),
25459 (print_plugin_info), (main):
25460 Removed plugable schedulers.
25461 Removed Scheduler/Manager from elements.
25462 Removed gsttypes.h, rearranged includes.
25463 Removed dependency pad<->element, element<>pipeline, and
25464 various others, fix includes.
25465 implement gst_pad_get_parent() with gst_object_get_parent()
25466 Make GstTask sefcontained.
25467 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25469 Fix endless loop in iterator_fold_with_resync.
25472 2005-07-18 Wim Taymans <wim@fluendo.com>
25478 2005-07-18 Wim Taymans <wim@fluendo.com>
25481 No more cothreads.h
25483 2005-07-18 Wim Taymans <wim@fluendo.com>
25487 Let's remove these.
25489 2005-07-18 Wim Taymans <wim@fluendo.com>
25491 * docs/design/part-dynamic.txt:
25492 * docs/design/part-events.txt:
25493 * docs/design/part-seeking.txt:
25494 Some more docs in the works.
25496 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25497 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25498 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25499 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25500 (gst_base_transform_handle_buffer),
25501 (gst_base_transform_sink_activate_push),
25502 (gst_base_transform_src_activate_pull),
25503 (gst_base_transform_set_passthrough),
25504 (gst_base_transform_is_passthrough):
25507 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25510 * gst/gstevent.c: (gst_event_finalize):
25513 * gst/gstutils.c: (gst_element_unlink),
25514 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25515 (gst_pad_proxy_setcaps):
25517 Add _get_parent_element() to get a pads parent as an element.
25519 2005-07-18 Wim Taymans <wim@fluendo.com>
25521 * check/gst/gstbin.c: (GST_START_TEST):
25524 2005-07-18 Wim Taymans <wim@fluendo.com>
25526 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25527 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25528 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25529 (gst_base_sink_event), (gst_base_sink_do_sync),
25530 (gst_base_sink_chain), (gst_base_sink_loop),
25531 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25532 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25534 Fix logic for returning ASYNC when not prerolled.
25536 2005-07-18 Wim Taymans <wim@fluendo.com>
25538 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25539 Fix nasty refcount bug.
25541 2005-07-16 Philippe Khalaf <burger@speedy.org>
25543 * gst/elements/gstfdsrc.c:
25544 * gst/elements/gstfdsrc.h:
25545 * gst/elements/gstelements.c:
25546 * gst/elements/Makefile.am:
25547 Ported fdsrc to 0.9.
25549 2005-07-16 Wim Taymans <wim@fluendo.com>
25551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25552 (gst_base_sink_do_sync):
25555 2005-07-16 Wim Taymans <wim@fluendo.com>
25557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25558 (gst_base_sink_event), (gst_base_sink_get_times),
25559 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25560 * gst/base/gstbasesink.h:
25561 Store and use discont values when syncing buffers as described
25564 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25565 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25566 (gst_base_src_activate_push):
25567 Push discont event when starting.
25569 * gst/elements/gstidentity.c: (gst_identity_transform):
25572 * gst/gstbin.c: (gst_bin_change_state):
25573 Small cleanups in base_time distribution.
25575 * gst/gstelement.c: (gst_element_set_base_time),
25576 (gst_element_get_base_time), (gst_element_change_state):
25577 * gst/gstelement.h:
25578 Added methods for the base_time of the element.
25581 * gst/gstpipeline.c: (gst_pipeline_send_event),
25582 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25583 (gst_pipeline_get_last_stream_time):
25584 * gst/gstpipeline.h:
25586 Handle seeking as described in design doc, remove stream_time
25588 Cleanups clock and stream_time selection code. Added accessors
25589 for the stream_time.
25592 2005-07-16 Andy Wingo <wingo@pobox.com>
25594 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25597 2005-07-16 Wim Taymans <wim@fluendo.com>
25599 * check/gst/gstbin.c: (GST_START_TEST):
25600 Make elements silent as the deep_notify refs the
25601 parent, which might make the test fail.
25603 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25604 Don't hold the lock for too long.
25606 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25608 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25609 Don't unref the caps we passed to gst_caps_make_writable() after
25610 passing them. gst_caps_make_writable() will do that for us.
25612 2005-07-15 Andy Wingo <wingo@pobox.com>
25614 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25617 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25618 own marshalling function for the handoff signal. Properly type the
25619 buffer as a buffer. Fixes some warnings. Should do a more general
25621 (gst_identity_class_init): Plug into the right marshaller.
25623 2005-07-15 Wim Taymans <wim@fluendo.com>
25625 * docs/design/part-TODO.txt:
25626 * docs/design/part-clocks.txt:
25627 * docs/design/part-element-sink.txt:
25628 * docs/design/part-events.txt:
25629 * docs/design/part-gstpipeline.txt:
25630 Updated docs, mostly DISCONT related.
25632 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25634 * docs/pwg/building-pads.xml:
25635 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25637 2005-07-15 Andy Wingo <wingo@pobox.com>
25639 * tools/gst-typefind.c: Update, add copyright block.
25641 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25642 Normalize and truncate caps before fixation.
25645 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25646 discards all but the first structure from its argument.
25648 2005-07-15 Wim Taymans <wim@fluendo.com>
25650 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25651 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25652 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25653 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25654 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25655 (gst_base_transform_chain), (gst_base_transform_change_state),
25656 (gst_base_transform_set_passthrough),
25657 (gst_base_transform_is_passthrough):
25658 * gst/base/gstbasetransform.h:
25659 Make passthrough work using the bufferpools.
25660 Changed API a bit, subclasses have to write into a buffer
25661 provided by the base class.
25662 More debug info in nego functions.
25664 * gst/elements/gstidentity.c: (gst_identity_init),
25665 (gst_identity_transform):
25666 Port to new base class.
25668 2005-07-15 Wim Taymans <wim@fluendo.com>
25670 * gst/gstmessage.c: (gst_message_new_state_changed):
25671 * tools/gst-launch.c: (event_loop), (main):
25672 Totally dump messages in -launch with the -m option.
25673 Fix message name for State messages,
25675 2005-07-14 Wim Taymans <wim@fluendo.com>
25677 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25678 Post error messages on errors.
25680 2005-07-14 Wim Taymans <wim@fluendo.com>
25682 * gst/gstcaps.c: (gst_caps_do_simplify):
25686 Define error for stream stopped.
25688 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25689 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25690 Do proper return values.
25692 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25693 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25694 (gst_pad_get_range):
25695 Better return values.
25698 Reorganise return values, add macro to check for fatal errors.
25700 * gst/gstqueue.c: (gst_queue_chain):
25701 Return proper GstFlowReturn values,
25703 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25705 * docs/gst/gstreamer-sections.txt:
25706 * docs/gst/gstreamer.types:
25707 * docs/gst/tmpl/gst.sgml:
25708 * docs/gst/tmpl/gstbasesink.sgml:
25709 * docs/gst/tmpl/gstbasesrc.sgml:
25710 * docs/gst/tmpl/gstbasetransform.sgml:
25711 * docs/gst/tmpl/gstbin.sgml:
25712 * docs/gst/tmpl/gstbuffer.sgml:
25713 * docs/gst/tmpl/gstcaps.sgml:
25714 * docs/gst/tmpl/gstclock.sgml:
25715 * docs/gst/tmpl/gstcompat.sgml:
25716 * docs/gst/tmpl/gstconfig.sgml:
25717 * docs/gst/tmpl/gstelement.sgml:
25718 * docs/gst/tmpl/gstelementdetails.sgml:
25719 * docs/gst/tmpl/gstelementfactory.sgml:
25720 * docs/gst/tmpl/gstenumtypes.sgml:
25721 * docs/gst/tmpl/gsterror.sgml:
25722 * docs/gst/tmpl/gstevent.sgml:
25723 * docs/gst/tmpl/gstfakesink.sgml:
25724 * docs/gst/tmpl/gstfakesrc.sgml:
25725 * docs/gst/tmpl/gstfilesink.sgml:
25726 * docs/gst/tmpl/gstfilesrc.sgml:
25727 * docs/gst/tmpl/gstfilter.sgml:
25728 * docs/gst/tmpl/gstformat.sgml:
25729 * docs/gst/tmpl/gstghostpad.sgml:
25730 * docs/gst/tmpl/gstimplementsinterface.sgml:
25731 * docs/gst/tmpl/gstindex.sgml:
25732 * docs/gst/tmpl/gstindexfactory.sgml:
25733 * docs/gst/tmpl/gstinfo.sgml:
25734 * docs/gst/tmpl/gstiterator.sgml:
25735 * docs/gst/tmpl/gstmacros.sgml:
25736 * docs/gst/tmpl/gstmemchunk.sgml:
25737 * docs/gst/tmpl/gstminiobject.sgml:
25738 * docs/gst/tmpl/gstobject.sgml:
25739 * docs/gst/tmpl/gstpad.sgml:
25740 * docs/gst/tmpl/gstpadtemplate.sgml:
25741 * docs/gst/tmpl/gstparse.sgml:
25742 * docs/gst/tmpl/gstpipeline.sgml:
25743 * docs/gst/tmpl/gstplugin.sgml:
25744 * docs/gst/tmpl/gstpluginfeature.sgml:
25745 * docs/gst/tmpl/gstquery.sgml:
25746 * docs/gst/tmpl/gstqueue.sgml:
25747 * docs/gst/tmpl/gstregistry.sgml:
25748 * docs/gst/tmpl/gstregistrypool.sgml:
25749 * docs/gst/tmpl/gstscheduler.sgml:
25750 * docs/gst/tmpl/gstschedulerfactory.sgml:
25751 * docs/gst/tmpl/gststructure.sgml:
25752 * docs/gst/tmpl/gstsystemclock.sgml:
25753 * docs/gst/tmpl/gsttaglist.sgml:
25754 * docs/gst/tmpl/gsttagsetter.sgml:
25755 * docs/gst/tmpl/gsttrace.sgml:
25756 * docs/gst/tmpl/gsttrashstack.sgml:
25757 * docs/gst/tmpl/gsttypefind.sgml:
25758 * docs/gst/tmpl/gsttypefindfactory.sgml:
25759 * docs/gst/tmpl/gsttypes.sgml:
25760 * docs/gst/tmpl/gsturihandler.sgml:
25761 * docs/gst/tmpl/gsturitype.sgml:
25762 * docs/gst/tmpl/gstutils.sgml:
25763 * docs/gst/tmpl/gstvalue.sgml:
25764 * docs/gst/tmpl/gstversion.sgml:
25765 * docs/gst/tmpl/gstxml.sgml:
25766 * docs/libs/tmpl/gstcontrol.sgml:
25767 * docs/libs/tmpl/gstdataprotocol.sgml:
25768 * docs/libs/tmpl/gstdparam.sgml:
25769 * docs/libs/tmpl/gstdplinint.sgml:
25770 * docs/libs/tmpl/gstdpman.sgml:
25771 * docs/libs/tmpl/gstdpsmooth.sgml:
25772 * docs/libs/tmpl/gstgetbits.sgml:
25773 * docs/libs/tmpl/gstunitconvert.sgml:
25774 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25775 (gst_push_src_base_init), (gst_push_src_class_init),
25776 (gst_push_src_init), (gst_push_src_create):
25777 * gst/base/gstpushsrc.h:
25778 * gst/elements/gstelements.c:
25779 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25780 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25781 (gst_fake_sink_init), (gst_fake_sink_set_property),
25782 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25783 (gst_fake_sink_event), (gst_fake_sink_preroll),
25784 (gst_fake_sink_render), (gst_fake_sink_change_state):
25785 * gst/elements/gstfakesink.h:
25786 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25787 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25788 (gst_fake_src_base_init), (gst_fake_src_class_init),
25789 (gst_fake_src_init), (gst_fake_src_event_handler),
25790 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25791 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25792 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25793 (gst_fake_src_create_buffer), (gst_fake_src_create),
25794 (gst_fake_src_start), (gst_fake_src_stop):
25795 * gst/elements/gstfakesrc.h:
25796 * gst/elements/gstfilesink.c: (_do_init),
25797 (gst_file_sink_base_init), (gst_file_sink_class_init),
25798 (gst_file_sink_init), (gst_file_sink_dispose),
25799 (gst_file_sink_set_location), (gst_file_sink_set_property),
25800 (gst_file_sink_get_property), (gst_file_sink_open_file),
25801 (gst_file_sink_close_file), (gst_file_sink_query),
25802 (gst_file_sink_event), (gst_file_sink_render),
25803 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25804 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25805 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25806 * gst/elements/gstfilesink.h:
25807 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25808 (gst_file_src_class_init), (gst_file_src_init),
25809 (gst_file_src_finalize), (gst_file_src_set_location),
25810 (gst_file_src_set_property), (gst_file_src_get_property),
25811 (gst_file_src_map_region), (gst_file_src_map_small_region),
25812 (gst_file_src_create_mmap), (gst_file_src_create_read),
25813 (gst_file_src_create), (gst_file_src_is_seekable),
25814 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25815 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25816 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25817 (gst_file_src_uri_handler_init):
25818 * gst/elements/gstfilesrc.h:
25819 more autistic cleanliness in functions/names/defines
25821 2005-07-13 Andy Wingo <wingo@pobox.com>
25823 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25824 source couldn't negotiate.
25826 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25830 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25831 function. I am channeling Hades. Put your boots on suckers!!!
25833 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25835 * testsuite/caps/Makefile.am:
25836 * testsuite/caps/value_compare.c:
25837 * testsuite/caps/value_intersect.c:
25838 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25839 move two testsuite apps over to the check dir
25841 2005-07-12 Wim Taymans <wim@fluendo.com>
25843 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25844 Added more debug info in the negotiate process.
25846 * gst/gstmessage.h:
25847 Prepare for segment playback.
25849 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25855 * tools/gst-launch.c: (main):
25856 NULL pipeline on errors.
25858 2005-07-12 Andy Wingo <wingo@pobox.com>
25860 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25861 not it comes from a malloc region. Make sure our copy gets freed.
25863 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25865 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25866 * check/gst/gstmessage.c: (GST_START_TEST):
25867 * check/gst/gststructure.c: (GST_START_TEST),
25868 (gst_structure_suite), (main):
25870 * gst/gstelement.c: (gst_element_message_full):
25871 clean up GError and debug string now that they get copied
25872 * gst/gstmessage.c: (gst_message_new_error),
25873 (gst_message_new_warning), (gst_message_parse_error),
25874 (gst_message_parse_warning):
25875 use GST_TYPE_G_ERROR for structure_new, and take copies of
25876 arguments, so that we don't mess up refcounting
25878 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25880 * check/Makefile.am:
25881 add per-test valgrind targets
25882 * check/gst-libs/gdp.c: (GST_START_TEST),
25883 (gst_data_protocol_suite), (main):
25886 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25888 * check/Makefile.am:
25889 instate more valgrindable tests
25890 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25891 (GST_START_TEST), (fakesrc_suite):
25892 * check/gst/gstpad.c: (GST_START_TEST):
25893 * check/gst/gststructure.c: (GST_START_TEST):
25895 * docs/gst/tmpl/gstminiobject.sgml:
25896 * gst/gstpad.c: (gst_pad_finalize):
25897 fix the static mutex leak
25899 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25901 * check/Makefile.am:
25902 add two more tests for valgrinding
25903 * check/gst/gstvalue.c: (GST_START_TEST):
25904 test refcount of deserialized buffer, found a leak
25905 * docs/gst/gstreamer-docs.sgml:
25906 * docs/gst/gstreamer-sections.txt:
25907 * docs/gst/gstreamer.types:
25908 * docs/gst/tmpl/gstminiobject.sgml:
25909 add miniobject to docs
25910 * gst/gstminiobject.c:
25912 * gst/gstvalue.c: (gst_value_deserialize_buffer),
25913 (gst_string_unwrap):
25914 fix a hard-to-find invalid write for one of the tests
25915 fix a leak for deserialized buffers
25917 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25919 * docs/pwg/advanced-events.xml:
25920 * docs/pwg/advanced-request.xml:
25921 * docs/pwg/advanced-scheduling.xml:
25922 * docs/pwg/appendix-porting.xml:
25923 * docs/pwg/building-boiler.xml:
25924 * docs/pwg/intro-preface.xml:
25925 * docs/pwg/other-ntoone.xml:
25926 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25927 of example code and explanation for pad activation, loop() and
25928 getrange() functions and a bit more. Remove old comments pointing
25930 * examples/pwg/Makefile.am:
25931 Add loop/getrange examples.
25933 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25936 check for valgrind binary + some fixes
25938 valgrind suppressions for the tests
25939 * check/Makefile.am:
25940 add a valgrind: target that valgrinds the unit tests
25941 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25942 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25943 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25944 * check/gst/gstghostpad.c:
25946 * check/gst/gstdata.c:
25948 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25949 (thread_unref), (gst_mini_object_suite), (main):
25951 * gst/gst.c: (gst_deinit):
25953 add a method to clean up.
25954 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25955 (gst_system_clock_obtain):
25956 allow for disposing the system clock.
25957 * tools/gst-launch.c: (main):
25960 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25962 * docs/gst/tmpl/gstbasesrc.sgml:
25963 * docs/gst/tmpl/gstfakesrc.sgml:
25964 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25965 (gst_base_src_init), (gst_base_src_set_property),
25966 (gst_base_src_get_property), (gst_base_src_get_range),
25967 (gst_base_src_start):
25968 * gst/base/gstbasesrc.h:
25969 add num-buffers property
25970 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25971 (gst_fakesrc_init), (gst_fakesrc_set_property),
25972 (gst_fakesrc_get_property), (gst_fakesrc_create),
25973 (gst_fakesrc_start):
25974 remove num-buffers property
25976 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
25978 * docs/gst/gstreamer-sections.txt:
25979 * docs/gst/tmpl/gstbasesink.sgml:
25980 * docs/gst/tmpl/gstbasesrc.sgml:
25981 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25982 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25983 (gst_base_sink_finalize), (gst_base_sink_set_clock),
25984 (gst_base_sink_set_property), (gst_base_sink_get_property),
25985 (gst_base_sink_handle_object), (gst_base_sink_event),
25986 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
25987 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
25988 (gst_base_sink_loop), (gst_base_sink_deactivate),
25989 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
25990 (gst_base_sink_change_state):
25991 * gst/base/gstbasesink.h:
25992 * gst/base/gstbasesrc.h:
25993 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
25994 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25995 (gst_filesink_init):
25996 more macro splitting
25998 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26000 * gst/gstelement.c: (gst_element_get_bus):
26002 * tools/gst-launch.c: (check_intr), (event_loop):
26005 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26007 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26010 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26012 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26013 (gst_base_src_finalize):
26014 add finalize method and clean up properly
26015 * gst/gstpipeline.c: (gst_pipeline_dispose):
26018 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26020 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26022 add more things to check
26023 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26024 * gst/gstelement.c:
26027 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26029 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26030 (GST_START_TEST), (fakesrc_suite):
26031 * check/gst-libs/gdp.c: (GST_START_TEST):
26032 * check/gst/gst.c: (GST_START_TEST):
26033 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26034 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26035 * check/gst/gstbus.c: (GST_START_TEST):
26036 * check/gst/gstcaps.c: (GST_START_TEST):
26037 * check/gst/gstdata.c: (GST_START_TEST):
26038 * check/gst/gstelement.c: (GST_START_TEST):
26039 * check/gst/gstghostpad.c: (GST_START_TEST):
26040 * check/gst/gstiterator.c: (GST_START_TEST):
26041 * check/gst/gstmessage.c: (GST_START_TEST):
26042 * check/gst/gstobject.c: (GST_START_TEST):
26043 * check/gst/gstpad.c: (GST_START_TEST):
26044 * check/gst/gststructure.c: (GST_START_TEST):
26045 * check/gst/gstsystemclock.c: (GST_START_TEST),
26046 (gst_systemclock_suite):
26047 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26048 * check/gst/gstvalue.c: (GST_START_TEST):
26049 * check/pipelines/cleanup.c: (GST_START_TEST):
26050 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26051 * check/states/sinks.c: (GST_START_TEST):
26052 * check/gstcheck.c: (gst_check_init):
26053 * check/gstcheck.h:
26054 add debugging category
26055 use GST_START_TEST now, so we add a debug line
26057 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26059 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26060 add test for state change message on a bin
26061 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26063 * gst/gstbin.c: (gst_bin_init):
26064 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26065 * gst/gstelement.c: (gst_element_post_message),
26066 (gst_element_set_state):
26067 * gst/gstelementfactory.c: (gst_element_factory_create):
26068 * gst/gstmessage.c: (gst_message_new):
26069 * gst/gstscheduler.c:
26070 various debugging additions and cleanups
26072 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26074 * check/Makefile.am:
26075 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26077 adding tests for elements
26078 * gst/gstelement.c: (gst_element_dispose):
26080 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26082 * gst/registries/gstlibxmlregistry.c: (load_feature):
26083 plug more leaks. A simple gst_init() now is leakfree, yay.
26085 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26087 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26088 (gst_xml_registry_load):
26089 plug another memleak
26091 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26094 use GST_SET_ERROR_CFLAGS
26095 * docs/faq/cvs.xml:
26096 change to ERROR_CFLAGS
26098 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26101 make GST_ERROR_CFLAGS overridable and re-enable Werror
26102 * docs/faq/cvs.xml:
26103 add a note about error CFLAGS
26104 * docs/gst/tmpl/gstfakesrc.sgml:
26105 * gst/elements/gstfakesrc.c:
26106 comment out some unused code
26107 * gst/gst.c: (split_and_iterate):
26108 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26112 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26114 * common/Makefile.am:
26115 * common/gtk-doc.mak:
26116 * docs/gst/Makefile.am:
26117 factor out gtk-doc.mak
26119 2005-07-07 Wim Taymans <wim@fluendo.com>
26121 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26122 (gst_thread_scheduler_dispose):
26123 Unlock the STREAM_LOCK completely.
26125 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26127 * check/Makefile.am:
26128 * check/elements/.cvsignore:
26129 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26130 (START_TEST), (fakesrc_suite), (main):
26131 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26132 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26133 (gst_fakesrc_create), (gst_fakesrc_start):
26134 * gst/elements/gstfakesrc.h:
26135 adding a first element test
26137 2005-07-07 Andy Wingo <wingo@pobox.com>
26139 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26142 2005-07-07 Wim Taymans <wim@fluendo.com>
26148 2005-07-07 Wim Taymans <wim@fluendo.com>
26150 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26151 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26152 Allow subclasses to implement their own negotiation.
26154 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26156 * docs/design/part-gstbin.txt:
26157 * docs/design/part-gstpipeline.txt:
26158 Update design notes to reflect the movement of
26159 responsibility for bus handling from GstPipeline to
26162 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26165 Remove unnecessary queue2/3/4 examples.
26167 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26169 * examples/Makefile.am:
26170 * examples/helloworld/helloworld.c: (event_loop), (main):
26171 * examples/queue/queue.c: (event_loop), (main):
26172 * examples/queue2/queue2.c: (main):
26173 Update a couple of the examples to work again.
26175 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26176 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26177 Spelling corrections and extra debug.
26179 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26180 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26181 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26183 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26184 (gst_pipeline_change_state):
26185 * gst/gstpipeline.h:
26186 Move the bus handler for children to the GstBin, and create a
26187 separate bus for receiving messages from children to the one the
26188 bus sends 'upwards' on.
26190 2005-07-06 Wim Taymans <wim@fluendo.com>
26193 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26194 (gst_base_sink_handle_object), (gst_base_sink_loop),
26195 (gst_base_sink_change_state):
26196 * gst/base/gstbasesink.h:
26197 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26198 (gst_base_src_init), (gst_base_src_setcaps),
26199 (gst_base_src_getcaps), (gst_base_src_loop),
26200 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26201 (gst_base_src_start), (gst_base_src_change_state):
26202 * gst/base/gstbasesrc.h:
26203 Make basesrc negotiate.
26204 Handle the case where preroll fails in basesink.
26207 2005-07-06 Wim Taymans <wim@fluendo.com>
26209 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26210 Implement the fixate function.
26211 Clean up acceptcaps.
26213 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26215 * docs/pwg/building-filterfactory.xml:
26216 * docs/pwg/pwg.xml:
26217 Remove never-written filter-factory chapter; I'll add the various
26218 base classes to part 4 ("other element types") later on.
26220 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26222 * docs/pwg/advanced-negotiation.xml:
26223 * docs/pwg/building-boiler.xml:
26224 * docs/pwg/building-pads.xml:
26225 * docs/pwg/pwg.xml:
26226 * examples/pwg/Makefile.am:
26227 Add a chapter on caps negotiation, simplify the original code
26228 samples a bit w.r.t. caps negotiation, add link to the advanced
26229 section. Add a bunch of examples showing different use cases of
26230 different types of caps negotiation. Upstream renegotiation isn't
26231 fully documented yet since nobody knows how that works.
26233 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26235 * check/gst/gstpad.c:
26236 * check/gstcheck.c:
26237 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26238 if pad has no parent, return NULL as list of internal links
26240 2005-07-05 Andy Wingo <wingo@pobox.com>
26242 * gst/elements/gstfilesrc.c:
26243 * gst/elements/gstfakesrc.c:
26244 * gst/base/gstpushsrc.c:
26245 * gst/base/gstbasesrc.h:
26246 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26248 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26251 better report generation target (lcov needs a patch)
26253 2005-07-05 Andy Wingo <wingo@pobox.com>
26255 * gst/elements, testsuite: Null if we got it...
26257 2005-07-05 Wim Taymans <wim@fluendo.com>
26260 * libs/gst/dataprotocol/Makefile.am:
26261 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26262 * libs/gst/dataprotocol/dataprotocol.h:
26263 * pkgconfig/Makefile.am:
26264 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26265 * pkgconfig/gstreamer-dataprotocol.pc.in:
26266 Ported dataprotol to 0.9.
26267 Added pkgconfig files.
26269 2005-07-05 Andy Wingo <wingo@pobox.com>
26271 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26272 Default to returning TRUE for the case when tranform_caps returns
26273 a fixed caps, like for identity or volume.
26275 * check/gst/gstbus.c (pound_bus_with_messages):
26276 * check/gst/gstmessage.c (START_TEST):
26277 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26278 message API change.
26280 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26281 logic weaks here: always run transform_caps, trying passthrough
26282 operation only if the original caps intersects with the transform.
26284 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26285 source and sink caps.
26287 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26288 Intersect the peer caps with the pad template before going into
26290 (gst_base_transform_transform_caps): More debugging.
26292 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26295 2005-07-04 Edward Hervey <edward@fluendo.com>
26299 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26302 2005-07-04 Andy Wingo <wingo@pobox.com>
26304 * check/gst/gstpad.c: Only set explicit caps on pads.
26306 2005-07-01 Andy Wingo <wingo@pobox.com>
26308 * tests/network-clock.scm: Commentary update.
26310 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26311 Didn't really make sense, not implementable with basetransform,
26313 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26314 attempt at implementing the sync property, needs an unlock method.
26316 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26317 New func, by default returns the same caps (the identity
26319 (gst_base_transform_getcaps): Uses transform_caps to return
26320 something sensible.
26321 (gst_base_transform_setcaps): Complicated logic to get caps on
26322 both pads, even if they are different, and to call set_caps once
26323 for every time both pads get their caps set.
26324 (gst_base_transform_handle_buffer): Give the ref to the transform
26325 function. Allows in-place modification of the buffer.
26327 * gst/base/gstbasetransform.h (transform_caps): New class method.
26328 Given caps on one side, what can I do on the other.
26329 (set_caps): Take two caps, one for each side of the element.
26332 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26333 caps in place. This is safe because we can check the mutability of
26334 the caps, and a good idea because fixate functions are just called
26335 as a matter of last resort. (Not actually implemented.)
26336 (gst_pad_set_caps): If the caps we're setting is actually the same
26337 as the existing pad caps, just update the pointer without calling
26338 setcaps. Assert that caps is either NULL or fixed, as per the
26341 * gst/gstghostpad.c: Update for fixate changes.
26343 2005-07-02 Andy Wingo <wingo@pobox.com>
26346 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26347 two refcounts makes it immutable, which is enough. Doc more.
26349 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26351 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26352 Put the mini_object into GValue as a mini_object,
26353 not a gpointer, since that's how we declared
26356 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26358 * examples/pwg/Makefile.am:
26359 Fix buildbot again.
26361 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26363 * docs/pwg/building-testapp.xml:
26365 * examples/pwg/Makefile.am:
26368 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26371 * examples/Makefile.am:
26372 * examples/pwg/Makefile.am:
26373 * examples/pwg/extract.pl:
26374 Enable building the PWG examples.
26375 * docs/pwg/advanced-interfaces.xml:
26376 Add URI interface stub.
26377 * docs/pwg/advanced-types.xml:
26378 * docs/pwg/other-autoplugger.xml:
26379 * docs/pwg/appendix-porting.xml:
26380 * docs/pwg/pwg.xml:
26381 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26382 * docs/pwg/building-boiler.xml:
26383 * docs/pwg/building-chainfn.xml:
26384 * docs/pwg/building-pads.xml:
26385 * docs/pwg/building-props.xml:
26386 * docs/pwg/building-state.xml:
26387 * docs/pwg/building-testapp.xml:
26388 Update the building-*.xml parts for 0.9 changes. All examples
26389 code blocks compile in examples/pwg/*.
26391 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26393 * docs/manual/advanced-autoplugging.xml:
26394 * docs/manual/appendix-checklist.xml:
26395 * docs/manual/appendix-integration.xml:
26396 * docs/manual/highlevel-components.xml:
26397 Fix playbin/decodebin examples, update docs a bit, mention bus
26398 instead of signals in various places, mention kmplayer and
26399 kaffeine since they have a working GStreamer backend in the KDE
26402 2005-06-30 Wim Taymans <wim@fluendo.com>
26405 * docs/design/draft-ghostpads.txt:
26406 * docs/design/draft-push-pull.txt:
26407 * docs/design/draft-query.txt:
26408 * docs/design/part-TODO.txt:
26409 * docs/design/part-query.txt:
26410 Added CHANGES-0.9 doc, updated status of other docs.
26415 2005-06-30 Wim Taymans <wim@fluendo.com>
26417 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26418 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26419 (gst_base_sink_change_state):
26420 * gst/base/gstbasesink.h:
26421 Some tweaks, only EOS and a buffer complete a preroll.
26423 2005-06-30 Andy Wingo <wingo@pobox.com>
26425 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26426 activate_push down to the internal pad as well.
26428 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26430 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26432 * gst/gsttaginterface.c:
26433 Some documentation fixes (#307394 and #307397).
26435 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26437 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26439 * gst/gstvalue.c: (gst_value_intersect_list):
26440 Fix memleak (#309125).
26442 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26444 * docs/manual/advanced-dataaccess.xml:
26445 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26446 * docs/manual/basics-pads.xml:
26447 Add reference for filtered caps to above chapter.
26449 2005-06-30 Wim Taymans <wim@fluendo.com>
26451 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26452 (gst_bin_change_state):
26454 Lame attempt at making the state change function a bit
26457 2005-06-30 Wim Taymans <wim@fluendo.com>
26459 * docs/design/part-clocks.txt:
26460 * docs/design/part-element-sink.txt:
26461 * docs/design/part-events.txt:
26462 * docs/design/part-preroll.txt:
26463 * docs/design/part-states.txt:
26464 Some more tweeks and additions to the docs.
26466 2005-06-30 Wim Taymans <wim@fluendo.com>
26468 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26469 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26470 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26471 (gst_pad_check_pull_range), (gst_pad_get_range),
26472 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26474 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26475 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26476 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26477 (gst_pad_remove_buffer_probe):
26478 Removed atomic operations, use existing LOCK.
26479 Move exception handling out of main code path.
26481 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26483 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26484 (silly_return_true_function), (gst_pad_class_init),
26485 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26486 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26487 (gst_pad_send_event):
26488 Fix accumulator, add default value by using _emitv() instead
26489 of _emit() for signal emission.
26491 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26493 * docs/manual/advanced-dataaccess.xml:
26494 * examples/manual/Makefile.am:
26496 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26499 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26501 * gst/elements/gstfilesink.c: (gst_filesink_render):
26502 Simplify code so that we don't have to handle short
26503 writes and return GST_FLOW_ERROR if an error occured.
26505 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26507 * docs/gst/gstreamer-docs.sgml:
26508 Remove probes more.
26510 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26512 * docs/gst/gstreamer-sections.txt:
26513 * docs/gst/tmpl/gstpad.sgml:
26514 * docs/gst/tmpl/gstprobe.sgml:
26516 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26517 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26518 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26519 (gst_pad_push_event), (gst_pad_send_event):
26521 * gst/gstutils.c: (gst_pad_add_data_probe),
26522 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26523 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26524 (gst_pad_remove_buffer_probe):
26526 Remove old probes, add new g-signal-based probes and some utility
26529 2005-06-29 Edward Hervey <edward@fluendo.com>
26531 * gst/gstelementfactory.c:
26534 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26535 the definition to the header file.
26537 2005-06-29 Andy Wingo <wingo@pobox.com>
26539 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26540 plugins from the source directory.
26542 2005-06-29 Wim Taymans <wim@fluendo.com>
26544 * docs/gst/tmpl/gstbuffer.sgml:
26545 * docs/gst/tmpl/gstclock.sgml:
26546 Some fixings for blantently wrong text.
26548 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26550 * check/Makefile.am:
26551 * gst/gst.c: (add_path_func), (init_pre):
26552 * gst/gstregistry.c: (gst_registry_add_path):
26553 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26554 only scan the GST_PLUGIN_PATH locations, and not add
26557 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26559 * docs/gst/gstreamer-sections.txt:
26560 * docs/gst/tmpl/gstbasesrc.sgml:
26561 * gst/gstelement.c:
26562 * gst/gstelement.h:
26567 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26569 * docs/manual/advanced-autoplugging.xml:
26570 Fix autoplugging example.
26572 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26574 * docs/manual/advanced-autoplugging.xml:
26575 * docs/manual/mime-world.fig:
26576 Try to get autoplugging working, fix type detection. Fix text
26577 in hello-world image.
26579 2005-06-29 Wim Taymans <wim@fluendo.com>
26581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26582 (gst_base_sink_change_state):
26586 map SIGNAL and BROADCAST to the right function.
26589 Remove redundant braces.
26591 * gst/gstpad.c: (gst_pad_set_caps):
26592 Don't call setcaps function when reseting caps to NULL.
26594 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26595 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26596 (gst_system_clock_id_unschedule):
26597 Use BROADCAST as this is what we do.
26599 2005-06-29 Wim Taymans <wim@fluendo.com>
26601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26602 We are actually prerolling before commiting the state
26605 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26607 * docs/manual/advanced-clocks.xml:
26608 * docs/manual/advanced-interfaces.xml:
26609 * docs/manual/advanced-metadata.xml:
26610 * docs/manual/advanced-position.xml:
26611 * docs/manual/advanced-schedulers.xml:
26612 * docs/manual/advanced-threads.xml:
26613 * docs/manual/appendix-porting.xml:
26614 * docs/manual/basics-bins.xml:
26615 * docs/manual/basics-bus.xml:
26616 * docs/manual/basics-elements.xml:
26617 * docs/manual/basics-helloworld.xml:
26618 * docs/manual/basics-pads.xml:
26619 * docs/manual/highlevel-components.xml:
26620 * docs/manual/manual.xml:
26621 * docs/manual/thread.fig:
26622 Update (until threads/scheduling) Application Development Manual;
26623 remove GstThread, add GstBus, add simple porting checklist, add
26624 documentation for tag writing, clocks, make all examples until this
26625 part compile and run.
26626 * examples/manual/Makefile.am:
26627 Update from changes to Application Development Manual; add bus
26628 example, remove thread example.
26630 2005-06-28 Wim Taymans <wim@fluendo.com>
26632 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26633 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26634 (gst_bus_source_dispatch):
26635 Add debugging messages.
26636 Make internal methods static.
26637 Handle the case where the bus is flushed in the handler.
26639 * gst/gstelement.c: (gst_element_get_bus):
26640 Fix refcount in _get_bus();
26642 * gst/gstpipeline.c: (gst_pipeline_change_state),
26643 (gst_pipeline_get_clock_func):
26644 Clock refcounting fixes.
26645 Handle the case where preroll timed out more gracefully.
26647 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26648 Clean up the internal thread in dispose. This is needed
26649 for subclasses that actually get disposed.
26651 * gst/schedulers/threadscheduler.c:
26652 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26653 (gst_thread_scheduler_dispose):
26654 Free thread pool in dispose.
26656 2005-06-28 Andy Wingo <wingo@pobox.com>
26658 * tests/network-clock-utils.scm (debug, print-event): New utils.
26660 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26661 (*packet-loss*): Unified loss probability.
26662 (network-time): Report out-of-band events.
26664 * tests/plot-data: Add support for out-of-band events. Hack it
26665 into this script instead of passing it down the pipe; should fix
26668 2005-06-28 Wim Taymans <wim@fluendo.com>
26670 * docs/gst/gstreamer.types:
26671 * docs/gst/tmpl/gstbasesrc.sgml:
26672 * docs/gst/tmpl/gstpad.sgml:
26675 2005-06-28 Wim Taymans <wim@fluendo.com>
26677 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26678 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26679 (gst_proxy_pad_do_fixatecaps):
26680 Correctly proxy the check_pull_range function.
26682 2005-06-28 Andy Wingo <wingo@pobox.com>
26684 * tests/network-clock.scm: Removed need for slib.
26686 2005-06-28 Wim Taymans <wim@fluendo.com>
26688 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26689 (gst_basesink_preroll_queue_flush):
26690 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26691 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26692 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26693 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26694 (gst_proxy_pad_set_property):
26697 * gst/gstqueue.c: (gst_queue_init):
26698 The deprecated pad loop function is removed now.
26700 2005-06-28 Andy Wingo <wingo@pobox.com>
26702 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26703 New parameters, simulate network packet loss.
26705 * tests/network-clock-utils.scm: Initialize the RNG.
26707 2005-06-28 Wim Taymans <wim@fluendo.com>
26709 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26710 (gst_basesink_event), (gst_basesink_deactivate):
26711 Flushing the preroll queue always needs to unlock the waiters.
26713 2005-06-28 Edward Hervey <edward@fluendo.com>
26715 * gst/gstpipeline.c: (gst_pipeline_send_event):
26716 Wheen a seek was successful on a pipeline, set the stream_time to the
26717 seek offset in order to have a synchronized stream_time.
26719 2005-06-28 Wim Taymans <wim@fluendo.com>
26721 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26722 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26723 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26724 (gst_proxy_pad_do_fixatecaps):
26725 Call wrapper function instead of just calling the function
26726 pointers. This takes care of any locking and whatmore.
26728 2005-06-28 Wim Taymans <wim@fluendo.com>
26730 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26731 (gst_pad_pull_range):
26733 CONNECTED -> LINKED.
26735 2005-06-28 Andy Wingo <wingo@pobox.com>
26737 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26738 source-munging commit!!!
26740 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26741 (gst_object_sink): Take gpointer arguments, not GstObject --
26742 avoids casts. Like GLib.
26744 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26747 2005-06-27 Andy Wingo <wingo@pobox.com>
26749 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26752 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26753 returns a sorted copy of the trace list.
26754 (gst_alloc_trace_print_live): New API, only prints traces with
26755 live objects. Sort the list.
26756 (gst_alloc_trace_print_all): Sort the list.
26757 (gst_alloc_trace_print): Align columns.
26759 * gst/elements/gstttypefindelement.c:
26760 * gst/elements/gsttee.c:
26761 * gst/base/gstbasesrc.c:
26762 * gst/base/gstbasesink.c:
26763 * gst/base/gstbasetransform.c:
26764 * gst/gstqueue.c: Adapt for pad activation changes.
26766 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26768 (gst_pipeline_dispose): Drop ref on sched.
26770 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26771 (gst_pad_activate_default): Push mode by default.
26772 (pre_activate_switch, post_activate_switch): New stubs, things to
26773 do before and after switching activation modes on pads.
26774 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26775 the pad's activate function to choose which mode to activate.
26776 Shortcut on deactivation and call the right function directly.
26777 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26779 (gst_pad_activate_push): New API, same for push mode.
26780 (gst_pad_set_activate_function)
26781 (gst_pad_set_activatepull_function)
26782 (gst_pad_set_activatepush_function): Setters for new API.
26784 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26785 Trace all miniobjects.
26786 (gst_mini_object_make_writable): Unref the arg if we copy, like
26787 gst_caps_make_writable.
26789 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26791 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26792 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26793 Adapt for new pad API.
26795 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26797 * gst/gstelement.h:
26798 * gst/gstelement.c (gst_element_iterate_src_pads)
26799 (gst_element_iterate_sink_pads): New API functions.
26801 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26802 should fold into gstiterator.c in some form.
26803 (gst_element_pads_activate): Simplified via use of fold and
26804 delegation of decisions to gstpad->activate.
26806 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26809 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26810 class once in init, like gstmessage. Didn't run into this issue
26811 but it seems correct. Don't initialize a trace, gstminiobject does
26814 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26815 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26817 (assert_live_count): New util function, uses alloc traces to check
26820 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26821 To be modified when unlink drops the internal pad.
26823 2005-06-27 Wim Taymans <wim@fluendo.com>
26825 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26826 (gst_bin_change_state):
26827 Cleanup the get_state() function a little, make sure it
26828 iterates the same set of elements.
26829 Added stub iterate_state_order().
26831 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26833 * docs/gst/gstreamer-docs.sgml:
26834 * docs/gst/gstreamer-sections.txt:
26835 * docs/gst/gstreamer.types:
26836 * docs/gst/tmpl/gstbasesink.sgml:
26837 * docs/gst/tmpl/gstbasesrc.sgml:
26838 * docs/gst/tmpl/gstbasetransform.sgml:
26839 * docs/gst/tmpl/gstelement.sgml:
26840 * docs/gst/tmpl/gstiterator.sgml:
26841 * gst/base/gstbasesrc.c:
26842 * gst/base/gstbasesrc.h:
26843 * gst/base/gstbasetransform.h:
26844 * gst/gstelement.c:
26845 * gst/gstiterator.h:
26846 adding basetransform and iterator docs
26848 2005-06-27 Andy Wingo <wingo@pobox.com>
26850 * docs/design/part-activation.txt: Notes on how activation should
26851 work -- not quite implemented yet.
26853 2005-06-25 Wim Taymans <wim@fluendo.com>
26855 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26856 At least get the chain function correct, needs more
26859 2005-06-25 Wim Taymans <wim@fluendo.com>
26861 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26862 (gst_basesink_handle_object), (gst_basesink_event),
26863 (gst_basesink_do_sync), (gst_basesink_handle_event),
26864 (gst_basesink_change_state):
26866 Right, two problems here: ghostpads don't take locks and
26867 glib _rec_mutex_lock_full() with depth==0 still locks.
26868 Catch illegal locking and g_warn them.
26870 2005-06-25 Wim Taymans <wim@fluendo.com>
26872 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26873 Have to check for completion now...
26875 2005-06-25 Wim Taymans <wim@fluendo.com>
26877 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26878 (gst_basesink_handle_object), (gst_basesink_event),
26879 (gst_basesink_do_sync), (gst_basesink_handle_event),
26880 (gst_basesink_change_state):
26882 Unlock STREAM_LOCK whatever the recursion was.
26884 2005-06-25 Wim Taymans <wim@fluendo.com>
26886 * gst/base/gstbasesink.c: (gst_basesink_set_property),
26887 (gst_basesink_preroll_queue_empty),
26888 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26889 (gst_basesink_event), (gst_basesink_do_sync),
26890 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26891 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26892 (gst_basesink_change_state):
26893 Reworked the base sink, handle event and buffer serialisation
26894 correctly and removed possible deadlock.
26895 Handle EOS correctly.
26897 2005-06-25 Wim Taymans <wim@fluendo.com>
26899 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26900 (gst_pipeline_change_state):
26901 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26902 Allow elements to post EOS in the state change function.
26903 Fix up -launch, make it exit the poll loop when the
26904 pipeline actually changed state.
26905 Fix up warning parsing in -launch.
26907 2005-06-25 Wim Taymans <wim@fluendo.com>
26909 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26910 (gst_tee_sink_activate):
26911 Core takes STREAM_LOCK for us now.
26913 2005-06-25 Wim Taymans <wim@fluendo.com>
26915 * gst/gstelement.c: (gst_element_get_state_func),
26916 (gst_element_set_state):
26917 * gst/gstelement.h:
26918 * gst/gstmessage.c: (gst_message_parse_error),
26919 (gst_message_parse_warning):
26920 Keep track of current target state while performing a state
26921 change so that subclasses can do something interesting.
26922 Fix parsing of warning/error messages when GError is NULL.
26924 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
26926 * docs/gst/Makefile.am:
26927 * docs/gst/gstreamer-docs.sgml:
26928 * docs/gst/gstreamer-sections.txt:
26929 * docs/gst/gstreamer.types:
26930 * docs/gst/tmpl/gstbasesink.sgml:
26931 * docs/gst/tmpl/gstbasesrc.sgml:
26932 * docs/gst/tmpl/gstbin.sgml:
26933 * docs/gst/tmpl/gstcompat.sgml:
26934 * docs/gst/tmpl/gstfakesink.sgml:
26935 * docs/gst/tmpl/gstfakesrc.sgml:
26936 * docs/gst/tmpl/gstfilesink.sgml:
26937 * docs/gst/tmpl/gstfilesrc.sgml:
26938 * docs/gst/tmpl/gstindex.sgml:
26939 * docs/manual/appendix-quotes.xml:
26940 * gst/base/gstbasesrc.h:
26941 * gst/elements/gstfakesrc.h:
26942 * gst/gstmessage.h:
26943 start pulling in base classes and elements in our docs
26945 2005-06-24 Stefan Kost <ensonic@users.sf.net>
26947 * docs/gst/Makefile.am:
26948 * docs/libs/Makefile.am:
26949 fixed make distcheck with gtk-doc 1.3
26951 2005-06-23 Wim Taymans <wim@fluendo.com>
26953 * gst/gstelement.c: (gst_element_get_state_func),
26954 (gst_element_set_state), (gst_element_change_state):
26955 When the state did not change, also report NO_PREROLL
26958 2005-06-23 Wim Taymans <wim@fluendo.com>
26960 * gst/gstpad.c: (gst_pad_event_default):
26961 * gst/gstqueue.c: (gst_queue_loop):
26962 No unsafe task pausing please.
26964 2005-06-23 Wim Taymans <wim@fluendo.com>
26966 * gst/schedulers/threadscheduler.c:
26967 (gst_thread_scheduler_task_start),
26968 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26969 Ref the task before pushing it on the threadpool. This
26970 makes sure that we have a ref when the threadfunction is
26973 2005-06-23 Andy Wingo <wingo@pobox.com>
26975 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26976 offset is greater than the file's size.
26978 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
26979 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
26980 * gst/gstobject.c (gst_object_class_init): Make the class lock
26981 recursive. Wim won't let me drop deep_notify. Decodebin works
26982 again, whoopdy doo.
26984 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
26985 internal pad, and hacks accordingly. Doesn't do it on the target
26986 pad because we change its caps. Probably catches all cases of
26988 (gst_ghost_pad_set_property): Connect to notify::caps as
26991 * tests/network-clock.scm (plot-simulation): Pipe data to the
26992 elite python skript.
26994 * tests/network-clock-utils.scm (define-parameter): New macro,
26995 defines a parameter that can be set via the command line.
26996 (set-parameter!, parse-parameter-arguments): Command line args
26999 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27002 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27004 * gst/elements/gsttypefindelement.c:
27005 (gst_type_find_element_handle_event):
27006 Don't restart typefinding on a discont.
27007 * gst/gstelement.c: (gst_element_set_state):
27008 Debug spelling fix.
27009 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27010 Allow changing mode of an active pad.
27011 Debug output fixes.
27012 * gst/registries/gstlibxmlregistry.c: (load_feature):
27013 Don't cast a static pad template to a normal pad template.
27015 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27017 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27018 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27019 remove gst_strtoll completely, since it didn't actually do
27020 anything more than what g_ascii_strtoull already does.
27021 check for range errors when deserializing
27022 do a cast for the unsigned cases; but further fixing needs
27023 a decision on what the interpretation of "(int)" and
27024 deserialization should be for values that fall outside the
27025 type's boundaries (ie, refuse, or interpret as casting)
27027 2005-06-23 Wim Taymans <wim@fluendo.com>
27029 * check/Makefile.am:
27030 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27031 * docs/design/part-live-source.txt:
27032 * docs/design/part-states.txt:
27033 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27034 (gst_basesrc_set_live), (gst_basesrc_is_live),
27035 (gst_basesrc_get_range), (gst_basesrc_activate),
27036 (gst_basesrc_change_state):
27037 * gst/base/gstbasesrc.h:
27038 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27039 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27040 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27041 * gst/gstelement.c: (gst_element_get_state_func),
27042 (gst_element_set_state):
27043 * gst/gstelement.h:
27045 * tools/gst-launch.c: (event_loop), (main):
27046 Added support for live sources and other elements that
27048 Updated design docs, added live-source design doc.
27049 Implemented live source functionality in basesrc
27050 Fix error condition in _bin_get_state()
27051 Implement live source handling in -launch.
27052 Added check for live sources.
27053 Fixed case in GstBin where elements were changed state
27057 2005-06-23 Andy Wingo <wingo@pobox.com>
27059 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27060 borken refcounting.
27062 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27063 gst_caps_replace takes care of this for us.
27065 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27066 gst_pad_set_caps on the target, not just its setcaps() function.
27068 * tests/network-clock.scm:
27069 * tests/network-clock-utils.scm: A network clock simulator.
27070 Something of an algorithmic testbed before doing something in C.
27072 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27074 * check/Makefile.am:
27075 * check/gst/capslist.h:
27076 copy over from 0.8, and add two with bitmasks specified with
27078 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27079 add test to parse everything from capslist.h
27080 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27082 add test for structure deserialization
27083 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27084 add tests for deserialization of strings to int types
27085 * gst/gststructure.c: (gst_structure_nth_field_name):
27086 * gst/gststructure.h:
27087 add a way to get the name of a field referenced by index
27088 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27089 instead of checking if the resulting long long lies between
27090 min and max, we check if the long long would fit into
27091 a number of bytes for the final type.
27092 This fixes cases where a string represents 2^32 - 1, which
27093 when cast to int would be the (valid) -1, but is bigger than
27096 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27098 * gst/parse/grammar.y:
27099 add a log line for type deserialization
27101 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27103 * check/gst/gstvalue.c: (START_TEST):
27104 * gst/gstvalue.c: (gst_value_deserialize):
27105 return long long, not int, so gint64 deserialization actually
27106 works. Is there any flag that makes the compiler check this ?
27109 2005-06-22 Wim Taymans <wim@fluendo.com>
27112 Added convenience macros for setting buffers in GValue.
27114 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27116 * check/gst/.cvsignore:
27117 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27118 add a test deserializing int64, and comment part out because
27121 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27123 * check/Makefile.am:
27124 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27125 * testsuite/Makefile.am:
27126 * testsuite/caps/Makefile.am:
27127 * testsuite/caps/value_serialize.c:
27128 * testsuite/test_gst_init.c:
27129 move a value_serialize test over
27131 2005-06-20 Wim Taymans <wim@fluendo.com>
27136 * gst/gstvalue.c: (gst_value_compare_buffer),
27137 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27138 (gst_value_compare_flags), (gst_value_serialize_flags),
27139 (gst_value_deserialize_flags), (_gst_value_initialize):
27140 Fix serialisation of buffers, they are not boxed types anymore
27142 2005-06-20 Wim Taymans <wim@fluendo.com>
27144 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27145 Testcase to show error in buffer-on-caps serialisation.
27147 2005-06-20 Andy Wingo <wingo@pobox.com>
27149 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27150 will be adding to later.
27152 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27153 if its socks fill with rocks.
27154 (gst_system_clock_obtain): Set the name on object construction.
27155 Avoid double-checked locking.
27157 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27159 * gst/gsturi.c: (gst_element_make_from_uri):
27160 Fix potential endless loop.
27162 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27164 * check/Makefile.am:
27166 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27168 move over from testsuite dir and clean up
27171 * testsuite/Makefile.am:
27172 * testsuite/tags/.cvsignore:
27173 * testsuite/tags/Makefile.am:
27174 * testsuite/tags/merge.c:
27175 remove testsuite/tags
27177 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27179 * docs/gst/gstreamer-sections.txt:
27180 * docs/gst/tmpl/gstenumtypes.sgml:
27181 * win32/gstenumtypes.c:
27182 clean up documentation build a little
27184 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27186 * check/gstcheck.h:
27187 add macros for checking refcounts on objects and caps
27188 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27189 add some more unit tests
27190 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27191 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27192 fix leaked refcounts (I hope :)) so unittest works
27196 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27198 * configure.ac: back to HEAD
27200 === release 0.9.1 ===
27202 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27208 2005-06-17 Andy Wingo <wingo@pobox.com>
27210 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27211 assert; it's always possible that the pad gets deactivated in
27212 between the checks in gstpad.c and the implementation. Rely on
27213 finish_preroll() to return a FLUSHING or similar instead of on the
27216 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27217 clock and post an EOS message if we come out of finish_preroll in
27220 2005-06-16 David Schleef <ds@schleef.org>
27222 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27223 (gst_capsfilter_set_property): Allow NULL as possible value
27224 for filter_caps property, indicating GST_CAPS_ANY.
27226 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27228 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27230 * gst/schedulers/Makefile.am:
27232 * gstreamer.spec.in:
27235 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27237 * gstreamer.spec.in:
27240 2005-06-08 Andy Wingo <wingo@pobox.com>
27242 * gst/gstutils.c: RPAD fixes all around.
27243 (gst_element_link_pads): Refcounting fixes.
27245 * tools/gst-inspect.c:
27246 * tools/gst-xmlinspect.c:
27248 * gst/base/gsttypefindhelper.c:
27249 * gst/base/gstbasesink.c:
27250 * gst/gstqueue.c: RPAD fixes.
27252 * gst/gstghostpad.h:
27253 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27254 pads. The tricky thing is they provide both source and sink
27255 interfaces, since they proxy the internal pad for the external
27256 pad, and vice versa. Implement with lower-level ProxyPad objects,
27257 with the interior proxy pad as a child of the exterior ghost pad.
27258 Should write a doc on this.
27260 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27261 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27264 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27265 pads are real pads. No ghost pads in this file. Not documenting
27266 the myriad s/RPAD/PAD/ and REALIZE fixes.
27267 (gst_pad_class_init): Add properties for "direction" and
27268 "template". Both are construct-only, so they can't change during
27269 the life of the pad. Fixes properly deriving from GstPad.
27270 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27271 derived objects, just set properties when creating the objects via
27273 (gst_pad_get_parent): Implement as a function, return NULL if the
27274 parent is not an element.
27275 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27276 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27278 * gst/gstobject.c (gst_object_class_init): Make name a construct
27279 property. Don't set it in the object init.
27281 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27282 with UNKNOWN direction.
27283 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27284 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27285 (gst_element_remove_pad): Remove ghost-pad special cases.
27286 (gst_element_pads_activate): Remove rpad cruft.
27288 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27289 catch the pad's-parent-not-an-element case.
27291 * gst/gst.h: Include gstghostpad.h.
27293 * gst/gst.c (init_post): No more real, ghost pads.
27295 * gst/Makefile.am: Add gstghostpad.[ch].
27297 * check/Makefile.am:
27298 * check/gst/gstbin.c:
27299 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27300 into a bin creates ghost pads, and that the refcounts are right.
27301 Partly moved from gstbin.c.
27303 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27305 * check/gst-libs/.cvsignore:
27306 * check/gst/.cvsignore:
27307 * check/pipelines/.cvsignore:
27309 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27310 (START_TEST), (cleanup_suite), (main):
27311 add some tests related to cleanup after running pipelines
27313 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27315 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27316 add a testsuite for GstBuffer
27318 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27320 * gst/gstminiobject.h:
27321 add defines for accessing the refcount
27323 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27325 * Makefile.am: added support for html unit test coverage reports
27327 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27329 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27330 Free existing caps if the capsfilter changes. Add a FIXME about
27331 setting those caps on the pads.
27333 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27334 Before adding a ghost pad to a parent bin, check that there isn't
27335 already one for the element on the bin. Prevents infinite recursion
27336 when using decodebin in parse pipelines. Andy says he'll rewrite the
27337 way this works anyway, so ignore the hack.
27339 2005-06-02 Andy Wingo <wingo@pobox.com>
27341 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27342 file size, pass it on to the type find helper.
27344 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27345 segment_start and segment_end properly according to the seek
27346 method. Segment_end is still a bit flaky because offset can be
27347 negative for CUR and END cases, but it takes -1 as an "unset"
27350 2005-06-02 Wim Taymans <wim@fluendo.com>
27352 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27353 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27354 (gst_basesink_activate):
27355 * gst/base/gstbasesink.h:
27356 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27357 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27358 (gst_pad_query), (gst_pad_start_task):
27360 * gst/gstqueue.c: (gst_queue_bufferalloc),
27361 (gst_queue_handle_sink_event), (gst_queue_chain):
27362 Bufferalloc: return GstFlowReturn to more accuratly report
27363 why allocation failed.
27365 2005-06-02 Wim Taymans <wim@fluendo.com>
27367 * gst/gstpipeline.c: (gst_pipeline_send_event):
27368 Take snapshot of state without blocking.
27370 2005-06-02 Wim Taymans <wim@fluendo.com>
27372 * docs/design/part-TODO.txt:
27373 * docs/design/part-caps.txt:
27374 * docs/design/part-clocks.txt:
27375 * docs/design/part-negotiation.txt:
27376 * docs/design/part-preroll.txt:
27379 2005-05-30 Wim Taymans <wim@fluendo.com>
27381 * gst/elements/gstidentity.c: (gst_identity_event),
27382 (gst_identity_transform), (gst_identity_get_property):
27383 Protect last_message property as it is accessed from
27386 2005-05-30 Wim Taymans <wim@fluendo.com>
27388 * gst/gstelement.c: (gst_element_init),
27389 (gst_element_pads_activate), (gst_element_change_state):
27390 Slicker pad activation code.
27392 2005-05-30 Wim Taymans <wim@fluendo.com>
27395 * gst/gstelement.h:
27396 * gst/gstelementfactory.h:
27398 Move elementfactory methods to separate .h file.
27400 2005-05-30 Wim Taymans <wim@fluendo.com>
27402 * docs/design/part-overview.txt:
27403 * gst/gstsystemclock.h:
27404 Small typo fixes, doc updates.
27406 2005-05-30 Wim Taymans <wim@fluendo.com>
27408 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27409 (init_popt_callback):
27410 Remove cpu-opt flag.
27412 2005-05-30 Wim Taymans <wim@fluendo.com>
27414 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27415 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27417 Avoid typechecking in places where not needed.
27418 Added accessor for malloc_data.
27420 2005-05-30 Wim Taymans <wim@fluendo.com>
27422 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27423 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27424 (gst_pad_configure_sink), (gst_pad_configure_src),
27425 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27426 (gst_pad_start_task):
27427 Propagate errors from _set_caps() in configure_src/sink
27428 functions instead of returning TRUE.
27429 FLUSH events can travel up and downstream
27432 2005-05-30 Wim Taymans <wim@fluendo.com>
27434 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27435 (gst_basesink_activate):
27436 Handle EOS in preroll.
27438 2005-05-30 Wim Taymans <wim@fluendo.com>
27440 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27441 (gst_queue_loop), (gst_queue_handle_src_event):
27442 Remove old pieces of code
27443 Flushing the queue in an upstream event is a very bad idea.
27445 2005-05-26 Andy Wingo <wingo@pobox.com>
27447 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27448 gst_value_set_mini_object so as to add a ref on the object (which
27449 will be removed when the value is unset).
27451 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27452 arg type in ::handoff.
27454 * gst/gstelement.c (gst_element_change_state): Also deactivate
27455 pads in READY->NULL, just in case the element didn't make it to
27456 PAUSED. Wingo tested, Wim approved.
27458 2005-05-26 Wim Taymans <wim@fluendo.com>
27460 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27461 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27462 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27463 A flushing pad cannot be used to alloc_buffer from.
27465 2005-05-26 Wim Taymans <wim@fluendo.com>
27467 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27468 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27469 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27470 (gst_bus_create_watch), (gst_bus_add_watch_full):
27472 Implement a real GSource and use g_main_context_wakeup() to
27473 signal new messages instead of the socketpair.
27475 2005-05-25 Wim Taymans <wim@fluendo.com>
27477 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27478 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27479 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27480 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27481 (gst_pad_send_event), (gst_pad_start_task):
27482 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27483 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27484 (gst_queue_sink_activate), (gst_queue_src_activate),
27485 (gst_queue_change_state):
27487 Fix state changes for non sinks. We now change sinks, then elements
27488 with unconnected srcpads, then the rest.
27489 More efficient queue unlocking in flush and state changes.
27490 Set the pad activate mode even if it does not have an activate
27493 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27495 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27496 Don't go in pull mode for non-seekable sources.
27497 * gst/elements/gsttypefindelement.h:
27498 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27499 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27500 (free_entry), (stop_typefinding),
27501 (gst_type_find_element_handle_event), (find_peek),
27502 (gst_type_find_element_chain), (do_pull_typefind),
27503 (gst_type_find_element_change_state):
27504 Allow typefinding (w/o seeking) in push-mode, simplified version
27505 of what was in 0.8.
27506 * gst/gstutils.c: (gst_buffer_join):
27508 gst_buffer_join() from 0.8.
27510 2005-05-25 Wim Taymans <wim@fluendo.com>
27512 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27513 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27514 (gst_pad_send_event), (gst_pad_start_task):
27515 Disable attempt at mode switching until it is figured out.
27517 2005-05-25 Wim Taymans <wim@fluendo.com>
27519 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27520 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27521 (gst_basesink_finish_preroll), (gst_basesink_chain),
27522 (gst_basesink_loop), (gst_basesink_activate),
27523 (gst_basesink_change_state):
27524 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27525 (gst_basesrc_get_range), (gst_basesrc_loop),
27526 (gst_basesrc_activate):
27527 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27528 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27529 (gst_real_pad_init), (gst_real_pad_set_property),
27530 (gst_real_pad_get_property), (gst_pad_set_active),
27531 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27532 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27533 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27534 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27535 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27536 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27537 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27538 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27539 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27540 (gst_pad_stop_task):
27542 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27543 (gst_queue_loop), (gst_queue_src_activate):
27544 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27545 (gst_task_get_state):
27547 * gst/schedulers/threadscheduler.c:
27548 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27549 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27551 Remove ACTIVE pad flag, use FLUSHING everywhere
27552 Added _pad_chain(), _pad_get_range() to call chain/getrange
27554 Add locks around IS_FLUSHING when reading.
27555 Take STREAM lock in chain(), get_range() functions so plugins
27556 don't need to take it anymore.
27560 2005-05-25 Wim Taymans <wim@fluendo.com>
27562 * tools/gst-launch.c: (event_loop):
27563 Unref message after using its contents instead of
27566 2005-05-24 Wim Taymans <wim@fluendo.com>
27568 * docs/design/draft-ghostpads.txt:
27569 * docs/design/draft-push-pull.txt:
27570 * docs/design/draft-query.txt:
27571 * docs/design/part-overview.txt:
27572 Docs updates, added general overview doc.
27574 2005-05-21 David Schleef <ds@schleef.org>
27576 * docs/gst/tmpl/old/GstBin.sgml:
27577 * docs/gst/tmpl/old/GstBuffer.sgml:
27578 * docs/gst/tmpl/old/GstCaps.sgml:
27579 * docs/gst/tmpl/old/GstClock.sgml:
27580 * docs/gst/tmpl/old/GstCompat.sgml:
27581 * docs/gst/tmpl/old/GstData.sgml:
27582 * docs/gst/tmpl/old/GstElement.sgml:
27583 * docs/gst/tmpl/old/GstEvent.sgml:
27584 * docs/gst/tmpl/old/GstIndex.sgml:
27585 * docs/gst/tmpl/old/GstStructure.sgml:
27586 * docs/gst/tmpl/old/GstTag.sgml:
27587 * docs/gst/tmpl/old/cothreads.sgml:
27588 * docs/gst/tmpl/old/cothreads_compat.sgml:
27589 * docs/gst/tmpl/old/gettext.sgml:
27590 * docs/gst/tmpl/old/gobject2gtk.sgml:
27591 * docs/gst/tmpl/old/grammar.tab.sgml:
27592 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27593 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27594 * docs/gst/tmpl/old/gst_private.sgml:
27595 * docs/gst/tmpl/old/gstaggregator.sgml:
27596 * docs/gst/tmpl/old/gstarch.sgml:
27597 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27598 * docs/gst/tmpl/old/gstbufferstore.sgml:
27599 * docs/gst/tmpl/old/gstdata_private.sgml:
27600 * docs/gst/tmpl/old/gstdisksink.sgml:
27601 * docs/gst/tmpl/old/gstdisksrc.sgml:
27602 * docs/gst/tmpl/old/gstelementfactory.sgml:
27603 * docs/gst/tmpl/old/gstextratypes.sgml:
27604 * docs/gst/tmpl/old/gstfakesink.sgml:
27605 * docs/gst/tmpl/old/gstfakesrc.sgml:
27606 * docs/gst/tmpl/old/gstfdsink.sgml:
27607 * docs/gst/tmpl/old/gstfdsrc.sgml:
27608 * docs/gst/tmpl/old/gstfilesink.sgml:
27609 * docs/gst/tmpl/old/gstfilesrc.sgml:
27610 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27611 * docs/gst/tmpl/old/gstidentity.sgml:
27612 * docs/gst/tmpl/old/gstindexfactory.sgml:
27613 * docs/gst/tmpl/old/gstmarshal.sgml:
27614 * docs/gst/tmpl/old/gstmd5sink.sgml:
27615 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27616 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27617 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27618 * docs/gst/tmpl/old/gstpipefilter.sgml:
27619 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27620 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27621 * docs/gst/tmpl/old/gstshaper.sgml:
27622 * docs/gst/tmpl/old/gstspider.sgml:
27623 * docs/gst/tmpl/old/gstspideridentity.sgml:
27624 * docs/gst/tmpl/old/gststatistics.sgml:
27625 * docs/gst/tmpl/old/gsttee.sgml:
27626 * docs/gst/tmpl/old/gsttimecache.sgml:
27627 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27628 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27629 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27630 * docs/gst/tmpl/old/types.sgml:
27631 I didn't intend to add these or check them in.
27633 2005-05-19 David Schleef <ds@schleef.org>
27635 * configure.ac: Use -no-common everywhere. In a sane world, it
27636 would be the default in libtool, because without it, you can't
27637 build DLLs on Windows.
27638 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27639 * docs/gst/gstreamer-sections.txt:
27640 * docs/gst/tmpl/gstcpu.sgml:
27641 * docs/gst/tmpl/gstdata.sgml:
27642 * docs/gst/tmpl/gstthread.sgml:
27644 2005-05-19 David Schleef <ds@schleef.org>
27646 * gst/gstminiobject.c: (gst_value_set_mini_object),
27647 (gst_value_take_mini_object), (gst_value_get_mini_object):
27648 * gst/gstminiobject.h: Add GValue set/get functions.
27650 2005-05-19 Wim Taymans <wim@fluendo.com>
27652 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27653 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27654 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27656 * gst/gstbus.c: (gst_bus_post):
27657 * gst/gstelement.c: (gst_element_get_random_pad):
27658 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27659 Make subbufer unref the parent in finalize.
27660 some more debugging info.
27663 2005-05-19 Wim Taymans <wim@fluendo.com>
27665 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27666 (gst_basesink_init), (gst_basesink_finalize),
27667 (gst_basesink_activate), (gst_basesink_change_state):
27668 Don't free preroll queue too early.
27670 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27674 Hi, I'm outdated. Please shoot me.
27676 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27678 * gst/gstpipeline.c: (gst_pipeline_send_event):
27679 Do not access variables after they have been deleted.
27681 2005-05-19 Wim Taymans <wim@fluendo.com>
27683 * tools/gst-inspect.c: (print_plugin_features):
27684 A plugin feature does unfortunatly not use the
27687 2005-05-18 Wim Taymans <wim@fluendo.com>
27689 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27690 Port _span() functions to new subbuffers.
27692 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27694 * gst/gstbin.c: (gst_bin_add_func):
27695 Fix clock settery in bins when adding kids after the clock has
27698 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27700 * gst/elements/gstidentity.c: (gst_identity_class_init):
27701 Workaround until signals support GstMiniObject.
27703 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27706 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27708 2005-05-18 Wim Taymans <wim@fluendo.com>
27710 * gst/base/Makefile.am:
27711 * gst/base/gstadapter.c: (gst_adapter_base_init),
27712 (gst_adapter_class_init), (gst_adapter_init),
27713 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27714 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27715 (gst_adapter_flush), (gst_adapter_available),
27716 (gst_adapter_available_fast):
27717 * gst/base/gstadapter.h:
27718 Ported and added adapter to the base classes.
27720 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27723 * gst/gstmessage.c:
27724 Make sure the class is reffed/unreffed once before threads can be
27725 used. Fixes #304551.
27727 2005-05-17 Wim Taymans <wim@fluendo.com>
27729 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27730 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27731 * gst/gstminiobject.c: (gst_mini_object_get_type),
27732 (gst_mini_object_free):
27733 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27734 (gst_pad_push), (gst_pad_push_event):
27735 * gst/gstqueue.c: (gst_queue_change_state):
27736 Don't queue buffers in basesink when we are flushing.
27737 Unref buffer when flushing in basesink.
27738 Flush queue when going to READY
27739 Unref buffer when _push() returns an error.
27740 Don't free MiniObject instance when refcount is incremented
27741 in _finalize() so that we can recover objects.
27743 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27745 * docs/manual/advanced-schedulers.xml:
27746 * docs/manual/appendix-checklist.xml:
27747 * docs/pwg/advanced-clock.xml:
27748 * docs/pwg/advanced-interfaces.xml:
27749 * docs/pwg/advanced-request.xml:
27750 * docs/pwg/advanced-types.xml:
27751 * docs/pwg/intro-preface.xml:
27752 * examples/plugins/example.c: (gst_example_get_type),
27753 (gst_example_class_init), (gst_example_chain),
27754 (gst_example_set_property), (gst_example_get_property),
27755 (gst_example_change_state), (plugin_init):
27756 * examples/plugins/example.h:
27759 2005-05-17 Wim Taymans <wim@fluendo.com>
27761 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27762 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27763 * gst/gstqueue.c: (gst_queue_change_state):
27764 Clear queue when going to READY.
27765 Remove IN_SETCAPS flag too.
27767 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27769 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27770 Remove implicit cast from gboolean to GstElementStateReturn;
27771 make sure we still return failure in paused => ready case if
27772 the parent class fails to change state and our own stop
27775 2005-05-17 Wim Taymans <wim@fluendo.com>
27777 * tools/gst-launch.c: (event_loop):
27778 Message was unreffed too soon.
27780 2005-05-16 Andy Wingo <wingo@pobox.com>
27782 * gst/gstbin.c (sink_iterator_filter): Err... um...
27784 * check/gst/gstbin.c (test_ghost_pads): New test for the
27785 ghosting-if-elements-not-in-same-bin behavior.
27787 2005-05-16 David Schleef <ds@schleef.org>
27789 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27790 accessing refcount directly.
27792 2005-05-15 David Schleef <ds@schleef.org>
27794 * check/Makefile.am: remove GstData checks
27795 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27796 * gst/Makefile.am: add miniobject, remove data
27797 * gst/gst.h: add miniobject, remove data
27798 * gst/gstdata.c: remove
27799 * gst/gstdata.h: remove
27800 * gst/gstdata_private.h: remove
27801 * gst/gsttypes.h: remove GstEvent and GstMessage
27802 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27803 * gst/gstmarshal.list: change BOXED -> OBJECT
27805 Implement GstMiniObject.
27806 * gst/gstminiobject.c:
27807 * gst/gstminiobject.h:
27809 Modify to be subclasses of GstMiniObject.
27810 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27811 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27812 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27813 (gst_subbuffer_get_type), (gst_subbuffer_init),
27814 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27817 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27818 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27819 (_gst_event_copy), (gst_event_new):
27821 * gst/gstmessage.c: (_gst_message_initialize),
27822 (gst_message_get_type), (gst_message_class_init),
27823 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27824 (gst_message_new), (gst_message_new_error),
27825 (gst_message_new_warning), (gst_message_new_tag),
27826 (gst_message_new_state_changed), (gst_message_new_application):
27827 * gst/gstmessage.h:
27828 * gst/gstprobe.c: (gst_probe_perform),
27829 (gst_probe_dispatcher_dispatch):
27831 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27832 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27833 (_gst_query_copy), (gst_query_new):
27835 Update elements for GstData -> GstMiniObject changes
27837 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27838 (gst_queue_chain), (gst_queue_loop):
27839 * gst/elements/gstbufferstore.c:
27840 (gst_buffer_store_add_buffer_func),
27841 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27842 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27843 (gst_fakesink_render):
27844 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27845 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27846 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27847 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27848 (gst_filesrc_create_read):
27849 * gst/elements/gstidentity.c: (gst_identity_class_init):
27850 * gst/elements/gsttypefindelement.c:
27851 (gst_type_find_element_src_event), (free_entry_buffers),
27852 (gst_type_find_element_handle_event):
27853 * libs/gst/dataprotocol/dataprotocol.c:
27854 (gst_dp_header_from_buffer):
27855 * libs/gst/dataprotocol/dataprotocol.h:
27856 * libs/gst/dataprotocol/dp-private.h:
27858 2005-05-15 David Schleef <ds@schleef.org>
27860 * gst/elements/gstelements.c: Don't include headers that were
27863 2005-05-15 David Schleef <ds@schleef.org>
27865 * gst/elements/Makefile.am: Remove some elements that don't
27866 need to be in the core (or even exist at all).
27867 * gst/elements/gstaggregator.c:
27868 * gst/elements/gstaggregator.h:
27869 * gst/elements/gstmd5sink.c:
27870 * gst/elements/gstmd5sink.h:
27871 * gst/elements/gstmultifilesrc.c:
27872 * gst/elements/gstmultifilesrc.h:
27873 * gst/elements/gstpipefilter.c:
27874 * gst/elements/gstpipefilter.h:
27875 * gst/elements/gstshaper.c:
27876 * gst/elements/gstshaper.h:
27877 * gst/elements/gststatistics.c:
27878 * gst/elements/gststatistics.h:
27879 * po/POTFILES.in: Remove above files.
27881 2005-05-14 Andy Wingo <wingo@pobox.com>
27883 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27884 so as to get the refs right.
27885 (sink_iterator_filter): New function, wraps bin_element_is_sink,
27886 unreffing objects that don't pass the filter.
27888 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27889 gst_element_set_bus.
27890 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27891 normal cases, this will destroy the bus.
27893 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27896 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27899 2005-05-13 Andy Wingo <wingo@pobox.com>
27901 * gst/gstutils.c (gst_element_link_pads): Instead of calling
27902 gst_pad_link, call pad_link_maybe_ghosting,
27903 (pad_link_maybe_ghosting): Links pads, making sure that the
27904 elements being linked are in the same bin.
27905 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27906 Helpers for pad_link_maybe_ghosting.
27908 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27911 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27913 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27915 * docs/design/part-element-source.txt:
27918 2005-05-12 Wim Taymans <wim@fluendo.com>
27920 * gst/base/gstbasesink.c: (gst_basesink_init),
27921 (gst_basesink_activate):
27922 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27923 (gst_basesrc_is_seekable):
27924 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27925 (bin_element_is_sink), (gst_bin_change_state):
27926 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27927 * gst/gstelement.h:
27928 Identify sinks by their flag to avoid overly complicated
27930 Do state changes even for elements not reachable from the
27932 BaseSink is a sink now :)
27933 Some more debugging info in the basesrc.
27936 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27938 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27939 Implement _query on a bin, similar to _send_event.
27941 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
27943 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27944 Discont event offset format should be GST_FORMAT_BYTES,
27945 not GST_FORMAT_TIME.
27947 2005-05-12 Wim Taymans <wim@fluendo.com>
27949 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27950 Same fix as Ronald's but without the signal.
27952 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27954 * gst/gstutils.c: (gst_element_query_position):
27955 No, an element is not a pad.
27957 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27959 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27960 (gst_bin_get_state):
27961 If a child is removed from a bin while we remove the child from
27962 the bin and while we're retrieving its state, signal this to the
27963 get_state function so we abort the wait (instead of waiting for
27964 a timeout) and can immediately re-iterate over all other elements.
27966 2005-05-12 Wim Taymans <wim@fluendo.com>
27968 * gst/base/Makefile.am:
27969 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27970 (gst_basesrc_start):
27971 * gst/base/gstbasesrc.h:
27972 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27973 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27974 (gst_pushsrc_init), (gst_pushsrc_create):
27975 * gst/base/gstpushsrc.h:
27976 Added is_seekable to BaseSrc
27977 Added simple PushSrc.
27979 2005-05-11 Wim Taymans <wim@fluendo.com>
27981 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27982 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27983 (gst_element_link_pads), (gst_element_query_position),
27984 (gst_element_query_convert), (intersect_caps_func),
27985 (gst_pad_query_position), (gst_pad_query_convert):
27986 Fix refcounting in utils function.
27987 No point in trying to activate a pad when it's added, it could
27988 be added from the state change function and then we deadlock, the
27989 element has to decide what to do.
27991 2005-05-10 Andy Wingo <wingo@pobox.com>
27993 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
27994 *all* the arguments.
27996 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
27997 stream lock if it's a FLUSH_DONE; normal flushes don't get the
27998 lock (according to the docs -- if this is wrong change the docs).
28000 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28001 flush messages in the NULL state.
28003 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28004 message immediately and return.
28005 (gst_bus_set_flushing): New function. If a bus is flushing, it
28006 flushes out any queued messages and immediately unrefs new
28007 messages. This is so when an element goes to NULL, all of the
28008 unhandled messages coming from it can be freed, and their
28009 references to the element dropped. In other words: message source
28010 ref considered harmful :P
28012 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28013 we're finished with it.
28015 * gst/gstmessage.c (gst_message_new_state_changed):
28017 2005-05-10 Wim Taymans <wim@fluendo.com>
28019 * gst/gstvalue.c: (gst_value_compare_flags),
28020 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28021 (_gst_value_initialize):
28022 Added flags serialize/deserialize/compare code.
28024 2005-05-09 Andy Wingo <wingo@pobox.com>
28026 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28027 Intersect the peer's caps with our caps.
28029 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28031 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28032 * gst/elements/gsttypefindelement.c: (find_peek):
28033 Handle negative offsets better. Fixes decodebin.
28035 2005-05-09 Wim Taymans <wim@fluendo.com>
28037 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28038 (gst_base_transform_event):
28039 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28040 Implement accept_caps.
28041 Fix silly lock/unlock mismatch in base class.
28043 2005-05-09 Wim Taymans <wim@fluendo.com>
28045 * docs/design/draft-push-pull.txt:
28046 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28047 * gst/elements/gstfilesink.c: (gst_filesink_init),
28048 (gst_filesink_query):
28049 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28050 (gst_type_find_handle_src_query), (find_element_get_length):
28051 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28052 * gst/gstelement.h:
28053 * gst/gstmessage.c:
28054 * gst/gstmessage.h:
28055 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28056 (gst_real_pad_get_caps_unlocked),
28057 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28058 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28059 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28060 (gst_real_pad_dispose), (gst_real_pad_finalize),
28061 (gst_pad_load_and_link), (gst_pad_save_thyself),
28062 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28063 (gst_pad_check_pull_range), (gst_pad_pull_range),
28064 (gst_pad_template_get_type), (gst_pad_template_class_init),
28065 (gst_pad_template_init), (gst_pad_template_dispose),
28066 (name_is_valid), (gst_static_pad_template_get),
28067 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28068 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28069 (gst_pad_get_element_private), (gst_pad_start_task),
28070 (gst_pad_pause_task), (gst_pad_stop_task),
28071 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28072 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28073 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28074 (gst_ghost_pad_new):
28076 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28077 (gst_query_new_position), (gst_query_set_position),
28078 (gst_query_parse_position), (gst_query_new_convert),
28079 (gst_query_set_convert), (gst_query_parse_convert):
28081 * gst/gstqueryutils.c:
28082 * gst/gstqueryutils.h:
28083 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28084 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28085 (gst_queue_handle_src_query):
28086 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28087 (gst_element_query_position), (gst_element_query_convert),
28088 (intersect_caps_func), (gst_pad_query_position),
28089 (gst_pad_query_convert):
28091 * tools/gst-inspect.c: (print_pad_info):
28092 * tools/gst-xmlinspect.c: (print_element_info):
28093 Remove old query functions. Ported old code.
28094 Added position/convert helper functions to gstutils.
28095 Reordered gstpad.c code, grouping relevant things.
28096 Remove gst_message_new(), always need to speficy a specific
28100 2005-05-09 Andy Wingo <wingo@pobox.com>
28102 * gst/gstiterator.h: Add some includes.
28104 * gst/gstqueryutils.h: Include more headers.
28107 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28108 some uses of gst_pad_query.
28110 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28111 NULL out parameters.
28112 (gst_query_new_position): New proc, allocates a new position
28115 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28116 gstqueryutils.c to the build.
28118 * gst/gststructure.c (gst_structure_set_valist): Implement with
28119 the generic G_VALUE_COLLECT.
28121 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28123 * gst/Makefile.am: (gst_headers):
28124 Added gstqueryutils.h to the list of headers to install, that was
28125 a 'nachty' move wingo :)
28127 2005-05-06 Andy Wingo <wingo@pobox.com>
28130 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28131 GstData, init a memchunk.
28132 (standard_definitions): Add a few query types, deprecate a few.
28133 (gst_query_get_type): New proc.
28134 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28136 (gst_query_new_application, gst_query_get_structure): New public
28139 * docs/design/draft-query.txt: Removed LINKS from the query types,
28140 because all the rest can be dispatched to other pads -- seemed
28141 ugly to have a query that couldn't be dispatched. internal_links
28142 is fine as a pad method.
28144 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28145 in gstpad.c, but maintain binary compatibility for the moment.
28146 Will fix before 0.9 is out.
28148 * gst/gstqueryutils.c:
28149 * gst/gstqueryutils.h: New files, implement 3 methods for each
28150 query type: parse_query, parse_response, and set. Probably need an
28153 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28155 * gst/elements/gstfilesink.c (gst_filesink_query2):
28156 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28157 query_types, and formats methods.
28159 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28160 (gst_pad_set_query2_function): New functions.
28161 (gst_real_pad_init): Set query2_default as the default query2
28162 function. Basically just dispatches to internally linked pads.
28166 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28167 without using the atomic operations. Only one thread can possibly
28168 be accessing the data at this point. Changed so as to avoid
28169 gst_atomic operations.
28171 2005-05-06 Wim Taymans <wim@fluendo.com>
28173 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28174 Also set caps if we use the fallback buffer alloc.
28176 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28178 * docs/gst/Makefile.am:
28179 * docs/gst/gstreamer-docs.sgml:
28180 * docs/gst/gstreamer-sections.txt:
28181 * docs/gst/tmpl/gstatomic.sgml:
28182 * docs/gst/tmpl/gstmemchunk.sgml:
28183 * testsuite/elements/struct_i386.h:
28184 * win32/GStreamer.vcproj:
28186 Purge GstAtomic stuff from docs and win32 makefiles as well
28188 2005-05-06 Wim Taymans <wim@fluendo.com>
28190 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28191 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28192 * gst/gstpad.c: (gst_pad_peer_get_caps):
28193 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28194 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28195 (gst_queue_src_activate), (gst_queue_change_state):
28197 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28198 (intersect_caps_func):
28199 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28200 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28201 Some fixes for the peer_get_caps() change.
28203 2005-05-06 Wim Taymans <wim@fluendo.com>
28205 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28206 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28207 (gst_basesink_activate):
28208 Actually do something with error codes returned from the push
28211 2005-05-06 Wim Taymans <wim@fluendo.com>
28213 * docs/design/part-element-sink.txt:
28214 * docs/design/part-element-source.txt:
28215 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28216 (gst_basesink_event), (gst_basesink_activate):
28217 * gst/base/gstbasesink.h:
28218 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28219 (gst_basesrc_activate):
28220 * gst/base/gstbasesrc.h:
28221 * gst/gstelement.c: (gst_element_pads_activate):
28222 Some more documentation.
28223 Fixed scheduling decision in _pads_activate().
28225 2005-05-05 Andy Wingo <wingo@pobox.com>
28227 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28230 2005-05-05 Wim Taymans <wim@fluendo.com>
28232 * gst/base/Makefile.am:
28233 * gst/base/gstbasesink.h:
28234 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28235 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28236 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28237 (gst_collectpads_class_init), (gst_collectpads_init),
28238 (gst_collectpads_finalize), (gst_collectpads_new),
28239 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28240 (find_pad), (gst_collectpads_remove_pad),
28241 (gst_collectpads_is_active), (gst_collectpads_collect),
28242 (gst_collectpads_collect_range), (gst_collectpads_start),
28243 (gst_collectpads_stop), (gst_collectpads_peek),
28244 (gst_collectpads_pop), (gst_collectpads_available),
28245 (gst_collectpads_read), (gst_collectpads_flush),
28246 (gst_collectpads_chain):
28247 * gst/base/gstcollectpads.h:
28248 * gst/elements/Makefile.am:
28249 * gst/elements/gstelements.c:
28250 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28251 (gst_fakesink_get_times), (gst_fakesink_event),
28252 (gst_fakesink_preroll), (gst_fakesink_render):
28253 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28254 (gst_filesink_init), (gst_filesink_set_location),
28255 (gst_filesink_open_file), (gst_filesink_close_file),
28256 (gst_filesink_pad_query), (gst_filesink_event),
28257 (gst_filesink_render), (gst_filesink_change_state):
28258 * gst/elements/gstfilesink.h:
28259 Added object to help in making collect pad based elements.
28261 Make event function in sink baseclass return gboolean.
28263 2005-05-05 Wim Taymans <wim@fluendo.com>
28265 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28266 (gst_bin_get_by_name):
28268 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28269 (gst_clock_finalize):
28270 * gst/gstdata.c: (gst_data_replace):
28272 * gst/gstelement.c: (gst_element_request_pad),
28273 (gst_element_pads_activate):
28274 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28275 (gst_object_unref):
28276 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28277 (gst_pad_set_checkgetrange_function),
28278 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28279 (gst_pad_check_pull_range), (gst_pad_pull_range),
28280 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28281 (gst_pad_pause_task), (gst_pad_stop_task):
28282 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28283 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28284 Fix name lookup in GstBin.
28285 Added _data_replace() function and _buffer_replace()
28286 Use finalize method to clean up clock.
28287 Fix refcounting on request pads.
28288 Fix pad schedule mode error.
28289 Some more object refcounting debug info,
28292 2005-05-04 Andy Wingo <wingo@pobox.com>
28294 * check/Makefile.am:
28295 * docs/gst/tmpl/gstatomic.sgml:
28296 * docs/gst/tmpl/gstplugin.sgml:
28297 * gst/base/gstbasesink.c: (gst_basesink_activate):
28298 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28299 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28300 (gst_basesrc_query), (gst_basesrc_set_property),
28301 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28302 (gst_basesrc_activate):
28303 * gst/base/gstbasesrc.h:
28304 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28305 (gst_base_transform_src_activate):
28306 * gst/elements/gstelements.c:
28307 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28308 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28309 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28310 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28311 (gst_type_find_element_checkgetrange),
28312 (gst_type_find_element_activate):
28313 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28314 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28315 (gst_caps_load_thyself):
28316 * gst/gstelement.c: (gst_element_pads_activate),
28317 (gst_element_save_thyself), (gst_element_restore_thyself):
28318 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28319 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28321 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28322 (gst_xml_parse_file), (gst_xml_parse_memory),
28323 (gst_xml_get_element), (gst_xml_make_element):
28324 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28325 (_file_index_id_save_xml), (gst_file_index_commit):
28326 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28327 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28329 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28330 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28331 * tools/gst-complete.c: (main):
28332 * tools/gst-compprep.c: (main):
28333 * tools/gst-inspect.c: (print_element_properties_info):
28334 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28335 * tools/gst-xmlinspect.c: (print_element_properties):
28338 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28340 * gst/gstplugin.c: (gst_plugin_check_module),
28341 (gst_plugin_check_file), (gst_plugin_load_file):
28342 apply patch from #172526 to make register work on MacOSX
28344 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28346 * docs/gst/tmpl/gstconfig.sgml:
28347 * gst/gstconfig.h.in:
28348 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28349 * testsuite/debug/printf_extension.c: (main):
28350 Do not use GST_PTR_FORMAT on pointers to types with
28351 sizeof < sizeof(gpointer). Fixes test on 64-bit
28352 * testsuite/elements/property.h:
28353 use correct printf format
28355 2005-05-02 Wim Taymans <wim@fluendo.com>
28357 * docs/design/draft-push-pull.txt:
28358 * docs/design/draft-query.txt:
28359 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28360 (gst_basesrc_start):
28361 Added draft for new query API.
28362 Added draft for better selecting scheduling methods.
28363 Make basesrc ignore length if the subclass does not support
28366 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28369 possible fixes for automake-1.5 - _LIBADD is reserved
28371 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28373 * docs/faq/Makefile.am:
28374 * docs/manual/Makefile.am:
28375 * docs/manuals.mak:
28376 * docs/pwg/Makefile.am:
28378 possible fixes for automake-1.5
28380 2005-04-28 Wim Taymans <wim@fluendo.com>
28382 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28383 (gst_basesink_pad_getcaps), (gst_basesink_init),
28384 (gst_basesink_do_sync):
28385 * gst/gstclock.c: (gst_clock_entry_new):
28386 * gst/gstevent.c: (gst_event_discont_get_value):
28387 * gst/gstpipeline.c: (pipeline_bus_handler),
28388 (gst_pipeline_change_state):
28389 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28390 Better debugging of clocking info.
28391 Allow NULL values when getting discont values.
28393 2005-04-27 Wim Taymans <wim@fluendo.com>
28395 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28396 * check/gst/gstpad.c: (gst_pad_suite):
28397 Increase timeout for checks.
28399 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28401 * check/Makefile.am:
28402 fix the broken rule for cleanup. Apparently this rule is
28403 only needed on FC2, so maybe this warrants further autotool
28406 2005-04-26 Wim Taymans <wim@fluendo.com>
28408 * gst/gsttrashstack.h:
28409 Ooohh. a nasty one! After having a failed pop() from the stack,
28410 it's possible that the stack is empty. In that case, don't
28411 follow the NULL pointer.
28413 2005-04-25 Wim Taymans <wim@fluendo.com>
28415 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28416 (gst_pad_set_checkgetrange_function),
28417 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28418 (gst_pad_check_pull_range), (gst_pad_pull_range),
28419 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28420 (gst_pad_pause_task), (gst_pad_stop_task):
28421 * gst/gstplugin.c: (gst_plugin_load):
28423 Remove gst_library_load as it does more harm than good with
28424 the new g_module flags.
28425 Revert bogus caps template check in pad linking, pad caps
28426 are important when linking not the template, which is more
28427 general than the current caps.
28429 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28431 * gst/autoplug/.cvsignore:
28432 * gst/autoplug/Makefile.am:
28433 * gst/autoplug/gstsearchfuncs.c:
28434 * gst/autoplug/gstsearchfuncs.h:
28435 * gst/autoplug/gstspider.c:
28436 * gst/autoplug/gstspider.h:
28437 * gst/autoplug/gstspideridentity.c:
28438 * gst/autoplug/gstspideridentity.h:
28439 * gst/autoplug/spidertest.c:
28442 2005-04-25 Wim Taymans <wim@fluendo.com>
28444 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28445 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28446 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28447 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28449 Added stubs for unimplemented functions.
28451 2005-04-24 David Schleef <ds@schleef.org>
28453 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28456 2005-04-24 David Schleef <ds@schleef.org>
28458 Convert everything from GstAtomicInt to g_atomic_int_*, and
28463 * gst/gstatomic_impl.h:
28471 * gst/gstdata_private.h:
28475 * gst/gstmessage.c:
28478 * gst/gststructure.c:
28479 * gst/gststructure.h:
28480 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28483 2005-04-24 David Schleef <ds@schleef.org>
28485 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28486 make the regressions tests work. Remove some code that is no
28488 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28489 Disable warning for pads without templates.
28491 2005-04-24 David Schleef <ds@schleef.org>
28493 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28494 functions that handle filtered links.
28495 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28497 * gst/gstutils.c: Fix/remove utility functions that handle
28500 * gst/gstvalue.c: Add serialization/deserialization of caps
28501 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28502 requires fixing so that the filter caps notation creates
28503 a capsfilter element and sets the filter_caps property. I
28504 think everyone probably wants to keep the shorthand notation.
28505 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28506 * docs/gst/tmpl/gstpad.sgml:
28508 * gst/elements/gstelements.c: Register capsfilter element.
28509 * gst/Makefile.am: fix spacing
28510 * docs/random/ds/0.9-suggested-changes: random
28512 2005-04-23 David Schleef <ds@schleef.org>
28514 * gst/elements/Makefile.am:
28515 * gst/elements/gstcapsfilter.c: New element that acts like an
28516 identity, but filters caps. Will eventually replace filtered
28517 caps in pad linking.
28518 * gst/gstutils.c: (gst_element_create_all_pads): New function
28519 to create all the ALWAYS pads that are registered with an
28520 element class. This functionality should eventually be
28521 merged in with GstElement initialization.
28523 * testsuite/trigger/README: part of trigger test code that should
28524 have been checked in a long time ago.
28526 2005-04-23 David Schleef <ds@schleef.org>
28528 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28529 needed with new versions of libtool (nobody will confirm this),
28530 and hard to carry around.
28531 * gst/autoplug/Makefile.am:
28532 * gst/base/Makefile.am:
28533 * gst/elements/Makefile.am:
28534 * gst/indexers/Makefile.am:
28535 * gst/schedulers/Makefile.am:
28536 * libs/gst/bytestream/Makefile.am:
28537 * libs/gst/control/Makefile.am:
28538 * libs/gst/dataprotocol/Makefile.am:
28539 * libs/gst/getbits/Makefile.am:
28541 2005-04-21 Wim Taymans <wim@fluendo.com>
28543 * docs/design/draft-push-pull.txt:
28544 * docs/design/part-MT-refcounting.txt:
28545 * docs/design/part-TODO.txt:
28546 * docs/design/part-caps.txt:
28547 * docs/design/part-events.txt:
28548 * docs/design/part-gstbus.txt:
28549 * docs/design/part-gstpipeline.txt:
28550 * docs/design/part-messages.txt:
28551 * docs/design/part-push-pull.txt:
28552 * docs/design/part-query.txt:
28555 2005-04-21 Wim Taymans <wim@fluendo.com>
28557 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28558 (gst_message_new), (gst_message_new_error),
28559 (gst_message_new_warning), (gst_message_new_tag),
28560 (gst_message_new_state_changed), (gst_message_new_application),
28561 (gst_message_get_structure):
28562 * gst/gstmessage.h:
28563 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28564 (gst_structure_copy_conditional):
28565 Use parent refcount in GstMessage to ensure GstStructure
28567 Cleaned up headers a bit.
28570 2005-04-20 Wim Taymans <wim@fluendo.com>
28572 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28573 (gst_basesink_pad_getcaps), (gst_basesink_init),
28574 (gst_basesink_chain_unlocked):
28575 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28576 (gst_type_find_helper):
28577 * gst/elements/gsttypefindelement.c:
28578 (gst_type_find_element_have_type), (gst_type_find_element_init),
28579 (stop_typefinding), (gst_type_find_element_handle_event),
28580 (find_suggest), (gst_type_find_element_chain),
28581 (gst_type_find_element_checkgetrange),
28582 (gst_type_find_element_getrange), (do_typefind),
28583 (gst_type_find_element_activate):
28584 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28585 (gst_buffer_default_free), (gst_buffer_default_copy),
28586 (gst_buffer_set_caps):
28587 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28588 (gst_caps_replace):
28589 * gst/gstmessage.c: (gst_message_new),
28590 (gst_message_new_state_changed):
28591 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28592 (gst_pad_set_checkgetrange_function),
28593 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28594 (gst_pad_set_caps), (gst_pad_check_pull_range),
28595 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28597 * gst/gsttypefind.c: (gst_type_find_register):
28598 Make gst_caps_replace() work like other _replace() functions.
28599 Use _caps_replace() where possible.
28600 Make sure _message_new() initialises its field.
28601 Add gst_static_pad_template_get_caps()
28604 2005-04-18 Andy Wingo <wingo@pobox.com>
28606 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28607 on the peer, not the pad. I think that was a typo. Pass an extra
28608 arg to see if random access is possible. Activate the pads as
28609 PULL_RANGE if possible.
28611 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28613 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28614 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28617 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28619 * docs/faq/using.xml:
28620 Add note on gstreamer-properties (#154996).
28622 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28624 * docs/random/bbb/optional-properties:
28625 Some analysis on optional properties.
28627 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28629 * docs/gst/tmpl/gstelementfactory.sgml:
28630 * gst/gstelement.h:
28631 * gst/gstelementfactory.c: (gst_element_factory_init),
28632 (gst_element_factory_cleanup), (gst_element_register),
28633 (__gst_element_factory_add_static_pad_template),
28634 (gst_element_factory_get_static_pad_templates),
28635 (gst_element_factory_can_src_caps),
28636 (gst_element_factory_can_sink_caps):
28637 * gst/registries/Makefile.am:
28638 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28639 (gst_xml_registry_class_init), (gst_xml_registry_init),
28640 (gst_xml_registry_new), (gst_xml_registry_set_property),
28641 (gst_xml_registry_get_property), (get_time), (make_dir),
28642 (gst_xml_registry_get_perms_func),
28643 (plugin_times_older_than_recurse), (plugin_times_older_than),
28644 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28645 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28646 (add_to_char_array), (read_string), (read_uint), (read_enum),
28647 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28648 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28649 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28650 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28651 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28652 (gst_xml_registry_rebuild):
28653 * gst/registries/gstlibxmlregistry.h:
28654 * tools/gst-compprep.c: (main):
28655 * tools/gst-inspect.c: (print_pad_templates_info):
28656 * tools/gst-xmlinspect.c: (print_element_info):
28657 Use libxml2 for registry parsing, use staticpadtemplates in
28658 elementfactories. Makes gst_init() +/- 10x faster.
28660 2005-04-12 Wim Taymans <wim@fluendo.com>
28662 * gst/base/Makefile.am:
28663 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28664 (gst_basesink_pad_getcaps), (gst_basesink_init),
28665 (gst_basesink_event), (gst_basesink_change_state):
28666 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28667 (gst_basesrc_init), (gst_basesrc_query),
28668 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28669 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28670 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28671 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28672 (gst_basesrc_stop), (gst_basesrc_activate),
28673 (gst_basesrc_change_state):
28674 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28675 (helper_find_suggest), (gst_type_find_helper):
28676 * gst/base/gsttypefindhelper.h:
28677 * gst/elements/Makefile.am:
28678 * gst/elements/gstelements.c:
28679 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28680 (gst_fakesink_get_times), (gst_fakesink_event),
28681 (gst_fakesink_preroll), (gst_fakesink_render):
28682 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28683 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28684 (gst_fakesrc_get_property), (gst_fakesrc_create),
28685 (gst_fakesrc_start), (gst_fakesrc_stop):
28686 * gst/elements/gstfakesrc.h:
28687 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28688 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28689 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28690 (gst_filesrc_create_read), (gst_filesrc_create),
28691 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28692 (gst_filesrc_start):
28693 * gst/elements/gsttypefindelement.c:
28694 (gst_type_find_element_have_type), (gst_type_find_element_init),
28695 (start_typefinding), (stop_typefinding), (push_buffer_store),
28696 (gst_type_find_element_handle_event),
28697 (gst_type_find_element_chain),
28698 (gst_type_find_element_checkgetrange),
28699 (gst_type_find_element_getrange), (do_typefind),
28700 (gst_type_find_element_activate),
28701 (gst_type_find_element_change_state):
28702 * gst/elements/gsttypefindelement.h:
28703 * gst/gstpipeline.c: (pipeline_bus_handler):
28704 Added typefind helper.
28705 Small preroll fix in the base sink.
28706 Disable typefind code in basesrc.
28707 Crude port of typefindelement.
28711 2005-04-11 Wim Taymans <wim@fluendo.com>
28713 * check/gst/gstbus.c: (gstbus_suite):
28714 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28715 * check/gstcheck.h:
28716 Fix up the timeout so that the test does not fail.
28718 2005-04-06 Wim Taymans <wim@fluendo.com>
28721 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28722 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28723 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28724 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28725 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28726 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28727 (gst_basesrc_stop), (gst_basesrc_activate),
28728 (gst_basesrc_change_state), (basesrc_find_peek),
28729 (basesrc_find_suggest), (gst_basesrc_type_find):
28730 * gst/base/gstbasesrc.h:
28731 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28732 (gst_filesrc_class_init), (gst_filesrc_init),
28733 (gst_filesrc_finalize), (gst_filesrc_set_location),
28734 (gst_filesrc_set_property), (gst_filesrc_get_property),
28735 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28736 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28737 (gst_filesrc_create_read), (gst_filesrc_create),
28738 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28739 * gst/elements/gstfilesrc.h:
28740 * gst/gstelement.c: (gst_element_get_state_func),
28741 (gst_element_lost_state), (gst_element_pads_activate):
28742 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28743 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28744 (gst_pad_pull_range):
28746 More work on the generic source base class, implement seeking,
28748 Make filesrc extend the base source class.
28749 Added gst_pad_set_checkgetrange_function to GstPad.
28751 2005-04-06 Andy Wingo <wingo@pobox.com>
28753 * pkgconfig/gstreamer-base.pc.in:
28754 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28756 * pkgconfig/Makefile.am:
28757 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28759 2005-04-04 Wim Taymans <wim@fluendo.com>
28761 * gst/base/Makefile.am:
28763 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28764 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28765 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28766 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28767 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28768 (gst_basesrc_base_init), (gst_basesrc_class_init),
28769 (gst_basesrc_init), (gst_basesrc_get_formats),
28770 (gst_basesrc_get_query_types), (gst_basesrc_query),
28771 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28772 (gst_basesrc_set_property), (gst_basesrc_get_property),
28773 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28774 (gst_basesrc_loop), (gst_basesrc_activate),
28775 (gst_basesrc_change_state):
28776 * gst/base/gstbasesrc.h:
28777 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28778 (gst_fakesrc_class_init), (gst_fakesrc_init),
28779 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28780 (gst_fakesrc_get_property), (gst_fakesrc_create):
28781 * gst/elements/gstfakesrc.h:
28782 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28783 (gst_filesrc_open_file), (gst_filesrc_loop),
28784 (gst_filesrc_activate), (filesrc_find_peek),
28785 (gst_filesrc_type_find):
28786 Made base source class, make fakesrc extend it.
28787 Add comments to basesink class.
28788 Some filesrc cleanup.
28790 2005-03-31 David Schleef <ds@schleef.org>
28792 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28793 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28794 expected to link against libgstreamer.
28795 * gst/base/Makefile.am: link against libgstreamer
28796 * gst/elements/Makefile.am: same
28798 2005-03-31 Andy Wingo <wingo@pobox.com>
28800 * tests/instantiate/Makefile.am:
28801 * tests/instantiate/caps.c: Add test to test speed of caps copy
28804 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28805 GMemChunk to be fair.
28807 * gst/gsttrashstack.h: Remove warning about using the fallback
28808 trash stack implementation, it's still faster than malloc.
28810 2005-03-30 Andy Wingo <wingo@pobox.com>
28812 * tests/complexity.c: Add a copyright.
28814 2005-03-31 Wim Taymans <wim@fluendo.com>
28816 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28817 (gst_base_transform_class_init), (gst_base_transform_init),
28818 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28819 (gst_base_transform_get_property),
28820 (gst_base_transform_sink_activate),
28821 (gst_base_transform_src_activate),
28822 (gst_base_transform_change_state):
28823 * gst/base/gstbasetransform.h:
28824 * gst/elements/gstidentity.c: (gst_identity_class_init),
28825 (gst_identity_event), (gst_identity_check_perfect),
28826 (gst_identity_transform), (gst_identity_start),
28827 (gst_identity_stop):
28828 Added start/stop methods to transform base class so subclasses
28829 don't need to deal with state changes even.
28831 2005-03-31 Wim Taymans <wim@fluendo.com>
28833 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28834 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28836 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28837 (gst_pad_pull_range):
28838 Added rate to the discont event to prepare for variable speed
28839 and reverse playback.
28841 2005-03-29 David Schleef <ds@schleef.org>
28844 * testsuite/trigger/Makefile.am:
28845 * testsuite/trigger/trigger.c: A little example program to show
28846 how trigger-based elements can work.
28848 2005-03-29 Wim Taymans <wim@fluendo.com>
28850 * gst/base/Makefile.am:
28852 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28853 (gst_basesink_base_init), (gst_basesink_class_init),
28854 (gst_basesink_pad_getcaps), (gst_basesink_init),
28855 (gst_basesink_activate), (gst_basesink_change_state):
28856 * gst/base/gstbasesink.h:
28857 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28858 (gst_base_transform_base_init), (gst_base_transform_finalize),
28859 (gst_base_transform_class_init), (gst_base_transform_init),
28860 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28861 (gst_base_transform_event), (gst_base_transform_getrange),
28862 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28863 (gst_base_transform_set_property),
28864 (gst_base_transform_get_property),
28865 (gst_base_transform_sink_activate),
28866 (gst_base_transform_src_activate),
28867 (gst_base_transform_change_state):
28868 * gst/base/gstbasetransform.h:
28869 * gst/elements/gstidentity.c: (gst_identity_finalize),
28870 (gst_identity_class_init), (gst_identity_init),
28871 (gst_identity_event), (gst_identity_check_perfect),
28872 (gst_identity_transform), (gst_identity_set_property),
28873 (gst_identity_get_property), (gst_identity_change_state):
28874 * gst/elements/gstidentity.h:
28875 * gst/gstelement.c: (gst_element_get_state_func),
28876 (gst_element_lost_state), (gst_element_pads_activate):
28877 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28878 (gst_pad_check_pull_range), (gst_pad_pull_range):
28880 Simplify pad activation.
28881 Added function to check if pull_range can be performed.
28882 Error out when pulling inactive or flushing pads.
28883 Removed const from refcounted types as it does not make sense.
28884 Simplify pad templates in basesink
28885 Added base class for simple 1-to-1 transforms.
28886 Make identity subclass the base transform.
28888 2005-03-29 Andy Wingo <wingo@pobox.com>
28890 * docs/libs/gstreamer-libs-overrides.txt:
28891 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28892 really don't understand what's going on, but like whatever. I want
28895 * docs/gst/Makefile.am:
28896 * docs/libs/Makefile.am: Dist the overrides files.
28898 * check/Makefile.am (clean-local): Remove .libs directories.
28900 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28901 elements to EXTRA_DIST, so po/ files are happy.
28903 * po/POTFILES.in: Er, remove it here.
28905 * po/POTFILES: Remove gstspider.c.
28907 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28909 * docs/libs/gstreamer-libs-docs.sgml:
28910 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28913 * tests/complexity.c (main): Set the length of the preroll queue
28914 on the sinks to prevent a lockup.
28916 * libs/gst/dataprotocol/Makefile.am:
28917 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28918 the same as the one in check/gst-libs/gdp.c.
28920 * po/, docs/gst/: Commit automatic changes to docs and po files.
28922 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28923 the versioned libgstbase.
28925 * check/Makefile.am: Depend on an unversioned gst-register, seems
28926 to make autoconf happier.
28928 * gst/base/Makefile.am: Make libgstbase a versioned lib.
28930 2005-03-28 Wim Taymans <wim@fluendo.com>
28933 * docs/design/part-gstelement.txt:
28934 * docs/design/part-negotiation.txt:
28935 * docs/design/part-preroll.txt:
28936 * docs/design/part-scheduling.txt:
28937 * docs/design/part-states.txt:
28939 * gst/base/Makefile.am:
28941 * gst/base/gstbasesink.c: (gst_basesink_get_template),
28942 (gst_basesink_base_init), (gst_basesink_class_init),
28943 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28944 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28945 (gst_basesink_set_pad_functions),
28946 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28947 (gst_basesink_set_property), (gst_basesink_get_property),
28948 (gst_base_sink_get_template), (gst_base_sink_get_caps),
28949 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28950 (gst_basesink_preroll_queue_push),
28951 (gst_basesink_preroll_queue_empty),
28952 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28953 (gst_basesink_event), (gst_basesink_get_times),
28954 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28955 (gst_basesink_chain_unlocked), (gst_basesink_chain),
28956 (gst_basesink_loop), (gst_basesink_activate),
28957 (gst_basesink_change_state):
28958 * gst/base/gstbasesink.h:
28959 * gst/elements/Makefile.am:
28960 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28961 (gst_fakesink_class_init), (gst_fakesink_init),
28962 (gst_fakesink_set_property), (gst_fakesink_get_property),
28963 (gst_fakesink_get_times), (gst_fakesink_event),
28964 (gst_fakesink_preroll), (gst_fakesink_render),
28965 (gst_fakesink_change_state):
28966 * gst/elements/gstfakesink.h:
28967 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28968 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28969 * gst/gstelement.c: (gst_element_add_pad),
28970 (gst_element_get_state_func), (gst_element_abort_state),
28971 (gst_element_commit_state), (gst_element_lost_state),
28972 (gst_element_set_state), (gst_element_pads_activate):
28973 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28974 * gst/gstpipeline.c: (gst_pipeline_send_event),
28975 (gst_pipeline_change_state):
28976 Added state change code.
28977 Added/updated docs.
28978 Added sink base class, make fakesink extend the base class.
28979 Small cleanups in GstPipeline.
28981 2005-03-26 David Schleef <ds@schleef.org>
28983 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
28984 is broken and should be implemented in a different library.
28985 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
28986 * gst/gst.h: remove gstcpu.h
28987 * gst/gstcpu.c: remove
28988 * gst/gstcpu.h: remove
28989 * gst/Makefile.am.future: Remove this file. It's ancient.
28991 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28993 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28994 (gst_bin_send_event):
28995 Add default event/set_manager handlers. The set_manager handler
28996 takes care that the manager is distributed over kids that were
28997 already in the bin before the manager was set. The event handler
28998 is a utility virtual function that sends the event over all sinks,
28999 so that gst_element_send_event (bin, event); has the expected
29001 * gst/gstpad.c: (gst_pad_event_default):
29002 Re-install default event handling for discontinuities, so that
29003 seeking works without requiring hacks in applications or extra
29005 * gst/gstpipeline.c: (gst_pipeline_class_init),
29006 (gst_pipeline_send_event):
29007 Half hack, half utility: set a pipeline to PAUSED for seek events,
29008 since that is the only way we can guarantee a/v sync. Means that
29009 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29010 and it "just works".
29012 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29014 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29015 Lock/unlock mismatch.
29017 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29019 * docs/faq/gst-uninstalled:
29020 add gst-plugins-base
29021 * docs/gst/Makefile.am:
29022 don't error out until docs are fixed
29023 * docs/gst/gstreamer.types:
29026 2005-03-22 Wim Taymans <wim@fluendo.com>
29028 * check/Makefile.am:
29029 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29030 * gst/gststructure.c: (gst_structure_set_valist),
29031 (gst_structure_copy_conditional):
29032 Activated more tests.
29033 Added message test.
29034 Added G_TYPE_POINTER to GstStructure.
29037 2005-03-22 Wim Taymans <wim@fluendo.com>
29039 * docs/design/part-TODO.txt:
29040 * docs/design/part-events.txt:
29041 * docs/design/part-gstbin.txt:
29042 * docs/design/part-gstbus.txt:
29043 * docs/design/part-gstpipeline.txt:
29044 * docs/design/part-messages.txt:
29046 * gst/gstmessage.c:
29049 2005-03-21 Wim Taymans <wim@fluendo.com>
29051 * gst/gstbus.c: (gst_bus_post):
29052 Fix copy-and-paste error.
29054 2005-03-21 Wim Taymans <wim@fluendo.com>
29056 * check/Makefile.am:
29058 * gst/elements/Makefile.am:
29059 * gst/elements/gstelements.c:
29060 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29061 (gst_fakesink_event), (gst_fakesink_chain):
29062 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29063 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29064 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29065 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29066 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29067 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29068 (gst_fakesrc_loop), (gst_fakesrc_activate),
29069 (gst_fakesrc_change_state):
29070 * gst/elements/gstfakesrc.h:
29071 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29072 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29073 (gst_filesrc_open_file), (gst_filesrc_loop),
29074 (gst_filesrc_activate), (gst_filesrc_change_state),
29075 (filesrc_find_peek), (filesrc_find_suggest),
29076 (gst_filesrc_type_find):
29077 * gst/elements/gstidentity.c: (gst_identity_finalize),
29078 (gst_identity_class_init), (gst_identity_init),
29079 (gst_identity_proxy_getcaps), (identity_queue_push),
29080 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29081 (gst_identity_getrange), (gst_identity_chain),
29082 (gst_identity_sink_loop), (gst_identity_src_loop),
29083 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29084 (gst_identity_set_property), (gst_identity_get_property),
29085 (gst_identity_change_state):
29086 * gst/elements/gstidentity.h:
29087 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29088 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29089 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29090 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29091 (gst_tee_sink_activate):
29092 * gst/elements/gsttee.h:
29093 * gst/gst.c: (gst_register_core_elements), (init_post):
29095 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29096 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29097 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29098 (gst_bin_change_state):
29100 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29101 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29102 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29103 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29104 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29105 (bus_watch_callback), (bus_watch_destroy),
29106 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29107 (poll_timeout), (gst_bus_poll):
29111 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29112 (gst_element_post_message), (gst_element_message_full),
29113 (gst_element_get_state_func), (gst_element_get_state),
29114 (gst_element_abort_state), (gst_element_commit_state),
29115 (gst_element_lost_state), (gst_element_set_state),
29116 (gst_element_pads_activate), (gst_element_change_state),
29117 (gst_element_dispose), (gst_element_set_manager_func),
29118 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29119 (gst_element_set_manager), (gst_element_get_manager),
29120 (gst_element_set_bus), (gst_element_get_bus),
29121 (gst_element_set_scheduler), (gst_element_get_scheduler):
29122 * gst/gstelement.h:
29123 * gst/gstevent.c: (gst_event_new_segment_seek),
29124 (gst_event_new_flush):
29126 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29127 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29128 (gst_message_new_eos), (gst_message_new_error),
29129 (gst_message_new_warning), (gst_message_new_tag),
29130 (gst_message_new_state_changed), (gst_message_new_application),
29131 (gst_message_get_structure), (gst_message_parse_tag),
29132 (gst_message_parse_state_changed), (gst_message_parse_error),
29133 (gst_message_parse_warning):
29134 * gst/gstmessage.h:
29135 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29136 (gst_real_pad_set_property), (gst_pad_set_active),
29137 (gst_pad_is_active), (gst_pad_set_blocked_async),
29138 (gst_pad_set_blocked), (gst_pad_is_blocked),
29139 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29140 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29141 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29142 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29143 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29144 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29145 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29146 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29147 (gst_pad_set_caps), (gst_pad_configure_sink),
29148 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29149 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29150 (gst_real_pad_dispose), (gst_real_pad_finalize),
29151 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29152 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29153 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29155 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29156 (pipeline_bus_handler), (gst_pipeline_change_state),
29157 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29158 * gst/gstpipeline.h:
29160 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29161 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29162 (gst_queue_link_src), (gst_queue_bufferalloc),
29163 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29164 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29165 (gst_queue_loop), (gst_queue_handle_src_event),
29166 (gst_queue_handle_src_query), (gst_queue_src_activate),
29167 (gst_queue_change_state):
29169 * gst/gstscheduler.c: (gst_scheduler_init),
29170 (gst_scheduler_dispose), (gst_scheduler_create_task),
29171 (gst_scheduler_factory_create):
29172 * gst/gstscheduler.h:
29173 * gst/gststructure.c: (gst_structure_get_type),
29174 (gst_structure_copy_conditional):
29175 * gst/gststructure.h:
29176 * gst/gsttaginterface.h:
29177 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29178 (gst_task_init), (gst_task_dispose), (gst_task_create),
29179 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29185 * gst/schedulers/Makefile.am:
29186 * gst/schedulers/cothreads_compat.h:
29187 * gst/schedulers/entryscheduler.c:
29188 * gst/schedulers/faircothreads.c:
29189 * gst/schedulers/faircothreads.h:
29190 * gst/schedulers/fairscheduler.c:
29191 * gst/schedulers/gstbasicscheduler.c:
29192 * gst/schedulers/gstoptimalscheduler.c:
29193 * gst/schedulers/gthread-cothreads.h:
29194 * gst/schedulers/threadscheduler.c:
29195 (gst_thread_scheduler_task_get_type),
29196 (gst_thread_scheduler_task_class_init),
29197 (gst_thread_scheduler_task_init),
29198 (gst_thread_scheduler_task_start),
29199 (gst_thread_scheduler_task_stop),
29200 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29201 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29202 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29203 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29205 * libs/gst/Makefile.am:
29206 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29207 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29208 (gst_file_pad_parent_set):
29209 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29210 (gst_dp_event_from_packet):
29211 * tests/complexity.c: (main):
29212 * tests/mass_elements.c: (main):
29213 * testsuite/states/locked.c: (message_received), (main):
29214 * testsuite/states/parent.c: (main):
29215 * tools/gst-inspect.c: (print_element_flag_info),
29216 (print_implementation_info), (print_pad_info):
29217 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29219 * tools/gst-md5sum.c: (event_loop), (main):
29220 * tools/gst-typefind.c: (main):
29221 * tools/gst-xmlinspect.c: (print_element_info):
29223 Added GstBus for mainloop integration.
29224 Added GstMessage for sending notifications on the bus.
29225 Added GstTask as an abstraction for pipeline entry points.
29227 Removed Schedulers.
29228 Simplified GstQueue for multithreaded core.
29229 Made _link threadsafe, removed old capsnego.
29230 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29231 Added pad blocking functions.
29232 Reworked scheduling functions in GstPad to prepare for
29233 scheduling updates soon.
29234 Moved events out of data stream.
29235 Simplified GstEvent types.
29236 Added return values to push/pull.
29237 Removed clocking from GstElement.
29238 Added prototypes for state change function for next merge.
29239 Removed iterate from bins and state change management.
29240 Fixed some elements, disabled others for now.
29241 Fixed -inspect and -launch.
29242 Added check for GstBus.
29244 2005-03-10 Wim Taymans <wim@fluendo.com>
29246 * docs/design/part-MT-refcounting.txt:
29247 * docs/design/part-clocks.txt:
29248 * docs/design/part-gstelement.txt:
29249 * docs/design/part-gstobject.txt:
29250 * docs/design/part-standards.txt:
29251 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29252 (gst_bin_remove_func), (gst_bin_remove):
29256 * testsuite/clock/clock1.c: (main):
29257 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29259 * testsuite/dlopen/loadgst.c: (do_test):
29260 * testsuite/refcounting/bin.c: (add_remove_test1),
29261 (add_remove_test2), (main):
29262 * testsuite/refcounting/element.c: (main):
29263 * testsuite/refcounting/element_pad.c: (main):
29264 * testsuite/refcounting/pad.c: (main):
29265 * tools/gst-launch.c: (sigint_handler_sighandler):
29266 * tools/gst-typefind.c: (main):
29268 Added doc about clock.
29269 removed gst_bin_iterate_recurse_up(), marked methods
29271 Fix more testsuites.
29273 2005-03-09 Wim Taymans <wim@fluendo.com>
29275 * gst/gstpad.c: (gst_pad_get_direction),
29276 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29277 (gst_pad_collect_valist):
29278 * testsuite/bins/interface.c: (main):
29279 * testsuite/caps/audioscale.c: (test_caps):
29280 * testsuite/caps/caps.c: (test1), (test2), (test3):
29281 * testsuite/caps/deserialize.c: (main):
29282 * testsuite/caps/enumcaps.c: (main):
29283 * testsuite/caps/filtercaps.c: (main):
29284 * testsuite/caps/intersect2.c: (main):
29285 * testsuite/caps/random.c: (main):
29286 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29287 * testsuite/caps/sets.c: (check_caps):
29288 * testsuite/caps/simplify.c: (check_caps), (main):
29289 * testsuite/caps/subtract.c: (check_caps):
29290 Fix _pad_get_direction wrt ghostpads.
29291 Fix caps testsuite.
29293 2005-03-09 Wim Taymans <wim@fluendo.com>
29295 * check/Makefile.am:
29296 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29297 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29298 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29299 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29300 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29301 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29302 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29303 (bin_element_is_sink), (gst_bin_iterate_sinks),
29304 (gst_bin_iterate_all_by_interface):
29306 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29307 (gst_element_change_state), (gst_element_dispose),
29308 (gst_element_finalize), (gst_element_set_loop_function):
29309 * gst/gstelement.h:
29310 * gst/gstiterator.c: (find_custom_fold_func):
29311 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29312 (gst_pad_collectv), (gst_pad_collect_valist),
29313 (gst_pad_template_new):
29314 * gst/gstpipeline.c: (gst_pipeline_class_init),
29315 (gst_pipeline_dispose), (gst_pipeline_set_property),
29316 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29317 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29318 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29320 * gst/schedulers/entryscheduler.c:
29321 * gst/schedulers/gstbasicscheduler.c:
29322 (gst_basic_scheduler_cothreaded_chain),
29323 (gst_basic_scheduler_chain_add_element):
29324 * testsuite/bins/interface.c: (main):
29326 Added GstSystemClock test.
29327 Implemented clock distribution code in GstBin.
29328 Implemented iterate sinks method for future use.
29329 Rearranged gstelement.h
29330 Fix GstIterator comparison bug.
29331 Moved some code to GstPipeline, mostly clocking related.
29333 2005-03-09 Wim Taymans <wim@fluendo.com>
29336 * gst/gst_private.h:
29337 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29338 (gst_bin_remove_func), (gst_bin_remove),
29339 (gst_bin_get_by_name_recurse_up):
29340 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29341 (gst_clock_id_compare_func), (gst_clock_id_wait),
29342 (gst_clock_id_wait_async), (gst_clock_init),
29343 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29344 * gst/gstelement.h:
29345 * gst/gstinfo.c: (_gst_debug_init):
29347 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29348 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29350 Bump version number, we're now 0.9.0
29351 Add future debugging category.
29352 Fix NULL _unref() in _get_by_name_recurse_up
29353 Rearrange gstpad.h.
29356 2005-03-08 Wim Taymans <wim@fluendo.com>
29358 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29359 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29360 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29361 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29362 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29363 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29364 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29365 * gst/elements/gstidentity.c: (gst_identity_class_init):
29366 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29367 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29368 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29369 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29370 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29372 * gst/gstelement.c: (gst_element_class_init),
29373 (gst_element_base_class_init), (gst_element_init),
29374 (gst_element_get_random_pad), (gst_element_wait_state_change),
29375 (gst_element_change_state), (gst_element_dispose),
29376 (gst_element_finalize), (gst_element_set_loop_function):
29377 * gst/gstelement.h:
29378 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29379 * gst/gstthread.c: (gst_thread_class_init),
29380 (gst_thread_release_children_locks), (gst_thread_change_state):
29381 * gst/schedulers/gstbasicscheduler.c:
29382 (gst_basic_scheduler_loopfunc_wrapper),
29383 (gst_basic_scheduler_chain_wrapper),
29384 (gst_basic_scheduler_src_wrapper),
29385 (gst_basic_scheduler_remove_element):
29386 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29387 Remove threadsafe properties. Fix elements because GObject
29388 complains when installing a property before declaring a
29389 set/get_property handler.
29390 Rearrange gstelement.h file, use STATE macros for state locks.
29391 Free mutexes in the finalize method instead of dispose.
29393 2005-03-08 Wim Taymans <wim@fluendo.com>
29395 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29396 * gst/gstthread.c: (gst_thread_release_children_locks):
29397 Added parentage check.
29398 Fix build og GstThread again.
29400 2005-03-08 Wim Taymans <wim@fluendo.com>
29402 * docs/design/part-MT-refcounting.txt:
29403 * docs/design/part-conventions.txt:
29404 * docs/design/part-gstobject.txt:
29405 * docs/design/part-relations.txt:
29406 * docs/design/part-standards.txt:
29407 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29408 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29409 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29410 (gst_bin_iterate_all_by_interface):
29413 * gst/gstelement.c: (gst_element_class_init),
29414 (gst_element_change_state), (gst_element_set_loop_function):
29415 * gst/gstelement.h:
29416 * gst/gstiterator.c:
29417 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29418 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29419 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29420 (gst_object_set_parent), (gst_object_unparent),
29421 (gst_object_check_uniqueness):
29423 Docs updates, clean up some headers.
29425 2005-03-07 Wim Taymans <wim@fluendo.com>
29427 * check/.cvsignore:
29428 * check/Makefile.am:
29429 * check/gst-libs/.cvsignore:
29430 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29431 * check/gst/.cvsignore:
29432 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29433 (START_TEST), (gstbus_suite), (main):
29434 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29435 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29436 (gst_data_suite), (main):
29437 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29438 (add_fold_func), (gstiterator_suite), (main):
29439 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29440 (thread_name_object), (thread_name_object_default),
29441 (gst_object_name_compare), (gst_object_suite), (main):
29442 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29443 (gst_pad_suite), (main):
29444 * check/gstcheck.c: (gst_check_log_message_func),
29445 (gst_check_log_critical_func), (gst_check_init):
29446 * check/gstcheck.h:
29447 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29448 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29451 2005-03-07 Wim Taymans <wim@fluendo.com>
29453 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29454 (gst_list_iterator_next), (gst_list_iterator_resync),
29455 (gst_list_iterator_free), (gst_iterator_new_list),
29456 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29457 (gst_iterator_free), (gst_iterator_push), (filter_next),
29458 (filter_resync), (filter_uninit), (filter_free),
29459 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29460 (gst_iterator_foreach), (find_custom_fold_func),
29461 (gst_iterator_find_custom):
29462 * gst/gstiterator.h:
29463 Added missing files.
29465 2005-03-07 Wim Taymans <wim@fluendo.com>
29469 * docs/design/part-MT-refcounting.txt:
29470 * docs/design/part-conventions.txt:
29471 * docs/design/part-gstobject.txt:
29472 * docs/design/part-relations.txt:
29473 * examples/mixer/mixer.c: (main):
29474 * examples/thread/thread.c: (eos), (main):
29476 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29477 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29478 (gst_spider_plug_from_srcpad):
29479 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29480 (gst_spider_identity_change_state),
29481 (gst_spider_identity_sink_loop_type_finding):
29482 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29483 * gst/elements/gstidentity.c: (gst_identity_init):
29484 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29485 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29486 * gst/elements/gsttypefindelement.c: (free_entry):
29489 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29490 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29491 (gst_bin_set_index), (gst_bin_set_element_sched),
29492 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29493 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29494 (gst_bin_iterate_elements), (iterate_child_recurse),
29495 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29496 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29497 (compare_interface), (gst_bin_get_by_interface),
29498 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29500 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29501 (gst_buffer_default_free), (gst_buffer_default_copy),
29502 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29503 (gst_buffer_create_sub):
29505 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29506 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29507 (gst_caps_unref), (gst_static_caps_get),
29508 (gst_caps_remove_and_get_structure), (gst_caps_append),
29509 (gst_caps_append_structure), (gst_caps_remove_structure),
29510 (gst_caps_copy_nth), (gst_caps_set_simple),
29511 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29512 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29513 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29514 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29515 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29516 (gst_caps_structure_figure_out_union),
29517 (gst_caps_switch_structures), (gst_caps_do_simplify),
29518 (gst_caps_replace), (gst_caps_from_string),
29519 (gst_caps_copy_conditional):
29521 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29522 (_gst_clock_id_free), (gst_clock_id_unref),
29523 (gst_clock_id_compare_func), (gst_clock_id_wait),
29524 (gst_clock_id_wait_async), (gst_clock_class_init),
29525 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29526 (gst_clock_get_time), (gst_clock_set_time_adjust),
29527 (gst_clock_set_property), (gst_clock_get_property):
29530 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29531 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29533 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29534 (gst_element_requires_clock), (gst_element_provides_clock),
29535 (gst_element_set_clock), (gst_element_clock_wait),
29536 (gst_element_wait), (gst_element_set_time_delay),
29537 (gst_element_is_indexable), (gst_element_add_pad),
29538 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29539 (pad_compare_name), (gst_element_get_static_pad),
29540 (gst_element_request_pad), (gst_element_get_request_pad),
29541 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29542 (gst_element_class_get_pad_template_list),
29543 (gst_element_class_get_pad_template), (gst_element_error_func),
29544 (gst_element_get_random_pad), (gst_element_get_event_masks),
29545 (gst_element_send_event), (gst_element_seek),
29546 (gst_element_get_query_types), (gst_element_query),
29547 (gst_element_get_formats), (gst_element_convert),
29548 (gst_element_is_locked_state), (gst_element_set_locked_state),
29549 (gst_element_sync_state_with_parent), (gst_element_change_state),
29550 (gst_element_finalize), (gst_element_yield),
29551 (gst_element_interrupt), (gst_element_set_scheduler),
29552 (gst_element_get_scheduler), (gst_element_set_loop_function):
29553 * gst/gstelement.h:
29555 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29556 (gst_format_get_by_nick), (gst_format_get_details),
29557 (gst_format_iterate_definitions):
29559 * gst/gstindex.c: (gst_index_gtype_resolver):
29562 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29563 (gst_mem_chunk_free):
29564 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29565 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29566 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29567 (gst_object_dispatch_properties_changed),
29568 (gst_object_set_name_default), (gst_object_set_name),
29569 (gst_object_get_name), (gst_object_set_name_prefix),
29570 (gst_object_get_name_prefix), (gst_object_set_parent),
29571 (gst_object_get_parent), (gst_object_unparent),
29572 (gst_object_check_uniqueness), (gst_object_save_thyself),
29573 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29574 (gst_object_set_property), (gst_object_get_property),
29575 (gst_object_get_path_string):
29577 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29578 (gst_real_pad_init), (gst_real_pad_get_property),
29579 (gst_pad_custom_new), (gst_pad_get_direction),
29580 (gst_pad_set_active), (gst_pad_is_active),
29581 (gst_pad_set_event_function), (gst_pad_is_linked),
29582 (gst_pad_link_free), (gst_pad_link_intersect),
29583 (gst_pad_link_fixate), (gst_pad_set_caps),
29584 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29585 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29586 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29587 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29588 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29589 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29590 (gst_pad_realize), (gst_pad_get_allowed_caps),
29591 (gst_real_pad_dispose), (gst_real_pad_finalize),
29592 (gst_pad_collectv), (gst_pad_collect_valist),
29593 (gst_pad_template_dispose), (gst_pad_template_new),
29594 (gst_pad_get_internal_links):
29596 * gst/gstpipeline.c: (gst_pipeline_dispose),
29597 (gst_pipeline_change_state):
29598 * gst/gstpipeline.h:
29600 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29601 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29602 * gst/gstpluginfeature.h:
29603 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29604 * gst/gstquery.c: (_gst_query_type_initialize),
29605 (gst_query_type_register), (gst_query_type_get_by_nick),
29606 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29608 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29609 * gst/gstscheduler.c: (gst_scheduler_add_element),
29610 (gst_scheduler_factory_create):
29611 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29612 (gst_structure_free), (gst_structure_set_name),
29613 (gst_structure_id_set_value), (gst_structure_set_value),
29614 (gst_structure_set_valist), (gst_structure_remove_field),
29615 (gst_structure_remove_fields),
29616 (gst_structure_remove_fields_valist),
29617 (gst_structure_remove_all_fields), (gst_structure_foreach),
29618 (gst_structure_map_in_place),
29619 (gst_caps_structure_fixate_field_nearest_int),
29620 (gst_caps_structure_fixate_field_nearest_double):
29621 * gst/gststructure.h:
29622 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29623 (gst_system_clock_init), (gst_system_clock_dispose),
29624 (gst_system_clock_async_thread),
29625 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29626 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29627 * gst/gstsystemclock.h:
29628 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29629 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29630 * gst/gsttaginterface.c:
29631 * gst/gstthread.c: (gst_thread_dispose),
29632 (gst_thread_release_children_locks), (gst_thread_change_state),
29633 (gst_thread_main_loop):
29634 * gst/gsttrashstack.h:
29635 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29637 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29638 (gst_element_request_pad), (gst_element_get_pad_from_template),
29639 (gst_element_request_compatible_pad),
29640 (gst_element_get_compatible_pad_filtered),
29641 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29642 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29643 (gst_element_link_many), (gst_element_link),
29644 (gst_element_link_pads), (gst_element_unlink_pads),
29645 (gst_element_unlink_many), (gst_element_unlink),
29646 (gst_pad_can_link_filtered), (gst_pad_can_link),
29647 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29648 (gst_object_default_error), (gst_bin_add_many),
29649 (gst_bin_remove_many), (gst_element_populate_std_props),
29650 (gst_element_class_install_std_props), (gst_buffer_merge),
29651 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29652 (link_fold_func), (gst_pad_proxy_setcaps):
29654 * gst/gstvalue.c: (gst_value_deserialize_string):
29655 * gst/parse/grammar.y:
29656 * gst/schedulers/gstbasicscheduler.c:
29657 (gst_basic_scheduler_cothreaded_chain),
29658 (gst_basic_scheduler_chain_recursive_add),
29659 (gst_basic_scheduler_pad_link):
29660 * gst/schedulers/gstoptimalscheduler.c:
29661 (get_group_schedule_function),
29662 (gst_opt_scheduler_state_transition),
29663 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29664 * libs/gst/bytestream/bytestream.c:
29665 * libs/gst/dataprotocol/dataprotocol.c:
29666 (gst_dp_header_from_buffer):
29669 * tests/threadstate/threadstate2.c: (eos):
29670 * tools/gst-compprep.c: (main):
29671 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29672 (print_pad_info), (print_children_info):
29673 * tools/gst-launch.c: (idle_func), (main):
29674 * tools/gst-md5sum.c: (idle_func), (main):
29675 * tools/gst-xmlinspect.c: (print_element_info):
29676 First THREADED backport attempt, focusing on adding locks and
29677 making sure the API is threadsafe. Needs more work. More docs
29680 2005-02-24 Andy Wingo <wingo@pobox.com>
29682 * tests/bench-complexity.scm:
29683 * tests/complexity.gnuplot: New files, good for running complexity
29686 * tests/Makefile.am:
29687 * tests/complexity.c: New test, sets up N elements, at each level
29688 teeing into M streams per element. Eeeenteresting.
29690 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29691 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29692 running bench-mass_elements.scm.
29694 * tests/bench-mass_elements.scm: New script, runs mass_elements
29695 for various numbers of identities, outputting the results to a
29696 file. Requires guile 1.6. Just for testing.
29698 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29700 * gst/schedulers/fairscheduler.c:
29701 compile with debug disabled
29703 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29706 hunting season on 0.9 is now OPEN