1 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
5 Don't assume that <valgrind/valgrind.h> exists just because
8 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
10 * tests/check/Makefile.am:
11 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
12 (gst_test_trans_class_init), (gst_test_trans_init),
13 (gst_test_trans_set_data), (result_sink_chain),
14 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
16 * tests/check/libs/transform1.c: (GST_START_TEST),
17 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
18 Add some test basetransform element and the beginnings of various
21 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
23 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
24 Increase code readability.
25 Don't try to compare buffer offsets when ther are invalid.
27 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
29 * docs/design/Makefile.am:
30 Dist some more design docs.
32 * docs/random/moving-plugins:
33 Small addition: good plugins mustn't have functional code
34 within assertion macros.
36 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
38 * docs/design/draft-framestep.txt:
39 Some ideas about a framestep API
41 * docs/design/part-element-transform.txt:
42 Start design and use cases for basetransform in order to get it
45 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
48 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
51 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
54 Make it known that gst_bus_poll() is pure evil (fixes #538810).
56 2008-06-20 Stefan Kost <ensonic@users.sf.net>
58 * plugins/elements/gstcapsfilter.c:
59 * plugins/elements/gstfakesink.c:
60 * plugins/elements/gstfakesrc.c:
61 * plugins/elements/gstfdsink.c:
62 * plugins/elements/gstfdsrc.c:
63 * plugins/elements/gstfilesink.c:
64 * plugins/elements/gstfilesrc.c:
65 * plugins/elements/gstidentity.c:
66 * plugins/elements/gstmultiqueue.c:
67 * plugins/elements/gstqueue.c:
68 * plugins/elements/gsttee.c:
69 * plugins/elements/gsttypefindelement.c:
70 Remove short_description. Add basic docs for gsttypefindelement.
71 Simplify markup for fakesrc/fdsrc.
73 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
75 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
78 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
80 Patch by: joel larsson <tilljoel at gmail dot com>
82 * docs/plugins/gstreamer-plugins.args:
83 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
84 (gst_fd_src_init), (gst_fd_src_update_fd),
85 (gst_fd_src_set_property), (gst_fd_src_get_property),
87 * plugins/elements/gstfdsrc.h:
88 Add timeout property like udpsrc. Fixes #538628.
89 Add some more docs and example pipelines.
91 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
93 * docs/libs/gstreamer-libs-sections.txt:
94 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
95 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
96 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
97 (gst_base_sink_do_sync):
98 * libs/gst/base/gstbasesink.h:
99 * win32/common/libgstbase.def:
100 Add method to allow sinks to specify additional delay between the sync
101 times and the actual rendering of the data.
102 API: gst_base_sink_set_render_delay()
103 API: gst_base_sink_get_render_delay()
105 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
108 Bump version number back to dev -> 0.10.20.1
110 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
112 * docs/gst/gstreamer-sections.txt:
113 * gst/gsttaglist.c: (_gst_tag_initialize):
115 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
118 2008-06-20 Stefan Kost <ensonic@users.sf.net>
120 * libs/gst/controller/gstcontroller.c:
121 Revert one change, that make ret value possible uninitialized.
123 2008-06-20 Stefan Kost <ensonic@users.sf.net>
125 * libs/gst/controller/gstcontroller.c:
126 Use freeze/thaw notify to sync notify emission a bit (its also more
127 efficient). Move debug output to LOG (is called a lot in a loop).
128 Always unset g_values if the have been initialized.
130 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
132 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
133 (gst_base_sink_wait_eos), (gst_base_sink_event):
134 If we have not seen a buffer before EOS, use the segment values to
135 report the current position instead of invalid positions.
137 2008-06-20 Stefan Kost <ensonic@users.sf.net>
139 * docs/plugins/tmpl/.cvsignore:
140 * tests/check/gst/.cvsignore:
143 2008-06-20 Stefan Kost <ensonic@users.sf.net>
145 * libs/gst/controller/gstinterpolation.c:
146 * libs/gst/controller/gstinterpolationcontrolsource.c:
147 * tests/check/libs/controller.c:
148 Rewrite handling of default values. Fix overflow with unsigned types
149 in linear interpolation. Remove now obsolete _first_value() function.
150 Add more tests. Fixes #538201.
152 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
154 * libs/gst/base/gstbasetransform.c:
155 (gst_base_transform_class_init), (gst_base_transform_init),
156 (gst_base_transform_transform_caps),
157 (gst_base_transform_prepare_output_buffer):
159 When a buffer is writable, its metadata is also writable so we don't
160 need to subbuffer (which then makes the buffer not-writable anymore).
162 === release 0.10.20 ===
164 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
167 releasing 0.10.20, "You Crazy Diamond"
169 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
172 0.10.19.3 pre-release
174 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
178 Rename DATADIR to GST_DATADIR to avoid build problems
179 on win32. Patch By: David Schleef <ds@schleef.org>
182 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
185 Explicitely link with -ldl if dladdr() is found there. Before it was
186 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
187 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
189 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
191 * gst/gsterror.c: (_gst_stream_errors_init):
192 Fix typo (spotted by Fabricio Godoy, #536723).
194 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
197 0.10.19.2 pre-release
199 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
201 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
202 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
204 Make sure we don't generate invalid QoS messages.
206 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
208 * gst/gstevent.c: (gst_event_new_qos):
209 Add some assert and docs for invalid input to the qos function.
211 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
213 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
214 (gst_base_sink_get_position):
215 The reported position must always be smaller than the last seen
216 timestamps (or timestamp + duration for reverse).
218 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
220 Patch by: Rob Bradford <rob at robster dot org dot uk>
222 * gst/gstregistry.c: (gst_registry_scan_path_level):
223 Don't recurse into .debug directories as some distros install
224 the debugging symbols next to the plugins in .debug directories
225 and dlopen() crashes on them sometimes. Fixes bug #508070.
227 Add FIXME for 0.11 to not recurse into directories at all because
228 it's very inconsistent to the behaviour of other PATH environment
231 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
233 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
234 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
235 Fix position query range checks in reverse playback.
237 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
241 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
242 clear of the reference to the resulting pad must be released later
243 or not, resulting in possible leaks. Fixes bug #533865.
245 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
247 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
249 * gst/gstelementfactory.c:
250 Small doc fix. Fixes #535285.
252 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
254 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
256 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
257 (gst_base_src_get_range), (gst_base_src_pad_get_range),
258 (gst_base_src_loop), (gst_base_src_set_flushing),
259 (gst_base_src_change_state):
260 Make sending an EOS event to the basesrc non-blocking even if the
261 implementation does blocking waits in the create function. This is done
262 by unlocking the create function when EOS is sent.
265 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
267 * tools/gst-inspect.c: (print_element_properties_info):
268 If possible print the element type of GValueArray properties.
270 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
273 Remove an unused field from the private GstListIterator struct.
275 2008-05-27 Stefan Kost <ensonic@users.sf.net>
277 * libs/gst/controller/gstcontroller.c:
278 Add parameter guards.
280 2008-05-27 Stefan Kost <ensonic@users.sf.net>
282 * tests/check/gst/gstpipeline.c:
283 Revert test change and add comment why it should not work.
285 2008-05-27 Stefan Kost <ensonic@users.sf.net>
287 * tests/check/gst/gstpipeline.c:
288 Extending the test a little to verify that we also get the NULL state-
291 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
293 * gst/gstpreset.c: (gst_preset_default_get_meta),
294 (gst_preset_get_preset_names), (gst_preset_get_property_names),
295 (gst_preset_load_preset), (gst_preset_save_preset),
296 (gst_preset_rename_preset), (gst_preset_delete_preset),
297 (gst_preset_set_meta):
298 Add Since: markers to docs blurbs.
300 * win32/common/libgstreamer.def:
301 Add recently-added API.
303 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
305 Patch by: Stefan Kost <ensonic@users.sf.net>
308 Add DATADIR for storing presets.
310 * docs/gst/gstreamer-docs.sgml:
311 * docs/gst/gstreamer-sections.txt:
312 * docs/gst/gstreamer.types.in:
313 Add GstPreset to docs.
317 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
318 (preset_open_and_parse_header), (preset_parse_version),
319 (preset_merge), (preset_get_keyfile),
320 (gst_preset_default_get_preset_names),
321 (gst_preset_default_get_property_names),
322 (gst_preset_default_load_preset),
323 (gst_preset_default_save_presets_file),
324 (gst_preset_default_save_preset),
325 (gst_preset_default_rename_preset),
326 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
327 (gst_preset_default_get_meta), (gst_preset_default_randomize),
328 (gst_preset_default_reset), (gst_preset_get_preset_names),
329 (gst_preset_get_property_names), (gst_preset_load_preset),
330 (gst_preset_save_preset), (gst_preset_rename_preset),
331 (gst_preset_delete_preset), (gst_preset_set_meta),
332 (gst_preset_get_meta), (gst_preset_class_init),
333 (gst_preset_base_init), (gst_preset_get_type):
335 Add GstPreset to core. Fixes #396779
337 * tests/check/Makefile.am:
338 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
339 (gst_preset_test_set_property), (gst_preset_test_class_init),
340 (gst_preset_test_base_init), (gst_preset_test_get_type),
341 (gst_preset_test_plugin_init), (GST_START_TEST),
342 (remove_preset_file), (test_setup), (test_teardown),
344 Add GstPreset unit tests.
346 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
348 * gst/gstpad.c: (gst_pad_event_default_dispatch):
349 The default event function on a sinkpad should return TRUE when
350 there are no internal links but should collect the return values from
351 the internal links otherwise.
353 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
355 * plugins/elements/gsttypefindelement.c:
356 (gst_type_find_element_src_event),
357 (gst_type_find_element_handle_event):
358 Use faster and safer _pad_push_event().
360 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
362 * docs/gst/gstreamer-sections.txt:
363 * gst/gstutils.c: (element_find_unlinked_pad),
364 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
366 API: add gst_bin_find_unlinked_pad()
367 API: deprecate gst_bin_find_unconnected_pad() (#401456)
369 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
375 Fixed a bunch of typos.
377 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
380 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
381 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
382 (gst_parse_bin_from_description_full):
384 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
386 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
388 * docs/pwg/advanced-tagging.xml:
389 Small docs update, can't be bothered to rewrite the nonsensical
392 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
395 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
397 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
399 * gst/parse/grammar.y:
400 Remove unneeded casts.
402 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
404 * gst/parse/grammar.y:
405 * tests/check/pipelines/parse-launch.c:
406 Get all missing elements from a parse launch string if possible
407 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
409 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
411 * tests/check/Makefile.am:
412 * tests/check/pipelines/parse-launch.c:
413 Add some unit tests for the new gst_parse_launch*_full() API.
414 (Exposes a previously-existing memory leak in the error code
415 path, so adding to VALGRIND_TO_FIX for now).
417 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
419 * docs/gst/gstreamer-sections.txt:
420 * gst/gst.c: (init_post):
421 * gst/gst_private.h: (_GstParseContext):
422 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
423 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
424 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
425 (gst_parse_launch_full):
426 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
427 (GstParseFlags), (GstParseContext):
428 * gst/gstutils.c: (gst_parse_bin_from_description),
429 (gst_parse_bin_from_description_full):
431 * gst/parse/grammar.y:
433 * win32/common/libgstreamer.def:
434 Add new gst_parse_*_full API (#528178):
435 API: gst_parse_launch_full()
436 API: gst_parse_launchv_full()
437 API: gst_parse_bin_from_description_full()
438 API: gst_parse_context_new()
439 API: gst_parse_context_free()
440 API: gst_parse_context_get_missing_elements()
442 2008-05-23 Stefan Kost <ensonic@users.sf.net>
444 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
446 * docs/faq/gst-uninstalled:
447 Also support ffmpeg in gst-uninstalled.
449 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
452 After discussion on IRC use the binary registry as default
453 but allow to disable it with --disable-binary-registry.
455 * win32/common/libgstreamer.def:
456 Add the two new symbols for the binary registry.
458 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
460 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
461 * gst/gstutils.c: (gst_parse_bin_from_description):
462 * gst/parse/grammar.y: (graph):
463 More guards against bad input; typo fix; some minor clean-ups.
465 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
467 Patch by: Sjoerd Simons <sjoerd at luon dot net>
469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
470 If nothing else can be used, use the last buffer's start time as
471 the segment's last stop. Fixes bug #534258.
473 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
475 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
476 Move size sanity check to the right place: downstream may return
477 a buffer with a smaller size if the buffer caps are different than
478 the requested ones, as may happen when doing reverse negotiation.
480 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
482 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
483 (gst_file_sink_render):
484 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
485 (gst_file_src_start):
486 Small cleanups. Add note adbout g_fopen() on windows and why we don't
489 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
491 * gst/gstpad.c: (gst_pad_load_and_link):
492 * gst/gstutils.c: (gst_element_link_pads),
493 (gst_element_unlink_pads):
494 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
495 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
496 (gst_check_teardown_sink_pad),
497 (gst_check_element_push_buffer_list):
498 * tests/check/elements/fakesink.c: (GST_START_TEST):
499 * tests/check/elements/filesink.c:
500 * tests/check/elements/filesrc.c: (GST_START_TEST):
501 * tests/check/elements/multiqueue.c: (setup_multiqueue),
502 (mq_sinkpad_to_srcpad):
503 * tests/check/elements/tee.c: (GST_START_TEST):
504 * tests/check/generic/sinks.c: (GST_START_TEST):
505 * tests/check/gst/gstbin.c: (GST_START_TEST):
506 * tests/check/gst/gstevent.c: (GST_START_TEST):
507 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
508 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
509 * tests/check/gst/gstquery.c: (GST_START_TEST):
510 * tests/check/gst/gstutils.c: (GST_START_TEST):
511 * tests/check/libs/basesrc.c: (GST_START_TEST):
512 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
513 (gst_parse_test_element_change_state):
514 Don't use gst_element_get_pad().
516 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
519 Fix installing plugin documentation when gtk-doc is disabled.
521 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
523 * docs/manual/advanced-autoplugging.xml:
524 * docs/manual/basics-helloworld.xml:
525 * docs/manual/basics-pads.xml:
526 * docs/manual/highlevel-components.xml:
527 Avoid using a bad function in the example code.
529 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
531 * gst/gstclock.c: (gst_clock_set_calibration):
532 Fix debug of the new clock rate.
534 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
536 * win32/common/libgstbase.def:
537 Add gst_base_sink_wait_clock() to the exported symbols.
539 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
541 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
543 * libs/gst/base/gstbasetransform.c:
544 (gst_base_transform_sink_event):
545 Unref events that the GstBaseTransform::event vfunc didn't want to
546 have forwarded by the base class. Closes a leak in identity.
549 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
551 * docs/libs/gstreamer-libs-sections.txt:
552 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
553 * libs/gst/base/gstbasesink.h:
554 Expose a method that was previously used internally to synchronize
555 against the clock because it can be useful for subclasses too.
556 API: GstBaseSink::gst_base_sink_wait_clock()
558 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
560 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
561 Add sanity check to make sure we don't get smaller buffers
562 than requested (and fallback to normal buffer alloc if we do).
564 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
566 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
567 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
568 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
569 Refactor adjusting the running_time with latency and offset into a
571 When doing clipping, we still want to use the subclass get_times method,
572 just in case the DURATION or TIMESTAMP are not set.
574 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
576 * docs/gst/gstreamer-sections.txt:
577 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
579 * win32/common/libgstreamer.def:
580 API: add gst_type_find_suggest_simple(), #533740.
582 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
584 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
585 Use right error code when typefinding fails, so we can use
586 the default (translated) error messages.
588 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
590 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
591 (gst_base_src_start):
592 When the subclass did not set caps on outgoing buffers, configure the
593 caps we negotiated on the source pad.
594 When the typefind helper does not find caps, error out properly instead
595 of doing things with NULL caps.
597 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
600 Tabs to spaces, oh yes!
602 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
604 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
605 Add David's and Benjamin's tests for array intersection to the
606 unit test suite (#147931).
608 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
611 Document that gst_event_new_tag() and gst_event_new_navigation()
612 take ownership of the taglist/structure passed to them. (#533635).
614 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
617 Don't descend into the plugins dir if plugin docs building
621 Add a note about the new type:GTypeName syntax for the plugin
622 documentation .types file.
624 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
626 * gst/gstmessage.c: (gst_message_new_error),
627 (gst_message_new_warning), (gst_message_new_info):
629 Mark the debug string parameters as const. Fixes bug #533490.
631 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
633 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
634 Sort buffer cache list by end offsets. This makes sure that we don't
635 stop to search for a cached buffer that contains the requested data
637 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
638 more efficient. Fixes bug #459862.
640 2008-05-14 Stefan Kost <ensonic@users.sf.net>
643 Explain why we copy the list.
649 Add one debug-log statement to help tracing probelms with linking pads.
651 2008-05-12 Stefan Kost <ensonic@users.sf.net>
653 * tests/check/gst/gstinfo.c:
654 Add a test for removing the default log handler. Seems to fail under
657 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
659 * gst/gstpad.c: (gst_pad_peer_accept_caps):
660 Release pad lock before calling out to avoid a possible deadlock.
662 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
664 * gst/parse/grammar.y:
665 Remove unneeded value unset.
667 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
668 Add unit test for de/serialization of caps.
670 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
672 * plugins/elements/gstfakesink.c:
673 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
674 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
675 (gst_fake_src_class_init):
676 Use custom marshalers that take GstMiniObject as first parameter.
677 Using OBJECT as parameter while a GstMiniObject is given will lead
678 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
680 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
682 * plugins/elements/gsttypefindelement.c:
683 (gst_type_find_element_handle_event),
684 (gst_type_find_element_send_cached_events),
685 (gst_type_find_element_change_state):
686 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
689 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
691 * plugins/elements/gsttypefindelement.c:
692 (gst_type_find_handle_src_query), (stop_typefinding),
693 (gst_type_find_element_handle_event),
694 (gst_type_find_element_send_cached_events),
695 (gst_type_find_element_change_state):
696 Forward FLUSH_START events immediately and clean up instead of
699 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
701 Patch by: Sjoerd Simons <sjoerd at luon dot net>
703 * libs/gst/base/gstbasetransform.c:
704 (gst_base_transform_buffer_alloc):
705 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
706 fall back to default negotiation in the chain function if the caps
707 are different from what was requested. Fixes bug #526768.
709 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
712 * tests/check/gst/gstsegment.c:
713 No, let's not use g_slice_{dup|copy} here, since they only exist
714 since GLib 2.14 and we still depend only on >= 2.12. Also add
715 unit test for gst_segment_copy().
717 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
719 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
720 Try to fix 'dereferencing type-punned pointer will break strict
721 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
722 changed the default GType typedef from gulong to gsize at some point,
723 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
724 g_once_* functions all take a gsize * though, so work around the type
725 mismatch for C++ by doing everything in gsize and casting to GType
728 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
730 * plugins/elements/gstmultiqueue.c:
731 Add documentation for the signals to push our core plugin docs
732 coverage back up to 100%.
734 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
736 * gst/gstinfo.h (GST_FUNCTION):
737 Reverted GST_FUNCTION to the old version as we don't want the
738 full signature in C++ code. Also added support for MSVC.
740 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
743 Intern the type name string, similar to what G_DEFINE_TYPE does.
745 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
748 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
750 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
752 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
754 * libs/gst/base/gstbasetransform.c:
755 (gst_base_transform_buffer_alloc):
756 Don't passthrough buffer allocation too easily if the caps change.
757 This breaks when working in passthrough mode and upstream changes
758 it's caps. Fixes bug #526768.
760 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
762 * gst/gstinfo.c (gst_debug_log_valist):
763 Improved the __FILE__ part of debug output for MSVC.
765 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
767 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
768 Declaration after statement fix for compilers like MSVC.
770 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
772 * win32/common/config.h.in:
773 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
774 use the real thing than having "???" unconditionally.
776 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
778 * gst/gstinfo.h (GST_FUNCTION):
779 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
781 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
783 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
786 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
787 (gst_base_sink_set_flushing):
788 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
791 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
793 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
794 (gst_fake_src_init), (gst_fake_src_set_property),
795 (gst_fake_src_get_property), (gst_fake_src_start):
796 * plugins/elements/gstfakesrc.h:
797 Added format property to control the format of the newsegment events.
798 API: GstFakeSrc:format
800 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
802 * win32/common/libgstreamer.def:
803 Add gst_pad_has_name() to the exported symbols.
805 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
807 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
808 * libs/gst/base/gstbasetransform.c:
809 (gst_base_transform_prepare_output_buffer):
810 Don't allow negative sizes when allocating new buffers.
813 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
815 Patch by: Sjoerd Simons <sjoerd at luon net>
817 * gst/gstbus.c: (gst_bus_source_dispatch):
818 Don't print a warning if the queue is empty when we try to pop
819 here. That could happen if another thread or callback set the
820 bus to flushing between the source's check/prepare and the
821 dispatch being called (#531538).
823 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
825 * plugins/elements/gstmultiqueue.c:
828 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
830 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
831 Add unit test for deserializing uint64s and check some really large
832 numbers in the int64 test.
834 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
836 * tools/gst-inspect.c: (n_print), (print_hierarchy),
837 (print_interfaces), (print_element_properties_info),
839 Use "%s" as format string instead of printing strings directly.
841 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
843 * gst/gstclock.c: (gst_clock_set_calibration):
844 Make some checks actually useful.
846 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
847 Remove some unused code. Unsigned integers tend to be >= 0.
849 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
851 * gst/gstminiobject.c: (gst_value_get_mini_object):
852 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
853 function was not in the unscheduled 0.10.19 release.
855 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
857 * gst/gstregistry.c: (gst_registry_scan_path_level):
858 Only print one log message per non-plugin file.
860 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
862 * gst/gstinfo.c: (gst_debug_log_default):
863 Fix alignment of debug log columns on 64-bit.
865 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
867 * docs/libs/Makefile.am:
868 * docs/libs/gstreamer-libs-sections.txt:
869 Ignore private controller headers for docs.
871 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
873 * libs/gst/controller/gstcontrollerprivate.h:
874 * libs/gst/controller/gsthelper.c:
875 * libs/gst/controller/gstinterpolation.c:
876 * libs/gst/controller/gstinterpolationcontrolsource.c:
877 (gst_interpolation_control_source_set_interpolation_mode):
878 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
879 * libs/gst/controller/lib.c:
880 Move some private declarations into private headers.
882 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
884 * gst/gstdebugutils.c: (debug_dump_element_pad):
885 Remove some code that is unused after Stefan's refactoring and uses
886 uninitialized variables now, resulting in a compiler warning.
888 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
890 * gst/gstregistry.c: (gst_registry_scan_path_level):
891 Run g_str_has_suffix() only on the file name, not the
894 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
896 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
897 Since we're not called only from the chain function any longer,
898 we can't assume that there's always data in the queue, so move
899 the is_full check to the beginning of the loop (otherwise we'd
900 hit the assert when changing the limit properties while the
901 queue is empty or not running yet).
902 Also, only set a discont if items were actually removed from
905 * tests/check/elements/queue.c: (test_leaky_downstream):
906 Test case for the above.
908 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
910 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
912 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
913 (gst_queue_chain), (queue_capacity_change),
914 (gst_queue_set_property):
915 When changing thr max capacity of a leaky queue, immediatly drop buffers
916 instead of waiting for a push on the sinkpad. Fixes #530637.
918 2008-04-30 Stefan Kost <ensonic@users.sf.net>
920 * gst/gstdebugutils.c:
921 Refactor code and fix handling of ghostpads and their proxypads.
923 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
925 * docs/gst/gstreamer-sections.txt:
926 * gst/gstevent.c: (gst_event_has_name):
928 * tests/check/gst/gstevent.c: (GST_START_TEST):
929 Add method to conveniently check the name of a custom event with
930 gst_event_has_name().
931 Reformat the event docs so that related methods are put together instead
932 of the default alphabetical sort.
933 Update unit test with new method.
934 API: GstEvent::gst_event_has_name()
936 2008-04-28 Michael Smith <msmith@songbirdnest.com>
938 * libs/gst/check/Makefile.am:
939 Don't add an explicit link to libgstreamer-0.10.la; it's already
940 included in GST_OBJ_LIBS.
942 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
945 Register GstClock type from a type-safe context. Fixes bug #530317.
947 2008-04-25 Michael Smith <msmith@songbirdnest.com>
949 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
951 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
953 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
955 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
957 Use the GLib stuff to create a private structure.
958 Add some locking around some dispose methods to make them a little
959 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
961 2008-04-25 Stefan Kost <ensonic@users.sf.net>
963 * libs/gst/base/gstbasesink.h:
964 * libs/gst/base/gstbasesrc.h:
965 * libs/gst/base/gstbasetransform.h:
966 * libs/gst/base/gstcollectpads.h:
967 Fix doc typos and unify caps a bit.
969 2008-04-25 Stefan Kost <ensonic@users.sf.net>
971 * tools/gst-launch.1.in:
972 Forgot to also add the envvar docs here.
974 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
976 * gst/gst.c: (init_post), (gst_deinit):
977 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
978 (test_concurrent_create), (gst_pipeline_suite):
979 Ref some more classes in gst_init() to work around thread-safety
980 issues in pre-2.16 GLibs, and add basic unit test.
982 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
984 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
985 (gst_base_sink_send_event):
986 Rearrange the latency query code. We always want to do the upstream
987 query, even if we are not live so that the upstream elements can get the
988 latency results too. If we fail doing the query and we are live, we
989 return TRUE afterwards.
991 2008-04-24 Stefan Kost <ensonic@users.sf.net>
993 patch by: Jason Zhao <e3423c@motorola.com>
995 * docs/gst/running.xml:
997 Enable/disable scan_and_update_registry() based on commandline switch
998 or environment variable. Fixes #520468.
1001 Fix typo in my previous commit.
1003 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1005 * gst/gstregistrybinary.c:
1006 Add a warning if we hit unhandled factories when saving.
1007 More debug logging detail, but move to LOG category.
1009 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1011 * gst/gstregistry.c:
1012 Tell the *truth* when improving the documentation.
1014 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1016 * gst/gstelementfactory.c: (gst_element_factory_make):
1017 Unref the factory after it was used the last time, not before.
1019 * gst/gstindexfactory.c: (gst_index_factory_make):
1020 Improve debugging a bit and don't leak a ref to the index factory with
1023 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1025 * gst/gstregistry.c:
1026 Improve the documentation.
1028 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1031 The glib macro seems to be borked. Use g_slice_copy directly and cast
1032 in the hope that this fixes the warning on 64bit.
1034 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1037 Document the new function. Use g_slice_dup() (no need for
1038 gst_segment_init()).
1040 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1042 * docs/gst/gstreamer-sections.txt:
1043 Move GParamSepc macros to standart section.
1046 Dn't document _get_type - its in private section in docs anyway and
1047 this doc-blob was incomplete.
1050 Fix wrong symbol names in docs.
1053 Add once doc sentence.
1055 * tests/check/gst/.cvsignore:
1058 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1060 * docs/gst/Makefile.am:
1061 And remove those libs here.
1063 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1065 * docs/libs/Makefile.am:
1066 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1068 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1070 Patch by: Olivier Crete <tester at tester dot ca>
1072 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1073 Add the min-threshold to the min latency if possible. Fixes #529148.
1075 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1077 * docs/gst/gstreamer.types.in:
1078 Stupid editor, I removed that line as it should go in yet.
1080 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1082 * docs/gst/gstreamer.types.in:
1083 * docs/libs/gstreamer-libs.types:
1084 Remove library types fro core docs and have them in libs docs.
1085 Reformat and cleanup. Add comment for miniobject types.
1087 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1089 * gst/gsturi.c: (gst_uri_get_protocol):
1090 Fix leak: g_strdown operates on the string in place, while
1091 g_ascii_strdown() returns a newly-allocated string.
1093 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1095 * tools/gst-inspect.c: (print_uri_handler_info),
1096 (print_element_info):
1097 Print the URI protocols and the URI type supported by the element.
1099 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1101 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1102 Use g_value_take_string() instead of the deprecated
1103 g_value_set_string_take_ownership().
1105 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1107 * gst/gstregistrybinary.c: (_gst_crc32):
1108 Return the old CRC instead of 0 if we give a NULL buffer
1109 or a buffer with a length of 0.
1111 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1113 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1114 (gst_uri_get_protocol), (gst_uri_has_protocol),
1115 (gst_uri_construct), (gst_uri_handler_set_uri):
1116 A valid URI scheme can also include '+', '-' and '.' additional
1117 to alphanumeric characters as per RFC 3986 Section 3.1.
1119 Handle URI schemes case insensitive in all places and convert
1120 to lower-case when constructing an URI or setting an URI with
1121 the GstURIHandler interface. Fixes bug #528868.
1122 All elements can still assume (as before) that they will
1123 get passed URIs with a lower-case URI scheme by the GstURIHandler
1126 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1128 * gst/gstcaps.c: (gst_static_caps_get):
1129 * gst/gstclock.c: (gst_clock_entry_new):
1130 Don't use g_atomic_set_int where it's not needed.
1132 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1134 * gst/gstvalue.c: (gst_value_deserialize_caps):
1135 * gst/parse/grammar.y:
1138 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1140 * gst/gstutils.c: (gst_atomic_int_set):
1141 Use g_atomic_int_set() here too instead of assignment +
1144 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1148 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1149 now that we depend on new enough GLib.
1151 * gst/gstcaps.c: (gst_static_caps_get):
1152 * gst/gstclock.c: (gst_clock_entry_new):
1153 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1154 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1155 (gst_debug_category_set_threshold):
1156 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1157 (gst_base_sink_set_qos_enabled):
1158 * libs/gst/net/gstnettimeprovider.c:
1159 (gst_net_time_provider_set_property):
1160 Use g_atomic_int_set() instead of gst_atomic_int_set().
1162 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1165 Also use G_GINT64_CONSTANT for the queries.
1167 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1170 Use G_GINT64_CONSTANT in varargs function.
1172 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1174 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1175 Initialize the registry magic with zeroes.
1177 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1179 * gst/gstregistrybinary.c: (_gst_crc32),
1180 (gst_registry_binary_write),
1181 (gst_registry_binary_initialize_magic),
1182 (gst_registry_binary_write_cache),
1183 (gst_registry_binary_check_magic),
1184 (gst_registry_binary_read_cache):
1185 * gst/gstregistrybinary.h:
1186 Add crc32 checksum to the binary registry file and check this before
1187 accepting a registry file.
1189 Also free the data list when writing to the registry file fails.
1191 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1193 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1194 (gst_registry_binary_load_feature),
1195 (gst_registry_binary_load_plugin):
1196 If an element supports the Uri interface, returns a valid pointer
1197 to the supported URI protocols but this pointer contains nothing
1198 don't try to save that as it will corrupt the registry.
1200 Don't unref the plugin if we added it to the registry already but
1201 fail to load a feature as gst_registry_add_plugin() takes ownership
1204 Improve debugging a bit.
1206 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1209 Clarify some tag item docs after discussion on irc.
1211 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1213 * docs/gst/gstreamer-docs.sgml:
1214 Remove commented out plugins (they have their own docs). Update
1217 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1219 * docs/gst/gstreamer-docs.sgml:
1220 * docs/gst/gstreamer-sections.txt:
1221 * gst/gstparamspecs.c:
1222 * gst/gstparamspecs.h:
1223 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1224 docs to own section.
1227 This now only documents GValue.
1229 * docs/libs/gstreamer-libs-sections.txt:
1230 * libs/gst/controller/gstcontroller.h:
1231 Remove GST_PARAM_CONTROLLABLE.
1233 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1236 Correct file path. Tell about how to use -overrides.txt.
1237 * docs/design/draft-tagreading.txt:
1238 Small design update.
1240 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1242 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1243 (gst_registry_binary_load_plugin):
1244 Fix a typo in a debug message and revert change from yesterday as
1245 gst_registry_add_plugin() will only fail if something is really wrong
1246 already and we can't survive it anyway.
1248 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1250 * gst/gst.c: (init_post), (gst_deinit):
1251 Pre-register GstGError GType from a thread-safe context
1252 (fixes #527967); unref enum type classes in deinit.
1254 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1256 Patch by: Rene Stadler <mail at renestadler de>
1258 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1259 Merging an empty list with another list in KEEP_ALL mode should
1260 yield an empty list as result and not the second list (#512578).
1262 * tests/check/gst/gsttagsetter.c:
1263 Add unit test for tag merge modes and the aforementioned bug.
1265 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1267 Patch by: Rene Stadler <mail at renestadler de>
1270 Fix description to match the order in the table (#512577).
1272 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1274 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1276 * libs/gst/net/gstnettimepacket.h:
1277 * docs/libs/gstreamer-libs-sections.txt:
1278 Define socklen_t as int if it's not defined yet. Fixes compilation
1279 with MSVC6 and other versions where socklen_t is not defined in
1280 the windows headers (#518022).
1282 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1284 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1285 If gst_registry_add_plugin() fails our reference to the plugin is
1286 invalid so don't try to use it anymore and instead error out.
1288 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1290 * tools/gst-xmlinspect.c: (print_element_info), (main):
1291 De-cruft a bit. If no argument is specified, print all elements in
1292 XML syntax rather than a freestyle list of elements like gst-inspect.
1293 Also, don't print XML header chunk unless we actually have something
1294 to print (ie. don't print it before an error message); print error
1295 message to stderr not stdout. Remove support for printing plugin
1296 info (it would just output something freestyle along the lines of
1297 gst-inspect so far), which fixes #514507. Also add license header.
1299 2008-04-11 Julien Moutte <julien@fluendo.com>
1302 * configure.ac: Merge platform specific defines, introduce a new
1303 define on OS X to remember that forking when updating registry is
1305 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1307 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1309 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1310 condition that leads to absolutely no plugins being registered on
1313 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1315 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1317 * gst/gstutils.c: (gst_pad_add_data_probe),
1318 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1319 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1320 (gst_pad_add_buffer_probe_full):
1322 * docs/gst/gstreamer-sections.txt:
1323 * win32/common/libgstreamer.def:
1324 Add gst_pad_add_*_probe_full() functions with a notify callback that
1325 lets the caller free the data it passes to the probe functions. This
1326 is useful for bindings such as gst-python or gstreamermm (#526814).
1327 API: gst_pad_add_data_probe_full
1328 API: gst_pad_add_buffer_probe_full
1329 API: gst_pad_add_event_probe_full
1331 * tests/check/gst/gstutils.c:
1332 Add minimal unit test to make sure freeing the data actually works
1335 * tests/benchmarks/.cvsignore:
1336 Random cvsignore addendum.
1338 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1340 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1341 (GST_DEBUG_BIN_TO_DOT_FILE):
1342 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1343 to it in the docs (since these are macros the types of the arguments
1344 won't be shown in the docs otherwise).
1346 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1349 Do not abort on out of memory for pad_alloc_buffer.
1351 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1353 * libs/gst/check/gstcheck.c:
1354 Remove blank line between symbol name ad parameters to fix gtkdoc
1357 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1359 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1361 * docs/gst/gstreamer-sections.txt:
1364 * win32/common/libgstreamer.def:
1365 Expose gst_segment_copy() to make things easier for the c++ bindings.
1367 API: gst_segment_copy()
1369 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1371 * gst/gst.c: (gst_init_get_option_group), (init_post):
1372 Fix const position; ref GType classes for enum types to work
1373 around thread-safety issues in GLib versions < 2.16.
1375 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1377 * docs/design/part-buffering.txt:
1378 Fix some typos and set the estimated total for push mode to -1.
1380 * gst/gstquery.c: (gst_query_new_buffering):
1381 Set buffering-left to 0 as we're not buffering by default.
1383 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1384 Implement BUFFERING query.
1386 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1388 Based on patch by: Milosz Derezynski <internalerror gmail com>
1390 * gst/gsterror.c: (_gst_stream_errors_init):
1392 Add two new error codes for encrypted content. Fixes #524659.
1393 API: GST_STREAM_ERROR_DECRYPT
1394 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1396 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1401 * win32/common/libgstreamer.def:
1404 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1406 * plugins/elements/gstidentity.c: (gst_identity_event),
1407 (gst_identity_start):
1408 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1409 event after processing some data. Fixes bug #526042.
1411 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1413 * docs/gst/gstreamer-sections.txt:
1414 * gst/gstquery.c: (gst_query_parse_latency),
1415 (gst_query_set_buffering_percent),
1416 (gst_query_parse_buffering_percent),
1417 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1419 Rename _avail -> _range
1420 API: gst_query_set_buffering_range
1421 API: gst_query_parse_buffering_range
1423 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1425 * docs/design/part-buffering.txt:
1428 * gst/gstquery.c: (gst_query_parse_latency),
1429 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1430 (gst_query_parse_buffering_percent):
1432 Add busy field and quark for the buffering query so that the app can
1433 only use the query to see if buffering is in progress.
1435 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1437 * docs/gst/gstreamer-sections.txt:
1438 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1439 (gst_message_parse_buffering_stats):
1441 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1442 (gst_query_parse_latency), (gst_query_new_buffering),
1443 (gst_query_set_buffering_percent),
1444 (gst_query_parse_buffering_percent),
1445 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1446 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1448 Reorder the message docs and headers for clarity.
1449 Add aditional buffering stats API for messages.
1450 Add buffering query.
1451 Convert some leftover queries to use GstQuark.
1452 API: gst_message_set_buffering_stats
1453 API: gst_message_parse_buffering_stats
1454 API: GST_QUERY_BUFFERING
1455 API: GstBufferingMode
1456 API: gst_query_new_buffering
1457 API: gst_query_set_buffering_percent
1458 API: gst_query_parse_buffering_percent
1459 API: gst_query_set_buffering_stats
1460 API: gst_query_parse_buffering_stats
1462 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1464 * gst/gstmessage.c: (gst_message_new_error),
1465 (gst_message_new_warning), (gst_message_new_info),
1466 (gst_message_new_buffering), (gst_message_new_state_changed),
1467 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1468 (gst_message_new_new_clock), (gst_message_new_segment_start),
1469 (gst_message_new_segment_done), (gst_message_new_duration),
1470 (gst_message_new_async_start), (gst_message_parse_buffering),
1471 (gst_message_parse_state_changed),
1472 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1473 (gst_message_parse_new_clock), (gst_message_parse_error),
1474 (gst_message_parse_warning), (gst_message_parse_info),
1475 (gst_message_parse_segment_start),
1476 (gst_message_parse_segment_done), (gst_message_parse_duration),
1477 (gst_message_parse_async_start):
1478 Use GstQuark for messages.
1480 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1482 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1484 Add some more quarks needed for messages and queries.
1486 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1488 * docs/design/part-buffering.txt:
1489 Remove the "none" buffering mode, STREAM is a good default.
1490 Move estimated-time to the avail query, that's when it will be needed.
1491 Other small typo fixes and updates.
1493 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1495 * gst/gstindex.c: (gst_index_resolver_get_type):
1496 Don't put descriptions into the nick field of a GEnumValue: it's not
1497 meant for that and some language bindings rely on the nick field to
1498 construct constants and the like. Fixes #526705.
1500 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1505 Merge other changes from 0.10.19 release branch.
1507 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1509 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1512 Actually build dlls when cross-compiling with mingw32.
1515 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1517 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1520 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1522 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1524 * docs/design/draft-latency.txt:
1527 * docs/design/part-buffering.txt:
1528 Update design docs with more buffering ideas.
1530 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1533 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1535 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1538 Revert part that belongs to the preset patch.
1540 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1543 Add qoutes to the define. Fixes # 525961.
1545 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1547 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1548 (gst_file_index_load), (gst_file_index_add_id),
1549 (gst_file_index_get_assoc_entry):
1550 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1551 (gst_mem_index_free_id), (gst_mem_index_add_id),
1552 (gst_mem_index_index_format):
1553 Use GSlice when possible.
1555 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1557 * libs/gst/controller/gstinterpolationcontrolsource.c:
1558 (gst_control_point_free),
1559 (gst_interpolation_control_source_set_internal):
1560 Use GSlice for allocating the control points.
1562 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1564 * plugins/elements/gsttypefindelement.c:
1565 (gst_type_find_element_class_init),
1566 (gst_type_find_element_set_property),
1567 (gst_type_find_element_get_property),
1568 (gst_type_find_element_activate):
1569 * plugins/elements/gsttypefindelement.h:
1571 Fix pad leak when peer query fails.
1572 We can still typefind when the peer returns -1.
1573 Add property to force caps and bypass typefinding. This will be used in
1577 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1582 * gst/glib-compat-private.h:
1583 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1584 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1585 Unconditionally use GSlice for allocation.
1587 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1588 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1589 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1590 (gst_structure_free):
1591 Use GSlice for allocation.
1593 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1595 * gst/parse/Makefile.am:
1596 * gst/parse/grammar.tab.pre.c:
1597 * gst/parse/grammar.tab.pre.h:
1598 * gst/parse/lex._gst_parse_yy.pre.c:
1599 Require a new enough flex and bison and remove the parser hacks to use
1600 a pre-regenerated version.
1602 2008-04-01 Julien Moutte <julien@fluendo.com>
1604 patch by: Jason Zhao <E3423C@motorola.com>
1606 * configure.ac: Add a configure switch to disable option parsing
1610 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1613 * gst/gstregistry.c:
1614 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1615 and handle this case.
1618 Add a comment here describing, why we stat each plugin and not try to
1621 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1623 * libs/gst/base/gstbasetransform.c:
1624 (gst_base_transform_prepare_output_buffer):
1625 Also unset the GAP flag on buffers if we're working inplace but
1626 the element is not GAP-aware.
1628 Mark a comment as FIXME 0.11.
1630 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1633 Fix type in log message and add one to ease seeing how long registry
1634 cache verification takes.
1636 * gst/gstregistry.c:
1637 Only test plugin filenames against G_MODULE_SUFFIX.
1639 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1641 * gst/gstdebugutils.c:
1642 Improve handling ghost/proxy pads.
1644 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1646 * docs/gst/gstreamer-sections.txt:
1649 Expose macro to docs and fix link to it.
1651 2008-03-27 Michael Smith <msmith@fluendo.com>
1653 * libs/gst/dataprotocol/dataprotocol.c:
1654 (gst_dp_packet_from_event_1_0):
1655 When calculating GDP body CRC, use the correct pointer.
1656 Fixes part of #522401.
1658 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1660 Patch by: Mark Nauwelaerts <manauw at skynet be>
1662 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1663 (gst_identity_init), (gst_identity_prepare_output_buffer):
1664 Identity is not always a passthrough element, it can modify the buffer
1665 timestamps when it has a datarate and operates in single-segment mode.
1666 We therefore make it an in_place filter with a custom buffer prepare
1667 function that conditionally makes the input buffer metadata writable
1668 when needed. Fixes #523985.
1670 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1672 Patch by: Mark Nauwelaerts <manauw at skynet be>
1675 * libs/gst/base/gstbasesrc.h:
1676 * libs/gst/base/gstbasetransform.c:
1677 * libs/gst/check/gstcheck.c:
1678 Small documentation fixes. Fixes #523978.
1680 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1682 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1683 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1684 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1686 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1688 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1689 (single_queue_underrun_cb):
1690 When trying to make room in the queue, bump the max allowed buffers
1691 bigger than the current amount of buffers in the queue. this fixes some
1692 nasty deadlocks in multiqueue when dynamically changing the limits of
1695 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1697 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1699 * gst/gstcaps.c: (gst_caps_set_simple),
1700 (gst_caps_set_simple_valist), (gst_caps_intersect):
1702 Constify the field gchar * params in set_simple and friends.
1705 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1707 * gst/gstvalue.c: (gst_value_transform_object_string):
1708 Transform a GstObject to a more meaningfull string that includes the
1709 object type in addition to its name.
1711 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1714 ChangeLog surgery to add bugnumber to commit.
1716 2008-03-23 Rene Stadler <mail@renestadler.de>
1718 * libs/gst/base/gstbasetransform.c:
1719 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1721 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1723 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1724 Rename constant everywhere and don't forget one occurence.
1726 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1728 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1729 Align memory to the pointer size even if the architecture allows
1730 unaligned memory access. Unaligned memory access usually comes with
1731 performance penality.
1733 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1735 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1736 (gst_registry_binary_check_magic),
1737 (gst_registry_binary_load_pad_template),
1738 (gst_registry_binary_load_feature),
1739 (gst_registry_binary_load_plugin):
1740 Align memory to the pointer size instead of always 32 bit. Fixes
1741 unaligned memory accesses on ia64 and friends.
1743 * gst/gstregistrybinary.h:
1744 Bump binary registry format version for this as it changes the
1745 format on those architectures that don't have unaligned access
1746 and 64 bit pointers.
1748 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1750 * docs/pwg/advanced-dparams.xml:
1751 * docs/pwg/building-props.xml:
1752 * docs/pwg/other-source.xml:
1753 * gst/glib-compat.h:
1754 * gst/gstbin.c: (gst_bin_class_init):
1755 * gst/gstclock.c: (gst_clock_class_init):
1756 * gst/gstindex.c: (gst_index_class_init):
1757 * gst/gstobject.c: (gst_object_class_init):
1758 * gst/gstpad.c: (gst_pad_class_init):
1759 * gst/gstpipeline.c: (gst_pipeline_class_init):
1760 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1761 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1762 * libs/gst/base/gstbasetransform.c:
1763 (gst_base_transform_class_init):
1764 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1765 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1766 (_gst_check_fault_handler_sighandler),
1767 (_gst_check_fault_handler_setup), (gst_check_init):
1768 * libs/gst/controller/gstcontroller.c:
1769 (_gst_controller_class_init):
1770 * libs/gst/controller/gstlfocontrolsource.c:
1771 (gst_lfo_control_source_class_init):
1772 * libs/gst/net/gstnetclientclock.c:
1773 (gst_net_client_clock_class_init):
1774 * libs/gst/net/gstnettimeprovider.c:
1775 (gst_net_time_provider_class_init):
1776 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1777 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1778 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1779 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1780 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1781 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1782 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1783 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1784 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1785 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1786 * plugins/elements/gsttee.c: (gst_tee_class_init):
1787 * plugins/elements/gsttypefindelement.c:
1788 (gst_type_find_element_class_init):
1789 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1790 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1791 use it everywhere for GParamSpecs that use static strings (i.e. all).
1792 This gives us less memory usage, fewer allocations and thus less
1793 memory defragmentation. Fixes bug #523806.
1795 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1797 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1798 (gst_param_spec_mini_object):
1799 * gst/gstminiobject.h:
1800 * win32/common/libgstreamer.def:
1801 * docs/gst/gstreamer-sections.txt:
1802 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1803 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1804 GstParamSpecMiniObject into a public header for this.
1806 This make GstMiniObject a bit more consistent with GObject and makes
1807 it possible to extend the param specs.
1809 gst_value_dup_mini_object is mainly useful for set_property methods.
1813 * tools/gst-inspect.c: (print_element_properties_info):
1814 Print something useful for GstMiniObject properties and not just
1817 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1819 * docs/gst/gstreamer-sections.txt:
1820 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1821 (gst_registry_binary_check_magic):
1822 * gst/gstregistrybinary.h:
1823 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1824 and add it to the (private part) of the docs to fix the build.
1826 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1828 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1829 (gst_registry_binary_check_magic),
1830 (gst_registry_binary_read_cache):
1831 * gst/gstregistrybinary.h:
1832 Don't use GST_MAJORMINOR for the binary registry version. Instead
1833 hardcode a value that must be changed whenever the format changes
1834 in an incompatible way.
1835 Also don't GST_ERROR when there is a version mismatch, just
1836 regenerate the registry silently.
1838 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1841 Back to development - 0.10.18.1
1843 === release 0.10.18 ===
1845 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1848 releasing 0.10.18, "So far away"
1850 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1853 * win32/common/config.h:
1854 0.10.17.4 pre-release
1856 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1858 Patch by: Ole André Vadla Ravnås
1859 <ole dot andre dot ravnas at tandberg dot com>
1861 * docs/gst/gstreamer-sections.txt:
1862 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1863 (gst_poll_update_winsock_event_mask),
1864 (gst_poll_prepare_winsock_active_sets),
1865 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1866 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1867 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1868 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1869 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1871 * win32/common/libgstreamer.def:
1872 Add new function gst_poll_fd_ignored() for improved Windows
1874 Various minor fixes and cleanups. See #520808.
1876 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1878 * gst/gstindex.c: (gst_index_entry_free):
1880 Don't free key strings which we don't own. Fixes crash in
1881 gst_index_entry_free() (#522741).
1883 * tests/check/Makefile.am:
1884 * tests/check/gst/.cvsignore:
1885 * tests/check/gst/gstindex.c: (test_index_entries),
1886 (gst_index_suite), (gst_index):
1887 Add unit test for the above.
1889 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1891 * win32/common/libgstreamer.def:
1892 Remove symbols that were removed recently. Fixes bug #521740.
1894 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1897 * win32/common/config.h:
1898 0.10.17.3 pre-release
1900 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1902 Patch by: Ole André Vadla Ravnås
1903 <ole dot andre dot ravnas at tandberg dot com>
1905 * docs/gst/gstreamer-sections.txt:
1906 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1907 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1908 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1909 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1910 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1911 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1912 (gst_poll_fd_can_write), (gst_poll_wait),
1913 (gst_poll_set_controllable), (gst_poll_restart),
1914 (gst_poll_set_flushing):
1916 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1917 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1918 (gst_net_time_provider_new):
1919 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1920 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1921 * tests/benchmarks/gstpollstress.c: (main):
1922 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1923 Remove GstPollMode from the API, it does not make sense to let the
1924 application control this.
1925 Add support for Win32.
1926 Fix the testsuite. Fixes #520671.
1928 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1930 Patch by: Ole André Vadla Ravnås
1931 <ole dot andre dot ravnas at tandberg dot com>
1933 * gst/gstregistrybinary.c:
1934 Include io.h for write() and close() when building with MSVC. Fixes
1937 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1940 * gst/gst_private.h:
1941 * gst/gstconfig.h.in:
1942 * gst/gstregistry.h:
1943 * gst/gstregistrybinary.c:
1944 * win32/common/gstconfig.h:
1945 Move registry backend API to private headers where we can. Add
1946 fixme-0.11 comments for the others. Add stubs for the xml backend when
1947 using the binary to ensure they functions exists (they should not be
1948 used though). Fixes #520756.
1950 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1953 * win32/common/config.h:
1956 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1958 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1959 (gst_registry_binary_read_cache):
1960 * gst/gstregistryxml.c: (gst_registry_save):
1961 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1962 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1963 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1964 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1965 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1968 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1970 * gst/gstminiobject.c:
1971 Import gst_private.h before any other header that might include other
1972 glib headers. This fixes the build on windows using native compilers.
1974 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1976 * win32/common/gstconfig.h:
1977 Add here too, just for completeness.
1979 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1982 * gst/gstconfig.h.in:
1983 * gst/gstregistry.h:
1984 Fix broken use of config.h-defined preprocessor directive in a public
1985 header file. Add a corresponding define to gstconfig.h, since we can't
1986 really remove those function declarations from the header file now
1987 (or can we? and why are they there in the first place?).
1989 2008-03-03 Andy Wingo <wingo@pobox.com>
1991 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1994 * gst/gststructure.c (gst_structure_from_string): Warn if
1995 structure_from_string didn't consume the whole string, but the
1996 caller did not provide an end pointer.
1998 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2000 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2002 * gst/gstregistryxml.c: (read_string), (load_feature):
2003 Strings allocated by libxml2 should be freed with xmlFree(), not
2004 with g_free(). Fixes issues on windows in certain contexts (#519698).
2006 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2008 * gst/gstinterface.c: (gst_element_implements_interface):
2009 Don't crash if the element supports the interface queried, but does
2010 not implement GstImplementsInterface. Fixes #519584.
2012 * tests/check/Makefile.am:
2013 * tests/check/gst/.cvsignore:
2014 * tests/check/gst/gstinterface.c:
2015 Add unit test for the above.
2017 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2019 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2022 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2024 * gst/gstsegment.c: (gst_segment_set_seek),
2025 (gst_segment_to_stream_time):
2026 Improve some comment.
2027 Update variables where it makes more sense.
2029 2008-02-29 Rene Stadler <mail@renestadler.de>
2031 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2032 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2033 URIHandlers implemented using language bindings.
2035 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2037 * gst/gstelementfactory.h:
2038 * tests/check/elements/fakesink.c:
2039 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2040 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2041 * tests/check/elements/filesink.c: (setup_filesink):
2042 * tests/check/elements/filesrc.c: (setup_filesrc):
2043 * tests/check/elements/identity.c: (setup_identity):
2044 * tests/check/elements/tee.c:
2045 * tests/check/generic/sinks.c:
2046 * tests/check/generic/states.c: (setup), (teardown):
2047 * tests/check/gst/gst.c:
2048 * tests/check/gst/gstabi.c:
2049 * tests/check/gst/gstbin.c:
2050 * tests/check/gst/gstbus.c: (pull_messages):
2051 * tests/check/gst/gstcaps.c:
2052 * tests/check/gst/gstelement.c:
2053 * tests/check/gst/gstevent.c:
2054 * tests/check/gst/gstghostpad.c:
2055 * tests/check/gst/gstiterator.c:
2056 * tests/check/gst/gstmessage.c:
2057 * tests/check/gst/gstminiobject.c: (my_foo_init):
2058 * tests/check/gst/gstobject.c: (thread_name_object),
2060 * tests/check/gst/gstpad.c:
2061 * tests/check/gst/gstplugin.c:
2062 * tests/check/gst/gstpoll.c:
2063 * tests/check/gst/gstquery.c:
2064 * tests/check/gst/gstsegment.c:
2065 * tests/check/gst/gststructure.c:
2066 * tests/check/gst/gstsystemclock.c:
2067 * tests/check/gst/gsttask.c:
2068 * tests/check/gst/gstutils.c:
2069 * tests/check/gst/gstvalue.c:
2070 * tests/check/gst/struct_hppa.h:
2071 * tests/check/gst/struct_i386.h:
2072 * tests/check/gst/struct_ppc32.h:
2073 * tests/check/gst/struct_ppc64.h:
2074 * tests/check/gst/struct_x86_64.h:
2075 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2076 * tests/check/libs/basesrc.c:
2077 * tests/check/libs/controller.c: (GST_START_TEST):
2078 * tests/check/libs/gdp.c:
2079 * tests/check/libs/gstnetclientclock.c:
2080 * tests/check/libs/gstnettimeprovider.c:
2081 * tests/check/libs/libsabi.c:
2082 * tests/check/libs/struct_hppa.h:
2083 * tests/check/libs/struct_i386.h:
2084 * tests/check/libs/struct_ppc32.h:
2085 * tests/check/libs/struct_ppc64.h:
2086 * tests/check/libs/struct_x86_64.h:
2087 * tests/check/pipelines/cleanup.c:
2088 * tests/check/pipelines/simple-launch-lines.c:
2089 * tests/check/pipelines/stress.c:
2090 And correct even more valid sparse warnings.
2092 * win32/common/libgstreamer.def:
2093 Add gst_poll_fd_init to the list of symbols.
2095 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2097 * gst/gstconfig.h.in:
2098 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2099 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2100 (gst_check_log_critical_func), (gst_check_drop_buffers),
2101 (gst_check_element_push_buffer_list):
2102 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2103 (gst_controller_get_type):
2104 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2105 (gst_object_get_controller), (gst_object_get_control_source):
2106 * libs/gst/controller/gstinterpolationcontrolsource.c:
2107 (gst_interpolation_control_source_new):
2108 * libs/gst/controller/gstlfocontrolsource.c:
2109 (gst_lfo_control_source_new):
2110 * libs/gst/dataprotocol/dataprotocol.c:
2111 (gst_dp_event_from_packet_0_2):
2112 * plugins/elements/gstfdsrc.c:
2113 * plugins/elements/gstmultiqueue.c:
2114 * plugins/elements/gsttee.c:
2115 * plugins/elements/gsttypefindelement.c:
2116 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2117 (gst_file_index_add_association):
2118 * plugins/indexers/gstmemindex.c:
2119 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2120 * tests/check/elements/queue.c: (setup_queue):
2121 * tests/check/gst/gstpipeline.c:
2122 * tests/check/libs/collectpads.c: (setup), (teardown),
2123 (gst_collect_pads_suite):
2124 * tests/examples/adapter/adapter_test.c:
2125 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2126 * tests/examples/xml/createxml.c:
2127 * tests/examples/xml/runxml.c:
2128 * tools/gst-inspect.c:
2130 Correct all relevant warnings found by the sparse semantic code
2131 analyzer. This include marking several symbols static, using
2132 NULL instead of 0 for pointers, not using variable sized arrays
2133 on the stack, moving variable declarations to the beginning of
2134 a block and using "foo (void)" instead of "foo ()" for declarations.
2136 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2138 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2139 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2140 Don't reset GstPollFDs, this is not necessary at all.
2142 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2143 (delayed_restart), (delayed_control):
2144 Use GST_POLL_FD_INIT.
2146 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2148 * gst/gstpoll.c: (gst_poll_fd_init):
2152 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2153 Use some more init macros.
2155 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2157 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2158 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2159 Use init macros and functions.
2161 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2163 * docs/gst/gstreamer-sections.txt:
2164 * gst/gstpoll.c: (gst_poll_fd_init):
2166 Add INIT macro and _init method for initializing the GstPollFD.
2168 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2170 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2171 (gst_fd_sink_update_fd):
2172 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2173 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2174 (delayed_restart), (delayed_control):
2175 Initialize some uninitialized variables as spotted by valgrind.
2177 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2179 * tests/benchmarks/Makefile.am:
2180 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2182 Add poll stress test.
2184 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2186 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2188 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2189 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2190 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2191 * plugins/elements/gstfdsink.h:
2192 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2193 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2194 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2195 (gst_fd_src_uri_set_uri):
2196 * plugins/elements/gstfdsrc.h:
2197 Port to GstPoll. See #505417.
2199 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2201 * win32/common/libgstreamer.def:
2202 Add new gst_poll_ symbols to win32 defs.
2204 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2206 * docs/libs/gstreamer-libs-sections.txt:
2207 * libs/gst/net/gstnetclientclock.c:
2208 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2209 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2210 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2211 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2212 * libs/gst/net/gstnetclientclock.h:
2213 * libs/gst/net/gstnettimeprovider.c:
2214 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2215 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2216 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2217 (gst_net_time_provider_new):
2218 * libs/gst/net/gstnettimeprovider.h:
2219 Use a private stuct to not break ABI.
2221 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2223 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2225 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2226 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2227 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2228 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2229 * libs/gst/net/gstnetclientclock.h:
2230 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2231 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2232 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2233 (gst_net_time_provider_new):
2234 * libs/gst/net/gstnettimeprovider.h:
2235 Massive code removal and cleanups because of GstPoll.
2238 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2241 Add checks for poll, ppoll and pselect.
2243 * docs/gst/gstreamer-docs.sgml:
2244 * docs/gst/gstreamer-sections.txt:
2245 Add docs for GstPoll.
2249 * gst/gstpoll.c: (find_index), (selectable_fds),
2250 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2251 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2252 (gst_poll_set_mode), (gst_poll_get_mode),
2253 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2254 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2255 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2256 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2257 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2258 (gst_poll_fd_can_write), (gst_poll_wait),
2259 (gst_poll_set_controllable), (gst_poll_restart),
2260 (gst_poll_set_flushing):
2262 Add generic poll abstraction. We ideally don't want to have this in core
2263 here but in glib intead...
2264 This code will be used in various network elements and ultimately for
2265 the nanosecond precision monotonic clock (that's why it's here in core).
2266 It'll allow us to implement cancelable socket operations for windows too.
2268 * tests/check/Makefile.am:
2269 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2270 (delayed_stop), (delayed_restart), (delayed_flush),
2271 (delayed_control), (gst_poll_suite):
2272 Add GstPoll unit test.
2274 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2277 Improve documentation of gst_filter_run(). Fixes #518627.
2279 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2282 Add a few lines about the new 'check-inspected-versions' target.
2284 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2286 * tests/check/gst/gstevent.c:
2287 Add qos to the event test. Rename tcase/tsuite; is not only about
2290 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2292 * plugins/elements/gstqueue.c:
2293 Ensure that buffer metadata is writeable, before modifying. Spotted by
2296 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2298 * plugins/elements/gstqueue.c:
2299 * plugins/elements/gstqueue.h:
2300 When dropping buffers in leaky modes, mark next buffers we sent as
2303 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2305 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2306 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2308 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2310 * plugins/elements/Makefile.am:
2311 * plugins/elements/gstbufferstore.c:
2312 * plugins/elements/gstbufferstore.h:
2313 * plugins/elements/gsttypefindelement.h:
2314 Remove GstBufferStore, no idea why we were still building it.
2315 It's not used anywhere and superseded by GstAdapter.
2317 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2318 (gst_file_src_create_mmap):
2319 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2320 Printf format fixes for 64-bit integers.
2322 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2325 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2326 We're not in 0.8 times anymore.
2328 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2330 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2331 (gst_check_element_push_buffer_list):
2332 * libs/gst/check/gstcheck.h:
2333 Make the declaration in the header for
2334 gst_check_element_push_buffer_list match the implementation.
2336 Fix up spelling, grammar and wording of the documentation in a few
2337 places, and add the Since keyword to new API functions.
2338 Use g_list_delete_link instead of g_list_remove in
2339 gst_check_drop_buffers, since it's immeasurably more efficient.
2341 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2342 Use new gst_check_drop_buffers function where appropriate.
2344 * win32/common/libgstbase.def:
2345 * win32/common/libgstreamer.def:
2346 Add new symbols gst_collect_pads_take_buffer,
2347 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2350 Changelog surgery to add API keyword to new gst_check API.
2352 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2354 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2355 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2356 Update pre-generated flex files with flex 2.3.34.
2358 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2360 * gst/gstminiobject.c:
2361 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2362 friendly to subclasses and not require them to know all internals
2363 of their parent class.
2365 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2367 * docs/libs/gstreamer-libs-sections.txt:
2368 * libs/gst/base/gstcollectpads.c:
2369 * libs/gst/base/gstcollectpads.h:
2370 Add sub-buffer functions to collectpads. Fixes #516187.
2371 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2373 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2376 Copy selected buffer-flags when creating subbuffers.
2379 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2381 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2382 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2383 * gst/gstmessage.c: (gst_message_class_init),
2384 (gst_message_finalize):
2385 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2386 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2387 (gst_mmap_buffer_finalize):
2388 Properly chain up finalize functions to the parent class.
2390 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2392 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2394 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2395 (gst_index_set_resolver_full):
2397 Add new function with option to dispose of user_data in resolver.
2398 Actually call the dispose function when finalizing the object and not
2399 just when changing the resolver/filter.
2400 API: GstIndex::gst_index_set_resolver_full()
2402 * docs/gst/gstreamer-sections.txt:
2403 Add new function to docs. Fixes #515469.
2405 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2407 * gst/gstindex.c: (gst_index_finalize):
2408 Chain up finalize to the parent class. Fixes leaking the GstObject
2409 name and other things.
2411 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2414 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2415 pre-releases or releases.
2417 * docs/faq/gst-uninstalled:
2420 * docs/random/release:
2421 Change one of the steps - we only upload core & base to Gnome FTP
2423 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2425 * gst/gstconfig.h.in:
2426 Add 'id' for example.
2430 * plugins/elements/gstfdsink.c:
2431 Link to signals. Doc and comment fixes.
2433 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2435 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2436 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2437 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2438 unused and unimplemented; finally, it is plugin features, not
2439 plugins, that have ranks.
2441 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2443 * gst/gstpluginfeature.h:
2444 Clarify GstRank range docs.
2446 2008-02-05 David Schleef <ds@schleef.org>
2448 * gst/gst.c: Add a separate gst_deinitialized that prevents
2449 gst_init() from being called after gst_deinit(). Fixes #509559
2451 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2453 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2454 (gst_bin_class_init):
2455 * gst/gstelement.c: (gst_element_base_class_init),
2456 (gst_element_class_add_pad_template):
2457 * gst/gstpadtemplate.c: (gst_pad_template_init):
2458 * gst/gstpipeline.c: (gst_pipeline_get_type),
2459 (gst_pipeline_base_init), (gst_pipeline_class_init):
2460 * libs/gst/base/gstbasesink.c:
2461 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2462 (gst_base_src_base_init), (gst_base_src_class_init):
2463 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2464 (gst_capsfilter_class_init):
2465 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2466 (gst_fake_sink_class_init):
2467 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2468 (gst_fake_src_class_init):
2469 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2470 (gst_fd_sink_class_init):
2471 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2472 (gst_fd_src_class_init):
2473 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2474 (gst_file_sink_class_init):
2475 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2476 (gst_file_src_class_init):
2477 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2478 (gst_identity_class_init):
2479 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2480 (gst_multi_queue_class_init):
2481 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2482 (gst_queue_class_init):
2483 * plugins/elements/gsttee.c: (gst_tee_base_init),
2484 (gst_tee_class_init):
2485 * plugins/elements/gsttypefindelement.c:
2486 (gst_type_find_element_base_init),
2487 (gst_type_find_element_class_init):
2488 * tests/check/gst/gstelement.c: (gst_element_suite):
2489 Revert previous changes to the behaviour of GstPadTemplates, etc
2490 and the possiblity to call them in class_init as it breaks too
2491 many elements. Reopens bug #491501.
2493 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2496 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2498 * tools/gst-launch.c:
2499 Dump one graph per pipeline state-change and state change name
2500 (if GST_DEBUG_DUMP_DOT_DIR is set).
2502 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2505 * tests/check/gst/gstpad.c:
2506 Be sure that we have a new copy of the caps and not
2507 reffed caps from a template
2509 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2511 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2512 * gst/gstpipeline.c: (gst_pipeline_get_type),
2513 (gst_pipeline_class_init):
2514 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2515 (gst_base_sink_class_init):
2516 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2517 (gst_base_src_class_init):
2518 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2519 (gst_base_transform_class_init):
2520 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2521 (gst_collect_pads_class_init):
2522 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2523 * libs/gst/net/gstnettimeprovider.c:
2524 (gst_net_time_provider_base_init),
2525 (gst_net_time_provider_class_init):
2526 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2527 (gst_capsfilter_class_init):
2528 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2529 (gst_fake_sink_class_init):
2530 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2531 (gst_fake_src_class_init):
2532 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2533 (gst_fd_sink_class_init):
2534 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2535 (gst_fd_src_class_init):
2536 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2537 (gst_file_sink_class_init):
2538 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2539 (gst_file_src_class_init):
2540 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2541 (gst_identity_class_init):
2542 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2543 (gst_multi_queue_class_init):
2544 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2545 (gst_queue_class_init):
2546 * plugins/elements/gsttee.c: (gst_tee_base_init),
2547 (gst_tee_class_init):
2548 * plugins/elements/gsttypefindelement.c:
2549 (gst_type_find_element_base_init),
2550 (gst_type_find_element_class_init):
2551 Don't use base_init where not absolutely necessary. For example it's
2552 not necessary anymore for adding pad templates or setting element
2555 Leave empty base_init functions in several places as GST_BOILERPLATE
2556 still defines and uses them.
2558 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2560 * gst/gstelement.c: (gst_element_base_class_init),
2561 (gst_element_class_add_pad_template):
2562 * gst/gstpadtemplate.c:
2563 Make it possible (and recommended) to set element details and add
2564 pad templates in the class_init functions by copying the details/pad
2565 templates in GstElement's base_init.
2567 Also make it possible to replace existing pad templates by adding
2568 a new one with the same name. This was done in a hackish fashion
2569 in same elements before already.
2571 Don't reference pad templates that are added a second time. A
2572 new pad template has a refcount of one and is not floating anymore
2573 and to be owned by the element's class. Make this more explicit by
2574 mentioning it in the docs of gst_element_class_add_pad_template().
2576 These changes are backwards compatible. Fixes bug #491501.
2578 * tests/check/gst/gstelement.c:
2579 Add unit test for setting element details, adding pad templates and
2580 replacing them in a subclass.
2582 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2584 * tools/gst-inspect.c: (print_interfaces),
2585 (print_element_properties_info), (print_pad_info),
2586 (print_signal_info), (print_element_info):
2587 Fix a few memory leaks.
2589 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2591 * docs/libs/gstreamer-libs-sections.txt:
2592 * libs/gst/check/gstcheck.c:
2593 * libs/gst/check/gstcheck.h:
2594 Add more functions for unit testing: gst_check_drop_buffers,
2595 gst_check_caps_equal, gst_check_element_push_buffer_list,
2596 gst_check_element_push_buffer
2597 API: gst_check_drop_buffers
2598 API: gst_check_caps_equal
2599 API: gst_check_element_push_buffer_list
2600 API: gst_check_element_push_buffer
2602 2008-02-01 Julien Moutte <julien@fluendo.com>
2604 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2605 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2606 (gst_index_finalize), (gst_index_entry_free),
2607 (gst_index_add_association): Fix memory leaks.
2608 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2609 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2610 (gst_mem_index_free_format), (gst_mem_index_free_id),
2611 (gst_mem_index_finalize): Fix memory leaks.
2612 * win32/common/config.h: Updated to CVS HEAD.
2614 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2617 Some more details about how the plugin docs works.
2619 * docs/plugins/gstreamer-plugins-sections.txt:
2622 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2624 * gst/parse/grammar.tab.pre.c:
2625 * gst/parse/grammar.tab.pre.h:
2626 * gst/parse/grammar.y:
2627 * gst/parse/lex._gst_parse_yy.pre.c:
2628 Add delayed set-property. This allows to set properties on dynamicaly
2629 created objects (pads in videomxer). Fixes #509391.
2631 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2634 Check if caps are not NULL (fix bug #510194)
2636 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2638 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2639 (gst_base_sink_get_position_paused):
2640 Add fixme regarding EOS in pull mode.
2641 Fix position reporting in PAUSED for negative rates.
2643 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2645 * gst/gstminiobject.c: (gst_mini_object_replace):
2646 When replacing a miniobject, do a quick equality check first so that we
2647 can avoid a ref/unref pair.
2649 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2651 * docs/design/part-synchronisation.txt:
2654 * docs/plugins/Makefile.am:
2655 * docs/plugins/gstreamer-plugins-docs.sgml:
2656 * docs/plugins/gstreamer-plugins-sections.txt:
2657 * plugins/elements/gstmultiqueue.c:
2658 Add multiqueue to the docs.
2660 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2665 === release 0.10.17 ===
2667 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2670 releasing 0.10.17, "Due Negligence"
2672 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2675 Revert caps != NULL check temporarily for 0.10.17 release.
2677 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2680 Check if caps are not NULL (fix bug #510194)
2682 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2685 Fix compilation on systems that have posix timers but no
2688 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2691 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2693 * tools/gst-inspect.c:
2694 Revert previous commit in preparation for an impromptu 0.10.17 release
2696 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2698 * tools/gst-inspect.c: (print_interfaces),
2699 (print_element_properties_info), (print_pad_info),
2700 (print_signal_info), (print_element_info):
2701 Fix a few memory leaks.
2703 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2708 === release 0.10.16 ===
2710 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2713 releasing 0.10.16, "Special Dispensation"
2715 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2718 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2719 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2720 not fail when trying to crosscompile on OpenEmbedded (#511750).
2722 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2725 Use $(MAKE) instead of make to fix the build if GNU make is
2726 called different. Fixes bug #510747.
2728 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2730 * gst/gstplugin.c: (_gst_plugin_initialize):
2731 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2732 again, which I broke two commits ago when changing the API
2733 of gst_plugin_register_static(): the g_list_foreach() in
2734 _gst_plugin_register_static still assumed the old function
2735 signature and would therefore fail (re-fixes #510187).
2737 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2738 (_gst_plugin_register_static), (gst_plugin_register_static):
2739 Revert the (technically correct) change to call g_thread_init() from
2740 the pre-main() constructor. This will break programs which call
2741 g_thread_init() without an if (!g_thread_supported()) guard in their
2742 main function. We could just blame it on GLib or the application, but
2743 it's probably best to just avoid this altogether and simply not use
2744 any GLib functions here and use plain old malloc() with a simple
2745 array to store the plugins to register later when gst_init() is
2746 finally called (re-fixes #510187).
2748 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2749 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2750 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2751 (GST_START_TEST), (gst_plugin_suite):
2752 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2755 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2757 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2758 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2759 This makes gtk-doc complain, but results in slightly better
2760 compiler errors. The old _gst_plugin_register_static() is
2761 still guarded, so there'll be a compiler warning about that
2762 instead. Fixes #510187 too.
2764 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2766 * gst/gst.c: (init_post):
2767 * gst/gstplugin.c: (_gst_plugin_register_static),
2768 (gst_plugin_register_static), (_gst_plugin_initialize):
2769 * gst/gstplugin.h: (GstPluginFilter):
2770 Change API of gst_plugin_register_static() to not take
2771 a GstPluginDesc, but rather just take all the arguments
2772 in a GstPluginDesc directly. This is more intuitive and
2773 avoids certain mistakes when porting code from
2774 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2777 * tests/check/gst/gstplugin.c:
2778 Fix up for changed API.
2780 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2782 * docs/faq/legal.xml:
2783 Update FAQ, Totem actually has an exception these days.
2785 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2787 * win32/common/libgstreamer.def:
2788 Add new API declarations
2790 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2792 * gst/gstminiobject.c:
2793 Spelling fixes for the API docs.
2795 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2797 * libs/gst/base/gstbasetransform.c:
2798 Fix long property description for QoS.
2800 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2803 _gst_trace_on is already provided by gsttrace.h, no need to declare
2806 * docs/libs/gstreamer-libs-sections.txt:
2807 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2808 and remove strange tcase_add_test which is outputting a warning.
2810 * libs/gst/check/gstcheck.c:
2811 * libs/gst/check/gstcheck.h:
2812 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2813 and define them in gstcheck.c instead of having every .c file whcih
2814 includes gstcheck.h be defining its own copy and relying on symbol
2815 interposing to marry them all, which doesn't work on Solaris.
2817 * tests/check/elements/identity.c: (GST_START_TEST):
2818 Don't define 'buffers' locally, it comes from libgstcheck.
2820 * tests/check/generic/sinks.c: (send_buffer):
2821 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2823 * tests/check/gst/gststructure.c: (GST_START_TEST):
2824 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2825 * tests/check/gst/gstutils.c: (GST_START_TEST):
2826 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2827 Add a bunch of casts to make various constants fit the types
2828 they're being assigned to.
2830 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2832 * gst/gstchildproxy.c:
2833 Improve docs and add some ideas for making this more general-purpose.
2835 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2837 * gst/gst_private.h: (GST_CAT_TYPES):
2838 Add GST_CAT_TYPES, for consistency, and so that the other
2839 debug categories don't make fun of it. Spotted by Saur on IRC.
2841 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2843 * gst/parse/Makefile.am:
2844 Move types.h from EXTRA_DIST to noinst_HEADERS.
2846 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2849 Add -Wno-portability to the automake parameters to stop warnings
2850 about GNU make extensions being used. We require GNU make in almost
2851 every Makefile anyway.
2854 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2855 at the same time is required for per target flags.
2857 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2860 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2861 __GNUC__ is defined before using it.
2863 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2865 * docs/gst/gstreamer-sections.txt:
2866 * gst/gst.c: (init_post):
2867 * gst/gstplugin.c: (_gst_plugin_register_static),
2868 (gst_plugin_register_static), (_gst_plugin_initialize),
2869 (gst_plugin_register_func):
2870 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2871 API: add gst_plugin_register_static() and deprecate
2872 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2874 Also, in _gst_plugin_register_static(), make sure to call
2875 g_thread_init() before calling GLib functions such as
2876 g_list_append() if we're not initialised yet, since that
2877 may lead to random crashes with older GSlice/GLib versions.
2879 * tests/check/gst/gstplugin.c:
2880 Adapt unit test to above changes.
2882 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2884 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2885 * gst/gstcaps.c: (gst_caps_to_string):
2886 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2887 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2888 Yet another gratuitous GString micro-optimisation: add a (private)
2889 function that serialises a structure appending to an existing
2890 GString, so that when we serialise caps we don't need to alloc+free
2891 a throwaway GString for each structure (each of which also entailing
2892 multiple reallocs on the way); also use g_string_sized_new() in
2893 various places with an approximate string length to avoid reallocs
2894 within GString. See #500143.
2896 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2898 * gst/gststructure.c: (gst_structure_id_set_value):
2899 Always check UTF-8 conformance of structure strings and not only
2900 if the debugging system is enabled; reasoning: the behaviour of
2901 the actual code shouldn't really change depending on whether the
2902 debugging system is enabled or not (#508291).
2904 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2907 Remove old coverage target in favour of "make lcov".
2909 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2911 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2912 (gst_base_src_loop):
2913 The start segment for reverse playback goes from start to last_stop.
2915 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2917 Patch by: Peter Kjellerstedt <pkj axis com>
2920 Cast the results from the timeval/spec_to_time macros to what the
2921 docs say it casts to, a GstClockTime. fixes #508175.
2923 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2926 Update some comments.
2928 * tools/gst-inspect.c: (print_element_properties_info):
2929 Improve printing of flags.
2931 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2933 * libs/gst/base/gstbasetransform.c:
2934 (gst_base_transform_transform_size):
2935 Print element name with g_warning() if there's a problem
2938 2008-01-07 David Schleef <ds@schleef.org>
2940 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2942 * libs/gst/controller/gstcontroller.h:
2943 * libs/gst/controller/gstcontrolsource.h:
2944 * libs/gst/controller/gstinterpolationcontrolsource.h:
2945 * libs/gst/controller/gstlfocontrolsource.h:
2946 * libs/gst/dataprotocol/dataprotocol.h:
2947 Fix empty prototypes. Fixes bug #507957.
2949 2008-01-07 David Schleef <ds@schleef.org>
2951 * docs/faq/dependencies.xml: Fix typo.
2953 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2955 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2956 (gst_base_src_loop):
2957 Don't update the last_stop position in do_seek, that's the position we
2959 Read backwards when we have a negative rate.
2961 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2962 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2964 Add check for reverse reading.
2966 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2968 Patch by: Alexis Ballier <aballier at gentoo org>
2970 * tests/check/gst/gstabi.c:
2971 * tests/check/gst/struct_ppc64.h:
2972 * tests/check/libs/libsabi.c:
2973 * tests/check/libs/struct_ppc64.h:
2974 Decide which header to include based on the userland ABI target
2975 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2976 for 64-bit userland (#503590). Might need something similar for
2979 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2981 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2982 Log the reason why fopen fails in addition to the fact that it failed.
2984 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gst/parse/parse.l:
2987 Use "%option never-interactive" to prevent useless calls to isatty()
2988 on every input when parsing. Also use "%option noinput" to not define
2989 the static input/yyinput functions which we don't use anyway. This
2990 removes a compiler warning with gcc 4.3 and saves some bytes in the
2993 * gst/parse/lex._gst_parse_yy.pre.c:
2994 Regenerated for the above change.
2996 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2998 * gst/gstpad.c: (fixate_value):
2999 Don't crash when trying to fixate and empty list.
3002 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3004 * docs/faq/gst-uninstalled:
3005 Clarify the comments to make the usage of this script and what it
3006 does easier to understand.
3008 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3010 * tools/gst-plot-timeline.py:
3011 Add more options to gst-plot-timeline
3013 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3015 * docs/design/part-synchronisation.txt:
3016 Some more info on how the stream_time in GstBaseSink is done.
3018 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3020 * tests/check/generic/sinks.c: (gst_sinks_suite):
3021 Put back the tcase_set_timeout(), apparently it's needed after
3022 all; fix it up in a way that makes things work with valgrind too.
3024 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3026 * gst/gstdebugutils.c:
3027 Add warning when failed to open file for writing.
3029 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3031 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3033 * gst/gstvalue.c: (gst_value_is_fixed):
3034 Optimisation: bail out of the loop as early as possible (#500143).
3036 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3038 * gst/gstcaps.c: (gst_caps_to_string):
3039 * gst/gstinfo.c: (gst_debug_construct_term_color):
3040 * gst/gstparse.c: (gst_parse_launchv):
3041 * gst/gstutils.c: (gst_util_dump_mem):
3042 * gst/gstvalue.c: (gst_value_serialize_any_list),
3043 (gst_value_transform_any_list_string):
3044 Bunch of gratuitous nano-optimisations.
3046 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3048 * tests/check/generic/sinks.c: (async_done_func),
3049 (async_done_eos_func):
3050 Fix leak in unit test (bus sync handler must unref the message
3051 if it returns GST_BUS_DROP). Don't fiddle with the default test
3052 timeout, this is smaller than the current preconfigured value
3053 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3054 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3056 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3058 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3061 Check for stdio_ext.h for the filesink changes.
3063 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3064 (gst_file_sink_class_init), (gst_file_sink_init),
3065 (gst_file_sink_dispose), (gst_file_sink_set_property),
3066 (gst_file_sink_get_property), (gst_file_sink_open_file),
3067 (gst_file_sink_close_file):
3068 * plugins/elements/gstfilesink.h:
3069 Add two properties to control the buffering mode and size.
3070 API: GstFileSink::buffer-mode
3071 API: GstFileSink::buffer-size
3074 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3076 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3077 Add some more docs to explain why a FIXME was wrongly added.
3079 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3082 Fix typo in the gst_object_{ref,unref} documentation.
3084 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3086 * tests/check/libs/controller.c:
3087 * tests/check/libs/typefindhelper.c:
3088 * tests/check/pipelines/parse-launch.c:
3089 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3090 going to be deprecated (see #498924).
3092 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3094 * gst/gsttypefind.c: (gst_type_find_register):
3095 Make gst_type_find_register work for static typefind functions,
3096 ie. allow passing plugin == NULL (prerequisite for #498924).
3098 * gst/gstelementfactory.c: (gst_element_register):
3099 Small docs addition.
3101 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3103 * gst/gstpad.c: (gst_pad_dispose):
3104 Really unlink the peer pad instead of setting the peer pointer to NULL
3105 when we dispose the pad.
3106 This correctly calls the unlink functions and makes sure that the peer
3107 does not have a handle to invalid memory. See #504671.
3109 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3110 Add testsuite for above case.
3112 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3114 Patch by: Peter Kjellerstedt <pkj axis com>
3116 * libs/gst/check/gstcheck.h:
3117 Fix detection of the check version we're compiling against (would
3118 otherwise break if check goes v0.10.0); correctly report the
3119 name of the failed test again in case of failure, instead of
3120 just 'tf' (fixes #504499).
3122 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3124 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3125 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3126 (gst_base_src_loop), (gst_base_src_set_flushing),
3127 (gst_base_src_change_state):
3128 Allow sending EOS to the source to make it send out an EOS event from
3129 the streaming thread.
3130 Update docs and deprecate the old NULL/READY shutdown method.
3132 * tests/check/libs/basesrc.c: (GST_START_TEST),
3133 (gst_basesrc_suite):
3134 Add unit test for controlled shutdown.
3136 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3138 * docs/design/part-synchronisation.txt:
3141 * gst/gstsegment.c: (gst_segment_set_seek),
3142 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3143 (gst_segment_to_running_time):
3144 The seek format can be different from the segment format when the start
3145 and stop values are not to be updated, when we only do a rate change for
3148 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3149 (gst_segment_suite):
3150 Add a testcase for the rate-only seeks, checking that the format is
3151 correctly ignored when start and stop are not updated.
3153 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3155 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3157 * win32/vs8/grammar.vcproj:
3158 * win32/vs8/libgstcontroller.vcproj:
3159 * win32/vs8/libgstreamer.vcproj:
3160 Fix compilation with VS8 and include some missing files.
3162 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3165 Small docs addition: mention that the strings returned by
3166 gst_tag_list_get_string*() are in UTF-8 encoding.
3168 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3171 The check-exports stuff moved to common/win32.mak, so include that.
3173 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3175 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3176 (gst_base_src_perform_seek), (gst_base_src_get_range),
3177 (gst_base_src_set_playing), (gst_base_src_change_state):
3178 Make _wait_playing() not check any variables so that we can call this
3179 function from subclasses. Move the checks elsewhere similar to
3180 _wait_preroll() in basesink.
3182 Only signal the LIVE cond when we are going back to PLAYING.
3184 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3186 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3187 Use g_remove() and g_rename(). Check result of g_rename(), and
3188 don't leak the open file descriptor if we error out when writing.
3190 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3191 Must check the return value of close() after writing out the new
3192 registry file. Sometimes write problems such as out-of-diskspace
3193 are only reported when the file is closed and not already during
3194 the write. This may have caused partial/broken registry files in
3195 some rare circumstances. Should fix #503675.
3197 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3199 * docs/gst/.cvsignore:
3200 * docs/libs/.cvsignore:
3201 * docs/plugins/.cvsignore:
3202 Ignore files generated by new common/* modifications
3204 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3206 * win32/common/libgstbase.def:
3207 Yes, you can also have a <TAB> if you want.
3209 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3211 * win32/common/libgstbase.def:
3212 Add new basetransform API to win export file.
3214 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3216 * tests/check/gst/gstbin.c:
3217 Adjust the test to the refcount change two days ago.
3219 2007-12-14 David Schleef <ds@schleef.org>
3221 * docs/faq/getting.xml: Fix typo.
3223 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3225 * docs/libs/gstreamer-libs-sections.txt:
3226 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3227 (gst_base_transform_prepare_output_buffer),
3228 (gst_base_transform_set_gap_aware):
3229 * libs/gst/base/gstbasetransform.h:
3230 API: Add gst_base_transform_set_gap_aware() to control whether
3231 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3232 get buffers with this flag at all. Fixes #503231.
3234 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3236 * libs/gst/base/gstbasesink.c:
3237 * libs/gst/base/gstbasesrc.c:
3238 * libs/gst/base/gstbasetransform.c:
3239 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3240 thread. Correct log message in gstbasesrc.c.
3242 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3244 * gst/gstutils.c: (element_find_unconnected_pad):
3245 Fix possible compiler warning (#503417).
3247 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3249 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3250 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3252 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3254 * tools/gst-inspect.c: (print_element_properties_info):
3255 Add support for GstFraction properties.
3257 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3260 Add check-exports target and run it as part of 'make check'
3261 (see #499140 and #493983).
3263 * gst/gst_private.h:
3264 * gst/gstelementfactory.h:
3265 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3266 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3267 (_priv_gst_in_valgrind):
3268 * gst/gstinfo.h: (GstLogFunction):
3269 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3270 (gst_type_find_register):
3271 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3272 (gst_type_find_factory_get_type):
3273 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3274 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3275 (gst_controller_new_valist), (gst_controller_new_list),
3276 (_gst_controller_dispose), (_gst_controller_class_init):
3277 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3278 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3279 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3280 (gst_object_get_controller), (gst_object_set_controller),
3281 (gst_object_suggest_next_sync), (gst_object_sync_values),
3282 (gst_object_set_control_source), (gst_object_get_control_source),
3283 (gst_object_get_value_arrays), (gst_object_get_value_array),
3284 (gst_object_get_control_rate), (gst_object_set_control_rate):
3285 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3286 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3287 Make some functions that should be static static; rename some
3288 private symbols so that they don't get exported; add some FIXME
3289 comments so we can move accidentally exported functions into
3290 our private section in 0.11.
3292 * win32/common/libgstreamer.def:
3293 Add gst_utils_get_timestamp().
3295 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3299 Add more missing "Since:" tags to docs.
3301 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3304 Add mising "Since:" to docs.
3306 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3309 Include "glib-compat-private.h" to fix the build on system with
3310 glib < 2.10. Fixes #503131.
3312 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3316 Actually its not PURE as it gets the time from elsewhere.
3318 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3320 * docs/gst/gstreamer-sections.txt:
3322 * gst/gstdebugutils.c:
3326 * libs/gst/base/gstbasesink.c:
3327 * tools/gst-launch.c:
3328 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3329 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3330 Thanks Tim for spotting.
3331 API: gst_util_get_timestamp
3333 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3336 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3338 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3340 * gst/gststructure.c: (gst_structure_validate_name),
3341 (gst_structure_new_valist), (gst_structure_parse_value),
3342 (gst_structure_from_string):
3343 Don't crash in _from_string() if the structure name is not valid
3344 (fixes #501560). Allow structure names to start with a number
3345 again (this apparently broke the ubuntu codec installer).
3347 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3349 Add unit test for the crash; update unit tests for new behaviour.
3351 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3354 Clarify gst_element_get_compatible_pad() documentation.
3357 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3359 * tests/check/Makefile.am:
3360 Don't forget to dist {gst,libs}/struct_hppa.h.
3362 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3364 * libs/gst/base/gstbasesink.c:
3365 Use new API to get elapsed time.
3367 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3369 * gst/gstdebugutils.c:
3371 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3373 * tools/gst-launch.c:
3374 Use new API to get elapsed time.
3376 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3378 * docs/gst/gstreamer-sections.txt:
3380 * gst/gstdebugutils.c:
3382 Rename new API + ChangeLog surgery to remove old name from last entry..
3384 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3386 * docs/gst/gstreamer-sections.txt:
3388 * gst/gstdebugutils.c:
3390 Now hide the different clock stuff behind a macro.
3392 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3395 * gst/gstdebugutils.c:
3397 Apply the posix-timer check from #361155. Conditionally use the posix
3398 timer for logging. This gives better timestamp precission, less
3399 overhead and no ntp jitter.
3401 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3403 * gst/gstminiobject.c: (gst_mini_object_get_type),
3404 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3405 (gst_mini_object_finalize), (gst_mini_object_copy),
3406 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3407 (gst_mini_object_replace), (param_mini_object_validate),
3408 (gst_param_spec_mini_object_get_type):
3409 Some cleanup and checking against invalid function parameters.
3411 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3413 * docs/gst/gstreamer-sections.txt:
3415 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3416 (gst_systemclock_suite):
3417 Start merging in the easy bits of #361155, the monotonic clock patch.
3418 This one adds a few handy macros with docs and a testsuite.
3420 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3422 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3423 Be a bit smarter when seeking, like, don't try to do a seek when it's
3424 not needed. This avoids errors when the file is not seekable.
3427 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3429 * docs/gst/gstreamer-docs.sgml:
3430 * docs/gst/gstreamer-sections.txt:
3431 * docs/gst/gstreamer.types.in:
3436 * plugins/elements/gstqueue.c:
3437 Due to popular request remove preset interface again. :-(.
3439 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3441 * tools/gst-inspect.c:
3442 Print 'default value' for enums and flags too.
3444 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3446 * docs/random/ensonic/profiling.txt:
3450 Fix typo and give better log output.
3452 * gst/gstdebugutils.c:
3453 * gst/gstdebugutils.h:
3454 More ideas, make graphs a bit smaller and fix param name in macro.
3456 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3459 Try harder to use the return value from fgets().
3461 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3464 For theses two fgets we handle the error below.
3466 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3468 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3469 Only send upstream events upstream. Fixes #498746.
3471 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3473 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3475 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3476 (gst_identity_init), (gst_identity_transform_ip),
3477 (gst_identity_set_property), (gst_identity_get_property):
3478 * plugins/elements/gstidentity.h:
3479 Add property to disable handoff signal emission. Fixes #498694.
3480 API: GstIdentity::signal-handoffs
3482 2007-11-21 Julien Moutte <julien@fluendo.com>
3484 * docs/faq/gst-uninstalled: Yet another missing library for the
3485 uninstalled script (fft)
3487 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3489 * docs/faq/developing.xml:
3490 Add a question about how to submit new translations.
3492 * docs/random/release:
3493 Update the contact email address for the Translation Project
3495 * plugins/elements/gstfdsrc.c:
3496 The parent_class for fdsrc is pushsrc, not GstElement.
3498 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3501 Plug a leak and fix saving.
3503 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3505 * docs/gst/gstreamer-sections.txt:
3506 Add new gst_preset__get_property_names() function to the docs
3509 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3513 Change _get_preset_names API to return a strv with copies. Add
3514 _get_property_names to allow implementations to filter and provide
3515 good default implementation.
3517 2007-11-20 Julien MOUTTE <julien@moutte.net>
3519 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3522 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3525 More cleanups, docs, and TODOs from comments that now slowly come in.
3527 2007-11-19 Julien MOUTTE <julien@moutte.net>
3529 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3532 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3535 Fix bogus warning and make the property type specific code more
3538 2007-11-19 Julien MOUTTE <julien@moutte.net>
3540 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3543 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3546 (gst_bin_add_func), (gst_bin_remove_func),
3547 (gst_bin_change_state_func), (gst_bin_continue_func):
3548 Change email, cleanups add some more debug and comments.
3549 Also set bus and clock on new elements when the pipeline was in error.
3551 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3554 * gst/gstdebugutils.c:
3555 Fix build with --disable-gst-debug. Fixes #497859.
3556 Spotted by Sameer Naik.
3558 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3561 Little documentation improvment.
3564 More TODO cleanups. Remove c++ comments.
3566 * libs/gst/controller/gstcontroller.c:
3567 Add TODO and use quark from static string.
3569 * tests/check/gst/gstmessage.c:
3570 * tests/check/gst/gststructure.c:
3571 Use quark from static string.
3573 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3576 Add some comments and TODOs.
3579 Add padding for future changes.
3581 * plugins/elements/gstqueue.c:
3582 Implement the iface.
3584 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3586 * docs/gst/gstreamer-docs.sgml:
3587 * docs/gst/gstreamer-sections.txt:
3588 * docs/gst/gstreamer.types.in:
3593 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3595 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3601 === release 0.10.15 ===
3603 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3606 releasing 0.10.15, "October"
3608 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3610 * win32/vs6/libgstreamer.dsp:
3611 Convert line endings back to DOS.
3613 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3615 * docs/design/draft-tagreading.txt:
3616 * docs/random/ensonic/profiling.txt:
3617 Update fast tagreading draft and performance profiling ideas.
3619 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3621 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3622 Don't hold the object lock when unreffing a buffer because it could
3623 cause a deadlock when the finalize function wants to grab the object
3624 lock too. Fixes #495133.
3626 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3628 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3629 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3630 Also accumulate time correctly when doing reverse playback. Fixes
3632 When converting to running and stream time, use default values for
3633 start/stop/time/accum when comparing different formats. Fixes #494245.
3635 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3636 Do running/stream time in TIME format.
3638 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3639 (gst_segment_suite):
3640 2 new unit tests for segment accumulation.
3642 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3644 * gst/gst.c: (init_pre):
3645 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3646 (_gst_debug_bin_to_dot_file):
3647 Move getenv() back into gst_init, so everyone can live happily
3648 ever after. Make sure the symbol isn't exported though.
3650 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3652 Patch by: Sebastien Moutte <sebastien moutte net>
3654 * win32/common/gstenumtypes.c:
3655 * win32/common/gstenumtypes.h:
3658 * win32/vs6/libgstreamer.dsp:
3659 Update vs6 project files (#494343).
3661 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3663 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3664 (gst_base_src_perform_seek), (gst_base_src_default_event),
3665 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3666 (gst_base_src_activate_pull):
3667 Unify flushing code, remove some old unlock code that is no longer used.
3668 Take the streaming lock when seeking to avoid races. Fixes #492729.
3669 Added some more comments.
3671 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3673 * gst/gst.c: (_gst_disable_segtrap):
3674 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3675 we can use gst_segtrap_is_enabled() there now that we have that API.
3676 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3677 to do the getenv here (and export the variable).
3679 * gst/gstdebugutils.c: (debug_dump_element),
3680 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3681 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3683 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3684 (gst_debug_log_default):
3685 Rename _gst_info_start_time to priv_gst_info_start_time so it
3686 doesn't get exported (was never in any header).
3688 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3689 (gst_plugin_loading_mutex):
3690 Make static mutex gst_plugin_loading_mutex really static (was never
3691 in any header), and use gst_segtrap_is_enabled() instead of
3692 _gst_disable_segtrap.
3694 * gst/gsttrace.c: (_gst_trace_default):
3695 Make local _gst_trace_default static (was never in any header).
3697 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3699 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3701 * win32/common/libgstbase.def:
3702 * win32/common/libgstcontroller.def:
3703 * win32/common/libgstdataprotocol.def:
3704 * win32/common/libgstnet.def:
3705 * win32/common/libgstreamer.def:
3706 Add more missing symbols, remove some duplicates, and sort
3707 as the 'sort' command sorts it (partially fixes #493983).
3709 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3711 * gst/gstelement.c: (gst_element_set_state_func):
3712 Only change the state cookie if a different state was set on the
3713 element. See #492729.
3715 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3718 Remove unused and uninitialised type variables that were still
3719 exported for some reason (they were never in any header files
3722 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3724 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3725 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3726 (gst_base_sink_event), (gst_base_sink_get_position_last),
3727 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3728 (gst_base_sink_change_state):
3729 Don't try to report a 0 position when we don't know, return -1 and FALSE
3730 instead. This mostly happens when we are prerolling.
3731 Make sure we can report the right position before we post the ASYNC_DONE
3732 message so that a message handler can query position without races.
3734 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3735 (async_done_handoff), (async_done_func), (send_buffer),
3736 (async_done_eos_func), (gst_sinks_suite):
3737 Add two tests for the above.
3739 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3742 Update with new email address.
3744 * docs/design/part-TODO.txt:
3745 Add some more info about future pad-block and negotiation changes.
3747 * docs/design/part-buffering.txt:
3748 Add some ideas about buffering reporting.
3750 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3752 * tests/check/gst/gstobject.c:
3753 Disable silly racy test that always fails on this combination of CPU
3756 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3758 Patch by: Murray Cumming <murrayc@murrayc.com>
3761 Corrected the registration of the parent-set and parent-unset
3762 signals: The parameter is a GstObject, not a GObject (#493134).
3764 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3766 * gst/gst_private.h:
3775 Move declaration of private _gst_foo_initialize() functions into
3776 our private header file where they should have been all along.
3778 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3780 * docs/plugins/gstreamer-plugins-sections.txt:
3781 * gst/gstdebugutils.h:
3783 * plugins/elements/gstqueue.c:
3784 gtk-doc fixes; trailing-comma-in-enum fix.
3786 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3788 * gst/gst.c: (gst_deinit):
3789 Clean up on deinit (not the external ones though, doesn't seem to be
3790 needed for some reason).
3792 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3794 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3795 Remove __declspec(dllimport) for MSVC that was copied over into core
3796 from a plugin, obviously without ever having been tested (note the
3797 single underscore in _declspec in the initial commit), and that doesn't
3798 really make sense. See #492077.
3800 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3802 * gst/gst.c: (init_post):
3803 * gst/gstevent.c: (_gst_event_initialize):
3804 * gst/gstquery.c: (_gst_query_initialize):
3805 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3806 g_type_class_ref() other types as well, see #349410 and #64764.
3808 * gst/gstbuffer.c: (_gst_buffer_initialize):
3809 * gst/gstmessage.c: (_gst_message_initialize):
3810 Simplify existing g_type_class_ref().
3812 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3814 * gst/gstformat.c: (_gst_format_initialize):
3815 g_type_class_ref() our GstFormat type to make sure we avoid the
3816 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3817 bug #64764. Should fix intermittent tee unit test failures (#474823).
3819 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3821 * tests/check/elements/tee.c: (test_num_buffers):
3822 Simplify, simplify, simplify - or not. Rewrite unit test
3823 not to use gst_parse_launch(); allow N sub-streams. Increasing
3824 the number of sub-streams seems to reproduce #474823 more easily.
3826 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3828 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3831 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3832 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3833 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3834 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3835 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3836 so use _pipe() directly (#492077).
3838 * win32/common/dirent.c: (_treaddir):
3839 Add a couple of casts to make it build without warnings with MSVC.
3841 * win32/common/libgstreamer.def:
3842 Add some more symbols that need to be exported.
3844 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3846 * tests/examples/metadata/read-metadata.c: (message_loop):
3847 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3848 arriving in a second or third tag message are added to
3849 the tag list as well.
3851 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3853 * libs/gst/base/gstbasesrc.c:
3854 Its "Since:" and not "@Since:". And remove an superflous cast.
3856 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3858 * docs/libs/gstreamer-libs-sections.txt:
3859 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3860 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3861 (gst_base_sink_get_property), (gst_base_sink_render_object),
3862 (gst_base_sink_preroll_object),
3863 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3864 (gst_base_sink_change_state):
3865 * libs/gst/base/gstbasesink.h:
3866 Add a new last-buffer property that contains the last buffer used in
3867 basesink for preroll or rendering. useful for making snapshots.
3868 API: gst_base_sink_get_last_buffer()
3869 API: GstBaseSink::last-buffer
3871 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3873 * docs/gst/running.xml:
3875 * gst/gstdebugutils.c:
3876 * gst/gstdebugutils.h:
3877 * tools/gst-launch.c:
3878 Improve bin graph dumping, by using the envvar to specify a path.
3879 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3881 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3883 * plugins/elements/gsttypefindelement.c:
3884 (gst_type_find_element_handle_event),
3885 (gst_type_find_element_activate):
3886 Post special error message if we can't determine the type of a stream
3889 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3891 * docs/gst/running.xml:
3892 * gst/gstdebugutils.c:
3893 Document new env-var. Add one log-line after dumpng a graph.
3895 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3898 Ugly hack to put the (recently removed and non-portable, apparently)
3899 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3900 GNU ld, because without that 'make check' fails miserably on my debian
3901 stable box. Someone with more knowledge of linker intricacies and
3902 portability issues than me fix this properly please.
3904 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3906 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3907 Reset last seen position after flushing so that we don't report the old
3910 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3912 * gst/gstelementfactory.c: (gst_element_register):
3914 Patch from Alessandro Decina adding get_type_full and
3915 get_protocols_full private vfuncs to the URIHandler interface
3916 to allow bindings to support creating URI handlers.
3917 Partially fixes: #339279
3918 API: GstURIHandlerInterface::get_type_full
3919 API: GstURIHandlerInterface::get_protocols_full
3921 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3923 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3924 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3925 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3926 Make it so that pads are considered linked until a buffer is pushed
3927 and discovered otherwise. This avoids problems with decodebin2 hanging
3928 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3931 Make sure we lock the multiqueue when updating the max-size properties.
3933 Fix a crash on Solaris in a debug statement in get_request_pad that
3934 passes a NULL string to GST_DEBUG.
3936 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3937 (run_output_order_test):
3938 Fix the test to allow the first buffer on not-linked pads to come out
3939 of sequence while multiqueue discovers that they are not-linked.
3941 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3944 * libs/gst/check/Makefile.am:
3945 Use a custom export symbol regex for libgstcheck, as it needs
3946 to export symbols that don't match the standard GStreamer gst_*
3947 pattern, and --export-dynamic is not portable (only works on
3950 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3951 (gst_check_setup_sink_pad):
3952 Make sure to pass a message parameter to the fail_* macros.
3954 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3955 Fix some compiler warnings.
3957 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3959 * tests/check/gst/gststructure.c: (test_to_string):
3960 Disable test that checks that white spaces are not allowed
3961 in structure names or field names, since we need to
3962 support that for now for backwards compatibility reasons.
3964 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3966 * docs/gst/gstreamer-sections.txt:
3969 API: add GST_TAG_ARTIST_SORTNAME
3970 API: add GST_TAG_ALBUM_SORTNAME
3971 API: add GST_TAG_TITLE_SORTNAME
3972 Add tag variants for sorting (#414539).
3974 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3976 * gst/gststructure.c:
3977 Also allow white space for names so we don't break
3978 backwards compatibility.
3980 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3982 * docs/design/part-TODO.txt:
3983 * docs/design/part-segments.txt:
3984 * docs/design/part-streams.txt:
3987 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3989 * docs/gst/gstreamer-sections.txt:
3990 Fixed documentation from my previous commit (added new API add
3991 gst_value_set_structure(), add gst_value_get_structure() and
3992 GST_VALUE_HOLDS_STRUCTURE).
3994 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3996 * gst/gstdebugutils.c:
3997 Reflow code to fix uninitialized variable warning.
3999 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4001 * gst/gstcaps.c: (gst_caps_to_string),
4002 (gst_caps_from_string_inplace):
4003 * gst/gststructure.c: (gst_structure_get_abbrs),
4004 (gst_structure_to_string), (gst_structure_from_string):
4005 * gst/gstvalue.c: (gst_value_set_structure),
4006 (gst_value_get_structure), (gst_value_serialize_structure),
4007 (gst_value_deserialize_structure), (_gst_value_initialize):
4009 * tests/check/gst/gststructure.c: (GST_START_TEST),
4010 (gst_structure_suite):
4011 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4012 Added GstStructure to gst_value_table and its related functions.
4013 Changed gst_structure_to_string to print ';' in the end.
4014 Changed gst_caps_to_string to not print ';' beteween its
4015 fields (structures) anymore and remove the lastes ';' from latest
4016 structure. Now it is possible to have nested structures.
4017 In addition, backward compatibilty is assured by accepting '\0' as
4018 end delimiter. Fixes: #487969.
4019 API: add gst_value_set_structure()
4020 API: add gst_value_get_structure()
4021 API: add GST_VALUE_HOLDS_STRUCTURE
4023 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4026 When no GSource callback has been set up, tell developer
4027 to use a function that actually exists.
4029 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4031 * docs/gst/gstreamer-sections.txt:
4035 * gst/gstdebugutils.c:
4036 * gst/gstdebugutils.h:
4039 * tools/gst-launch.c:
4040 Allow dumping pipelines as dot graphs. Fixes #456573.
4042 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4044 * gst/gststructure.c:
4045 Allow '+' as well, it can be part of media or mime types
4046 such as image/svg+xml.
4048 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4050 * docs/gst/gstreamer-sections.txt:
4053 API: add gst_bus_pop_filtered
4054 API: add gst_bus_timed_pop_filtered
4055 Two new functions for waiting for specific message types on the
4056 bus for a specified amount of time without iterating any main
4057 loops or main contexts.
4059 * tests/check/gst/gstbus.c:
4060 Some tests for the new functions.
4062 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4064 * docs/libs/gstreamer-libs-sections.txt:
4065 Make gtk-doc ignore stuff it should ignore.
4067 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4069 * libs/gst/check/gstcheck.c:
4070 * libs/gst/check/gstcheck.h:
4071 Allow runtime selection of unit tests to run via the GST_CHECKS
4072 environment variable (test case function names, comma-separated).
4074 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4076 * gst/gststructure.c:
4077 * tests/check/gst/gststructure.c:
4078 Revert serialisation change and constrain structure-names after
4079 consensus on irc. Update api documentation to reflect the change.
4081 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4083 * gst/gststructure.c:
4084 Improve serialization and fix tests.
4086 * tests/check/gst/gststructure.c:
4087 Add another test that covers why I actually did the previous structure
4090 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4092 * tools/gst-inspect.c: (print_element_info):
4093 Don't crash when inspecting an element.
4095 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4097 * tests/check/gst/gststructure.c:
4098 Add unit test for escaping of structure name when serialising
4099 and deserialising to/from strings.
4101 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4103 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4104 (gst_single_queue_new):
4105 * plugins/elements/gstqueue.c: (gst_queue_init),
4106 (gst_queue_push_one):
4107 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4108 upstream is tricked into thinking it can suggest a format downstream
4109 while downstream does not support that format. The real problem is that
4110 core calls acceptcaps when pushing a buffer with new caps, for which we
4111 do a little workaround by setting the caps on the srcpad ourselves
4112 before pushing the buffer (until this is figured out). Fixes #486758.
4114 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4116 * gst/gststructure.c:
4118 Add some more comments and debug output. Quote structure name to fix
4119 deserialisation of some strings.
4121 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4124 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4125 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4127 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4129 * tools/gst-inspect.c:
4130 Save approx. 400 1 byte allocs when printing. Use API to acces element
4136 * tools/gst-xmlinspect.c:
4137 Use API to acces element details.
4139 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4142 Fix some spelling errors.
4144 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4146 * gst/gstbin.c: (bin_handle_async_done):
4147 Correctly set the next state if all of our async children commited their
4148 state. This makes sure we can actually cancel the state change in
4149 progress. Fixes a regression in Rhythmbox when seeking.
4151 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4154 Don't shadow local variable.
4157 Don't shadow global function name.
4159 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4161 * gst/gstelementfactory.c:
4162 * gst/gstpluginfeature.c:
4163 * gst/gstpluginfeature.h:
4164 * gst/gstregistrybinary.c:
4165 * gst/gstregistryxml.c:
4166 * gst/gsttypefind.c:
4167 Use already-interned string for the private GstPluginFeature
4170 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4172 * docs/libs/gstreamer-libs-sections.txt:
4173 Add new API to docs; fixes the build.
4175 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4177 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4179 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4180 (gst_base_sink_event):
4181 * libs/gst/base/gstbasesink.h:
4182 Add function to wait for EOS, subclasses can use this to correctly wait
4183 for devices to drain before performing the EOS logic. Fixes #485343.
4184 API: gst_base_sink_wait_eos()
4186 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4189 Cast description string constants in GST_PLUGIN_DEFINE macros
4190 to a (gchar*) to make C++ code using these macros compile
4191 without warning with g++-4.2 (see #462737). Even if slightly
4192 ugly, this seems preferable to putting the description strings
4193 into the GLib quark table or making the structure member a
4194 const gchar * and doing casts in core code that allocs and
4195 frees these strings, or requiring a cast in the C++ code.
4197 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4200 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4201 to print the entire class/function signature into the log
4202 file for C++ code. This only affects C++ code, for C code
4203 everything remains the same.
4205 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4207 * gst/gstbin.c: (remove_from_queue):
4208 Work around a problem with pipelines containing (semi)loops until a
4209 proper, more complicated solution is ready. See #475455.
4211 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4215 * gst/gstregistrybinary.c:
4216 * gst/gstregistryxml.c:
4217 Put more strings into the GLib quark table. No need to keep
4218 a hundred-something copies of identical version strings,
4219 license strings, package name strings and package origin
4222 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4224 * docs/manual/advanced-dataaccess.xml:
4225 Don't imply that it's okay to unconditionally change
4226 buffer data or buffer metadata in a pad probe callback,
4227 and a bunch of other comments. Fixes #430031.
4229 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4231 * win32/common/gstenumtypes.c:
4232 * win32/common/gstenumtypes.h:
4233 * win32/common/gstversion.h:
4234 Update generated files.
4236 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4238 * docs/manual/advanced-autoplugging.xml:
4239 Prefix section with broken code with a warning (see #342432).
4241 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4243 * docs/manual/appendix-integration.xml:
4244 * docs/manual/basics-init.xml:
4245 Call g_thread_init() before g_option_context_new() to
4246 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4248 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4250 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4251 (gst_base_sink_queue_object_unlocked),
4252 (gst_base_sink_queue_object), (gst_base_sink_event),
4253 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4254 When we received EOS and are waiting for when to post the EOS message,
4255 our state is prerolled and we should not return ASYNC.
4256 Reorganize some code paths to implement this behavior.
4258 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4260 Add unit test to verify above EOS fix.
4262 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4264 * plugins/elements/gsttypefindelement.c:
4265 (gst_type_find_element_have_type), (gst_type_find_element_init),
4266 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4267 Move detecting the input caps of the sinkpad to the setcaps function.
4268 This allows us to update the output caps when we receive new input caps
4269 instead of always using the first detected caps.
4271 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4273 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4274 (gst_base_sink_get_position):
4275 Don't try to preroll non-async elements after a flush.
4276 Subtract latency form clock times when reporting position.
4278 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4280 * gst/gstpad.c: (gst_pad_pause_task):
4282 Small comment and documentation update.
4284 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4286 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4287 (gst_base_src_set_live), (gst_base_src_is_live),
4288 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4289 (gst_base_src_default_event), (gst_base_src_wait),
4290 (gst_base_src_do_sync), (gst_base_src_get_range),
4291 (gst_base_src_pad_get_range), (gst_base_src_loop),
4292 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4293 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4294 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4295 (gst_base_src_change_state):
4296 Rework the locking of basesrc in a similar fashion to basesink. We
4297 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4298 us to handle live sources and semi live ones much better.
4300 Fix unlocking when seeking, shutting down and pausing in live sources.
4302 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4304 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4305 Fix compilation again.
4307 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4310 Use meaningful categories for the logs to clean the default one.
4312 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4314 * tests/check/pipelines/cleanup.c:
4315 Print message name and not just number.
4317 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4319 * docs/design/draft-tagreading.txt:
4320 Add some more thoughts.
4322 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4324 * tests/check/pipelines/simple-launch-lines.c:
4325 Print message name and not just number.
4327 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4329 * libs/gst/base/gsttypefindhelper.c:
4330 Speedup typefinding. This is work in progress (see #459862).
4332 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4335 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4336 Spotted by Josep Torra Valles <josep@fluendo.com>.
4338 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4341 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4342 field has moved to GstObject.
4344 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4346 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4347 (gst_base_src_get_range), (gst_base_src_change_state):
4348 Call unlock for live sources so that they can't get stuck in _create and
4349 produce a buffer before they are set back to PLAYING.
4351 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4353 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4354 (gst_queue_locked_dequeue):
4355 Comment the segment-related code... in the PROPER function.
4356 See #482147 and my commit from yesterday.
4358 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4360 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4361 Also initialize the counter that calculates the first timestamp on a
4362 buffer correctly for non-live sources.
4364 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4366 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4367 Disable code that's breaking the current-time-level reporting.
4370 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4372 * docs/gst/gstreamer-sections.txt:
4373 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4374 as they shouldn't show up. Fixes the docs build.
4376 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4379 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4380 Define M_PI which is used in files which are including gstinfo.h.
4381 VS6 includes doesn't define it.
4382 * win32/common/libgstbase.def:
4383 * win32/common/libgstcontroller.def:
4384 * win32/common/libgstreamer.def:
4385 Add new exported functions and variables.
4386 * win32/vs6/libgstcontroller.dsp:
4387 * win32/vs6/libgstreamer.dsp:
4388 Update the list of files to build.
4390 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4392 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4394 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4395 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4396 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4397 Improve debugging. Fixes #480858.
4399 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4401 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4403 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4404 First patch of code cleanups, use the macros and right arguments in the
4405 macros to signal and lock the queue. See #480858.
4407 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4409 * gst/gstbus.c: (poll_func):
4410 Improve debugging when dealing with _poll().
4412 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4414 * gst/gstregistryxml.c:
4415 Fix memory leak I introduced a few days ago.
4417 2007-09-26 Michael Smith <msmith@fluendo.com>
4419 * gst/gstbuffer.c: (gst_buffer_finalize):
4420 Make it once again possible to free GstBuffers in the default
4422 The poisoning scribbles on parts of the miniobject we need in
4426 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4428 * docs/gst/gstreamer-sections.txt:
4431 API: add GST_TAG_COMPOSER, fixes #459809.
4433 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4437 Add the 3-clause BSD license and the MIT/X11 license to the license
4438 list. Fixes #479784.
4440 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4442 * docs/faq/getting.xml:
4443 Add Q+A about different GStreamer versions (#364056).
4445 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4447 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4448 (gst_base_sink_event), (gst_base_sink_change_state):
4449 Return correct gboolean from query function.
4451 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4453 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4454 (gst_base_sink_event), (gst_base_sink_query),
4455 (gst_base_sink_change_state):
4456 Simplify latency query.
4457 When not synchronizing, we can report latency without querying the peer
4460 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4464 Fix small typos in the docs.
4466 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4468 * docs/design/draft-latency.txt:
4469 * docs/design/draft-push-pull.txt:
4470 * docs/design/draft-tagreading.txt:
4471 * docs/design/part-MT-refcounting.txt:
4472 * docs/design/part-activation.txt:
4473 * docs/design/part-block.txt:
4474 * docs/design/part-element-source.txt:
4475 * docs/design/part-events.txt:
4476 * docs/design/part-gstbin.txt:
4477 * docs/design/part-gstelement.txt:
4478 * docs/design/part-gstobject.txt:
4479 * docs/design/part-gstpipeline.txt:
4480 * docs/design/part-messages.txt:
4481 * docs/design/part-preroll.txt:
4482 * docs/design/part-push-pull.txt:
4483 * docs/design/part-qos.txt:
4484 * docs/design/part-query.txt:
4485 * docs/design/part-scheduling.txt:
4486 * docs/design/part-seeking.txt:
4487 * docs/design/part-segments.txt:
4488 * docs/design/part-states.txt:
4489 Documentation updates and typo fixes.
4491 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4493 * plugins/elements/gstfakesink.c:
4494 Add some debug text to error message to indicate that
4495 we errored out on request.
4497 * tools/gst-launch.c:
4498 When the state change to PLAYING fails, check for an
4499 error message on the bus and print it.
4501 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4503 translated by: Jorge González González <aloriel@gmail.com>
4507 Added Spanish translation.
4509 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4511 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4512 Fix printf arguments.
4514 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4516 * tests/check/generic/states.c:
4517 Improved state change unit test.
4519 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4522 Move priv to the right place.
4524 * gst/gstsystemclock.c:
4525 Add FIXME: and improve log.
4527 * tests/check/Makefile.am:
4528 * tests/examples/manual/Makefile.am:
4529 Work with all types of registries.
4531 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4533 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4534 Don't unref the event after pushing it. Fixes #478401.
4536 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4539 * tests/examples/manual/.cvsignore:
4540 Ignore registries in any format.
4542 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4544 * gst/glib-compat-private.h:
4545 Add compatibility macro for g_intern_string() for
4546 GLib-2.8 (any reason we can't just bump the
4547 requirement to at least 2.10?)
4549 * gst/gstpadtemplate.h:
4550 * gst/gstelementfactory.c:
4551 * gst/gstregistryxml.c:
4552 * gst/gstregistrybinary.c:
4553 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4554 up the internal code accordingly. This shouldn't be a problem, since
4555 there is no reason external code could ever assume the string in such
4556 a structure is dynamically allocated unless it did that itself; the
4557 use of g_strdup() is private to element factories. The new code also
4558 saves some memory by putting pad template name strings into the GLib
4559 quark table instead of allocating them dynamically.
4560 Declaring this field constant fixes warnings with g++-4.2 when using
4561 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4563 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4565 * gst/gstelementfactory.c:
4566 Release static caps. Fixes #475723.
4568 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4572 Make some internal API take const gchar * instead of just
4573 gchar * to avoid compiler warnings with g++-4.2.2 when
4574 passing string constants (partially fixes #478092).
4576 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4578 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4579 A latency query fails when one of the sinks fail.
4581 * gst/gstelement.c: (gst_element_set_base_time):
4584 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4586 * gst/gstbin.c: (gst_bin_continue_func):
4587 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4588 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4589 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4591 Fix minor compilation warnings shown with Forte.
4593 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4595 * plugins/elements/gstqueue.c: (apply_buffer),
4596 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4597 Measure queue level based on the diff between head and tail timestamps
4598 even when pushing the first buffer.
4600 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4602 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4603 (gst_base_sink_event), (gst_base_sink_change_state):
4604 Sinks that don't preroll can always be queried for the latency.
4605 Don't post ASYNC start when we are not async.
4607 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4609 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4610 (gst_queue_handle_sink_event), (gst_queue_chain),
4611 (gst_queue_push_one), (gst_queue_handle_src_query),
4612 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4613 * plugins/elements/gstqueue.h:
4614 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4615 push more buffers but allow pushing of EOS and NEWSEGMENT.
4616 Add some more debug info here and there. Fixes #476514.
4618 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4620 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4621 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4622 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4623 (gst_base_sink_set_flushing), (gst_base_sink_query),
4624 (gst_base_sink_change_state):
4625 Latency query is allowed after we are prerolled. Introduce a new flag
4626 for this and stop abusing other variables.
4628 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4630 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4631 Push OOB events downstream when we get them in send_event. This allows
4632 the application to insert events in the pipeline.
4633 Add some more comments.
4635 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4637 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4638 (do_bin_latency), (gst_bin_change_state_func):
4639 * gst/gstpipeline.c: (gst_pipeline_change_state):
4640 Move latency query from GstPipeline to GstBin so that we can also
4641 use it when async-handling is enabled on bins.
4643 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4645 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4646 (gst_base_src_do_sync), (gst_base_src_change_state):
4648 Clean up the timestamping and syncing code for pseudo live sources.
4650 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4652 Patch by: Steve Fink <sphink gmail com>
4654 * docs/manual/appendix-checklist.xml:
4655 Mention less -R switch in the section about debug output (#474055).
4657 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4659 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4660 Queue can latency to the pipeline up to the configured max size in time.
4661 Report this fact in the latency query.
4663 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4665 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4667 * libs/gst/controller/gstinterpolation.c:
4668 * libs/gst/controller/gstlfocontrolsource.c:
4669 Use gst_guint64_to_gdouble() when converting from a uint64 or
4670 GstClockTime to double to fix the build on win32. Fixes #474371.
4672 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4674 * gst/gstbuffer.c: (gst_buffer_finalize):
4675 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4676 When finalizing a buffer the complete struct is filled with 0xff,
4677 thus making a use of the buffer after the final unref impossible.
4679 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4681 * tests/check/libs/controller.c: (GST_START_TEST):
4682 Use fail_unless_equals_int(a, b) instead of
4683 fail_unless_equals (a == b) to get better output on failures.
4685 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4687 * tests/check/gst/gsturi.c:
4688 Also check for the other file URI variant on win32.
4690 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4692 * gst/gsturi.c: (gst_uri_get_location):
4693 If there's no hostname, we want to return 'c:/foo/bar.txt'
4694 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4696 * tests/check/gst/gsturi.c:
4697 Unit test for the above and a few more things.
4699 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4701 * docs/design/part-live-source.txt:
4702 Add docs on how live sources should timestamp.
4704 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4705 Add some more debug info.
4706 For subclasses that are live and like to sync, add aditional startup
4707 latency to sync time and timestamps so that we timstamp according to the
4710 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4713 Also do a g_type_class_ref() for the subbuffer type in
4716 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4718 * docs/gst/gstreamer-sections.txt:
4719 * gst/gstpad.c: (gst_pad_peer_query):
4721 Add function to perform a query on the peer of a pad.
4722 API: gst_pad_peer_query()
4724 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4726 * tests/check/gst/gstsystemclock.c:
4727 Cleanup the test a little (use gst-logging and not g_message). Improve
4728 test to check if a wait reached the target.
4730 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4732 * docs/libs/gstreamer-libs-sections.txt:
4733 Add new API to docs and fix the build.
4735 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4737 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4738 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4739 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4740 (gst_base_src_get_property), (gst_base_src_do_sync):
4741 * libs/gst/base/gstbasesrc.h:
4742 Add property to make the basesrc timestamp buffers based on the current
4744 API: GstBaseSrc::do-timestamp
4745 API: gst_base_src_set_do_timestamp()
4746 API: gst_base_src_get_do_timestamp()
4748 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4750 * docs/random/release:
4751 Really make sure translations are up-to-date before
4752 a release (#465010).
4754 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4756 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4757 Always destroy the timer, also in error cases.
4759 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4761 * docs/manual/highlevel-xml.xml:
4762 Fix XML example code. Fixes #472714.
4764 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4766 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4767 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4768 (gst_base_sink_query):
4769 Protect eos and have_preroll with the OBJECT lock so we don't need to
4770 take the PREROLL lock when querying the latency. Fixes #473846.
4772 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4775 Give some log-messages a category.
4777 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4779 * gst/gststructure.c:
4780 (gst_structure_fixate_field_nearest_fraction):
4781 Fix fraction list fixation code. Take the fraction with the smallest
4782 difference with the target instead of the first one in the list.
4784 * tests/check/gst/gststructure.c: (GST_START_TEST),
4785 (gst_structure_suite):
4786 Added test to verify correct fraction list fixation behaviour.
4788 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4790 * win32/common/libgstreamer.def:
4791 Export gst_bus_add_signal_watch too.
4793 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4795 * docs/libs/gstreamer-libs-sections.txt:
4796 Add new methods to docs.
4798 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4799 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4800 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4801 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4802 * libs/gst/base/gstbasesink.h:
4803 Add ts-offset property to fine-tune the synchronisation.
4804 API: GstBaseSink::ts-offset property
4805 API: gst_base_sink_set_ts_offset()
4806 API: gst_base_sink_get_ts_offset()
4808 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4810 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4811 (gst_base_sink_init), (gst_base_sink_set_sync),
4812 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4813 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4814 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4815 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4816 (gst_base_sink_get_property), (gst_base_sink_change_state):
4817 * libs/gst/base/gstbasesink.h:
4818 Add async property to instruct the sink never to inform the parent about
4819 ASYNC state changes, update docs.
4820 Check argument with g_return_* for the public functions.
4821 API: GstBaseSink::async property
4822 API: gst_base_sink_set_async_enabled()
4823 API: gst_base_sink_is_async_enabled()
4825 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4827 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4830 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4831 (gst_base_src_default_query), (gst_base_src_wait),
4832 (gst_base_src_do_sync), (gst_base_src_change_state):
4833 Rearrange some code so that we can add support for measuring the
4836 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4838 * docs/random/ensonic/dynlink.txt:
4839 More thoughs on this.
4841 * plugins/elements/gstcapsfilter.c:
4842 Add bugzilla ticket number to FIXME comment.
4844 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4846 * docs/design/part-TODO.txt:
4847 * docs/design/part-block.txt:
4850 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4853 Revert patch which uses $(gst_headers) instead of $^ because it
4856 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4858 * tests/check/gst/gstbin.c: (GST_START_TEST):
4859 Fix leaks in the new unit test.
4861 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4864 Don't use GST_INFO before the debug system is actually initialised
4865 (shouldn't do any harm, but won't print anything either, so we can
4866 just as well remove it).
4869 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4870 compilers that don't support variadic macros (such as MSVC), should
4871 check for debug_level <= __gst_debug_min as well, since that's the
4872 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4873 inline helper functions. Should improve performance a bit, but also
4874 makes sure uses of GST_INFO et.al are ignored if the debugging
4875 system isn't initialised yet (instead of printing an assertion
4878 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4880 patch by: David Nečas <yeti@physics.muni.cz>
4883 Replace some non portable makefile constructs.
4885 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4887 * common/gtk-doc-plugins.mak:
4888 Grrrrr. Don't remove the types file on make clean.
4890 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4892 * tools/gst-launch.1.in:
4893 Add colorspace to example pipeline. Fixes #458274.
4895 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4897 * docs/random/release:
4898 The release manager should run 'make download-po' before making a
4899 release to make sure translations are up-to-date.
4905 Add some new translations.
4907 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4909 * tools/gst-launch.c: (event_loop), (main):
4910 Don´t try to do any state management when a live pipeline posts
4912 Also make the buffering string translatable.
4914 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4916 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4917 (bin_handle_async_start), (gst_bin_handle_message_func):
4919 When adding elements, insert messages into the bus of the newly added
4920 element and make sure the element is the source of the message. This
4921 allows the parent bin to intercept the message and do the
4922 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4923 messages to the app (which is not allowed).
4926 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4927 Fix testsuite so that is does not work around messages that should not
4928 have been posted in the first place.
4930 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4932 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4933 (update_degree), (gst_bin_sort_iterator_next):
4934 Fix annoying bug in the sorted iterator where a sink that is not really
4935 a sink (when it has downstream links) screwed up the iterator.
4937 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4938 Unit test to verify the fix.
4940 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4943 Add some more docs for the messages.
4945 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4946 (gst_base_sink_query):
4947 Add some more debugging.
4949 * tools/gst-launch.c: (event_loop):
4950 When interrupting, don't try to set pipeline to PAUSED twice.
4952 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4955 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4956 (bin_handle_async_start), (gst_bin_handle_message_func):
4957 Move ASYNC_START message posting to where it belongs, similar to
4959 Don't post ASYNC_START when we are in error.
4960 Post ASYNC_START when we added an async element to a bin.
4962 2007-08-14 Julien MOUTTE <julien@moutte.net>
4964 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4965 generation from vargs. Fixes #466595.
4967 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4969 * gst/gstbin.c: (gst_bin_element_set_state):
4970 Always change the state of a NO_PREROLL element even if it has ASYNC
4971 elements inside (in case of a bin).
4973 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4974 Unit test for this case.
4976 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4978 * libs/gst/check/gstbufferstraw.c:
4979 * libs/gst/check/gstcheck.h:
4980 * libs/gst/controller/gstcontroller.c:
4981 * libs/gst/controller/gstcontrolsource.h:
4982 * libs/gst/controller/gstlfocontrolsource.h:
4983 * plugins/elements/gstcapsfilter.h:
4984 * plugins/elements/gstfdsink.h:
4985 * plugins/elements/gstfdsrc.h:
4986 Add more missing docs.
4988 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4990 * gst/gststructure.c:
4991 Add Since tag to docs.
4993 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4995 * docs/gst/gstreamer-sections.txt:
4996 * gst/gststructure.c: (gst_structure_get_uint):
4997 * gst/gststructure.h:
4998 Add function to get uint from a structure.
4999 API: gst_structure_get_uint()
5001 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5003 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5004 (gst_caps_intersect):
5005 Fix proper check for simple caps.
5007 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5009 * docs/gst/Makefile.am:
5010 * docs/libs/Makefile.am:
5011 Remove cruft and do some cleanups.
5013 * docs/gst/gstreamer-docs.sgml:
5014 * docs/libs/gstreamer-libs-docs.sgml:
5015 Prepare for comming gtkdoc features (rebase against online docs).
5017 2007-08-10 Michael Smith <msmith@fluendo.com>
5019 * docs/gst/gstreamer-sections.txt:
5020 Add gst_registry_add_path to docs.
5022 2007-08-10 Michael Smith <msmith@fluendo.com>
5024 * gst/gstregistry.h:
5025 Add gst_registry_add_path, which was missing from this header.
5027 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5029 * libs/gst/controller/gstlfocontrolsource.c:
5032 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5034 * libs/gst/base/gstbasesink.c:
5035 Don't send an async_start message during downwards state change if
5036 target state is less than READY
5038 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5040 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5044 Added Hungarian translation.
5046 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5053 Updated translations.
5055 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5057 * libs/gst/controller/Makefile.am:
5058 Dist gstlfocontrolsourceprivate.h
5060 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5062 * docs/libs/gstreamer-libs.types:
5063 Don't register the enum type gst_lfo_waveform_get_type() in the
5064 .types file - only GObject derived types belong.
5066 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5068 Patch by: <arenevier at fdn dot fr>
5071 Remove comma from last element in enum to avoid compile errors when
5072 using -pendantic. Fixes #464366.
5074 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5076 * docs/design/part-TODO.txt:
5077 Add some more TODO items
5079 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5082 * gst/gstcaps.c: (gst_caps_intersect):
5083 Optimize trivial intersection case between identical caps pointers.
5085 * gst/gstelement.c: (gst_element_continue_state),
5086 (gst_element_set_state_func):
5088 Fix spelling and grammar mistakes.
5090 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5094 Update POTFILES. Fixes #461599.
5096 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5099 Fix confusing typo in debug output.
5101 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5103 reviewed by: Stefan Kost <ensonic@users.sf.net>
5105 * libs/gst/controller/Makefile.am:
5106 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5107 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5108 (gst_lfo_control_source_new),
5109 (gst_lfo_control_source_set_waveform),
5110 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5111 (gst_lfo_control_source_finalize),
5112 (gst_lfo_control_source_dispose),
5113 (gst_lfo_control_source_set_property),
5114 (gst_lfo_control_source_get_property),
5115 (gst_lfo_control_source_class_init):
5116 * libs/gst/controller/gstlfocontrolsource.h:
5117 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5118 API: Add GstLFOControlSource, a control source that gives values
5119 for specific timestamps based on several periodic waveforms.
5122 * tests/check/libs/controller.c: (GST_START_TEST),
5123 (gst_controller_suite):
5124 * docs/libs/gstreamer-libs-docs.sgml:
5125 * docs/libs/gstreamer-libs-sections.txt:
5126 * docs/libs/gstreamer-libs.types:
5127 Add documentation and unit tests for GstLFOControlSource.
5129 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5134 === release 0.10.14 ===
5136 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5139 releasing 0.10.14, "Breathing Vacuum"
5141 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5143 * gst/gstelement.c: (gst_element_class_set_details_simple):
5145 Make strings passed to gst_element_class_set_details_simple()
5146 constant, as they should be (#462752).
5148 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5150 * gst/gstbin.c: (gst_bin_change_state_func),
5151 (bin_handle_async_done), (gst_bin_handle_message_func):
5152 Don't forget about the fact that some element went ASYNC even after a
5153 resync. This makes us post the ASYNC_DONE message correctly.
5156 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5158 * gst/gstregistry.c: (gst_registry_add_feature):
5159 When replacing an existing feature in the registry, make sure to
5160 continue holding a reference until we've replaced the name string
5161 within our feature hash table. Make sure to use g_hash_table_replace
5162 instead of g_hash_table_insert to ensure the new name string is used
5163 as a key instead of the old one that we're about to free.
5166 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5168 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5169 (gst_plugin_feature_set_name):
5170 Revert patch from #459466 until after the release and we can work
5171 out exactly what the problem is (if any).
5173 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5175 * docs/gst/gstreamer-sections.txt:
5178 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5180 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5182 * docs/libs/Makefile.am:
5183 Include our build-prefix libs and includes before the generic ones to
5184 avoid linking against the installed libs when we want the build-tree
5187 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5189 Patch by: Steve Fink <sphink gmail com>
5191 * docs/pwg/building-testapp.xml:
5192 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5193 if people try to build or install the example from the plugin
5194 template against a GStreamer from package using the configure
5197 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5199 Patch by: Steve Fink <sphink gmail com>
5201 * tools/gst-inspect.1.in:
5202 Document --print-all and --print-plugin-auto-install-info command
5203 line options in man page.
5205 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5207 * docs/gst/gstreamer-sections.txt:
5208 Add docs for new api function.
5210 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5212 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5213 * gst/gstelementfactory.h:
5214 API: gst_element_factory_has_interface()
5215 Added method to check if an element factory implements a named
5218 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5221 * docs/gst/gstreamer.types.in:
5222 Another conditional doc check.
5225 * gst/gstparamspecs.h:
5226 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5231 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5233 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5234 (gst_registry_binary_load_feature),
5235 (gst_registry_binary_load_plugin),
5236 (gst_registry_binary_read_cache):
5237 Print error just once and with additional info.
5239 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5241 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5242 (helper_find_suggest), (helper_find_get_length),
5243 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5244 (gst_type_find_helper_for_buffer):
5245 Cleanup the typefindhelper code and add private doc comments.
5247 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5249 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5250 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5251 Fix capsfilter for cases where the caps set on capsfilter will provide
5252 additional information.
5255 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5257 * gst/gsttypefindfactory.c:
5258 Fix docs that recommened wrong function to use.
5260 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5262 * tools/gst-inspect.c: (print_plugin_features):
5263 Also give media-type for typefinders in element output.
5265 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5267 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5268 (gst_registry_remove_features_for_plugin_unlocked),
5269 (gst_registry_add_feature), (gst_registry_remove_feature),
5270 (gst_registry_lookup_feature_locked):
5271 * gst/gstregistry.h:
5272 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5275 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5277 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5278 (gst_plugin_feature_set_name):
5279 Avoid double memory usage for pluginfeature names. Fixes #459466.
5281 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5284 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5285 driving the pipeline may need to explicitly check for NOT_LINKED as
5286 well, since IS_FATAL doesn't cover that.
5288 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5290 * docs/pwg/advanced-types.xml:
5291 Fix typo and duplicate entry in video formats list.
5293 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5295 * libs/gst/controller/gstinterpolation.c:
5296 Also round to the nearest int when using cubic interpolation.
5298 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5300 * libs/gst/controller/gstinterpolation.c:
5301 When linearly interpolating integer types, round to the nearest int
5302 by adding 0.5. Don't do it for float/double types.
5303 Fixes the failing controller test on my machine, which is somehow
5304 rounding differently than on the buildbots.
5306 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5308 * tools/gst-plot-timeline.py:
5309 Better log parsing (categories can have -). Adjust text vs. lines, so
5310 that they span the same y-range.
5312 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5314 * docs/random/ensonic/audiobaseclasses.txt:
5315 * docs/random/ensonic/dynlink.txt:
5316 * docs/random/ensonic/profiling.txt:
5319 * docs/random/moving-plugins:
5320 Add note to use g_assert type macros.
5322 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5325 * libs/gst/check/Makefile.am:
5326 Add libm check as we use in for plugins.
5328 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5330 * gst/gstbin.c: (gst_bin_continue_func):
5331 Check that the state_cookie hasn't changed since the continue_func
5332 was scheduled. Avoids problems where the state changes back to
5333 something it shouldn't be because it was changed in the meantime.
5335 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5337 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5338 (gst_registry_binary_save_string),
5339 (gst_registry_binary_save_pad_template),
5340 (gst_registry_binary_save_feature),
5341 (gst_registry_binary_save_plugin),
5342 (gst_registry_binary_load_feature),
5343 (gst_registry_binary_load_plugin),
5344 (gst_registry_binary_read_cache):
5345 Fix memory leak. Be less verbose in the log.
5347 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5349 * tests/check/elements/.cvsignore:
5350 Add file to cvsignore as commanded.
5352 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5354 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5355 (mq_dummypad_event), (run_output_order_test):
5356 Use a GStaticMutex to protect all cases where libcheck
5357 fail_if/fail_unless macros might be called from multiple threads
5358 simultaneously to avoid errors like:
5359 "check_pack.c:107: :-1081725400:Bad message type arg"
5361 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5363 * tests/check/pipelines/stress.c: (GST_START_TEST):
5364 Make sure we set the pipeline back to the NULL state before
5365 dropping our final reference.
5367 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5369 * tests/check/elements/tee.c: (GST_START_TEST):
5370 Make the tee stress-test a little less stressful so it doesn't just
5371 time out on slow-machines, and remove a small race when it's starting
5372 up by adding a get_state() call.
5374 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5377 Avoid reading registry twice on startup. Fixes #457322.
5379 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5381 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5382 * pkgconfig/gstreamer-check.pc.in:
5383 Substitute the CFLAGS for libcheck into our .pc file too so that
5384 dependent modules will pick it up properly if libcheck is installed
5385 into some other prefix.
5387 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5390 Revert the pkg-config check for libcheck, since it pulls in the
5391 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5392 a proper solution, either from the check project, or something else.
5394 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5397 Use pkg-config to locate check.
5399 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5406 Add deprecation guards.
5408 * libs/gst/base/gstcollectpads.h:
5409 Don't document object (this is implicitly private).
5411 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5413 * gst/gststructure.c: (gst_structure_parse_value):
5414 When deserialising foo=bar without a type cast, check if it's a
5415 boolean before falling back to a string type, otherwise things like
5416 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5417 because the filtercaps end up having a signed=(string)true field,
5418 which causes problems later when intersection caps.
5420 * tests/check/gst/gststructure.c: (GST_START_TEST):
5421 Add a unit test for this.
5423 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5425 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5427 * libs/gst/controller/Makefile.am:
5428 * libs/gst/controller/gstcontroller.c:
5429 (gst_controlled_property_add_interpolation_control_source),
5430 (gst_controlled_property_new), (gst_controlled_property_free),
5431 (gst_controller_find_controlled_property),
5432 (gst_controller_new_valist), (gst_controller_new_list),
5433 (gst_controller_new), (gst_controller_remove_properties_valist),
5434 (gst_controller_remove_properties_list),
5435 (gst_controller_remove_properties),
5436 (gst_controller_set_property_disabled),
5437 (gst_controller_set_disabled), (gst_controller_set_control_source),
5438 (gst_controller_get_control_source), (gst_controller_get),
5439 (gst_controller_sync_values), (gst_controller_get_value_array),
5440 (_gst_controller_dispose), (gst_controller_get_type),
5441 (gst_controlled_property_set_interpolation_mode),
5442 (gst_controller_set), (gst_controller_set_from_list),
5443 (gst_controller_unset), (gst_controller_unset_all),
5444 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5445 * libs/gst/controller/gstcontroller.h:
5446 * libs/gst/controller/gstcontrollerprivate.h:
5447 * libs/gst/controller/gstcontrolsource.c:
5448 (gst_control_source_class_init), (gst_control_source_init),
5449 (gst_control_source_get_value),
5450 (gst_control_source_get_value_array), (gst_control_source_bind):
5451 * libs/gst/controller/gstcontrolsource.h:
5452 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5453 (gst_object_get_control_source):
5454 * libs/gst/controller/gstinterpolation.c:
5455 (gst_interpolation_control_source_find_control_point_node),
5456 (gst_interpolation_control_source_get_first_value),
5457 (_interpolate_none_get), (interpolate_none_get),
5458 (interpolate_none_get_boolean_value_array),
5459 (interpolate_none_get_enum_value_array),
5460 (interpolate_none_get_string_value_array),
5461 (_interpolate_trigger_get), (interpolate_trigger_get),
5462 (interpolate_trigger_get_boolean_value_array),
5463 (interpolate_trigger_get_enum_value_array),
5464 (interpolate_trigger_get_string_value_array):
5465 * libs/gst/controller/gstinterpolationcontrolsource.c:
5466 (gst_control_point_free), (gst_interpolation_control_source_reset),
5467 (gst_interpolation_control_source_new),
5468 (gst_interpolation_control_source_set_interpolation_mode),
5469 (gst_interpolation_control_source_bind),
5470 (gst_control_point_compare), (gst_control_point_find),
5471 (gst_interpolation_control_source_set_internal),
5472 (gst_interpolation_control_source_set),
5473 (gst_interpolation_control_source_set_from_list),
5474 (gst_interpolation_control_source_unset),
5475 (gst_interpolation_control_source_unset_all),
5476 (gst_interpolation_control_source_get_all),
5477 (gst_interpolation_control_source_get_count),
5478 (gst_interpolation_control_source_init),
5479 (gst_interpolation_control_source_finalize),
5480 (gst_interpolation_control_source_dispose),
5481 (gst_interpolation_control_source_class_init):
5482 * libs/gst/controller/gstinterpolationcontrolsource.h:
5483 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5484 API: Refactor GstController into the core controller which can take
5485 a GstControlSource for providing actual values for timestamps.
5486 Implement a interpolation control source and use this for backward
5487 compatibility, deprecate a bunch of functions that are now handled
5488 by GstControlSource or GstInterpolationControlSource.
5489 Make it possible to disable the controller completely or only for
5490 specific properties. Fixes #450711.
5491 * docs/libs/gstreamer-libs-docs.sgml:
5492 * docs/libs/gstreamer-libs-sections.txt:
5493 * docs/libs/gstreamer-libs.types:
5494 Add new functions and classes to the docs.
5495 * tests/check/libs/controller.c: (GST_START_TEST),
5496 (gst_controller_suite):
5497 * tests/examples/controller/audio-example.c: (main):
5498 Port unit test and example to the new API and add some new
5501 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5503 Patch by: Mark Nauwelaerts <manauw at skynet be>
5505 * plugins/elements/gstmultiqueue.c:
5506 (gst_multi_queue_get_internal_links), (apply_buffer),
5507 (single_queue_overrun_cb), (gst_single_queue_new):
5508 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5509 the pipeline layout can be tracked correctly. Fixes #453732.
5511 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5513 * docs/gst/Makefile.am:
5514 * docs/libs/Makefile.am:
5515 * docs/plugins/Makefile.am:
5516 Simplify --extra-dir as gtkdoc scans recursively.
5518 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5520 * tools/gst-launch.c: (main):
5521 When we got an error, there is no point in waiting for preroll when
5524 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5526 * plugins/elements/gsttee.c: (gst_tee_base_init),
5527 (gst_tee_request_new_pad), (gst_tee_release_pad),
5528 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5529 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5531 Be a lot smarter when deciding what srcpad to use for proxying
5532 the buffer_alloc. Also handle pad added/removed when doing so.
5534 Keep track of what pads we already pushed on in case we have pads
5535 added/removed while pushing. Fixes #374639
5537 * tests/check/Makefile.am:
5538 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5540 Added unit test for pad resync.
5542 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5546 Updated translations.
5548 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5550 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5554 Added new Finnish translation.
5556 2007-06-28 Wim Taymans <wim@fluendo.com>
5558 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5559 (single_queue_overrun_cb):
5560 When figuring out when a queue is filled, use our internal time estimate
5561 based on segments, just like check_full does.
5563 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5565 * gst/gstminiobject.c: (gst_mini_object_get_type):
5566 Remove 3 do-nothing methods.
5568 2007-06-27 Wim Taymans <wim@fluendo.com>
5570 Patch by: Tim Angus <tim at ngus dot net>
5572 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5573 (gst_capsfilter_set_property):
5574 Take a reference instead of a copy when setting "caps".
5575 Fix documentation to clarify this behaviour. Fixes #449414.
5577 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5579 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5580 * gst/gstplugin.c: (gst_plugin_init):
5581 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5582 * gst/gstquery.c: (gst_query_get_type):
5583 * gst/gstregistry.c: (gst_registry_init):
5584 * gst/gsturi.c: (gst_uri_handler_base_init):
5585 Remove empty instance_init() functions to save relocs and lessen the
5586 noise. Remove some of the function prototypes that are doubled by
5589 2007-06-27 Wim Taymans <wim@fluendo.com>
5591 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5593 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5594 Add peer and direction in the XML serialisation of ghostpads.
5597 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5600 Preserve useful information, thanks Tim.
5602 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5604 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5605 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5606 (gst_single_queue_push_one), (gst_multi_queue_loop),
5607 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5608 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5609 (compute_high_id), (gst_single_queue_new):
5610 * plugins/elements/gstmultiqueue.h:
5611 Take the multiqueue lock when updating the fill level so we don't get
5614 After applying a buffer or event on the src pad segment, make sure to
5615 call gst_data_queue_limits_changed() to get the data queue to unblock
5616 and check the filled state again.
5618 Rework the not-linked pad handling so the logic is that not-linked
5619 pads can push as fast as they like, but only so they never get
5620 ahead of any linked pads.
5622 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5623 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5624 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5626 Add a test to check that not-linked pads always stay behind
5631 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5633 * docs/random/release:
5634 Some updates to the release procedure.
5636 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5638 * gst/gstelementfactory.c: (__gst_element_details_clear):
5639 Microoptimization that saves stunning 80 bytes.
5641 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5643 * docs/plugins/gstreamer-plugins.args:
5644 * docs/plugins/inspect/plugin-coreelements.xml:
5645 * docs/plugins/inspect/plugin-coreindexers.xml:
5646 Update docs with caps info.
5648 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5651 Updated Italian translation.
5653 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5657 Update Vietnamese translations.
5659 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5661 * libs/gst/base/gstbasesink.c:
5662 Remove unused signal enum.
5664 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5666 * docs/gst/gstreamer-sections.txt:
5668 * gst/gstutils.c: (gst_type_register_static_full):
5669 Beef up and include the docs for gst_type_register_static_full and
5670 gst_element_class_set_details_simple and add the API keyword
5673 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5675 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5676 (update_time_level), (gst_single_queue_push_one),
5677 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5678 (single_queue_overrun_cb), (single_queue_underrun_cb),
5679 (single_queue_check_full):
5680 Fix setting max-* properties after adding queues.
5681 Use IS_FILLED for checking visible items.
5682 Signal overrun if multiple queues overrun.
5683 Add extra debug output.
5684 Patch by: Wim Taymans <wim@fluendo.com>
5686 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5688 * gst/gstelement.c: (gst_element_class_set_details_simple):
5690 * gst/gstutils.c: (gst_type_register_static_full):
5692 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5693 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5694 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5695 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5696 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5697 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5698 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5699 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5700 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5701 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5702 (apply_buffer), (gst_queue_chain):
5703 * plugins/elements/gsttee.c: (gst_tee_base_init):
5704 * plugins/elements/gsttypefindelement.c:
5705 (gst_type_find_element_base_init),
5706 (gst_type_find_element_class_init):
5707 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5708 API: add gst_type_register_static_full
5709 API: add gst_element_class_set_details_simple
5711 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5713 * docs/pwg/advanced-types.xml:
5714 Fix typo in iana.org URI.
5716 2007-06-19 Andy Wingo <wingo@pobox.com>
5718 * tests/check/pipelines/simple-launch-lines.c
5719 (test_state_change_returns): Enable pull-mode tests now that
5720 basesink has been fixed.
5722 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5723 Changed from gst_base_sink_is_prerolled, reversing the sense of
5724 the return value. Returns FALSE also if the sink is in pull mode,
5725 in which case it needs no preroll.
5726 (gst_base_sink_query, gst_base_sink_change_state): Update for
5727 needs_preroll change.
5728 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5729 chaining up, in which we return SUCCESS directly if we activated
5730 in pull mode instead of ASYNC. Involves countering an async_start
5731 message sent before chaining up; not sure if this is correct, in
5732 an ideal world we only send async-start when activating in push
5735 * tests/check/pipelines/simple-launch-lines.c
5736 (test_state_change_returns): New test, partially disabled until
5739 2007-06-19 Wim Taymans <wim@fluendo.com>
5741 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5742 (gst_multi_queue_sink_event):
5745 2007-06-19 Wim Taymans <wim@fluendo.com>
5747 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5748 (gst_bin_change_state_func), (bin_push_state_continue),
5749 (bin_handle_async_start), (bin_handle_async_done),
5750 (gst_bin_handle_message_func):
5751 Move the common code for posting state-change messages into
5753 Broadcast the state signal after we posted the messages.
5754 Mark the bin as busy when it's doing a state-change.
5755 Make sure async-start/done messages don't interfere with the bin's
5756 state when it's busy.
5757 After the state change, let the bin check which elements completed the
5758 state change while it was busy so that it can update its state.
5760 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5762 * docs/random/release:
5763 Add a note about updating the doap file to the release checklist
5765 2007-06-18 Wim Taymans <wim@fluendo.com>
5767 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5768 (gst_single_queue_push_one), (gst_multi_queue_chain),
5769 (gst_multi_queue_sink_event):
5770 Make sure we don't reference the buffer/event after we have given away
5771 ownership in the queue.
5773 2007-06-18 Wim Taymans <wim@fluendo.com>
5775 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5776 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5777 Update queue state _after_ adding the item in the queue because else we
5778 could end up being full without the element added yet.
5780 2007-06-18 Wim Taymans <wim@fluendo.com>
5782 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5783 (gst_bin_remove_func), (gst_bin_get_state_func),
5784 (gst_bin_element_set_state), (gst_bin_continue_func),
5785 (bin_push_state_continue), (bin_handle_async_start),
5786 (bin_handle_async_done), (gst_bin_handle_message_func):
5788 Immediatly commit the toplevel bin state when receiving an async-done
5789 message. This enables us to avoid spawning a thread to commit the state
5790 in some common cases and it also avoids some races.
5791 Avoid spawning a state thread when adding/removing async elements to a
5792 toplevel bin. Instead we immediatly update the bin state.
5793 Get rid of iterating all the children when getting the state in the bin
5794 because it is now always up-to-date.
5795 Fix bug where locked elements would always return _SUCCESS even it they
5796 returned NO_PREROLL before being locked.
5797 Fix the order of the state_change, async-start/done messages that was
5798 sometimes incorrect.
5799 Mark the state_dirty field as deprecated, we don't need it anymore as we
5800 are always up-to-date.
5802 * gst/gstelement.c: (gst_element_get_state_func),
5803 (gst_element_continue_state):
5804 Small debug inprovements.
5805 Return the previous element state return when nothing is pending instead
5806 of blindly returning SUCCESS.
5808 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5810 Add a whole bunch of new testcases.
5812 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5816 Update translations.
5818 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5821 Fix typo in the docs.
5823 2007-06-15 Wim Taymans <wim@fluendo.com>
5825 * docs/libs/gstreamer-libs-sections.txt:
5826 Add docs for new methods.
5828 2007-06-15 Wim Taymans <wim@fluendo.com>
5830 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5831 (gst_multi_queue_item_new):
5832 Don't use GSlice because we don't depend on >= 2.10 yet.
5834 2007-06-15 Wim Taymans <wim@fluendo.com>
5836 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5837 (update_time_level), (apply_segment), (apply_buffer),
5838 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5839 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5840 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5841 (single_queue_underrun_cb), (single_queue_check_full):
5842 Remove debug printf.
5844 2007-06-15 Wim Taymans <wim@fluendo.com>
5846 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5847 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5848 (gst_data_queue_set_flushing), (gst_data_queue_push),
5849 (gst_data_queue_pop), (gst_data_queue_drop_head),
5850 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5851 * libs/gst/base/gstdataqueue.h:
5853 Added methods to get the current levels and to inform the queue that the
5854 'full' limits changed.
5856 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5857 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5858 (gst_single_queue_flush), (update_time_level), (apply_segment),
5859 (apply_buffer), (gst_single_queue_push_one),
5860 (gst_multi_queue_item_steal_object),
5861 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5862 (gst_multi_queue_loop), (gst_multi_queue_chain),
5863 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5864 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5865 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5866 (single_queue_underrun_cb), (single_queue_check_full),
5867 (gst_single_queue_new):
5868 Keep track of time in the queue by measuring the difference between
5869 running_time on input and output. This gives more accurate results and
5870 can compensate for segments correctly.
5871 Make a queue by default only 5 buffers deep. We will now increase the
5872 buffer size depending on the filledness of the other queues.
5873 Factor out commong flush code.
5874 Make sure we don't add additional refcounts to buffers when we can avoid
5876 Propagate GstFlowReturn differently.
5877 Use GSlice for intermediate GstMultiQueueItems.
5879 Resize queues on over and underruns based on filled level of other
5881 When checking if the queue is filled, prefer to measure in time if we
5882 can and fall back to bytes when no time is known.
5884 * plugins/elements/gstqueue.c:
5887 2007-06-15 Wim Taymans <wim@fluendo.com>
5889 * libs/gst/base/gstbasetransform.c:
5890 (gst_base_transform_sink_event):
5891 Work around the brokenness of the event vmethod in basetransform. Prefer
5892 to return TRUE when the subclass returned FALSE (meaning don't forward
5895 * libs/gst/base/gstbasetransform.h:
5898 2007-06-15 Wim Taymans <wim@fluendo.com>
5900 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5901 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5902 (gst_base_src_default_query), (gst_base_src_get_range),
5903 (gst_base_src_start):
5904 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5907 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5909 * docs/pwg/advanced-types.xml:
5910 Added more formats to caps table.
5912 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5914 * tools/gst-launch.c: (main):
5915 Remove crufy code. GOption does not need this workaround.
5917 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5919 * libs/gst/controller/gstcontroller.c:
5920 (gst_controlled_property_set_interpolation_mode):
5921 Fix wrong getter for enums in controller.
5923 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5925 * libs/gst/check/gstcheck.c: (gst_check_init):
5926 Intercept criticals and warnings in the Gst-Phonon log domain, so
5927 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5930 2007-06-14 Edward Hervey <edward@fluendo.com>
5932 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5933 Since this file doesn't include "gst.h" it will not go through the
5934 macros that disable GST_LOG if debugging was disabled.
5936 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5938 * libs/gst/check/Makefile.am:
5939 * libs/gst/check/gstcheck.h:
5940 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5941 * pkgconfig/gstreamer-check.pc.in:
5942 Ugly 'fix' for the controller unit test on the p5 bot: in
5943 fail_unless_equals_float() check whether the values are 'almost
5944 equal' by allowing a small absolute error, which should be good
5945 enough for our use cases (normal numbers and values close to 0).
5946 Proper fixage left to floating point arithmetic aficionados.
5948 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5950 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5951 (gst_base_sink_render_object), (gst_base_sink_get_position):
5952 Add two breaks thats where missing.
5954 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5956 * docs/libs/gstreamer-libs-sections.txt:
5957 * libs/gst/check/gstcheck.h:
5958 API: add fail_unless_equals_float() and assert_equals_float().
5959 Add documentation for some of the macros.
5961 * tests/check/libs/controller.c: (GST_START_TEST):
5962 Use newly-added asserts.
5964 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5966 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5967 Show the caps change in the log to help spotting the case of not
5968 exactly matching caps.
5970 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5972 * docs/pwg/building-boiler.xml:
5973 Fix typos, spotted by Thijs Vermeir (#447190).
5975 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5977 * docs/plugins/tmpl/.cvsignore:
5978 Ignore file to keep the buildbots happy
5980 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5982 * docs/plugins/Makefile.am:
5983 * docs/plugins/gstreamer-plugins-docs.sgml:
5984 * docs/plugins/gstreamer-plugins-sections.txt:
5985 Pull fdsink into the docs too.
5987 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5989 * libs/gst/controller/gstinterpolation.c:
5990 Actually use the new functions with min/max checks for the trigger and
5991 none interpolation modes for get() and get_value_array() instead of
5994 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5996 * libs/gst/controller/gstcontroller.c:
5997 (gst_controlled_property_free):
5998 Unset the minimum and maximum GValues when freeing the corresponding
5999 GstControllerProperty struct.
6001 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6003 * libs/gst/controller/gstcontroller.c:
6004 (gst_controlled_property_new):
6005 * libs/gst/controller/gstcontrollerprivate.h:
6006 * libs/gst/controller/gstinterpolation.c:
6007 (gst_controlled_property_find_control_point_node),
6008 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6009 (interpolate_none_get_string_value_array),
6010 (interpolate_trigger_get),
6011 (interpolate_trigger_get_enum_value_array),
6012 (interpolate_trigger_get_string_value_array):
6013 Protect against values larger or smaller than the minimum or maximum
6014 allowed value for the property when using values that can be compared.
6016 Optimize trigger interpolator a bit by taking the last requested value
6017 into account instead of always looping through the complete list.
6019 Fix coding style a bit, everywhere else we use "return foo" instead
6022 * tests/check/libs/controller.c: (GST_START_TEST),
6023 (gst_controller_suite):
6024 Add unit test for the protection against too large or too small
6027 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6029 * docs/random/slomo/controller.txt:
6030 Add some thoughts about the future of the controller.
6032 2007-06-08 Wim Taymans <wim@fluendo.com>
6034 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6035 Don't overflow in retimestamping code.
6037 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6039 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6040 Use gst_util_guint64_to_gdouble for conversions.
6041 * win32/common/libgstreamer.def:
6042 Add new exported functions.
6044 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6047 Small docs addition.
6049 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6052 Remove that test line again.
6054 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6057 Test commit mail sending.
6059 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6062 Fix typo and test commit mail sending.
6064 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6066 * tests/examples/controller/audio-example.c:
6067 Improve comment and test commit mail sending.
6069 2007-06-07 Wim Taymans <wim@fluendo.com>
6071 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6072 (gst_bin_remove_func), (gst_bin_element_set_state),
6073 (bin_handle_async_start), (bin_handle_async_done),
6074 (gst_bin_handle_message_func):
6075 Add helper function to find messages.
6076 Generate the async-done messages together with the state change
6078 Small cleanups in handling toplevel bins.
6080 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6082 * libs/gst/base/gstdataqueue.c:
6083 * libs/gst/base/gstdataqueue.h:
6084 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6085 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6086 (gst_multi_queue_sink_event):
6087 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6088 Fix multiqueue leaking buffers and events when downstream or the
6089 queue are flushing. Make refcounting assumptions explicit and
6090 document them (shouldn't break existing code that uses it other than
6091 maybe leak miniobjects, but that already happens anyway). Add unit
6092 test for the most common flushing case. Fixes #423700.
6094 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6096 * libs/gst/controller/gstcontroller.c:
6097 Clarify docs: The get_all, get_value_array(s) functions
6098 don't modify the GObject properties.
6100 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6102 * libs/gst/controller/gstcontroller.c:
6103 (gst_controlled_property_set_interpolation_mode),
6104 (gst_controlled_property_prepend_default),
6105 (gst_controlled_property_new), (gst_controller_set_unlocked),
6106 (gst_controller_set), (gst_controller_set_from_list),
6107 (gst_controller_unset), (gst_controller_unset_all):
6108 * libs/gst/controller/gstcontrollerprivate.h:
6109 * libs/gst/controller/gstinterpolation.c:
6110 Factor out the 'set' logic into gst_controller_set_unlocked for the
6111 gst_controller_set and gst_controller_set_from_list functions.
6113 To make life of the interpolators easier always add a control point
6114 at timestamp zero with the default value.
6116 In the linear interpolator make things more obvious by better variable
6119 Implement cubic interpolation mode (by using a natural cubic spline)
6120 and map the quadratic interpolation mode to this too (as quadratic
6121 doesn't make much sense, see discussion on the list).
6123 * tests/check/libs/controller.c: (GST_START_TEST),
6124 (gst_controller_suite):
6125 Add unit test for the cubic interpolation mode and check everywhere
6126 if the interpolation mode could be set as expected.
6128 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6130 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6131 Don't use GLib-2.10 functions, we still depend on
6132 GLib-how-old-is-it-again-2.8.
6134 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6136 * docs/gst/gstreamer-sections.txt:
6140 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6141 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6142 (_gst_param_fraction_values_cmp),
6143 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6144 * gst/gstparamspecs.h:
6146 * tests/check/Makefile.am:
6147 * tests/check/gst/.cvsignore:
6148 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6149 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6150 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6151 (GST_START_TEST), (gst_param_spec_suite):
6152 API: add GstParamSpecFraction, so elements can have fraction
6153 properties without lots of painful string parsing (#444648).
6155 2007-06-05 Wim Taymans <wim@fluendo.com>
6157 * gst/gstobject.c: (gst_object_class_init):
6158 Fix signal signature.
6161 Add small clarification in the api docs.
6163 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6164 States are protected with object lock.
6166 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6169 I should probably be listed as an author by now.
6171 * docs/random/release:
6172 Update the release doc
6174 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6177 Make docs for gst_value_compare() mention return enums that
6180 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6185 === release 0.10.13 ===
6187 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6190 releasing 0.10.13, "With or without you"
6192 2007-05-25 Wim Taymans <wim@fluendo.com>
6194 * gst/gstbin.c: (bin_handle_async_done):
6195 Make sure that the child bin stops after completing the async state
6196 change so that the parent can continue the state change to PLAYING.
6199 2007-05-25 Wim Taymans <wim@fluendo.com>
6201 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6202 (unref_data), (gst_collect_pads_remove_pad),
6203 (gst_collect_pads_check_pads):
6204 Use additional refcounting to avoid crashes when dynamically adding and
6205 removing pads. Fixes #420206.
6207 2007-05-24 Wim Taymans <wim@fluendo.com>
6209 * tools/gst-launch.c: (event_loop):
6210 When buffering goes from a two digit to a single digit number, make sure
6211 to remove the old second digit by writing a blank over it.
6213 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6215 * libs/gst/base/gstdataqueue.c:
6216 Eliminate tabs and trailing comma in enum list; fix some typos.
6218 2007-05-24 Wim Taymans <wim@fluendo.com>
6220 * tests/check/gst/gstbin.c: (GST_START_TEST):
6221 Allow refcount of 3 and 4 because some state thread might still be busy
6224 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6226 * plugins/elements/Makefile.am:
6227 * plugins/elements/gstmultiqueue.h:
6228 * plugins/elements/gstqueue.h:
6229 These are not installed headers, no need for padding.
6231 2007-05-24 Wim Taymans <wim@fluendo.com>
6233 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6234 (gst_bin_continue_func):
6235 Enable latency for next release.
6236 Restore STATE_LOCK around recalc_state that was left out during the
6237 rewrite and could result in racy behaviour when _get_state and
6238 recalc_state are run concurrently. See #440463.
6240 2007-05-23 Wim Taymans <wim@fluendo.com>
6242 * tests/check/gst/gstsystemclock.c: (store_callback),
6244 Improve test_async_order to also work when both timers are already
6245 expired when we get scheduled to check it.
6247 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6249 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6250 (gst_bin_set_property), (gst_bin_get_property),
6251 (gst_bin_remove_func), (gst_bin_handle_message_func):
6253 'private' is a c++ keyword, let's not use that in header files,
6254 otherwise c++ compilers will throw a tantrum.
6256 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6258 * plugins/elements/gstelements.c:
6259 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6260 (gst_file_sink_get_current_offset):
6261 * plugins/indexers/gstindexers.c: (plugin_init):
6262 Use #ifdef for HAVE_XYZ for consistency.
6264 * tests/check/Makefile.am:
6265 * tests/check/elements/.cvsignore:
6266 * tests/check/elements/filesink.c: (setup_filesink),
6267 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6268 Add some unit tests for filesink.
6270 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6272 Patch by: Mark Nauwelaerts <manauw at skynet be>
6274 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6275 (gst_file_sink_query), (gst_file_sink_do_seek),
6276 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6277 * plugins/elements/gstfilesink.h:
6278 Fix position reporting; rename data_written member to current_pos to
6279 reflect its real meaning (fixes #412648).
6281 2007-05-22 Edward Hervey <edward@fluendo.com>
6283 * docs/gst/gstreamer-sections.txt:
6284 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6285 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6286 (gst_bin_remove_func), (gst_bin_handle_message_func):
6288 Add a property for bins that handle the state change of their childs.
6291 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6293 * libs/gst/controller/gstinterpolation.c:
6294 Use an array of the correct type when using _get_value_array with
6295 linear interpolation.
6297 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6299 * gst/gstelement.c (gst_element_requires_clock,
6300 gst_element_provides_clock, gst_element_request_pad,
6301 gst_element_class_set_details, gst_element_class_set_details_simple,
6302 gst_element_default_send_event, gst_element_abort_state,
6303 gst_element_continue_state, gst_element_set_state,
6304 gst_element_set_state_func, iterator_activate_fold_with_resync):
6305 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6306 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6307 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6308 gst_pad_get_range, gst_pad_pull_range):
6309 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6310 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6311 GstPadActivateModeFunction, GstPadChainFunction,
6312 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6313 GstPadFixateCapsFunction, GstPadTemplate):
6314 * gst/gstpipeline.c (gst_pipeline_change_state,
6315 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6316 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6317 gst_pipeline_get_delay):
6318 Whitespace and docs fixes.
6320 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6322 * libs/gst/controller/gstinterpolation.c:
6323 (interpolate_trigger_get_enum_value_array),
6324 (interpolate_trigger_get_string_value_array):
6325 Add support for retrieving value arrays when using the trigger
6328 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6330 * libs/gst/controller/gstcontroller.c:
6331 (gst_controller_get_value_array):
6332 * libs/gst/controller/gstcontroller.h:
6333 Clarify the docs of gst_controller_get_value_array(): The array where
6334 the values should be written to must be allocated as there seems to be
6335 no way to get the size of a random GType. This doesn't change any
6336 behaviour. Also fix some typos all over the place and remove an unused,
6337 commented function that is not necessary as g_object_set() could be
6339 * tests/check/libs/controller.c: (GST_START_TEST),
6340 (gst_controller_suite):
6341 Add unit test for gst_controller_get_value_array().
6343 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6345 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6347 Disable part of the gst_buffer_try_new_and_alloc test, because
6348 it can happily succeed on 64-bit systems where there's more address
6351 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6353 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6354 Add unit test for the improved caps checking from bug #421543.
6356 2007-05-21 Wim Taymans <wim@fluendo.com>
6358 * docs/design/part-synchronisation.txt:
6361 * gst/gstbin.c: (gst_bin_query):
6362 * plugins/elements/gstqueue.c: (apply_segment):
6368 2007-05-21 Wim Taymans <wim@fluendo.com>
6370 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6371 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6372 (gst_pad_configure_src):
6373 Added simple version of improved caps checking. It was previously
6374 assumed that a setcaps function would check the validity of the caps but
6375 people prefer us to check caps against the template automatically.
6378 2007-05-21 Wim Taymans <wim@fluendo.com>
6380 * libs/gst/base/gstbasetransform.h:
6381 Fix macro for locking/unlocking the transform lock.
6383 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6385 * docs/plugins/tmpl/.cvsignore:
6388 2007-05-18 Edward Hervey <edward@fluendo.com>
6390 * plugins/elements/gstqueue.c: (gst_queue_loop):
6391 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6392 for the subtle art of warning a potentially blocking thread that it
6393 should check the source pad return value, and relay the information
6396 2007-05-18 Edward Hervey <edward@fluendo.com>
6398 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6399 Release the queue lock !
6401 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6403 * docs/libs/gstreamer-libs-sections.txt:
6404 Add the two new controller functions to the appropiate places.
6406 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6408 reviewed by: Stefan Kost <ensonic@users.sf.net>
6410 * libs/gst/controller/gstcontroller.c:
6411 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6412 (_gst_controller_get_property), (_gst_controller_set_property),
6413 (_gst_controller_init), (_gst_controller_class_init):
6414 * libs/gst/controller/gstcontroller.h:
6415 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6416 (gst_object_get_control_rate), (gst_object_set_control_rate):
6417 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6418 Add API that provides sync suggestion timestamps for elements that
6419 call gst_object_sync_values() from which those elements can subdivide
6420 their processing loop to get the best results for the controlled
6421 properties. For now it just suggests last_sync + control_rate as
6422 new timestamp but this will be improved in the future.
6424 While doing that change the control-rate property to a GstClockTime
6425 from guint and change it's meaning from samples to nanoseconds as
6426 the GstController doesn't know anything about sampling rate. Strictly
6427 speaking this breaks ABI but as the control-rate property didn't do
6428 anything in the past and as such couldn't be used this should be no
6431 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6433 reviewed by: Stefan Kost <ensonic@users.sf.net>
6435 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6436 (gst_controller_unset_all):
6437 * libs/gst/controller/gstcontrollerprivate.h:
6438 * libs/gst/controller/gstinterpolation.c:
6439 (gst_controlled_property_find_control_point_node):
6440 Save last synced value from the list to continue searching from there
6441 in future syncs. This speeds everything up a bit.
6443 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6445 reviewed by: Stefan Kost <ensonic@users.sf.net>
6447 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6448 (gst_control_point_find), (gst_controlled_property_new),
6449 (gst_control_point_free), (gst_controlled_property_free),
6450 (gst_controller_set), (gst_controller_set_from_list),
6451 (gst_controller_unset), (gst_controller_unset_all),
6452 (gst_controller_sync_values):
6453 * libs/gst/controller/gstcontroller.h:
6454 * libs/gst/controller/gstcontrollerprivate.h:
6455 * libs/gst/controller/gstinterpolation.c:
6456 (gst_controlled_property_find_control_point_node),
6457 (interpolate_none_get), (interpolate_trigger_get):
6458 Add a new private GstControlPoint struct which "inherits" from
6459 GstTimedValue to allow different interpolators to store internal
6460 values next to each control point. From the outside everything is
6461 still a GstControlPoint so we don't loose binary compatibility.
6462 Also fixup all the GValue handling to not leak GValues or list nodes.
6463 * tests/check/libs/controller.c: (GST_START_TEST):
6464 Free the list nodes and GValues in the controller_misc test.
6466 2007-05-17 Edward Hervey <edward@fluendo.com>
6471 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6473 * gst/gstplugin.c: (gst_plugin_load_file):
6474 If we fail to load a plugin because of unresolved symbols or missing
6475 libraries and spew a warning to stderr, we may just as well mention
6476 which plugin it was that failed to load.
6478 2007-05-13 David Schleef <ds@schleef.org>
6480 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6481 handles the case when ENABLE_GTK_DOC is false, and installs
6482 the prebuilt documentation. So gtk-doc subdirs are
6483 unconditionally enabled. Fixes: #349099.
6485 2007-05-13 David Schleef <ds@schleef.org>
6487 * gst/gstutils.h: Reword some documentation.
6489 2007-05-12 David Schleef <ds@schleef.org>
6491 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6492 do anything with the passed "module" parameter, so remove it.
6493 Allows removal of additional vestigal code.
6495 2007-05-12 David Schleef <ds@schleef.org>
6498 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6499 Switch to using g_stat() because it's more portable.
6501 2007-05-12 David Schleef <ds@schleef.org>
6504 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6505 parsing for embedded systems.
6506 * gst/gstelementfactory.c:
6507 Allow gst_element_register() to be called with plugin==NULL.
6508 Did nobody notice that static elements were broken?
6510 2007-05-12 Wim Taymans <wim@fluendo.com>
6512 * tools/gst-launch.c: (event_loop):
6513 Give more interesting info when buffering starts and stops.
6514 Fix case where buffering starts but we fail to update the buffering flag
6515 because the target state is not PLAYING.
6517 2007-05-12 Wim Taymans <wim@fluendo.com>
6519 * plugins/elements/gstqueue.c: (gst_queue_init),
6520 (gst_queue_finalize), (update_time_level), (apply_segment),
6521 (apply_buffer), (gst_queue_locked_flush),
6522 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6523 (gst_queue_handle_sink_event), (gst_queue_chain),
6524 (gst_queue_push_one), (gst_queue_loop):
6525 * plugins/elements/gstqueue.h:
6526 Refactor an cleanup queue a bit.
6527 Do better time level calculations that also work when the srcpad is not
6529 Remove some unneeded debug lines.
6531 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6532 Added testcase for time level measurement.
6533 Try to make some stuff more racefree.
6535 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6537 * gst/gsturi.c: (gst_element_make_from_uri):
6538 Don't leak plugin feature.
6540 * tests/check/Makefile.am:
6541 * tests/check/gst/.cvsignore:
6542 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6543 Add brain-dead unit test.
6545 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6547 Patch by: Jeroen Wouters <woutersj at gmail com>
6549 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6550 Treat protocol strings in a case-insensitive way (#437563).
6552 2007-05-11 Michael Smith <msmith@fluendo.com>
6554 * gst/gstplugin.c: (gst_plugin_load_file):
6555 * gst/gstregistry.c: (gst_registry_scan_path_level):
6556 Don't print a g_warning for any failure to load a shared object.
6557 Instead, push this down into gstplugin.c, and warn _only_ if we
6558 failed to open the module (i.e. failure to link).
6559 Avoids warnings on normal, working, non-plugin .so files.
6561 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6563 * gst/gstplugin.c (gst_plugin_load_file):
6564 * gst/gstregistry.c (GST_CAT_DEFAULT,
6565 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6566 Print a g_warning if there was an error when loading a plugins during
6567 registry scan. The shuld help beginners starting with gst-plugin
6570 2007-05-10 Wim Taymans <wim@fluendo.com>
6572 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6573 (update_time_level), (gst_queue_locked_flush),
6574 (gst_queue_handle_sink_event), (gst_queue_chain),
6575 (gst_queue_push_one), (gst_queue_loop):
6576 * plugins/elements/gstqueue.h:
6577 Be smarter when calculating the current amount of data in the queue by
6578 measuring the difference between start and end timestamps (in running
6579 time) inside the queue. Fixes #432876.
6580 API: GstQueue::pushing to notify elements that we are pushing data again
6581 since the running signal is rather broken for this purpose.
6583 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6585 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6586 gst_queue_base_init, gst_queue_init):
6589 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6591 * win32/common/libgstreamer.def:
6592 Add new exported functions.
6593 * win32/vs6/grammar.dsp:
6594 Use grammar pre-generated files.
6596 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6598 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6601 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6603 * gst/gstutils.c: (gst_parse_bin_from_description):
6605 Maintain API and ABI when --disable-parse is used. Now that
6606 we have an appropriate error code, we can just return NULL and the
6607 appropriate error when gst_parse_launch() is used despite it having
6608 been disabled (#342564).
6610 * tests/check/Makefile.am:
6611 * tests/check/pipelines/.cvsignore:
6612 * tests/check/pipelines/parse-disabled.c:
6613 Make sure these functions exist and return NULL plus a GError when
6614 --disable-parse is used.
6616 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6618 * tests/benchmarks/complexity.c: (main):
6619 * tests/benchmarks/mass-elements.c: (main):
6620 Set a good example and don't leak messages.
6622 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6624 * docs/gst/Makefile.am:
6625 * docs/libs/Makefile.am:
6626 Correct fixxrefs options.
6628 * docs/plugins/Makefile.am:
6629 * docs/plugins/gstreamer-plugins-docs.sgml:
6630 * docs/plugins/gstreamer-plugins-sections.txt:
6631 * plugins/elements/Makefile.am:
6632 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6633 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6634 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6635 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6636 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6637 _GstCapsFilterClass, trans_class):
6638 * plugins/elements/gstelements.c (name, rank, type, _elements):
6639 * plugins/elements/gstidentity.c
6640 (gst_identity_check_imperfect_timestamp,
6641 gst_identity_check_imperfect_offset):
6642 Document capsfilter and add doc-blurb to identity.
6644 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6646 * libs/gst/controller/gstcontroller.c:
6647 (gst_controlled_property_set_interpolation_mode):
6648 * libs/gst/controller/gstinterpolation.c:
6649 Don't crash if someone tries to set an interpolation mode that
6650 is invalid or that isn't supported yet. Fixes #422295.
6652 * tests/check/libs/controller.c: (GST_START_TEST),
6653 (gst_controller_suite):
6654 Add a test case for the above.
6656 2007-05-03 Edward Hervey <edward@fluendo.com>
6658 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6659 Properly set the last_stop position on GstSegment. This will only happen
6660 if there is a buffer to push out.
6662 2007-05-03 Wim Taymans <wim@fluendo.com>
6664 * libs/gst/base/gstbasetransform.c:
6665 (gst_base_transform_buffer_alloc):
6666 always_in_place does not mean that the sink and source caps are the
6667 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6669 2007-05-03 Wim Taymans <wim@fluendo.com>
6671 * docs/libs/gstreamer-libs-sections.txt:
6672 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6673 (gst_base_src_default_query), (gst_base_src_get_range):
6674 * libs/gst/base/gstbasesrc.h:
6675 API: gst_base_src_query_latency(). Added method so that subclasses can
6676 easily get the latency values of the base source class.
6678 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6680 * tools/gst-inspect.c (print_implementation_info):
6683 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6685 * tools/Makefile.am:
6686 * tools/gst-launch.1.in:
6687 Don't create a customised man page based on the host architecture,
6688 describe the default registry path generically. That way the man
6689 page is the same for all architectures and packagers have one
6690 multilib issue less to deal with. Fixes #434926.
6692 2007-05-02 Wim Taymans <wim@fluendo.com>
6695 Fix documentation as spotted by rg on IRC.
6697 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6700 Improve docs for gst_element_{link,unlink}.
6702 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6704 * docs/design/part-events.txt:
6705 * docs/design/part-overview.txt:
6709 * libs/gst/base/gstbasesink.c:
6710 Typo fixes; minor docs addition.
6712 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6714 * docs/gst/gstreamer-sections.txt:
6715 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6716 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6718 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6719 or src that supports a given URI protocol exists.
6721 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6723 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6724 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6725 Set the location to NULL if "file://" is set as URI. Otherwise
6726 some random previous URI would still be set if "file://" is
6727 set on an already used filesink/filesrc.
6729 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6731 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6732 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6733 Special case the "file://" URI as as this is used by some
6734 applications to test with gst_element_make_from_uri if there's
6735 an element that supports the URI protocol.
6736 Also move the g_path_is_absolute() check for the location part
6737 of the URI to also check this for "file://localhost/bla" URIs.
6739 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6741 * docs/gst/gstreamer-sections.txt:
6742 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6744 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6746 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6748 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6750 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6751 (gst_registry_binary_load_pad_template),
6752 (gst_registry_binary_load_plugin),
6753 (gst_registry_binary_read_cache):
6754 * gst/gstregistrybinary.h:
6755 Implement no-mmap alternative for registry reading. Do code cleanups.
6756 Add more comments about avoiding strdups for all text data. Comments
6759 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6761 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6762 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6763 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6764 Comment structs and reformat to fix the build (that stuff should go
6765 into a priv. header).
6767 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6769 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6770 (gst_registry_binary_load_feature):
6771 * gst/gstregistrybinary.h:
6772 Refactor so that we can implement multiple features. Add support for
6773 TypeFindFactory features.
6775 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6777 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6780 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6782 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6784 * gst/gstbin.c: (gst_bin_element_set_state),
6785 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6786 (bin_handle_async_done), (gst_bin_handle_message_func):
6787 Fix build with --gst-disable-gst-debug
6789 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6791 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6792 Make sure streaming has finished before calling the ::stop() vfunc,
6793 since that vfunc might clear state which is being used in the
6794 streaming thread. This fixes a race that caused crashes in
6795 audioresample when shutting down a pipeline (#420106).
6797 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6799 * docs/gst/gstreamer-sections.txt:
6800 That was one byte missing.
6802 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6805 * docs/gst/gstreamer-sections.txt:
6807 * gst/gstconfig.h.in:
6808 * gst/gstobject.c: (gst_object_class_init),
6809 (gst_signal_object_class_init):
6811 2nd attempt to have a xml-less build as a joined effort of #413123
6814 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6816 * docs/design/draft-tagreading.txt:
6817 Added open issues/thoughts to draft.
6819 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6821 * gst/parse/grammar.tab.pre.c:
6822 * gst/parse/grammar.tab.pre.h:
6823 * gst/parse/lex._gst_parse_yy.pre.c:
6824 Update the prebuild parser sources.
6826 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6828 * gst/parse/Makefile.am:
6829 And now fix the building of the flex sources. Now everything should
6832 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6834 * gst/parse/Makefile.am:
6835 Now hopefully fix the build failures by setting proper rule
6836 dependencies and moving instead of copying.
6838 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6840 * tests/benchmarks/complexity.gnuplot:
6841 * tests/benchmarks/complexity.scm:
6842 * tests/benchmarks/mass-elements.gnuplot:
6843 * tests/benchmarks/mass-elements.scm:
6844 Total licensification.
6846 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6848 * gst/parse/Makefile.am:
6849 Fix the build by correcting the rule that gave wrong files to flex.
6851 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6853 * tests/benchmarks/complexity.c:
6854 * tests/benchmarks/mass-elements.c:
6855 Change licence to LGPL as granted by Benjamin and Andy.
6857 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6859 * gst/parse/Makefile.am:
6860 Add correct grammar.tab.h dependency if compiling without new enough
6861 flex. Fixes #431150.
6863 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6865 * gst/parse/Makefile.am:
6866 Fix typo and use outdated sources if the flex/bison sources are newer
6867 than the pregenerated ones but flex is too old. Print a warning in
6868 that case. This should fix the build on the build bot.
6870 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6872 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6873 * gst/parse/Makefile.am:
6874 * gst/parse/grammar.y:
6875 * gst/parse/parse.l:
6876 Make the parser reentrant and recursively callable. This requires flex
6877 >= 2.5.31, for older versions pregenerated sources are used as we
6878 can't bump the build dependency. Finally fixes #349180.
6880 * gst/gstparse.c: (gst_parse_launch):
6881 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6884 * docs/gst/Makefile.am:
6885 * docs/gst/Makefile.am:
6886 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6887 (__gst_parse_strfree), (__gst_parse_link_new),
6888 (__gst_parse_link_free), (__gst_parse_chain_new),
6889 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6890 (gst_parse_element_set), (gst_parse_free_link),
6891 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6892 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6893 (_gst_parse_launch):
6894 * gst/parse/grammar.tab.pre.h:
6895 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6896 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6897 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6898 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6899 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6900 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6901 (_gst_parse_yypop_buffer_state),
6902 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6903 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6904 (yy_fatal_error), (_gst_parse_yyget_extra),
6905 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6906 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6907 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6908 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6909 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6910 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6911 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6912 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6913 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6914 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6915 (_gst_parse_yyfree):
6916 If the installed flex version is too old use pre-generated parser
6917 sources. These pre-generated parser sources are always updated when
6918 the actual flex/bison sources change but require everybody who wants
6919 to change something in the parser to have flex >= 2.5.31 installed.
6921 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6923 * common/m4/gst-gettext.m4:
6924 * gst/gst-i18n-lib.h:
6925 Make --disable-nls to work
6927 2007-04-17 Wim Taymans <wim@fluendo.com>
6929 * gst/gstconfig.h.in:
6930 Revert previous change that broke the build.
6932 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6936 * gst/gstconfig.h.in:
6937 Drop libxml2 dependency when building with
6938 --enable-binary-registry --disable-loadsave
6940 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6942 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6943 (gst_registry_binary_read_cache):
6944 * gst/gstregistrybinary.h:
6945 Remove unnecessary <sys/mman.h> include which broke the win32 build
6946 with MingW; move includes from header file to .c file, even if the
6947 header file isn't installed; use g_strerror() where UTF-8 strings
6948 are expected, such as in GST_DEBUG messages.
6950 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6952 * docs/libs/gstreamer-libs-sections.txt:
6953 Remove bogus addition for API I didn't end up keeping.
6955 * libs/gst/base/gstbasesrc.h:
6956 Mention Since: 0.10.13 in the documentation.
6958 Add the API keyword to the previous ChangeLog entry.
6960 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6962 * docs/libs/gstreamer-libs-sections.txt:
6963 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6964 (gst_base_src_default_prepare_seek_segment),
6965 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6966 * libs/gst/base/gstbasesrc.h:
6967 Allow basesrc derived classes to execute seeks in other formats
6968 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6969 to prepare the GstSegment in any format that their perform_seek method
6970 will be able to understand. The default implementation provides the
6971 old behaviour of attempting to convert the seek offsets to the
6972 configured native format.
6974 API: basesrc::prepare_seek_segment vmethod.
6976 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6978 * gst/gstelement.c: (gst_element_get_state_func):
6979 Don't output the same debug statement twice.
6981 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6982 (gst_adapter_peek), (gst_adapter_take_buffer):
6983 Optimise the case where we have buffers at the head of the queue that
6984 can be joined quickly (because they're contiguous sub-buffers) by
6985 merging them together rather than copying data out into new memory.
6987 * gst/parse/grammar.y:
6988 * tests/check/pipelines/parse-launch.c:
6989 Fix a leak in an error path for parse_launch, and add a check
6990 for it to the testsuite.
6992 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6994 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6995 Don't deadlock when releasing a pad - gst_pad_set_active may try
6996 and take the multiqueue lock too.
6998 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7000 * gst/gsterror.c: (_gst_core_errors_init):
7002 API: add GST_CORE_ERROR_DISABLED (#392804).
7004 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7006 * docs/faq/gst-uninstalled:
7007 don't get empty paths on the PATH variables
7008 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7009 Don't format for the uncommon terminal width of 84 characters.
7011 2007-04-06 Wim Taymans <wim@fluendo.com>
7013 * gst/gstpipeline.c: (reset_stream_time),
7014 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7015 Only try to select a different pipeline clock when we went back to
7016 PAUSED and not when we merely got flushed.
7018 2007-04-05 Michael Smith <msmith@fluendo.com>
7020 * tools/gst-launch.1.in:
7021 fractions are better supported in gstreamer than ractions, so
7022 suggest using those.
7024 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7026 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7030 Added Danish translation.
7032 2007-04-05 Wim Taymans <wim@fluendo.com>
7034 * libs/gst/base/gstbasesink.c:
7035 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7036 Fix leak caused when refusing newsegment after EOS.
7038 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7039 (gst_fake_sink_init), (gst_fake_sink_set_property),
7040 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7041 (gst_fake_sink_render), (gst_fake_sink_change_state):
7042 * plugins/elements/gstfakesink.h:
7043 Add num-buffers property to make the element generate EOS after a
7044 configurable amount of buffers.
7045 API: fakesink::num-buffers property.
7047 * tests/check/elements/fakesink.c: (GST_START_TEST),
7049 Fix GstBus leak in test.
7050 Test for fakesink num-buffers.
7052 2007-04-05 Wim Taymans <wim@fluendo.com>
7054 * libs/gst/base/gstbasesink.c:
7055 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7056 (gst_base_sink_change_state):
7057 Don't accept anything after an EOS, return UNEXPECTED instead.
7059 * tests/check/elements/fakesink.c: (GST_START_TEST),
7061 Unit test for new EOS behaviour.
7063 2007-04-05 Wim Taymans <wim@fluendo.com>
7065 * gst/gstelement.c: (gst_element_get_request_pad):
7066 Make padtemplates also work when they don't contain %s or %d.
7068 2007-04-05 Wim Taymans <wim@fluendo.com>
7070 * docs/gst/gstreamer-sections.txt:
7071 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7072 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7074 Improve _adjust_unlocked() so that it overflows less.
7075 Add gst_clock_unadjust_unlocked to convert from external time to
7076 internal time based on calibration.
7077 Add some more debug.
7078 API: GstClock::gst_clock_unadjust_unlocked()
7080 2007-04-03 Wim Taymans <wim@fluendo.com>
7082 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7084 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7085 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7086 when releasing sink pad. Fixes #425400.
7088 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7090 * docs/random/ensonic/dynlink.txt:
7091 More work on proposal for new core api.
7093 * docs/libs/gstreamer-libs-sections.txt:
7094 * libs/gst/base/gstbasetransform.h:
7095 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7097 * libs/gst/controller/gstcontroller.c:
7098 (on_object_controlled_property_changed),
7099 (gst_controller_sync_values),
7100 (gst_controller_set_interpolation_mode):
7101 * libs/gst/controller/gstcontroller.h:
7102 Less verbose logging add docs for unimplemented parts and correctly
7103 return when using unavailable parts.
7105 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7107 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7108 Move all the debug to the CLOCK category, and associate it with
7111 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7113 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7114 Make take_buffer a bit quicker by removing redundant checks
7115 caused by calling gst_adapter_take.
7117 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7119 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7122 * tests/check/Makefile.am:
7123 * tests/check/elements/.cvsignore:
7124 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7125 (GST_START_TEST), (multiqueue_suite):
7126 Add some dead simple unit tests for the 'multiqueue' element
7127 (some bits don't work yet and are disabled for now).
7129 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7131 * gst/gstelement.c: (gst_element_get_request_pad),
7132 (gst_element_class_get_request_pad_template):
7133 Make gst_element_get_request_pad() create request pads only for
7134 request pad templates and not for, say, sometimes pad templates.
7136 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7138 * docs/design/draft-klass.txt:
7139 Add example that needs more thinking.
7141 * docs/design/draft-missing-plugins.txt:
7142 More thoughts about wrapper plugins.
7144 * docs/random/ensonic/embedded.txt:
7145 * docs/random/ensonic/profiling.txt:
7148 2007-03-25 Wim Taymans <wim@fluendo.com>
7150 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7151 (gst_base_src_loop):
7152 Only push the segment events in the PLAYING state for live sources.
7154 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7156 * gst/gstpipeline.c: (gst_pipeline_change_state):
7157 Modify the clock distribution path in PAUSED->PLAYING so that we
7158 never attempt to choose a new clock unless we're actually leaving
7159 the PAUSED state for the first time. This prevents choosing a
7160 different clock when the state_change gets called for a 2nd time due
7161 to some element doing an async state change.
7163 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7165 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7166 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7167 (gst_pad_chain_unchecked), (gst_pad_push):
7168 Revert last commit. This needs some more thoughts.
7170 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7172 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7173 (gst_pad_chain_unchecked), (gst_pad_push):
7174 Check in set_caps if the caps are compatible with the pad and remove
7175 two functions that are redundant now. Fixes #421543.
7177 2007-03-22 Wim Taymans <wim@fluendo.com>
7179 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7180 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7181 Unref some more to make valgrind happy.
7183 2007-03-22 Wim Taymans <wim@fluendo.com>
7185 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7186 (gst_system_clock_id_wait_jitter),
7187 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7188 Fix anoying regression that survived a few releases. When adding an
7189 async entry while blocking on a sync entry, the sync entry will unblock
7190 but still be busy, so it should continue to wait instead of returning
7192 Add some comments here and there.
7194 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7195 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7196 Add testcase for this.
7198 2007-03-22 Wim Taymans <wim@fluendo.com>
7200 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7201 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7202 WRONG_STATE and can silently pause the task. All other cases should
7205 2007-03-22 Wim Taymans <wim@fluendo.com>
7207 Patch by: Ville Syrjala <syrjala at sci dot fi>
7209 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7210 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7213 2007-03-21 Michael Smith <msmith@fluendo.com>
7215 * docs/pwg/advanced-types.xml:
7216 Fix some errors in the typefinding docs pointed out on irc.
7218 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7220 * libs/gst/base/gstbasesrc.c:
7221 Clarify FIXME comment in the face of having added unlock_stop()
7223 2007-03-21 Wim Taymans <wim@fluendo.com>
7225 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7226 Prepare for release where we warn against possible app breakage in the
7227 case of live pipelines along with an env var to enable/disable live
7228 preroll mode (GST_COMPAT=[no-]live-preroll).
7230 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7232 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7233 So we should use correct constants for checking for None offset.
7235 2007-03-20 Wim Taymans <wim@fluendo.com>
7237 * docs/design/part-block.txt:
7238 Mention the fact that the newly switched element should be set to at
7241 2007-03-20 Wim Taymans <wim@fluendo.com>
7244 Fix compilation with registry disabled as spotted by Saur.
7246 2007-03-20 Wim Taymans <wim@fluendo.com>
7248 Patch by: Olivier Crete <tester at tester dot ca>
7250 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7251 Look at the pending state too when syncing the element state to the
7252 parent. Fixes #420133.
7254 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7256 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7257 (gst_base_sink_change_state):
7258 * libs/gst/base/gstbasesink.h:
7259 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7260 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7261 (gst_base_src_deactivate):
7262 * libs/gst/base/gstbasesrc.h:
7263 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7264 for sub-classes to correctly clear any state they set trying to
7265 unlock, such as clearing out unlock commands from a command fd.
7266 API: basesrc::unlock_stop
7267 API: basesink::unlock_stop
7269 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7270 (gst_fd_sink_render), (gst_fd_sink_unlock),
7271 (gst_fd_sink_unlock_stop):
7272 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7273 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7274 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7276 Implement unlock_stop in fdsrc and fdsink.
7277 Implement seeking in fdsrc when a seekable fd is passed, as in
7278 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7280 2007-03-19 Wim Taymans <wim@fluendo.com>
7282 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7284 * gst/gstelement.c: (gst_element_class_init):
7285 Fix pad-added and pad-removed signal signatures so that the pad type is
7286 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7288 2007-03-19 Wim Taymans <wim@fluendo.com>
7290 * docs/gst/gstreamer-sections.txt:
7291 Add new element field and method.
7293 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7294 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7295 (gst_bin_recalc_state), (gst_bin_get_state_func),
7296 (gst_bin_element_set_state), (gst_bin_change_state_func),
7297 (gst_bin_continue_func), (bin_bus_handler),
7298 (bin_push_state_continue), (bin_handle_async_start),
7299 (bin_handle_async_done), (gst_bin_handle_message_func):
7300 Make async state changes a bit smarter by using new ASYNC_START and
7301 ASYNC_DONE messages. This reduces the number of times we run the state
7302 recalculation thread.
7303 Don't change state of element with a pending ASYNC_START message.
7304 Deprecate STATE_DIRTY messages.
7306 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7307 (gst_element_get_state_func), (gst_element_continue_state),
7308 (gst_element_lost_state), (gst_element_set_state_func),
7309 (gst_element_change_state):
7311 Keep the state that was last set by the app in a new element field.
7312 Don't allow state changes when handling an element event.
7313 Post ASYNC_START and ASYNC_DONE messages.
7314 Change lost_state so that we go to PAUSED and wait for the parent to set
7315 us to PLAYING again (so latency calculation can be performed)
7316 Export gst_element_change_state() method so that subclasses can use it.
7317 API: gst_element_change_state()
7318 API: GST_STATE_TARGET
7320 * gst/gstpipeline.c: (gst_pipeline_class_init),
7321 (reset_stream_time), (gst_pipeline_change_state),
7322 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7323 Using the new ASYNC_START message we can reset the base_time when
7324 needed. This can then be used to implement base_time redistribution in
7325 flushing seeks so that we can remove the explicit seek handling.
7326 Perform latency query and configuration when going to PLAYING.
7328 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7329 (gst_base_sink_query), (gst_base_sink_change_state):
7330 Post new ASYNC_START/ASYNC_DONE messages.
7332 * tests/check/generic/sinks.c: (GST_START_TEST):
7333 Fix test because the bin will not set the async element to PLAYING right
7336 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7337 Make the message check a little stronger.
7338 Handle ASYNC messages.
7340 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7341 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7342 Expect ASYNC_DONE messages.
7344 2007-03-19 Wim Taymans <wim@fluendo.com>
7346 * docs/gst/gstreamer-sections.txt:
7347 * gst/gstmessage.c: (gst_message_new_async_start),
7348 (gst_message_new_async_done), (gst_message_parse_info),
7349 (gst_message_parse_async_start):
7351 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7354 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7356 * tools/gst-inspect.c:
7357 (print_plugin_automatic_install_info_codecs):
7358 Now that we don't check for the 'Codec' keyword any longer in the
7359 klass, we shouldn't spew a warning if the klass isn't a decoder or
7360 encoder (since it might be a Source/Network, for example).
7362 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7364 * tools/gst-inspect.c:
7365 (print_plugin_automatic_install_info_codecs):
7366 Don't require decoder/demuxer/depayloader elements or
7367 encoder/muxer/paylader elements to have 'Codec' as part of their
7368 factory class string when introspecting a plugin's capabilities.
7369 draft-klass.txt mentions that it might be removed in future, and
7370 flump3dec doesn't have it as part of its class string, so chances
7371 are others might also not have it.
7373 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7395 Update translations from translation project
7397 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7399 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7400 (gst_child_proxy_set_property):
7401 Invert precondition check to be alike the ones in the mimiced gobject
7404 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7406 * docs/design/draft-tagreading.txt:
7407 * docs/random/ensonic/audiobaseclasses.txt:
7408 Do some Architect work.
7410 * gst/gstobject.c: (gst_object_set_name):
7414 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7416 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7418 * gst/gstsystemclock.c: (gst_system_clock_init),
7419 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7420 Defer starting the async system clock thread until the first async
7421 wait is scheduled. Fixes #414986.
7423 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7425 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7426 (gst_single_queue_free):
7427 Fix small leak (free GstSingleQueue structure too, not only contents).
7429 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7431 * gst/gstbin.c:(gst_bin_add):
7432 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7433 * win32/common/libgstbase.def:
7434 * win32/common/libgstreamer.def:
7435 Add new exported functions.
7437 2007-03-09 Wim Taymans <wim@fluendo.com>
7439 * docs/plugins/gstreamer-plugins-sections.txt:
7442 2007-03-09 Wim Taymans <wim@fluendo.com>
7444 * docs/gst/gstreamer-sections.txt:
7445 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7447 Add metadata copy functions. Fixes #393099.
7448 API: gst_buffer_copy_metadata()
7450 * gst/gstutils.c: (gst_buffer_stamp):
7451 * libs/gst/base/gstbasetransform.c:
7452 (gst_base_transform_prepare_output_buffer):
7453 Use new metadata copy functions.
7455 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7457 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7458 (gst_identity_init), (gst_identity_check_perfect),
7459 (gst_identity_check_imperfect_timestamp),
7460 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7461 (gst_identity_set_property), (gst_identity_get_property):
7462 * plugins/elements/gstidentity.h:
7463 Separate out check-imperfect-timestamp and check-imperfect-offset.
7464 Put back check-perfect as it was to keep compatibility.
7466 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7468 * gst/gstelement.c: (gst_element_dispose):
7469 There's no need to warn if VOID_PENDING is not NONE here, as
7470 long as the state is NULL it's ok, and that's checked immediately
7473 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7475 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7476 Fix check for perfect stream to ignore buffers with -1
7477 offsets/offset ends when checking data contiguity.
7479 2007-03-08 Wim Taymans <wim@fluendo.com>
7481 * tools/gst-launch.c: (event_loop):
7482 Print INFO messages.
7484 2007-03-08 Wim Taymans <wim@fluendo.com>
7486 * libs/gst/base/gstbasetransform.c:
7487 (gst_base_transform_sink_eventfunc),
7488 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7489 (gst_base_transform_activate):
7490 * libs/gst/base/gstbasetransform.h:
7491 Add support for dropping buffers with custom GstFlowReturn.
7492 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7493 buffers or dropped buffers.
7495 * docs/libs/gstreamer-libs-sections.txt:
7496 docs for new custom return code.
7498 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7499 Use drop support in base class to implement drop-probability.
7501 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7503 * gst/gst.c: (load_plugin_func):
7504 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7505 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7506 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7507 Remove newlines at end of debug log strings.
7509 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7511 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7512 Only post bus message at max, once per buffer received.
7514 2007-03-07 Wim Taymans <wim@fluendo.com>
7516 * docs/design/Makefile.am:
7517 * docs/design/part-synchronisation.txt:
7518 Add doc about synchronisation
7520 * docs/design/draft-latency.txt:
7521 * docs/design/part-TODO.txt:
7522 * docs/design/part-clocks.txt:
7523 * docs/design/part-events.txt:
7524 * docs/design/part-gstbus.txt:
7525 * docs/design/part-gstpipeline.txt:
7526 * docs/design/part-live-source.txt:
7527 * docs/design/part-messages.txt:
7528 * docs/design/part-overview.txt:
7529 * docs/design/part-streams.txt:
7530 * docs/design/part-trickmodes.txt:
7531 Documentation updates.
7533 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7536 Update the doap file.
7538 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7540 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7541 Rename non-perfect to imperfect for Mike and for the sanctity of the
7543 Also make sure bus message gets emitted for data-incontiguities.
7545 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7547 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7548 (gst_identity_start):
7549 * plugins/elements/gstidentity.h:
7550 Emit bus message if check-perfect is true and we encounter a
7551 non-perfect stream between 2 consecutive buffers.
7554 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7559 === release 0.10.12 ===
7561 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7564 releasing 0.10.12, "Inevitable Demise"
7566 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7569 Version 0.10.11.2 (0.10.12 pre-release)
7570 Bump libtool versioning.
7572 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7574 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7575 Log flow-names and not numbers.
7577 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7580 Convert to new AG_GST style.
7582 2007-02-28 Wim Taymans <wim@fluendo.com>
7584 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7585 Don't unref query twice.
7587 2007-02-28 Wim Taymans <wim@fluendo.com>
7589 * gst/gstvalue.c: (gst_value_transform_object_string),
7590 (_gst_value_initialize):
7591 Implement GstObject -> string transform so we print object names
7592 when serializing GValues containing GstObjects.
7594 2007-02-28 Wim Taymans <wim@fluendo.com>
7596 * docs/gst/gstreamer-sections.txt:
7597 Add new stuff to docs.
7599 2007-02-28 Wim Taymans <wim@fluendo.com>
7601 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7602 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7603 (gst_base_sink_change_state):
7604 Improve latency query code.
7605 Don't leak latency events.
7607 * tests/check/gst/gstbin.c: (GST_START_TEST):
7610 2007-02-28 Wim Taymans <wim@fluendo.com>
7612 * gst/gstelement.c: (gst_element_message_full),
7613 (gst_element_get_state_func):
7615 Improve docs a little. Added Since: for new macro.
7617 * gst/gstobject.c: (gst_object_sink):
7618 * gst/gstpipeline.c: (gst_pipeline_change_state),
7619 (gst_pipeline_set_new_stream_time):
7620 * gst/gstpipeline.h:
7621 Improve debugging and docs.
7623 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7626 2007-02-28 Wim Taymans <wim@fluendo.com>
7628 * gst/gstelement.c: (gst_element_message_full),
7629 (gst_element_set_locked_state), (gst_element_get_state_func),
7630 (gst_element_change_state):
7631 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7632 Documentation updates.
7633 Small code cleanups.
7635 * gst/gstmessage.c: (gst_message_new_info),
7636 (gst_message_parse_info):
7638 API: gst_message_new_info()
7639 API: gst_message_parse_info()
7640 Add INFO message create and parse code.
7642 2007-02-28 Wim Taymans <wim@fluendo.com>
7644 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7645 (bin_query_latency_done):
7646 Also report the live parameter of a latency query.
7648 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7650 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7651 Copy the current generic/states example from -base and adapt so
7652 we can use the exact same code everywhere.
7653 Check a STATES_IGNORE_ELEMENTS env var which can be used
7654 to ignore certain element factories for this test, which is
7655 what is being done in -base
7656 * tests/check/Makefile.am:
7657 Mention this environment variable.
7659 2007-02-27 Wim Taymans <wim@fluendo.com>
7661 * docs/gst/gstreamer-sections.txt:
7662 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7663 (gst_bus_timed_pop), (gst_bus_pop):
7665 API: gst_bus_timed_pop()
7666 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7667 message to arrive on the bus.
7669 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7671 Two unit tests for new _timed_pop() function.
7673 2007-02-23 Wim Taymans <wim@fluendo.com>
7675 * gst/gstpipeline.c: (gst_pipeline_change_state),
7676 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7677 Don't ref a NULL clock in _provide_clock_func().
7678 Don't allow an INVALID delay.
7679 Don't try to calculate base_time with an invalid start_time.
7680 Also distribute and notify a NULL clock when it was selected.
7682 * tools/gst-launch.c: (event_loop):
7683 Don't crash when a NULL clock was selected in the pipeline.
7685 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7687 * docs/design/Makefile.am:
7688 * docs/design/draft-missing-plugins.txt:
7689 * docs/random/draft-missing-plugins.txt:
7690 Some small updates: update plugin system identifier prefix
7691 ('gstreamer.net' to 'gstreamer'), mention our new install
7692 API in libgstbaseutils rather than libgimme-codec, add
7693 reference to the online docs.
7695 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7697 * win32/common/config.h:
7698 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7699 use moap cl ci to only check in what is mentioned in the ChangeLog.
7701 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7703 * docs/gst/gstreamer-sections.txt:
7705 Fix up documentation to link to the correct GstGError section.
7706 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7708 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * tools/gst-launch.c: (event_loop):
7711 Make sure that we actually show the important message part of a
7713 No need to check if the gerror is not NULL to free; first of all
7714 g_free accepts NULL; and second the default error handler would
7715 segfault if gerror was NULL.
7717 2007-02-21 Wim Taymans <wim@fluendo.com>
7719 * docs/gst/gstreamer-sections.txt:
7720 Removed docs as well.
7722 2007-02-21 Wim Taymans <wim@fluendo.com>
7724 * gst/gstmessage.c: (gst_message_parse_duration):
7726 Remove new messages for release.
7728 2007-02-20 Wim Taymans <wim@fluendo.com>
7730 * docs/design/part-gstghostpad.txt:
7731 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7732 (gst_ghost_pad_new_full):
7733 Make the ghostpad a parent of the internal pad again for better backward
7734 compatibility. Don't write code that relies on this however.
7736 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7737 (gst_pad_link_check_hierarchy):
7738 Require that parents should be GstElements in the hierarchy check.
7740 2007-02-20 Wim Taymans <wim@fluendo.com>
7742 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7743 (gst_bin_change_state_func), (bin_query_min_max_init),
7744 (bin_query_latency_fold), (bin_query_latency_done),
7747 Implement latency query.
7749 2007-02-20 Wim Taymans <wim@fluendo.com>
7751 * docs/design/part-gstghostpad.txt:
7752 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7753 (gst_ghost_pad_internal_do_activate_push),
7754 (gst_ghost_pad_internal_do_activate_pull),
7755 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7756 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7757 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7758 Do not set the internal pad as a parent anymore so we can avoid
7759 hierarchy linking errors when the ghostpad has no parent yet. This also
7760 fixes failed activation because of unlinked internal pads, which in
7761 turn fixes the impossible case where you have to activate a pad before
7762 you can add it to a running element.
7765 * gst/gstpad.c: (pre_activate), (post_activate),
7766 (gst_pad_set_active), (gst_pad_activate_pull),
7767 (gst_pad_activate_push), (gst_pad_check_pull_range):
7768 Add some more debug info.
7769 Mark activation mode in pre_activate so that we don't try to activate in
7770 endless loops. Fixes #385084.
7772 2007-02-19 Wim Taymans <wim@fluendo.com>
7774 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7775 (gst_base_transform_check_get_range):
7776 Implement a checkgetrange function instead of relying on the default
7777 core behaviour that assumes we can operate in pull mode if we have a
7778 getrange function. First step at fixing #385084.
7780 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7782 * gst/gstchildproxy.h:
7783 * libs/gst/base/gstbasesink.h:
7784 * libs/gst/base/gstbasesrc.h:
7785 * libs/gst/base/gstbasetransform.h:
7786 More docs coverage and some ChangeLog surgery (add missing names)
7788 2007-02-15 Wim Taymans <wim@fluendo.com>
7790 * docs/design/part-TODO.txt:
7791 * docs/design/part-activation.txt:
7792 * docs/design/part-block.txt:
7793 * docs/design/part-buffering.txt:
7794 * docs/design/part-clocks.txt:
7795 * docs/design/part-element-source.txt:
7796 * docs/design/part-events.txt:
7797 * docs/design/part-gstbin.txt:
7798 * docs/design/part-gstbus.txt:
7799 * docs/design/part-gstpipeline.txt:
7800 * docs/design/part-live-source.txt:
7801 * docs/design/part-messages.txt:
7802 * docs/design/part-overview.txt:
7803 * docs/design/part-qos.txt:
7804 * docs/design/part-query.txt:
7805 * docs/design/part-states.txt:
7806 * docs/design/part-trickmodes.txt:
7807 Some doc updates. Start renaming from stream_time to running_time where
7808 it was used wrongly.
7810 2007-02-15 Wim Taymans <wim@fluendo.com>
7812 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7813 Answer LATENCY query.
7815 2007-02-15 Wim Taymans <wim@fluendo.com>
7817 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7821 2007-02-15 Wim Taymans <wim@fluendo.com>
7823 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7824 (gst_pad_dispatcher):
7825 Improve debugging of default pad dispatcher and query functions.
7827 2007-02-15 Wim Taymans <wim@fluendo.com>
7829 * docs/gst/gstreamer-sections.txt:
7830 Remove old unused method.
7832 2007-02-13 Wim Taymans <wim@fluendo.com>
7834 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7837 2007-02-13 Wim Taymans <wim@fluendo.com>
7839 * docs/design/part-seeking.txt:
7842 * gst/gstsegment.c: (gst_segment_set_seek):
7843 Revert old bogus change that should make seeking work again.
7845 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7847 * docs/random/ensonic/dynlink.txt:
7848 * docs/random/ensonic/interfaces.txt:
7849 * docs/random/ensonic/receipies.txt:
7850 Possible dynamic reconnection api, plus some type fixes the other two
7853 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7855 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7856 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7857 Also check for an absolute path following file:// in the filesrc
7858 element. Remove redundant check and call g_path_is_absolute() on the
7861 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7863 * docs/design/draft-klass.txt:
7864 Add existing category analysis.
7867 Fix doc example, framerate is a fraction.
7869 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7872 * docs/gst/Makefile.am:
7873 * docs/gst/gstreamer-sections.txt:
7874 * docs/libs/Makefile.am:
7875 Erm, forgot a bunch of --extra-dir.
7877 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7880 * docs/gst/Makefile.am:
7881 * docs/libs/Makefile.am:
7882 * docs/plugins/Makefile.am:
7883 Add crossreferences to glib/gobject docs.
7885 2007-02-12 Wim Taymans <wim@fluendo.com>
7887 * docs/design/draft-latency.txt:
7890 * docs/libs/gstreamer-libs-sections.txt:
7891 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7892 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7893 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7894 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7895 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7896 (gst_base_sink_get_position), (gst_base_sink_query),
7897 (gst_base_sink_change_state):
7898 * libs/gst/base/gstbasesink.h:
7899 API: gst_base_sink_query_latency() to let subclasses query the upstream
7901 API: gst_base_sink_get_latency() to let subclasses query the configured
7902 latency in the sink.
7903 Implement query and set latency.
7905 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7906 don't continue preroll when we are flushing. Fixes #405284.
7908 * tests/check/pipelines/stress.c: (change_state_timeout),
7909 (quit_timeout), (GST_START_TEST), (stress_suite):
7912 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7914 Patch by: René Stadler <mail at renestadler de>
7916 * docs/gst/gstreamer-sections.txt:
7917 * gst/gsttaglist.c: (_gst_tag_initialize):
7919 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7921 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7923 * docs/libs/Makefile.am:
7924 Fix path to core docs.
7926 * gst/gstbin.c: (gst_bin_get_by_interface),
7927 (gst_bin_iterate_all_by_interface):
7928 Refix docs by also renaming 'interface' to 'iface' in implementation.
7930 * docs/gst/gstreamer-sections.txt:
7932 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7933 * gst/gstchildproxy.h:
7934 * gst/gstelementfactory.c:
7935 * gst/gstpadtemplate.h:
7936 * libs/gst/controller/gstcontroller.c:
7937 (gst_controlled_property_new):
7940 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7942 * gst/gstbin.h:(gst_bin_get_by_interface),
7943 (gst_bin_iterate_all_by_interface):
7944 Replace interface parameter name by iface as interface is
7945 a reserved keyword in Visual Studio for C++ projects so it removes
7946 a build error for application developpers using VS.
7947 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7948 Fix a bug on Windows in uri format check. Now the prefix checked
7949 is file:// and next we check if the path after file:// is absolute.
7950 * win32/common/libgstbase.def:
7951 * win32/common/libgstdataprotocol.def:
7952 * win32/common/libgstgstreamer.def:
7953 Add new exported functions.
7955 2007-02-09 Andy Wingo <wingo@pobox.com>
7957 * tests/check/pipelines/simple-launch-lines.c
7958 (simple_launch_lines_suite, test_tee): Disable tee test until I
7959 have time to fix it :-(
7961 * tests/check/Makefile.am (noinst_HEADERS):
7962 * tests/check/libs/libsabi.c:
7963 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7964 * tests/check/gst/gstabi.c:
7965 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7967 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7968 tests for push and pull tee behavior.
7970 * plugins/elements/gsttee.h:
7971 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7972 mark as deprecated as well as unimplemented. It was a crack idea.
7973 Add support for tee operating in pull mode, off by default.
7975 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7976 normal-case logs down to LOG, raise errors to WARNING.
7977 (gst_registry_xml_read_cache): Don't log before calling a function
7980 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7981 exit (registry finalize).
7982 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7983 DEBUG log when we emit signals that people don't even have the
7984 chance to connect to.
7985 (gst_registry_scan_path_level): Less logging in the normal case.
7987 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7989 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7991 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7992 Correctly generate EOS for non-seekable files. We don't have a total
7993 length for them and would get an unexpected end of file if we only
7994 special-cased for regular files. (Fixes: #404569)
7996 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7998 * tests/check/elements/filesrc.c: (GST_START_TEST),
8000 Add unit test for the GstURIHandler interface in filesrc. This also
8001 tests the newly added file://localhost/foo/bar support.
8003 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8005 * gst/gstelementfactory.h:
8006 The klass string is not a hierarchy. Add reference to the design doc
8007 for more information and common types.
8009 2007-02-02 Wim Taymans <wim@fluendo.com>
8011 * gst/gstquery.c: (gst_query_new_latency):
8012 Remove old structure field.
8014 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8016 * tools/gst-launch.1.in:
8017 Give example for network streaming (#351998)
8019 2007-02-02 Wim Taymans <wim@fluendo.com>
8021 * docs/gst/gstreamer-sections.txt:
8022 Add docs for new methods.
8024 * gst/gstevent.c: (gst_event_new_latency),
8025 (gst_event_parse_latency):
8027 Add new LATENCY event to configure latency in a pipeline.
8028 API: gst_event_new_latency
8029 API: gst_event_parse_latency
8031 * gst/gstmessage.c: (gst_message_new_buffering),
8032 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8033 (gst_message_new_latency), (gst_message_parse_buffering),
8034 (gst_message_parse_lost_preroll):
8036 Added messages used in draft-latency.
8037 API: gst_message_new_lost_preroll
8038 API: gst_message_parse_lost_preroll
8039 API: gst_message_new_prerolled
8040 API: gst_message_new_latency
8042 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8043 (gst_query_parse_latency):
8045 Implemented new latency query as in design doc.
8046 API: gst_query_new_latency
8047 API: gst_query_set_latency
8048 API: gst_query_parse_latency
8050 2007-02-02 Wim Taymans <wim@fluendo.com>
8052 * docs/design/draft-latency.txt:
8053 Slight redesign to allow for dynamic latency adjustments.
8055 * docs/design/part-negotiation.txt:
8058 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8060 reviewed by: Wim Taymans <wim@fluendo.com>
8062 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8063 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8064 Allow file://localhost/foo/bar URLs and correctly fail for every other
8065 hostname that one sets. This was gnomevfssrc is linked for those if
8066 installed as it can handle it (#403172)
8068 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8070 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8073 (unref_data), (gst_collect_pads_add_pad_full):
8074 * libs/gst/base/gstcollectpads.h:
8075 Don't put the previously added destroy notify in the GstCollectData
8076 struct as all it's padding is already used and we don't want to break
8077 ABI. Instead put in the pad's GObject data for now. This should be
8078 cleaned up for 0.11 (#402393).
8080 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8082 reviewed by: Wim Taymans <wim@fluendo.com>
8084 * docs/libs/gstreamer-libs-sections.txt:
8085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8086 (unref_data), (gst_collect_pads_add_pad),
8087 (gst_collect_pads_add_pad_full):
8088 * libs/gst/base/gstcollectpads.h:
8089 API: Add function to specify a destroy notification for custom
8090 GstCollectData when adding new pads in GstCollectPads (#402393).
8092 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8095 Update Swedish translation (#378255).
8097 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8099 * docs/design/draft-klass.txt:
8100 Fix the previous change, this is a list of categories and not a hierarchy.
8102 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8104 * docs/design/draft-klass.txt:
8105 Add info about how to get a list of used classes.
8107 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8109 * plugins/elements/gsttypefindelement.c:
8110 (gst_type_find_element_chain_do_typefinding),
8111 (gst_type_find_element_change_state):
8112 Don't leak found caps in chain function (no idea why that never
8113 showed up as a leak anywhere).
8115 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8118 Fix and expand GstPluginDesc API docs.
8120 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8123 * gst/gstelementfactory.c:
8124 * gst/gstpadtemplate.h:
8127 * libs/gst/controller/gstcontroller.c:
8128 (gst_controlled_property_new):
8129 * tests/examples/controller/audio-example.c:
8132 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8135 comment about refining the xml deps
8138 comments about moving away from jade for docs
8141 recommit the ifdefs to use the binary registry
8143 * gst/gstbin.c: (gst_bin_change_state_func):
8144 this break is obsolete
8146 * gst/gstelementfactory.h:
8147 better GST_ELEMENT_DETAILS docs, add comment about translation
8152 * gst/gstobject.c: (gst_signal_object_get_type):
8153 add G_UNLIKELY as usual
8155 * gst/gstpad.c: (gst_pad_event_default):
8156 add fall trhu comment
8158 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8159 (gst_registry_binary_initialize_magic),
8160 (gst_registry_binary_save_string),
8161 (gst_registry_binary_save_pad_template),
8162 (gst_registry_binary_save_feature),
8163 (gst_registry_binary_save_plugin),
8164 (gst_registry_binary_write_cache),
8165 (gst_registry_binary_check_magic),
8166 (gst_registry_binary_load_pad_template),
8167 (gst_registry_binary_load_feature),
8168 (gst_registry_binary_load_plugin),
8169 (gst_registry_binary_read_cache):
8170 comment typo and formatting
8172 * gst/gstutils.c: (gst_element_state_get_name),
8173 (gst_element_state_change_return_get_name):
8174 remove obsolete breaks
8176 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8177 add FIXME 0.11 and remove cpp comment
8179 2007-01-29 Edward Hervey <edward@fluendo.com>
8181 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8182 Fix print statement in an even more portable way.
8184 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8186 * docs/gst/gstreamer-sections.txt:
8188 API: add GST_ROUND_DOWN_* macros (#401781).
8190 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8192 * docs/gst/gstreamer.types.in:
8193 * gst/gstregistry.c: (gst_registry_class_init):
8194 Document registry signals and make gtk-doc pick them up (#401381).
8196 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8198 * docs/pwg/building-testapp.xml:
8199 Add some audioconverts and audioresample to the pipeline, and some
8200 more comments and error handling.
8202 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8204 * docs/manual/manual.xml:
8208 2007-01-26 Wim Taymans <wim@fluendo.com>
8210 * gst/gstcaps.c: (gst_static_caps_get):
8211 Init caps flags too.
8213 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8215 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8217 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8218 If not using mmap'ed files try to seek to the end instead of the
8219 start to determine whether we can seek at all. This fixes the case
8220 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8221 seeks for everything afterwards fail. Fixes #400656
8223 2007-01-25 Wim Taymans <wim@fluendo.com>
8225 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8226 Add some refcount debugging.
8227 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8228 in multiple streaming threads.
8230 2007-01-25 Wim Taymans <wim@fluendo.com>
8232 Patch by: David Schleef <ds at schleef dot org>
8234 * docs/libs/gstreamer-libs-sections.txt:
8235 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8236 * libs/gst/base/gstadapter.h:
8237 API: gst_adapter_copy() that can reduce the amount of memcpy when
8238 getting data from the adapter. Fixes #388201.
8240 2007-01-25 Edward Hervey <edward@fluendo.com>
8242 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8243 In print statements, "%x" is for guint. Fixes build on macosx.
8245 2007-01-24 Edward Hervey <edward@fluendo.com>
8247 * plugins/elements/gstmultiqueue.c:
8248 (gst_multi_queue_loop):
8250 (single_queue_overrun_cb), (single_queue_underrun_cb),
8251 (single_queue_check_full), (gst_single_queue_new):
8252 Implement single queue growth system.
8253 This uses the extra-size properties, and will grow single queues by
8254 that much if one goes full whereas there are others empty. This is
8255 called extra-mode in the code.
8256 When a single queue's levels go back below the initial max-size
8257 limits, it is no longer in extra-mode. This is to ensure we don't
8258 consume too much memory.
8261 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8263 * gst/gst.c: (gst_init_get_option_group):
8264 Make warning about late g_thread_init() calls a bit more explicit,
8265 so that it's more obvious to application developers what they need
8266 to do if a user files a bug against their application.
8268 2007-01-22 Edward Hervey <edward@fluendo.com>
8270 * plugins/elements/gstmultiqueue.c:
8271 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8272 Remove previous hack of unsetting the flushing flag for the source pad
8273 instead of activating it. Instead, fix the source pad activate function
8274 so that it no longer depends on having a parent set or not.
8276 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8278 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8280 * docs/manual/basics-bus.xml:
8281 Fix example code, gst_element_unref() doesn't exist any longer.
8283 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8285 Patch by: Mark Nauwelaerts <manauw at skynet be>
8288 Fix two docs typoes (#399094).
8290 2007-01-19 Edward Hervey <edward@fluendo.com>
8292 * docs/faq/gst-uninstalled:
8293 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8294 depending on libgstbaseutils can work in uninstalled environment.
8296 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8299 * gst/gsttagsetter.c:
8300 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8301 statement for new tag.
8303 2007-01-17 Edward Hervey <edward@fluendo.com>
8305 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8306 When dynamically creating single queues, activate sinkpad before adding
8308 We should be doing the same thing for the source pad, but we can't
8309 since it would call a method which needs the parent to be set in order
8310 to work propertly. Instead of activating the source pad, we just unset
8311 the flushing flag, which is the minimal requirement for adding a pad
8312 to an element in a state greater than READY.
8314 2007-01-17 Edward Hervey <edward@fluendo.com>
8316 * docs/faq/gst-uninstalled:
8317 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8320 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8322 * tests/check/gst/gstabi.c:
8323 * tests/check/gst/struct_hppa.h:
8324 * tests/check/libs/libsabi.c:
8325 * tests/check/libs/struct_hppa.h:
8326 Add ABI structs for HPPA (see #393796).
8328 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8330 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8331 Actually write ABI structs to the file specified in the GST_ABI
8332 environment variable, as the message we print claims we would.
8334 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8336 * tests/check/gst/gsttask.c:
8339 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8341 * gst/gsttaglist.c: (_gst_tag_initialize):
8342 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8343 previous two entries.
8345 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8347 * docs/gst/gstreamer-sections.txt:
8348 * gst/gsttaglist.c: (_gst_tag_initialize):
8350 Add tag support for beat-per-minute.
8352 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8354 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8355 (gst_registry_binary_initialize_magic),
8356 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8357 (gst_registry_binary_save_pad_template),
8358 (gst_registry_binary_save_feature),
8359 (gst_registry_binary_save_plugin),
8360 (gst_registry_binary_write_cache),
8361 (gst_registry_binary_check_magic),
8362 (gst_registry_binary_load_pad_template),
8363 (gst_registry_binary_load_feature),
8364 (gst_registry_binary_load_plugin),
8365 (gst_registry_binary_read_cache):
8366 * gst/gstregistrybinary.h:
8367 Use glib types, cleanup comments, impement interfaces and uri-types.
8369 2007-01-13 Andy Wingo <wingo@pobox.com>
8371 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8372 getrange() to return buffers with other caps, while we fix
8373 demuxers and typefind, or otherwise change part-negotiation.txt.
8375 2007-01-12 Andy Wingo <wingo@pobox.com>
8377 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8378 Factor start/stop into this private function instead of partially
8379 in activate functions and partially in the change_state function.
8380 Fixes setup before the element has changed from READY->PAUSED, as
8381 is the case in pull-mode pipelines.
8382 (gst_base_transform_sink_activate_push)
8383 (gst_base_transform_src_activate_pull): Refactor to use
8384 gst_base_transform_activate().
8385 (gst_base_transform_change_state): Removed, not needed any more.
8387 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8388 Truncate before fixating.
8390 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8391 Don't set_caps() if the result of fixating is ANY, as it's not
8392 supported, and not necessary in the case of a link with no
8393 template caps on either side. Fixes tests/check/libs/basesrc in
8394 some pull-mode tests.
8396 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8397 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8398 (gst_base_transform_src_activate_pull):
8399 Track the activation mode.
8400 (gst_base_transform_setcaps): In pull mode, when activating the
8401 src pad, after activating the sink pad, activate the sink pad's
8402 peer, as discussed in part-negotiation.txt.
8404 * libs/gst/base/gstbasesrc.h:
8405 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8406 vmethod, as in basesink.
8408 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8410 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8411 mode, first proxy the setcaps to the peer pad.
8412 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8414 (gst_base_sink_default_activate_pull): Rename from
8415 gst_base_sink_activate_pull.
8416 (gst_base_sink_negotiate_pull): New function, performs negotiation
8417 in pull mode before calling ::activate_pull().
8418 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8419 vmethod instead of the default implementation. I have no idea how
8420 this worked before. Negotiate before calling activate_pull.
8422 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8423 sink pads in pull mode. In addition to being correct, fixes
8424 filesrc ! decodebin ! identity ! fakesink.
8425 (gst_pad_get_range, gst_pad_pull_range): Don't call
8426 gst_pad_set_caps() if the caps changes; instead error out with
8427 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8429 2007-01-12 Andy Wingo <wingo@pobox.com>
8431 * docs/design/part-negotiation.txt: Update with more policy.
8433 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8435 * libs/gst/check/gstbufferstraw.h:
8436 * libs/gst/check/gstcheck.h:
8437 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8440 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8442 * tests/check/Makefile.am:
8443 * tests/check/gst/.cvsignore:
8444 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8445 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8446 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8447 (GST_START_TEST), (gst_tag_setter_suite):
8448 Add minimal unit test for beforementioned GstTagSetter bug.
8450 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8452 Patch by: René Stadler <mail at renestadler dot de>
8454 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8455 gst_tag_list_merge() returns a new list, so it's not the best idea
8456 to ingore its return value. Effectively meant that tags could only
8457 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8458 Also add function guard to require a non-NULL taglist as input (has
8459 always been so due to gst_tag_list_copy(), just making it explicit).
8461 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8463 * docs/random/draft-missing-plugins.txt:
8464 Some additions: mention new API that is supposed to be used at the
8465 various stages; short blob about new gst-inspect introspection
8466 option; mention potential future problem with plugins that have
8467 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8469 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8471 * tools/gst-inspect.c:
8472 (print_plugin_automatic_install_info_codecs),
8473 (print_plugin_automatic_install_info_protocols),
8474 (print_plugin_automatic_install_info), (main):
8475 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8476 introspect plugin files and get machine-parsable output that corresponds
8477 to the last bit of the missing-plugin installer string (small gotcha:
8478 doesn't take into account ranks).
8480 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8483 * docs/gst/gstreamer-sections.txt:
8485 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8486 (gst_registry_lookup_locked):
8487 * gst/gstregistry.h:
8488 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8489 (gst_registry_binary_initialize_magic),
8490 (gst_registry_binary_save_string),
8491 (gst_registry_binary_save_pad_template),
8492 (gst_registry_binary_save_feature),
8493 (gst_registry_binary_save_plugin),
8494 (gst_registry_binary_write_cache),
8495 (gst_registry_binary_check_magic),
8496 (gst_registry_binary_load_pad_template),
8497 (gst_registry_binary_load_feature),
8498 (gst_registry_binary_load_plugin),
8499 (gst_registry_binary_read_cache):
8500 * gst/gstregistrybinary.h:
8501 * gst/gstregistryxml.c: (load_feature),
8502 (gst_registry_xml_read_cache):
8503 commit binary registry (disabled by default, see #359653)
8505 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8507 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8508 Fix 'make check' too.
8510 2007-01-10 Andy Wingo <wingo@pobox.com>
8512 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8515 * docs/design/part-negotiation.txt: Update with, um, one way that
8516 pull-mode negotiation might work?
8519 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8520 that the pad must be a src pad; makes sense to call it the other
8521 way in pull mode, and the logic is symmetric anyway.
8523 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8525 * plugins/elements/gstfilesink.c:
8526 Include <stdio.h> for fseeko().
8528 2007-01-10 Wim Taymans <wim@fluendo.com>
8532 Reserve LATENCY event.
8534 2007-01-09 Wim Taymans <wim@fluendo.com>
8536 * docs/design/draft-latency.txt:
8539 2007-01-09 Wim Taymans <wim@fluendo.com>
8541 * docs/design/draft-latency.txt:
8545 * gst/gststructure.c:
8549 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8551 * tests/check/.cvsignore:
8552 Ignore test-registry.xml as well.
8554 2007-01-09 Wim Taymans <wim@fluendo.com>
8556 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8557 unref data at the end when we are done with the pad.
8559 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8561 * docs/gst/gstreamer-sections.txt:
8562 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8563 (init_post), (gst_deinit), (gst_update_registry):
8565 API: add gst_update_registry() (#391296).
8567 * tests/check/Makefile.am:
8568 * tests/check/gst/gstregistry.c:
8569 * tests/check/gst/.cvsignore:
8570 Simple unit test for the above.
8572 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8574 * gst/gstregistry.c: (gst_registry_scan_path_level):
8575 Plugin extension on HP-UX is .sl, add that to the list of approved
8576 plugin extensions (see #393796).
8578 * tests/check/gst/gstpad.c: (GST_START_TEST):
8579 ulong => gulong. Fixes compilation with HP-UX compiler.
8581 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8582 Fix compilation if valgrind headers are not available.
8584 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8586 * win32/common/libgstreamer.def:
8587 Add new exported function.
8588 * win32/vs6/libgstbase.dsp:
8589 Add gstdataqueue.c to the build.
8590 * win32/vs6/libgstcoreelements.dsp:
8591 Add gstmultiqueue.c to the build.
8593 2007-01-06 Andy Wingo <wingo@pobox.com>
8595 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8596 activate_pull(), providing for a way to specialize the process of
8597 spawning a thread to pull on the sink pad. There is a default
8600 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8601 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8602 (gst_base_sink_init): Renamed pad activation functions (inserting
8603 "_pad" in their names). Refactor to use the new activate_pull
8604 vmethod, as appropriate.
8605 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8606 default activate_pull function to start a task pulling from the
8607 sink pad, as before.
8609 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8610 on the pads if necessary, as in push()/chain(). Update docs.
8611 Shouldn't affect existing pull() usage as it is currently only
8612 being used on buffers without caps.
8614 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8616 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8618 Call g_thread_init() first thing in gst_init() / gst_check_init().
8619 When initialisation is done via gst_init_get_option_group() and
8620 GOption parsing, issue a warning if the GLib thread system has not
8621 been initialised yet by the time gst_init_get_option_group() is
8622 called, as it's quite likely other GLib functions such as
8623 g_option_context_new() have been called already then, and
8624 g_thread_init() must be called before any other GLib function. The
8625 application in question must be fixed in that case, since memory
8626 corruption might happen otherwise.
8627 We issue the warning because even if the GLib folks decide to work
8628 around the problem on their end in future, this is still an issue
8629 with all GLib versions >= 2.10.0, so we should warn until we depend
8630 on a GLib version we know to be safe.
8631 Update documentation as well.
8634 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8636 * tools/gst-inspect.c: (main):
8637 * tools/gst-launch.c: (main):
8638 * tools/gst-typefind.c: (main):
8639 * tools/gst-xmlinspect.c: (main):
8640 Call g_thread_init() really really early, before any other GLib
8641 function (see #342564 and recent discussion on gtk-devel-list).
8643 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8645 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8647 * gst/gst_private.h:
8648 * gst/gstconfig.h.in:
8650 On win32, all the __declspec stuff for symbol exporting is
8651 apparently only needed with MSVC, but doesn't work with MingW.
8652 Fixes compilation with MingW and #391909.
8654 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8656 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8657 Change some GST_ERROR_OBJECT that aren't really errors to
8658 GST_WARNING_OBJECT in order to reduce terminal spam.
8660 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8662 * tests/check/Makefile.am:
8663 disable test again, as there seem to be still race problems
8665 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8667 * tests/check/Makefile.am:
8668 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8669 (GST_START_TEST), (queue_suite):
8670 enable queue test again, add tests for the leaky behaviour
8672 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8675 * tests/examples/Makefile.am:
8676 Compile adapter test/example only if the required headers are
8677 available (fixes #391915).
8679 2007-01-01 David Schleef <ds@schleef.org>
8682 Restore the previous signal handler for SIGSEGV instead of
8683 setting to default, since we may have stolen it away from
8684 someone. (i.e., Mono)
8686 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8688 * docs/random/draft-missing-plugins.txt:
8689 Some small additions and clarifications.
8691 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8693 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8694 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8695 since that can lead to random memory corruptions and crashes
8696 (may or may not be related to #383244, #386711, and #386711).
8698 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8700 * tests/check/.cvsignore:
8701 * tests/check/Makefile.am:
8702 sync .cvsignome and CLEANFILES
8704 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8706 * tests/check/Makefile.am:
8709 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8711 * docs/design/part-states.txt:
8712 two tiny additional comments
8714 * gst/gststructure.c:
8717 * tests/check/Makefile.am:
8718 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8720 disable test for now, unless it gets fixed
8722 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8724 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8726 fix race in underrun test
8728 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8730 * tests/check/elements/.cvsignore:
8733 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8735 try to narrow test failure
8737 2006-12-21 David Schleef <ds@schleef.org>
8739 * plugins/elements/gstfakesrc.c:
8740 Use g_random_int_range(), since it produces better random
8741 numbers in a range than almost-correct floating point code.
8743 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8745 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8746 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8747 (gst_check_teardown_sink_pad):
8748 do not automatically (de)activate pads
8750 * tests/check/Makefile.am:
8751 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8752 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8753 add new, yet simple tests for queue
8755 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8756 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8757 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8759 * tests/check/elements/identity.c: (cleanup_identity):
8760 consistent pad (de)activation
8762 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8764 Patch by: Sebastian Dröge <slomo ubuntu com>
8766 * libs/gst/base/gstcollectpads.c:
8767 Fix two doc typos (#387866).
8769 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8771 * docs/manual/advanced-dparams.xml:
8772 Fix typo (g_object_control_properties() doesn't exist).
8774 2006-12-19 Edward Hervey <edward@fluendo.com>
8776 * gst/gstsegment.c: (gst_segment_set_seek):
8777 Fine tune the cases where the segment start/stop values are really
8779 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8780 Add tests for the return values of gst_segment_set_seek().
8782 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8787 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8789 Fix incorrect documentation and flesh it out a bit more.
8790 Set default values for the max properties on the GParamSpec as well,
8791 so it shows up correctly in gst-inspect.
8793 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8795 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8796 Correct docs of queue, add more detail and crosslink it more.
8798 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8800 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8801 Print additional debug info when the stream isn't perfectly
8802 timestamped; don't try to use invalid durations.
8804 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8806 * docs/design/Makefile.am:
8807 Dist new design docs.
8809 2006-12-16 Wim Taymans <wim@fluendo.com>
8811 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8813 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8814 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8815 (gst_collect_pads_stop), (gst_collect_pads_event),
8816 (gst_collect_pads_chain):
8817 * libs/gst/base/gstcollectpads.h:
8818 Add refcounting to the collectpads data so we can track when it's safe
8819 to free the data. Fixes #383382.
8821 2006-12-15 Wim Taymans <wim@fluendo.com>
8823 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8824 (gst_collect_pads_remove_pad):
8825 Automatically activate/deactivate pads when they are added to a
8826 started/stoped collectpads.
8828 2006-12-15 Wim Taymans <wim@fluendo.com>
8830 * gst/gstelement.c: (gst_element_add_pad):
8831 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8832 * gst/gstpad.c: (gst_pad_init):
8833 Set pads to FLUSHING when they are created. Check, warn and fix when a
8834 demuxer adds an inactive pad to itself when running. Fixes #339326.
8836 2006-12-15 Wim Taymans <wim@fluendo.com>
8838 * gst/gstelement.c: (gst_element_class_init),
8839 (gst_element_default_send_event), (gst_element_send_event),
8840 (gst_element_default_query), (gst_element_query):
8841 Expose default element send_event and query handling as vmethods that
8842 subclasses can chain up to.
8844 2006-12-15 Wim Taymans <wim@fluendo.com>
8846 * gst/gstelement.c: (gst_element_set_state_func):
8847 Small documentation fixes.
8849 2006-12-15 Wim Taymans <wim@fluendo.com>
8851 * docs/design/draft-latency.txt:
8852 Checked in draft for handling latency in pipelines.
8854 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8858 * gstreamer.spec.in:
8861 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8863 * gst/gst.c: (init_pre), (init_post):
8864 init_pre() and init_post() might be called via our GOptionGroup or
8865 from gst_init(), and we should skip both of them if we've already
8866 been initialised, otherwise we will init some things twice or add
8867 two default log functions.
8869 2006-12-13 Edward Hervey <edward@fluendo.com>
8871 * docs/manual/basics-bus.xml:
8872 No, gst_main_loop does not exist. Its g_main_loop.
8873 Discovered by somebody who abused the copy-paste technique of coding :)
8875 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8877 * gst/gstghostpad.c:
8878 Log ghostpad debug stuff to the GST_PADS category as well rather
8879 than just to the default category.
8881 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8884 * gst/gst.c: (init_pre):
8885 Add some basic system details such as OS and architecture
8886 to the debug output if possible, courtesy of uname().
8888 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8890 * docs/gst/running.xml:
8891 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8892 environment variables.
8894 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8896 * tests/check/gst/gstbin.c: (GST_START_TEST):
8897 It is acceptable to have a refcount of 2 or 3 at this point in the
8898 test, because the pipeline might be just posting its state_change
8899 message. The next line then waits for that message to appear using
8900 bus_poll, so that should be fine too.
8902 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8904 * gst/gst.c: (ensure_current_registry_forking):
8905 Ignore EINTR when reading from the child registry pipe.
8906 Explicitly ignore the return value from close, since it makes no
8909 * gst/gstminiobject.c: (gst_mini_object_ref),
8910 (gst_mini_object_unref):
8911 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8913 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8914 When removing cached plugins, remove their features too, so they're
8915 not visible after they've disappeared.
8917 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8918 In the unlikely case that we are linking pads with no parents, don't
8919 crash trying to get the non-existent parent bin.
8921 * gst/parse/grammar.y:
8922 Output debug in the PIPELINE category
8924 2005-03-08 Wim Taymans <wim@fluendo.com>
8926 Patch by: René Stadler <mail at renestadler dot de>
8928 * gst/gstclock.c: (gst_clock_new_periodic_id):
8929 Reject invalid clock times for interval of periodic ids.
8932 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8934 * gst/gstelementfactory.c: (gst_element_factory_create):
8935 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8936 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8937 * tools/gst-inspect.c: (print_element_info):
8938 Fix refcounting of gst_plugin_feature_load to match the docs.
8941 2006-12-07 Wim Taymans <wim@fluendo.com>
8943 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8944 (gst_base_sink_get_position):
8945 Improve debugging of events.
8947 2006-12-07 Wim Taymans <wim@fluendo.com>
8949 Patch by: René Stadler <mail at renestadler dot de>
8951 * gst/gstclock.c: (gst_clock_id_wait):
8952 Make period ids add the interval to the origial requested time instead
8953 of the possibly updated time which can be wrong when there are multiple
8954 waiters for the same id. Fixes #382592.
8956 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8957 (gst_system_clock_id_wait_jitter_unlocked),
8958 (gst_system_clock_id_wait_jitter):
8959 Fix restart in the async notify thread when an async entry is added to
8960 the front of the list. Fixes #381492.
8962 * tests/check/gst/gstsystemclock.c: (store_callback),
8963 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8964 Added test for multiple async waits.
8965 Added test for async wait order.
8967 2006-12-07 Wim Taymans <wim@fluendo.com>
8969 * gst/gstbin.c: (gst_bin_query):
8970 Add some more docs about the POSITION query.
8972 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8975 Bump version nano - back to CVS.
8977 === release 0.10.11 ===
8979 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8982 releasing 0.10.11, "Love never runs on time"
8984 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8986 * win32/common/libgstbase.def:
8987 * win32/common/libgstreamer.def:
8988 * win32/vs8/libgstbase.vcproj:
8989 * win32/vs8/libgstcoreelements.vcproj:
8990 * win32/vs8/libgstreamer.vcproj:
8991 Fix compilation on win32 under VS8
8992 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8993 Partially fixes #381175
8995 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8997 * gst/gstvalue.c: (gst_value_compare_fraction):
8998 If someone is foolish enough to compare 2 fractions with denominator =
8999 0, return UNORDERED rather than aborting.
9001 2006-11-28 Edward Hervey <edward@fluendo.com>
9003 * libs/gst/base/Makefile.am:
9004 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9005 (gst_data_queue_base_init), (gst_data_queue_class_init),
9006 (gst_data_queue_init), (gst_data_queue_new),
9007 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9008 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9009 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9010 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9011 (gst_data_queue_set_flushing), (gst_data_queue_push),
9012 (gst_data_queue_pop), (gst_data_queue_drop_head),
9013 (gst_data_queue_set_property), (gst_data_queue_get_property):
9014 * libs/gst/base/gstdataqueue.h:
9015 New GstDataQueue object for threadsafe queueing. Most useful for
9016 elements that need some queueing functionnality.
9017 * docs/libs/gstreamer-libs-docs.sgml:
9018 * docs/libs/gstreamer-libs-sections.txt:
9019 Insert documentation for GstDataQueue
9020 * plugins/elements/Makefile.am:
9021 * plugins/elements/gstelements.c:
9022 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9023 (gst_multi_queue_class_init), (gst_multi_queue_init),
9024 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9025 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9026 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9027 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9028 (gst_multi_queue_loop), (gst_multi_queue_chain),
9029 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9030 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9031 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9032 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9033 (wake_up_next_non_linked), (compute_next_non_linked),
9034 (single_queue_overrun_cb), (single_queue_underrun_cb),
9035 (single_queue_check_full), (gst_single_queue_new):
9036 * plugins/elements/gstmultiqueue.h:
9037 New multiqueue element, using GstDataQueue. Used for queuing multiple
9039 Closes #344639 and #347785
9041 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9043 * docs/pwg/advanced-types.xml:
9044 add more missing type details
9046 * tools/gst-run.c: (main):
9047 remove unused variable
9049 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9051 * docs/libs/Makefile.am:
9052 * docs/libs/gstreamer-libs.types:
9053 add types of base classes to enable gobject specific stuff in the docs
9055 * docs/random/ensonic/embedded.txt:
9056 more ideas about isolating platform specific things
9058 2006-11-20 Wim Taymans <wim@fluendo.com>
9060 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9062 * libs/gst/check/gstcheck.h:
9063 Fix compilation and running against 0.9.4. Fixes #377332.
9065 2006-11-20 Wim Taymans <wim@fluendo.com>
9067 * gst/gstsegment.c: (gst_segment_set_seek),
9068 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9069 (gst_segment_to_running_time):
9070 Fix boundary checking in to_running_time() and to_stream_time().
9073 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9074 stream and running time can now be calculated for the complete
9077 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9079 * gst/gstpad.c: (gst_pad_push_event):
9080 Can't access event structure after giving away ownership of
9083 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9085 * docs/random/ensonic/embedded.txt:
9086 * docs/random/ensonic/profiling.txt:
9087 * docs/random/ensonic/receipies.txt:
9090 2006-11-13 Wim Taymans <wim@fluendo.com>
9092 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9095 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9097 2006-11-13 Wim Taymans <wim@fluendo.com>
9099 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9101 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9102 Store new length in segment duration so we don't keep on calling the
9103 potentially expensize get_size() call. Fixes #370865.
9105 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9107 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9109 * win32/common/libgstreamer.def:
9110 Add two missing symbols (#366492).
9112 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9114 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9115 (gst_adapter_take_buffer):
9116 Fix format string to use all its arguments.
9117 Remove useless >= check on a guint
9119 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9121 * tests/examples/adapter/.cvsignore:
9122 Ignore build file as commanded by the build-bot
9124 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9126 * tests/examples/adapter/Makefile.am:
9127 * tests/examples/adapter/adapter_test.c: (run_test_take),
9128 (run_test_take_buffer), (run_tests), (main):
9130 Add new files from the previous commit
9132 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9136 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9137 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9138 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9139 * libs/gst/base/gstadapter.h:
9140 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9141 (GST_START_TEST), (gst_adapter_suite):
9142 * tests/examples/Makefile.am:
9143 Do some optimisation work in GstAdapter to avoid copies in more cases.
9144 It could still do slightly better by merging buffers when
9145 gst_buffer_is_span_fast is true, but is already faster.
9147 Also, avoid traversing a single-linked list to append each incoming
9148 buffer inside the adapter.
9150 Add simple test app that times the adapter behaviour in different
9151 situations, and extend the unit test to check that bytes enter and
9152 exit the adapter in their original order.
9154 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9156 * docs/random/draft-missing-plugins.txt:
9157 Update: use element message instead of adding a new message
9158 type to the core; don't provide GStreamer API to initiate the
9159 plugin download, just provide API to compose the strings needed
9160 and let an external libgimmestuff handle the rest.
9162 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9164 * tools/gst-inspect.c: (print_element_properties_info):
9165 Print a string instead of 'unknown type' for GValueArray properties
9167 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9169 * docs/random/draft-missing-plugins.txt:
9172 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9174 * tests/examples/typefind/typefind.c: (type_found), (main):
9175 Make typefind element example work again (#371894); add a
9178 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9180 * docs/random/draft-missing-plugins.txt:
9181 Commit initial draft about how to deal with missing plugins,
9182 needs work (API too).
9184 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9186 * docs/pwg/advanced-types.xml:
9187 documents the new caps elements (see #363118)
9189 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9191 * gst/gstplugin.c: (gst_plugin_load_file):
9192 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9193 (gst_file_src_map_region), (gst_file_src_start):
9194 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9195 (gst_file_index_commit):
9196 Use g_strerror() instead of strerror() - we want UTF-8.
9198 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9200 Patch by: Peter Kjellerstedt <pkj at axis com>
9202 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9203 Another printf fix (#371493).
9205 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9207 * tests/check/gst/gsttag.c:
9208 relicence (okay with author=company)
9210 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9212 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9213 (gst_pad_push_event):
9214 Enhance debug and improve docs
9219 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9221 * docs/random/ensonic/distributed.txt:
9222 * docs/random/ensonic/profiling.txt:
9225 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9227 * docs/gst/gstreamer-sections.txt:
9228 add new API and fix the build
9230 * gst/gstbin.c: (gst_bin_recalc_state):
9231 * gst/gstelement.c: (gst_element_message_full),
9232 (gst_element_get_state_func), (gst_element_set_state_func):
9233 use new API and improve logging
9235 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9237 API: add function to get StateChangereturn names to improve logs
9239 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9241 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9242 I'm considering shooting the next person to put strerror stuff
9243 in the translateable part of the message.
9245 2006-11-03 Wim Taymans <wim@fluendo.com>
9247 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9248 Get the type and printf conversion specifiers right.
9250 2006-11-03 Wim Taymans <wim@fluendo.com>
9252 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9254 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9255 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9256 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9257 Some small cleanups. Improve debugging.
9259 Signal all waiting threads with a broadcast instead of just one.
9262 2006-11-03 Wim Taymans <wim@fluendo.com>
9264 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9265 (gst_fd_src_create):
9267 Only update fd when it's different from the old.
9269 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9271 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9272 Printf fixes for PPC/OSX, take two (#369366).
9274 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9276 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9278 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9279 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9280 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9281 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9282 don't cast to long long for portability reasons, but use
9283 GLib's types instead.
9285 2006-10-30 Michael Smith <msmith@fluendo.com>
9287 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9288 Get the arguments to lseek() the right way around.
9291 2006-10-30 Wim Taymans <wim@fluendo.com>
9293 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9296 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9298 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9300 Patch by: Kjartan Maraas <kmaraas at gnome org>
9302 * docs/design/part-MT-refcounting.txt:
9303 * docs/random/wtay/capsnego2-docs:
9306 Typo fixes (#366212).
9308 2006-10-28 Wim Taymans <wim@fluendo.com>
9310 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9313 * win32/common/libgstbase.def:
9314 * win32/common/libgstreamer.def:
9315 * win32/vs8/libgstbase.vcproj:
9316 * win32/vs8/libgstcontroller.vcproj:
9317 Add needed entries in .def files.
9319 Rearrange def files in vs8 solutions. Fixes #366286.
9321 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9323 * win32/common/gstconfig.h:
9324 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9325 hand-made win32 gstconfig.h. Fixes #366321.
9327 2006-10-27 Wim Taymans <wim@fluendo.com>
9329 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9330 (gst_ghost_pad_new_full):
9331 Make acceptcaps return TRUE when we don't have a target, just like
9334 2006-10-27 Wim Taymans <wim@fluendo.com>
9336 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9337 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9339 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9341 * gst/gststructure.c: (gst_structure_id_set_value):
9342 If someone tries to set a non-UTF8 string field on a structure,
9343 don't just print a warning, but also ignore the request and do
9344 not change/add that field to the structure.
9346 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9349 2006-10-25 David Schleef <ds@schleef.org>
9352 g_hash_table_insert() needs a cast to a non-const pointer duh.
9354 2006-10-25 David Schleef <ds@schleef.org>
9358 Change name parameter of _gst_debug_register_funcptr to const
9359 to reflect the constness of its use in the function as well
9360 as to quiet a gcc warning.
9362 2006-10-25 Edward Hervey <edward@fluendo.com>
9364 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9365 Don't push the buffer if it's empty.
9368 2006-10-24 Wim Taymans <wim@fluendo.com>
9373 * libs/gst/base/gstbasetransform.c:
9374 (gst_base_transform_sink_eventfunc):
9375 Debug segment values *after* updating them as this is more
9378 2006-10-23 Wim Taymans <wim@fluendo.com>
9380 * docs/design/part-events.txt:
9383 * docs/design/part-block.txt:
9384 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9385 (gst_pad_push_event):
9386 Revert BLOCKING patch, it tries to be smart without really having a
9387 clear idea what or how. So, now we discard all FLUSHING events again on
9388 a blocking pad. Should fix gnonlin again.
9390 2006-10-23 Wim Taymans <wim@fluendo.com>
9392 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9394 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9395 (gst_base_src_start), (gst_base_src_activate_push):
9396 Make sure size is always initialized. Fixes #364388.
9398 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9400 * docs/random/ensonic/distributed.txt:
9401 add some ideas about doing distributed processing
9403 * docs/random/ensonic/profiling.txt:
9404 get_rusage look promising
9406 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9408 * docs/manual/basics-helloworld.xml:
9409 Add a cast in example to fix compile warning
9411 2006-10-18 Wim Taymans <wim@fluendo.com>
9413 * gst/gstsegment.c: (gst_segment_set_last_stop),
9414 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9415 Relax arg checking again, -1 is allowed.
9417 2006-10-18 Wim Taymans <wim@fluendo.com>
9419 * gst/gstsegment.c: (gst_segment_set_last_stop),
9420 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9421 _set_last_stop() must be with a value != -1
9422 A _TYPE_SET to -1 means seek to 0.
9423 Calc last_stop correctly for negative rates.
9424 Make sure we work with positive durations when updating a segment.
9426 2006-10-18 Wim Taymans <wim@fluendo.com>
9428 * docs/design/part-live-source.txt:
9432 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9435 Add an explicit cast to GstBuffer** to keep old code that added an
9436 explicit cast to GstMiniObject** for gst_mini_object_replace()
9437 compiling without warning.
9439 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9441 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9442 check for validity of dates
9444 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9446 * docs/gst/gstreamer-sections.txt:
9447 Forgot this one, makes gtk-doc shut up.
9449 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9451 Patch by: Peter Kjellerstedt <pkj at axis com>
9454 Don't define xmlNodePtr to gpointer if the core was built with
9455 --disable-loadsave and --disable-registry, this will break
9456 applications that want to use libxml2 but are buildling against a
9457 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9458 instead so we don't have to mess with the libxml2 namespace
9461 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9464 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9465 type-punned pointer warnings.
9467 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9470 Add casts to the correct return type to state <=> state transition
9473 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9475 * docs/design/part-live-source.txt:
9476 describe howto handle latency
9478 * docs/random/ensonic/profiling.txt:
9481 * tools/gst-plot-timeline.py:
9482 fix log parsing for solaris, remove unused function
9484 2006-10-16 Wim Taymans <wim@fluendo.com>
9486 * docs/design/part-trickmodes.txt:
9488 Update some docs regarding reverse playback.
9490 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9492 Patch by: Marcus Granado <mrc dot gran at gmail com>
9494 * win32/vs8/grammar.vcproj:
9495 Error out with a warning if glib-genmarshal.exe is not in path,
9496 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9498 2006-10-13 Wim Taymans <wim@fluendo.com>
9500 * gst/gstsegment.c: (gst_segment_set_seek):
9501 When seeking to stop -1, set last_stop (current position) to the
9502 duration of the segment.
9504 2006-10-13 Wim Taymans <wim@fluendo.com>
9507 Clarify _NO_PREROLL a bit more.
9512 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9513 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9514 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9515 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9516 due to wrong locking order. Fixes #361769.
9517 Remove some redundant/misplaced checks in pad_block.
9519 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9520 For negative rates, count backwards from the duration.
9522 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9524 * gst/gsterror.c: (_gst_library_errors_init):
9525 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9526 up with something better).
9528 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9530 * win32/vs6/libgstreamer.dsp:
9531 * win32/vs7/libgstreamer.vcproj:
9532 * win32/vs8/libgstreamer.vcproj:
9533 Don't reference glib-compat.c which is currently not used and not
9534 disted; add gstquark.c which was recently added. Fixes #361730.
9536 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9538 * win32/common/libgstbase.def:
9539 * win32/common/libgstcontroller.def:
9540 * win32/common/libgstreamer.def:
9541 Add gst_caps_merge() and a bunch of other recently-added functions.
9544 2006-10-11 Wim Taymans <wim@fluendo.com>
9546 * docs/plugins/gstreamer-plugins.args:
9547 * docs/plugins/inspect/plugin-coreelements.xml:
9548 * docs/plugins/inspect/plugin-coreindexers.xml:
9549 Update element args.
9551 * gst/gstsystemclock.c:
9552 Small comment update.
9554 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9555 (gst_tee_request_new_pad), (gst_tee_release_pad),
9556 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9557 (gst_tee_sink_activate_pull):
9558 * plugins/elements/gsttee.h:
9560 Add default property defines.
9561 Implement release pad function.
9562 Give properties better blubs etc.
9563 Activate pads before adding them to a running tee.
9564 Do simple buffer_alloc on the first requested pad.
9565 Post error when activation fails.
9567 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9569 * gst/gst.c: (ensure_current_registry_forking):
9570 Check return value of write() to make compiler happy.
9572 2006-10-11 Wim Taymans <wim@fluendo.com>
9574 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9576 * plugins/elements/gstqueue.c: (gst_queue_chain):
9577 Recheck queue filledness after signalling the overrun when we're about
9578 to leak downstream because we released the lock when emitting the signal
9579 and the queue could be empty again. Fixes #352345.
9581 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9583 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9584 Fix refcounting here too, just like we did for _new_valist() a few
9585 days ago (#357180) (thanks to René Stadler). Also remove all those
9586 'Since: 0.9' from the gtk-doc blobs.
9588 * tests/check/libs/controller.c: (controller_refcount_new_list),
9589 (gst_controller_suite):
9590 Unit test for the above.
9592 2006-10-10 Wim Taymans <wim@fluendo.com>
9594 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9596 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9597 (gst_pad_save_thyself):
9599 Write pad direction in XML output. Fixes #345496.
9601 2006-10-10 Wim Taymans <wim@fluendo.com>
9603 Patch by: René Stadler <mail at renestadler dot de>
9605 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9606 (gst_controller_new_list), (_gst_controller_dispose),
9607 (_gst_controller_finalize), (_gst_controller_class_init):
9608 Take ref to controlled object so that it cannot disappear.
9611 2006-10-10 Wim Taymans <wim@fluendo.com>
9613 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9614 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9615 (gst_check_teardown_sink_pad):
9616 Activate/deactivate pads in setup/teardown respectively.
9618 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9620 Patch by: Josep Torra Valles <josep@fluendo.com>
9623 Cast values when making gstenumtypes.h. This pacifies Forte
9624 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9627 2006-10-09 Wim Taymans <wim@fluendo.com>
9629 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9630 Rename some more @cur to @start to fix docs.
9632 * gst/gstsegment.c: (gst_segment_set_seek):
9634 time and start must always stay in sync as defined in design doc.
9636 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9637 Rename param to fix docs.
9639 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9640 Check that start and time are in sync.
9642 * tests/check/pipelines/parse-launch.c:
9643 (gst_parse_test_element_change_state):
9644 Activate pad before adding to the element.
9646 2006-10-09 Wim Taymans <wim@fluendo.com>
9648 * docs/design/part-qos.txt:
9653 Update seek event docs regarding negative rates.
9654 Rename @cur to @start.
9656 * gst/gstsegment.c: (gst_segment_set_seek):
9658 Update set_seek docs regarding negative rates.
9659 Correctly update last_stop to @stop when dealing with negative
9661 Rename @cur to @start.
9663 * tests/check/gst/gstpad.c: (GST_START_TEST):
9664 Activate pads before trying to use them.
9666 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9667 (gst_segment_suite):
9668 Add simple check for segments and negative rates.
9670 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9672 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9674 * docs/gst/gstreamer-sections.txt:
9675 API: add gst_tag_list_is_empty() (#360467).
9677 * tests/check/gst/gsttag.c: (GST_START_TEST):
9680 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9683 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9684 a value that doesn't fit on enumeration.
9686 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9688 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9689 Remove local debugging system and use Gstreamer's instead.
9691 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9693 Patch by: Josep Torra Valles <josep@fluendo.com>
9695 * common/m4/gst-error.m4:
9696 Disable warning of statement not reached on Forte.
9698 Fix warning on Forte (value doesn't fit on enumeration).
9699 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9700 Fix warning on Forte (value doesn't fit on enumeration).
9701 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9702 DEBUG macro says it takes minimum of 2 args and so Forte
9703 complains about the use with just 1 arg.
9704 * plugins/elements/gstfdsink.c:
9705 * plugins/elements/gstfdsrc.c:
9706 * plugins/elements/gstfilesink.c:
9707 * plugins/elements/gstfilesrc.c:
9708 Use correct return type for the uri handler implementations.
9710 All these fix warnings in Forte. Fixes bug #360860.
9712 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9715 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9716 format string, so don't use G_GNUC_PRINTF for those versions.
9718 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9720 * gst/gsttaglist.c: (gst_is_tag_list):
9722 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9724 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9725 Small test for the above.
9727 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9730 Less tabs, more spaces.
9732 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9735 Those two function declarations do actually belong there, revert
9736 commit from yesterday that turned them intro macros.
9738 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9740 Patch by: Josep Torra Valles <josep@fluendo.com>
9742 * gst/gst.c: (gst_init_get_option_group):
9743 Fix empty declaration and type mismatch.
9744 * gst/gstbin.c: (gst_bin_change_state_func):
9746 * gst/gstelement.c: (gst_element_continue_state),
9747 (gst_element_set_state_func), (gst_element_change_state),
9748 (gst_element_change_state_func):
9749 Fix type mismatches.
9750 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9751 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9752 Cast as appropriate.
9753 * gst/gstobject.c: (gst_class_signal_connect):
9754 Cast as appropriate. The function pointer parameter really
9755 has the wrong type but would break API if we change it.
9757 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9758 order of including string.h.
9759 * gst/gstutils.c: (gst_element_state_get_name):
9760 Remove unreachable line.
9761 * gst/gstxml.c: (gst_xml_parse_doc):
9763 All these caught by Forte.
9765 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9767 Patch by: Josep Torra Valles <josep@fluendo.com>
9769 * common/m4/gst-error.m4:
9771 We need to disable warnings on Forte for empty declarations
9772 due to gst-indent adding ;s to lines that just use macros
9773 where the macro actually doesn't need a ; at end to end
9776 2006-10-06 Wim Taymans <wim@fluendo.com>
9778 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9779 (gst_file_sink_close_file), (gst_file_sink_event),
9780 (gst_file_sink_render):
9781 Add some FIXME for the NEWSEGMENT handling.
9783 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9785 * gst/parse/grammar.y:
9786 Remove static function gst_parse_element_lock as all it does
9787 is return. Looks like cruft from 0.8.
9789 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9791 Patch by: Josep Torra Valles <josep@fluendo.com>
9793 * common/m4/gst-error.m4:
9795 * libs/gst/net/Makefile.am:
9796 Fix a compilation issue with Forte on Solaris. inet_aton is in
9799 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9801 * gst/gstpad.c: (pre_activate):
9802 * gst/gstregistry.c: (gst_registry_scan_path_level):
9803 * gst/gstregistryxml.c: (load_plugin):
9804 * libs/gst/controller/gstcontroller.c:
9805 (gst_controlled_property_set_interpolation_mode):
9806 * libs/gst/dataprotocol/dataprotocol.c:
9807 (gst_dp_packet_from_event_1_0):
9808 * libs/gst/net/gstnetclientclock.c:
9809 (gst_net_client_clock_observe_times):
9810 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9813 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9816 * docs/gst/gstreamer-sections.txt:
9817 * gst/gstconfig.h.in:
9820 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9821 whether we can use G_GNUC_PRINTF in other header files and at
9822 least check the printf format/arguments of debug messages and
9823 GST_ELEMENT_ERROR messages when the printf extension is not
9825 Replace more tabs with spaces in gstinfo.h and remove two spurious
9826 function declarations in GST_DISABLE_DEBUG part with macros.
9828 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9830 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9831 More docs for the sync-message signal (mention that it is not
9832 emitted by default); log message structures of messages posted on
9835 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9837 * gst/gst.c: (ensure_current_registry_forking):
9838 Use a pipe pair to receive status results from the forked child, and
9839 ignore the result from waitpid. Fixes #355499
9841 2006-10-02 Wim Taymans <wim@fluendo.com>
9843 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9844 (gst_ghost_pad_suite):
9847 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9850 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9852 2006-10-02 Edward Hervey <edward@fluendo.com>
9854 * docs/design/part-block.txt:
9855 Further explain the use of flushing on blocked pads.
9856 * docs/gst/gstreamer-sections.txt:
9857 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9858 (gst_pad_push_event):
9860 Added new GstPadFlag : GST_PAD_BLOCKING.
9861 Adds the notion of pads really blocking, which enables to properly
9862 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9864 API: gst_pad_is_blocking()
9865 API: GST_PAD_IS_BLOCKING() macro
9866 API: GST_PAD_BLOCKING GstPadFlag
9868 2006-10-02 Wim Taymans <wim@fluendo.com>
9870 Patch by: mrcgran <mrc.gran at gmail dot com>
9872 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9873 Filter the proxied caps against the padtemplate if we have one.
9875 * gst/gstquery.c: (gst_query_new_segment):
9876 Add include for gstinfo.h so that compilation with
9877 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9879 2006-10-02 Wim Taymans <wim@fluendo.com>
9881 Patch by: Alessandro Decina <alessandro at nnva org>
9883 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9884 (gst_file_sink_set_location), (gst_file_sink_open_file),
9885 (gst_file_sink_close_file), (gst_file_sink_event),
9886 (gst_file_sink_render):
9887 Set file to NULL when closing filesink so that we can set a new filename
9888 in READY. Fixes #358613.
9890 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9892 Patch by: Alessandro Decina <alessandro at nnva org>
9894 * gst/gstevent.c: (_gst_event_copy):
9895 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9896 with event structures by setting the parent refcount address of the
9897 copied structure to the address of the refcount member of the newly
9898 copied event rather than the address of the refcount member of the
9899 original event. Fixes #358737.
9901 * tests/check/gst/gstevent.c: (GST_START_TEST):
9902 Unit test for the above.
9904 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9906 * docs/design/Makefile.am:
9907 Dist some more files.
9909 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9911 * tests/check/libs/controller.c: (GST_START_TEST),
9912 (gst_controller_suite):
9913 Add test for the previous fix; add some more tests
9914 for correct refcounting behaviour; fix a few leaks
9915 in test cases; call gst_controller_init() at start
9918 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9920 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9921 (gst_controller_set_from_list):
9922 Don't g_return_val_if_fail() on timed values with invalid timestamps
9923 inside a critical section without unlocking the mutex. Spotted by
9924 René Stadler. (#357617)
9925 Also, fix up refcounting properly: when returning an existing
9926 controller, we should increase the reference only once and not
9927 once per property and when trying to control a property again
9928 we should also increase the refcount.
9930 2006-09-29 Wim Taymans <wim@fluendo.com>
9932 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9933 * libs/gst/net/gstnettimeprovider.c:
9934 (gst_net_time_provider_thread):
9935 Stop reading commands when EOF as well.
9937 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9938 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9939 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9940 Unify description of the dump property.
9942 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9944 * tests/examples/manual/.cvsignore:
9945 OK, so it's actually cvsignore that needs changing. Stop laughing.
9947 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9949 * tests/examples/manual/Makefile.am:
9950 Gah, declare vars *before* using them
9952 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9954 * gst/gst.c: (init_pre), (scan_and_update_registry),
9955 (ensure_current_registry_nonforking),
9956 (ensure_current_registry_forking), (ensure_current_registry),
9957 (init_post), (gst_debug_help), (gst_deinit):
9958 * gst/gst_private.h:
9959 * gst/gstregistry.c: (gst_registry_finalize),
9960 (gst_registry_remove_features_for_plugin_unlocked),
9961 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9962 (gst_registry_scan_path),
9963 (_priv_gst_registry_remove_cache_plugins),
9964 (_priv_gst_registry_cleanup):
9965 * gst/gstregistry.h:
9966 Re-commit the registry changes, along with an extra fix:
9967 When a cached plugin is encountered at a different file path,
9968 update the stored path in the registry cache so that the parent
9969 process knows where it actually is now when it re-reads the registry
9970 cache. Fixes the thing that broke distcheck with the previous commit.
9972 * tests/check/Makefile.am:
9973 Clean up files named 'core' too when running make clean.
9975 * tests/examples/manual/Makefile.am:
9976 Set up a registry path for running these tests, and clean it properly
9979 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9982 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9983 want gmodule-no-export-2.0.pc instead so that we don't drag in
9984 --export-dynamic on every project that links to GStreamer.
9986 Also, make our export regex only match the start of symbols, rather
9987 than any symbol that contains '_gst' somewhere.
9989 * libs/gst/check/Makefile.am:
9990 The libgstcheck we build does however need export-dynamic, as it
9991 produces some symbols that don't match our _gst... style regex.
9994 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9996 * gst/gst.c: (init_pre), (scan_and_update_registry),
9997 (ensure_current_registry_nonforking),
9998 (ensure_current_registry_forking), (ensure_current_registry),
9999 (init_post), (gst_debug_help), (gst_deinit):
10000 * gst/gst_private.h:
10001 * gst/gstregistry.c: (gst_registry_finalize),
10002 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10003 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10004 (_gst_registry_cleanup):
10005 * gst/gstregistry.h:
10006 Revert previous change until I figure out why it breaks distcheck.
10008 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10010 * gst/gst.c: (init_pre), (scan_and_update_registry),
10011 (ensure_current_registry_nonforking),
10012 (ensure_current_registry_forking), (ensure_current_registry),
10013 (init_post), (gst_debug_help), (gst_deinit):
10015 Make init_pre and init_post take the full complement of GOptionFunc
10016 args so they can return useful GErrors. Make the registry updating
10019 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10020 ensure that the registry we're about to write out doesn't contain
10021 stale information about old-deleted plugin files.
10023 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10024 that deletion of plugin files is considered a registry change.
10026 * gst/gst_private.h:
10027 * gst/gstregistry.c: (gst_registry_finalize),
10028 (gst_registry_remove_features_for_plugin_unlocked),
10029 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10030 (gst_registry_scan_path),
10031 (_priv_gst_registry_remove_cache_plugins),
10032 (_priv_gst_registry_cleanup):
10033 * gst/gstregistry.h:
10034 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10035 by adding _priv prefix, so that they won't appear in the global
10036 symbol table. They still do atm though because of #318031. Move the
10037 prototypes to gst_private.h
10039 When removing a plugin, remove all features for that plugin too.
10042 2006-09-27 Wim Taymans <wim@fluendo.com>
10044 * docs/random/moving-plugins:
10045 Make it clear that the "compiled-in descriptions" really mean
10046 the element details.
10048 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10049 (gst_base_sink_wait_preroll):
10052 * docs/libs/gstreamer-libs-sections.txt:
10053 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10054 (gst_base_src_get_range), (gst_base_src_activate_push):
10055 * libs/gst/base/gstbasesrc.h:
10056 Added function to block while waiting for PLAYING, this function
10057 is used by live sources that block on the clock.
10058 API: gst_base_src_wait_playing()
10060 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10062 Patch by: Peter Kjellerstedt <pkj at axis com>
10065 gst-element-check.m4 is generated and should therefore be
10066 copied from the build dir rather than the source dir (#357593).
10067 'make distcheck' hasn't noticed this because we were disting
10068 the file as well, so stop doing that.
10070 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10072 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10073 Add some tests for gst_caps_intersect().
10075 * tools/gst-launch.c: (event_loop):
10076 Print all buffering percentages we get, even the 100% one.
10078 2006-09-26 Wim Taymans <wim@fluendo.com>
10080 * tools/gst-inspect.c: (print_element_properties_info),
10081 (print_signal_info):
10082 Fix printing of flags to match the look of enums.
10084 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10086 * gst/gstelementfactory.c:
10087 Fix typo in docs blurb.
10089 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10091 * gst/gsturi.c: (search_by_entry):
10092 Don't assert/crash here if a uri handler doesn't return any
10093 supported protocols. The list of protocols could be generated
10094 dynamically at runtime or at plugin registration, and an error
10095 in the underlying library shouldn't be fatal (#353301).
10097 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10100 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10101 (spotted by Peter Kjellerstedt).
10103 2006-09-23 Wim Taymans <wim@fluendo.com>
10105 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10107 * libs/gst/base/gstbasesrc.c:
10108 (gst_base_src_default_check_get_range), (gst_base_src_start),
10109 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10110 (gst_base_src_change_state):
10111 Match _start/_stop calls in the activate functions. Remove redundant
10112 _stop call from the state change function. Fixes #356910.
10113 Turn failure DEBUG into ERROR.
10115 2006-09-22 Wim Taymans <wim@fluendo.com>
10117 * docs/design/part-buffering.txt:
10118 * gst/gstmessage.c: (gst_message_new_buffering),
10119 (gst_message_parse_buffering):
10120 Update docs about buffering.
10122 * docs/design/part-trickmodes.txt:
10125 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10127 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10128 (gst_controller_new_list):
10129 Ref instances when returning them again (fixes #357180)
10131 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10133 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10134 Don't forget to release proxy lock when there's an error.
10136 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10139 Add extra initialisers for Caps things, to fix some plugin warnings
10142 2006-09-18 Wim Taymans <wim@fluendo.com>
10144 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10145 Also set template on the internal pad so that a getcaps from the
10146 target pad returns the template caps.
10148 2006-09-18 Wim Taymans <wim@fluendo.com>
10150 * gst/gstelement.c: (gst_element_post_message),
10151 (gst_element_dispose):
10152 Use _DEBUG_OBJECT some more.
10154 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10157 * tools/gst-launch.c: (main):
10158 If the toplevel element is not a GstPipeline, it must be put in a
10159 pipeline so that a bus and clock is selected.
10161 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10163 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10164 JITTER, RATE, and LATENCY query should be handled by the
10165 default case and not by the CONVERT query code.
10167 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10169 * gst/gstformat.c: (gst_format_register):
10170 Fix locking order (must take lock before using n_values).
10172 * gst/gstvalue.c: (gst_value_serialize_enum),
10173 (gst_value_deserialize_enum_iter_cmp),
10174 (gst_value_deserialize_enum):
10175 Fix serialisation/deserialisation of custom registered GstFormats.
10177 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10178 Unit test for custom format serialisation/deserialisation.
10180 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10182 * docs/pwg/building-boiler.xml:
10183 * plugins/elements/gstcapsfilter.c:
10184 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10187 2006-09-16 Edward Hervey <edward@fluendo.com>
10189 * libs/gst/base/gstbasetransform.c:
10190 (gst_base_transform_buffer_alloc):
10191 Check if requested caps are the same as the sinks caps IF
10192 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10194 This fixes the renegotiation issues stated in #352827.
10196 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10199 * docs/manual/advanced-autoplugging.xml:
10200 * tests/examples/Makefile.am:
10201 * tests/examples/manual/.cvsignore:
10202 * tests/examples/manual/Makefile.am:
10203 * tests/examples/manual/extract.pl:
10204 Extract the manual examples again like we used to do.
10207 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10209 * win32/common/config.h:
10212 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10215 Documents how to receive errors.
10217 2006-09-15 Wim Taymans <wim@fluendo.com>
10219 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10220 (event_loop), (main):
10221 Added some comments here and there.
10222 Post an application message when an interrupt is caught instead of doing
10223 an uncontrolled state change.
10224 Clean up the event loop.
10225 Handle buffering messages, pause/resume the pipeline.
10226 Make shutdown because of an interrupt more reliable.
10228 2006-09-15 Wim Taymans <wim@fluendo.com>
10230 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10231 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10232 (gst_base_sink_preroll_object):
10233 Make sure that our internal state is correct when we commit our state
10234 asynchronously. This solves a race where a state change to PLAYING
10235 could cause the sink to remain blocked in preroll in some situations.
10237 2006-09-15 Wim Taymans <wim@fluendo.com>
10239 * tools/gst-inspect.c: (print_element_properties_info),
10240 (print_signal_info):
10241 List flags as hex so it's easier to deal with.
10243 2006-09-15 Wim Taymans <wim@fluendo.com>
10245 * docs/libs/gstreamer-libs-sections.txt:
10246 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10247 (gst_base_sink_do_sync):
10248 * libs/gst/base/gstbasesink.h:
10249 Expose logic to wait for preroll so that subclasses such as audiosink
10250 can also use this method.
10251 API: gst_base_sink_wait_preroll()
10253 2006-09-15 Wim Taymans <wim@fluendo.com>
10255 * gst/gstobject.c: (gst_object_set_parent):
10256 * gst/gstpipeline.c: (do_pipeline_seek):
10257 Small cleanups in docs and code.
10259 * gst/gstsegment.c: (gst_segment_clip):
10260 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10261 if stop == start and start is in the segment, no clipping should be
10262 done. Also add a test for this.
10264 2006-09-15 Wim Taymans <wim@fluendo.com>
10266 * docs/design/part-buffering.txt:
10267 * docs/gst/gstreamer-sections.txt:
10268 * gst/gstmessage.c: (gst_message_new_buffering),
10269 (gst_message_parse_buffering):
10270 * gst/gstmessage.h:
10271 Added methods to create and parse BUFFERING messages.
10272 Added preliminary docs about buffering.
10273 API: gst_message_new_buffering
10274 API: gst_message_parse_buffering
10276 2006-09-06 Wim Taymans <wim@fluendo.com>
10279 Update documentation.
10281 * gst/gstelement.c: (gst_element_class_init),
10282 (gst_element_release_request_pad), (gst_element_set_clock),
10283 (gst_element_get_index), (gst_element_add_pad),
10284 (gst_element_remove_pad), (gst_element_get_random_pad),
10285 (gst_element_send_event), (gst_element_get_query_types),
10286 (gst_element_query), (gst_element_post_message),
10287 (gst_element_message_full), (gst_element_continue_state),
10288 (gst_element_lost_state), (gst_element_save_thyself),
10289 (gst_element_restore_thyself):
10290 Documentation updates.
10291 Rename last bit of the new-pad -> pad-added signal rename.
10292 Fix the case where an element query would only work if the source
10294 Avoid some useless type checking in message handling.
10299 Documentation updates.
10301 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10303 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10304 add an INFO line for when we actually update the fd
10306 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10311 === release 0.10.10 ===
10313 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10316 releasing 0.10.10, "Pais"
10318 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10320 * docs/manual/advanced-position.xml:
10321 Fix typo in sample code.
10323 2006-09-05 Wim Taymans <wim@fluendo.com>
10325 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10326 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10327 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10328 * libs/gst/net/gstnetclientclock.h:
10329 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10330 * libs/gst/net/gstnettimepacket.h:
10331 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10332 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10333 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10334 * libs/gst/net/gstnettimeprovider.h:
10335 Make stuff compile on windows. Fixes #345295.
10337 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10339 * gst/gst.c: (ensure_current_registry_forking):
10340 Print better details when child was terminated by signal.
10342 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10344 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10345 Print a warning rather than g_assert() if a plugin feature
10346 is a URI handler but returns no protocols (#353976).
10348 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10350 * docs/random/moving-plugins:
10353 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10355 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10356 Fix locking order, handle NULL function values properly.
10361 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10362 Initialise variable before using it and fix debug statement to
10363 print the address of the function rather than the address of the
10364 variable on the stack holding the address of the function.
10366 2006-09-01 Wim Taymans <wim@fluendo.com>
10368 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10369 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10370 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10371 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10372 (gst_ghost_pad_parent_unset),
10373 (gst_ghost_pad_internal_do_activate_push),
10374 (gst_ghost_pad_internal_do_activate_pull),
10375 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10376 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10377 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10378 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10379 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10380 (gst_ghost_pad_new_no_target_from_template),
10381 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10383 Avoid needless typechecking in macros.
10384 Since the internal pad is always present and never changes, there is
10385 no need to locking or ref when retrieving it.
10386 Improve debugging a bit.
10387 Handle link errors when setting the target. Fixes #341029.
10389 2006-09-01 Wim Taymans <wim@fluendo.com>
10391 * docs/libs/gstreamer-libs-sections.txt:
10392 * docs/plugins/gstreamer-plugins-sections.txt:
10393 Fix docs some more.
10395 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10396 (gst_collect_pads_event):
10397 * libs/gst/base/gstcollectpads.h:
10398 Documentation updates.
10399 Free queued buffer when removing a pad.
10401 2006-08-31 Michael Smith <msmith@fluendo.com>
10403 * gst/gstutils.c: (gst_element_link_pads),
10404 (gst_element_link_pads_filtered):
10405 Ensure that we set a capsfilter to NULL if we failed to link it
10406 when doing filtered linking, to avoid criticals.
10408 No need to check for unreffing srcpad, which is explicly NULLed
10409 above (a trivial code cleanup).
10411 2006-08-31 Wim Taymans <wim@fluendo.com>
10413 * docs/design/part-gstghostpad.txt:
10414 Update ascii art in documentation.
10416 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10417 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10418 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10419 (gst_ghost_pad_internal_do_activate_push),
10420 (gst_ghost_pad_internal_do_activate_pull),
10421 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10422 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10423 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10424 (gst_ghost_pad_set_target):
10425 Small cleanups and leak fixes.
10426 Remove some checks now that the internal pad is never NULL.
10427 Fix the case where linking pads without a target would create nasty
10428 criticals. Fixes #341029.
10429 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10430 value of _set_target().
10432 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10433 (gst_ghost_pad_suite):
10434 Some more tests for creating and linking untargeted ghostpads.
10436 2006-08-31 Edward Hervey <edward@fluendo.com>
10438 * docs/gst/gstreamer-sections.txt:
10439 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10440 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10441 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10442 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10443 (gst_ghost_pad_new_from_template),
10444 (gst_ghost_pad_new_no_target_from_template):
10445 * gst/gstghostpad.h:
10446 Refactored *_new() functions.
10447 Templates are now used as a g_object_new() parameter.
10448 Use template in _do_getcaps() if we don't have a target.
10449 Small documentation cleanups.
10450 Added two new constructors:
10451 gst_ghost_pad_new_from_template()
10452 gst_ghost_pad_new_no_target_from_template()
10453 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10454 (gst_ghost_pad_suite):
10455 Added tests for new ghostpad instanciation functions.
10457 API additions: gst_ghost_pad_new_from_template,
10458 gst_ghost_pad_new_no_target_from_template
10460 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10462 * docs/random/ensonic/profiling.txt:
10463 Ideas about qos profiling.
10465 2006-08-29 Wim Taymans <wim@fluendo.com>
10467 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10471 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10474 Improve and detypofy docs.
10476 * tests/check/Makefile.am:
10477 * tests/check/gst/.cvsignore:
10478 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10479 Add a basic test suite for GstXML.
10481 2006-08-29 Wim Taymans <wim@fluendo.com>
10483 * gst/gstelement.c: (activate_pads), (clear_caps),
10484 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10485 Clear the pad caps when the element shut down all of the pads and
10486 is not streaming data that could modify the caps.
10489 2006-08-28 Michael Smith <msmith@fluendo.com>
10491 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10492 Revert previous change; I misunderstood single-segment mode.
10494 2006-08-28 Michael Smith <msmith@fluendo.com>
10496 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10497 Unset DISCONT on buffers when using single-segment mode.
10499 2006-08-28 Wim Taymans <wim@fluendo.com>
10501 * gst/gstcaps.c: (gst_caps_merge_structure):
10503 Fix docs and indentation again.
10505 * tests/check/gst/gstquery.c: (GST_START_TEST):
10506 Fix leak in tests and add some more tests.
10508 2006-08-28 Edward Hervey <edward@fluendo.com>
10510 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10511 Inform GstSegment of the last stop position in order for the current
10512 segment to have a proper duration if it doesn't have a specific stop
10513 position from which a duration could be calculated.
10514 This bug was noticeable when a non-flushing, non-update new segment was
10515 followed by another segment (all buffers from the new segment were being
10518 2006-08-28 Wim Taymans <wim@fluendo.com>
10520 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10521 Small comment update.
10523 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10524 (gst_identity_transform_ip):
10525 Drop-probability is broken, mention this in the code with a
10526 FIXME and also in the property description.
10527 Make silent also be silent about the drop messages.
10529 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10531 * docs/manual/appendix-win32.xml:
10532 Remove mention of popt, we don't depend on that any
10533 longer (#353136). Add some comments pointing out that
10534 this section is slightly outdated.
10536 2006-08-28 Wim Taymans <wim@fluendo.com>
10538 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10540 * gst/gstquery.c: (gst_query_new_segment):
10541 * tests/check/gst/gstquery.c: (GST_START_TEST):
10542 Initialize variables when creating a new segment query.
10545 2006-08-28 Wim Taymans <wim@fluendo.com>
10547 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10549 * gst/gstelement.c: (gst_element_get_bus):
10550 * tests/check/gst/gstelement.c: (GST_START_TEST):
10551 Check for NULL before _reffing the bus. Fixes #353122.
10553 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10555 * docs/manual/basics-bus.xml:
10556 Docs update: fix wrong callback return value explanation; add
10557 some lines about the implicit relationship between main loop
10558 and main context; remove duplicate main loop variable declaration.
10560 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10562 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10563 Don't leak caps in unit test; add a few more simple
10566 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10568 * docs/gst/gstreamer-sections.txt:
10569 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10570 (gst_caps_structure_is_subset), (gst_caps_merge),
10571 (gst_caps_merge_structure):
10573 * libs/gst/base/gstbasetransform.c:
10574 (gst_base_transform_transform_caps):
10575 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10576 implement caps merging (fixes #352580)
10578 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10580 * tools/Makefile.am:
10581 * tools/gst-plot-timeline.py:
10582 add debug-log plotting developer tool (#340674)
10584 2006-08-23 Wim Taymans <wim@fluendo.com>
10586 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10587 (gst_pad_stop_task):
10588 Improve debugging for task functions.
10590 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10591 (gst_task_start), (gst_task_pause), (gst_task_join):
10592 Make sure that the task function started and finished after a
10594 Don't try to push the task function on the threadpool multiple
10596 Improve the g_warning message with some useful suggestions
10597 about how to fix the problem.
10599 2006-08-23 Wim Taymans <wim@fluendo.com>
10601 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10602 Handle RESYNC correctly in _proxy_getcaps.
10604 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10606 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10607 (gst_xml_parse_memory), (gst_xml_get_element):
10608 Chain up to parent class in dispose function and also
10609 unref the elements in the toplevel_elements GList.
10610 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10611 Always return a reference in gst_xml_get_element() rather
10612 than only sometimes.
10614 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10615 Don't leak GstXml object.
10617 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10619 * docs/gst/gstreamer-sections.txt:
10620 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10623 * libs/gst/base/gstbasetransform.c:
10624 (gst_base_transform_transform_caps):
10625 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10628 2006-08-21 Edward Hervey <edward@fluendo.com>
10630 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10631 Implement GObject::dispose virtual method in GstXML so we can free the
10632 top_elements GList.
10634 2006-08-21 Wim Taymans <wim@fluendo.com>
10636 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10637 (gst_buffer_create_sub):
10638 Copy duration/offset_end/caps when creating a subbuffer of the
10640 Make the subbuffer read-only when we make the metadata writable for
10641 now. Fixes #351768.
10643 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10644 Added check for metadata copy when creating subbuffers.
10646 2006-08-21 Edward Hervey <edward@fluendo.com>
10648 * libs/gst/base/gstbasetransform.c:
10649 (gst_base_transform_buffer_alloc):
10650 Only call downstream buffer_alloc if transform element is passthrough
10651 or always_in_place. Closes #350449.
10653 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10656 ChangeLog surgery to add comments to previous changes
10658 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10663 * gst/gstpad.c: (gst_pad_set_active):
10664 Be more verbose in the log
10666 * libs/gst/base/gstbasetransform.c:
10667 (gst_base_transform_transform_caps):
10668 Simplify caps to get rid of duplicates, fixes #345444
10670 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10674 Use these optimizations only internally.
10676 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10678 * gst/gstvalue.c: (gst_value_compare_list),
10679 (gst_value_compare_fraction_range),
10680 (gst_value_intersect_fraction_fraction_range),
10681 (gst_value_intersect_fraction_range_fraction_range),
10682 (gst_value_subtract_fraction_fraction_range),
10683 (gst_value_subtract_fraction_range_fraction_range),
10684 (gst_value_get_compare_func), (gst_value_compare),
10685 (gst_value_compare_with_func):
10687 Saves the expensive lookup of the compare function in many cases
10690 2006-08-18 Edward Hervey <edward@fluendo.com>
10692 * tests/check/gst/gstinfo.c: (gst_info_suite):
10693 Disable test that require gstdebug if it wasn't built in core.
10695 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10697 * docs/random/ensonic/logging.txt:
10700 * gst/gstinfo.c: (gst_debug_log_default):
10701 reorder fields, save some columns, add optional color codes for log
10704 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10706 * docs/random/ensonic/logging.txt:
10707 add ideas about making the logs a bit more useful
10709 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10711 * docs/pwg/advanced-events.xml:
10712 * docs/pwg/titlepage.xml:
10713 Update for 0.10 API (#340627). Add myself
10716 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10718 * docs/libs/gstreamer-libs-docs.sgml:
10719 * docs/libs/gstreamer-libs-sections.txt:
10720 * libs/gst/check/gstbufferstraw.c:
10721 Make gstcheck stuff show up in docs (still needs to
10722 be documented properly though).
10724 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10726 * docs/gst/gstreamer-sections.txt:
10728 * gst/gst.c: (init_post):
10729 * gst/gst_private.h:
10730 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10732 * gst/gstquery.c: (gst_query_new_position),
10733 (gst_query_set_position), (gst_query_parse_position),
10734 (gst_query_new_duration), (gst_query_set_duration),
10735 (gst_query_parse_duration), (gst_query_new_convert),
10736 (gst_query_set_convert), (gst_query_parse_convert),
10737 (gst_query_new_segment), (gst_query_set_segment),
10738 (gst_query_parse_segment), (gst_query_new_seeking),
10739 (gst_query_set_seeking), (gst_query_parse_seeking):
10740 Add internal helpers for pre-registering quarks from static strings
10741 and using the quark values directly instead of looking them up when
10742 creating and parsing queries. Can be used for event construction too.
10745 2006-08-16 Wim Taymans <wim@fluendo.com>
10750 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10752 * gst/gstutils.c: (gst_util_set_value_from_string):
10753 Fix memleak (#351502).
10755 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10756 Add unit test for most of gst_util_set_value_from_string()
10757 (not that one would want to encourage use of this function).
10759 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10761 * libs/gst/check/gstcheck.h:
10762 Use const gchar * variables in fail_unless_equals_string
10763 macro to avoid compiler warnings (and don't use tabs for
10766 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10768 * tools/gst-launch.c: (print_tag):
10769 More space on the left for the tag names, to cater
10770 for the 'extended comment' tag (not touching the
10771 string for the first line since it's translated).
10773 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10775 * libs/gst/check/gstcheck.h:
10776 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10777 print something when they fail.
10779 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10781 * docs/gst/gstreamer-sections.txt:
10782 * gst/gsttaglist.c: (_gst_tag_initialize):
10783 * gst/gsttaglist.h:
10784 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10785 Also change merge function for GST_TAG_COMMENT to
10788 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10790 * gst/gstinfo.c: (gst_debug_print_object):
10791 Make GST_PTR_FORMAT print messages as well.
10793 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10794 (GST_START_TEST), (gst_info_suite):
10797 2006-08-14 Edward Hervey <edward@fluendo.com>
10799 * gst/gstelementfactory.c: (gst_element_register):
10800 If the GstElementClass doesn't have a GstElementDetails with all fields
10801 filled up correctly (longname, description AND author), then error out
10802 nicely instead of crashing.
10804 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10806 * gst/gststructure.c:
10807 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10810 Expand on the difference between arrays and lists as we use them.
10812 2006-08-14 Wim Taymans <wim@fluendo.com>
10814 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10815 If the parent state change function failed, don't assume we can safely
10816 stop the source, this will be done when the pads are deactivated.
10818 2006-08-14 Wim Taymans <wim@fluendo.com>
10821 * gst/gsttask.c: (gst_task_join):
10824 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10825 (gst_pad_stop_task):
10826 When pad (de)activation failed for some reason, restore the old
10827 activation mode and set the pad to flushing instead of assuming the
10828 pad is deactivated.
10829 If the _task_join() failed, reinstall the task on the pad so that it can
10830 be stopped later and return an error.
10832 2006-08-11 Andy Wingo <wingo@pobox.com>
10835 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10836 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10837 is only for users of API that don't want to see deprecated
10838 functions in the headers; people that want to compile out
10839 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10840 CFLAGS. Fixes the build of multifdsink, or will soon..
10842 2006-08-11 Wim Taymans <wim@fluendo.com>
10844 * docs/gst/gstreamer-sections.txt:
10845 Add GstClockClass vmethod docs.
10848 Mark #endif with comment for associated #if
10850 * gst/gstclock.c: (gst_clock_id_wait):
10852 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10853 most clock implementations.
10855 Flesh out docs about resolution methods.
10856 API: GstClockClass::wait_jitter
10858 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10859 (gst_system_clock_async_thread),
10860 (gst_system_clock_id_wait_jitter_unlocked),
10861 (gst_system_clock_id_wait_jitter):
10862 Use base class wait_jitter variant for improved performance
10863 due to less clock polling.
10865 2006-08-11 Edward Hervey <edward@fluendo.com>
10867 * gst/gst.c: (gst_init_check), (init_post):
10868 Set gst as being initialized before scanning/updating the registry,
10869 since there might be my python plugin loader that calls gst_init() and
10870 we don't want to loop back in.
10873 2006-08-11 Wim Taymans <wim@fluendo.com>
10875 * docs/design/part-qos.txt:
10876 Bring docs in line with the code. Mostly the sign of the jitter was
10877 wrong in the docs. Fixes #349943.
10880 Fix the docs for the jitter.
10882 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10883 (gst_event_parse_tag), (gst_event_new_buffer_size),
10884 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10885 (gst_event_new_seek), (gst_event_parse_seek),
10886 (gst_event_new_navigation):
10887 Make sure the GstStructure has no parent when creating custom
10889 Add some more argument checking so that we avoid 0.0 rates.
10890 Flesh out the docs for the QoS event some more.
10892 2006-08-11 Wim Taymans <wim@fluendo.com>
10894 * docs/gst/gstreamer-sections.txt:
10895 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10896 (ensure_current_registry_forking), (ensure_current_registry),
10897 (parse_one_option), (parse_goption_arg), (gst_deinit),
10898 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10901 Added API and command line option to disable registry forking in
10902 addition to the environment variable.
10903 Constify some static arrays.
10904 Added some more debug.
10905 Don't deinit twice.
10906 API: gst_registry_fork_is_enabled()
10907 API: gst_registry_fork_set_enabled()
10908 API: --gst-disable-registry-fork command line option
10911 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10913 * gst/gst.c: (gst_init):
10914 Fix typo in error message.
10916 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10918 * libs/gst/controller/gstcontroller.h:
10919 fix ABI size-correction
10921 * tests/check/libs/gdp.c: (gst_dp_suite):
10922 make tests that use deprecated API conditional
10924 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10926 * docs/libs/gstreamer-libs-sections.txt:
10927 * libs/gst/controller/gstcontroller.c:
10928 (_gst_controller_get_property), (_gst_controller_set_property),
10929 (_gst_controller_init), (_gst_controller_class_init):
10930 * libs/gst/controller/gstcontroller.h:
10931 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10932 (gst_object_set_control_rate):
10933 API: add gst_object_{s,g}et_control_rate(), add private data section,
10936 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10937 * libs/gst/dataprotocol/dataprotocol.h:
10938 add deprecation guards to make gtk-doc happy and allow disabling cruft
10940 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10942 * tests/check/Makefile.am:
10943 * tests/check/gst/.cvsignore:
10944 Let's enable the new unit test as well.
10946 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10949 * docs/gst/gstreamer-sections.txt:
10950 * gst/gstconfig.h.in:
10951 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10952 (_gst_info_printf_extension_ptr),
10953 (_gst_info_printf_extension_segment):
10954 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10955 register that lets us easily dump GstSegments into debug
10958 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10959 (info_segment_format_printf_extension), (gst_info_suite):
10960 Add simple unit test that logs a bunch of different segments (not
10961 valgrinded at the moment because of leaks in
10962 gst_debug_add_log_function).
10964 2006-08-09 Edward Hervey <edward@fluendo.com>
10966 * libs/gst/base/gstbasetransform.c:
10967 (gst_base_transform_buffer_alloc):
10968 Even if we can't figure out the proper format to request downstream,
10969 call buffer_alloc() downstream with the input parameters without setting
10970 the caps on the srcpad. This will force negotiation in the chain
10974 2006-08-08 Edward Hervey <edward@fluendo.com>
10976 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10977 Unlinking from a pad without a target is now a perfectly valid case
10978 which should NOT raise an assertion.
10979 This case would happen if a linked ghostpad its target set to NULL after
10980 it was previously linked.
10982 2006-08-08 Edward Hervey <edward@fluendo.com>
10984 * tests/check/libs/gdp.c:
10985 Also comment out the test (see below).
10987 2006-08-08 Edward Hervey <edward@fluendo.com>
10989 * tests/check/libs/gdp.c: (gst_dp_suite):
10990 Use the architecture information from config.h and not gcc macros
10991 in order to properly disable a test that fails on PPC64.
10993 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10995 * gst/gstelement.c: (gst_element_remove_pad):
10996 Don't crash printing the warning if the pad has no parent.
10998 2006-08-02 Wim Taymans <wim@fluendo.com>
11000 * libs/gst/dataprotocol/dataprotocol.c:
11001 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11002 (gst_dp_crc), (gst_dp_header_payload_length),
11003 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11004 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11005 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11006 (gst_dp_event_from_packet), (gst_dp_validate_header),
11007 (gst_dp_validate_payload):
11008 Make debug category static
11009 Constify the crc table.
11010 Do some more arg checking in public functions.
11011 Fix some docs and do some small cleanups.
11013 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11014 Add some more checks to see if GDP deals with bogus input.
11016 2006-07-31 Wim Taymans <wim@fluendo.com>
11018 * gst/gstvalue.c: (gst_value_compare_list):
11019 Fix GstValueList comparison code. Fixes #347293.
11021 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11022 Check to test GstValueList comparison.
11024 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11026 * gst/gstelementfactory.c: (gst_element_factory_create):
11027 Remove unnecessary ref/unref pair
11029 * gst/parse/grammar.y:
11030 Make sure to free the parse buffer on all code paths.
11031 Move a g_free up to the error handler where it's easier to see.
11033 * tests/check/gst/gstevent.c: (test_event):
11034 Extending timeout for downstream travelling events to 10 seconds to
11035 hopefully avoid intermittent failure on the buildbots.
11037 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11038 Don't manually set the state of the src element - it will happen as a
11039 natural consequence of the pipeline changing state, and that way it
11040 will do it in the right order too.
11042 2006-07-31 Wim Taymans <wim@fluendo.com>
11044 * libs/gst/base/gstbasetransform.c:
11045 (gst_base_transform_buffer_alloc):
11046 Use OBJECT_LOCK and refcounting to get the pad caps in the
11047 buffer_alloc function because the caps could change while we are
11048 busy with them. Fixes #349105
11050 2006-07-31 Wim Taymans <wim@fluendo.com>
11052 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11053 Protect _PAD_CAPS with OBJECT_LOCK.
11055 2006-07-31 Wim Taymans <wim@fluendo.com>
11057 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11058 (gst_pad_get_property), (gst_pad_activate_pull),
11059 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11060 (gst_pad_set_activate_function),
11061 (gst_pad_set_activatepull_function),
11062 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11063 (gst_pad_set_getrange_function),
11064 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11065 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11066 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11067 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11068 (gst_pad_set_acceptcaps_function),
11069 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11070 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11071 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11072 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11073 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11074 (gst_pad_configure_sink), (gst_pad_configure_src),
11075 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11076 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11077 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11078 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11079 (gst_pad_send_event):
11080 Use _DEBUG_OBJECT when it makes sense.
11081 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11082 Small cleanups and code reflows.
11083 Avoid caps refcounting in _accept_caps.
11084 Refactor alloc_buffer so that the code performed on the peer is in a
11085 separate function. Also if the pad does not implement a buffer alloc
11086 function, we should still check if the pad is flushing before falling
11087 back to the default allocator.
11089 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11091 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11092 Make all uses of identity and fakesink have silent=true to avoid
11093 serialising every passing data structure, which is breaking tests
11094 on FC4 for some unknown reason.
11096 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11098 * gst/parse/Makefile.am:
11099 * gst/parse/grammar.y:
11100 * gst/parse/parse.l:
11101 Reverted previous patch as it required to bump the flex dependency to
11102 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11104 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11106 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11108 * gst/parse/Makefile.am:
11109 * gst/parse/grammar.y:
11110 * gst/parse/parse.l:
11111 push & pop the state of the lexer for reentrant use case
11114 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11116 * libs/gst/base/gstbasesrc.h:
11117 Note in the docs that the ::newsegment vfunc is not actually used by
11120 2006-07-28 Wim Taymans <wim@fluendo.com>
11122 * libs/gst/base/gstcollectpads.c:
11123 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11124 (gst_collect_pads_clear), (gst_collect_pads_flush),
11125 (gst_collect_pads_event), (gst_collect_pads_chain):
11126 When flushing a pad, also clear the queued buffer so that we don't
11127 accidentally use it when we shouldn't.
11128 Fix leaks by inreffing incomming buffer.
11129 Flush out queued buffers in case of errors.
11132 2006-07-28 Wim Taymans <wim@fluendo.com>
11134 * docs/random/phonon-gst:
11135 Random notes about a Phonon backend.
11137 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11139 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11141 * tests/check/libs/gdp.c: (gst_dp_suite):
11142 Take a whack at fixing the ppc compile using a different define to
11143 disable the broken test.
11145 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11146 Remove excess g_print()
11148 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11150 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11151 Oops, meant to uncomment this line too to dampen the noise a bit.
11153 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11155 * gst/parse/grammar.y:
11156 * gst/parse/parse.l:
11157 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11158 (GST_START_TEST), (parse_suite):
11159 Fix some of the leaks exposed by extending the parse-launch testsuite,
11160 and move the 3 I can't figure out into a separate test that won't run
11161 the pipelines unless the appropriate line is uncommented.
11163 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11165 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11166 Requesting 0 bytes before the end of the file should result in
11167 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11170 2006-07-27 Wim Taymans <wim@fluendo.com>
11172 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11173 Fix useless assert, a uint is always positive.
11175 * gst/gststructure.c: (gst_structure_nth_field_name),
11176 (gst_structure_foreach), (gst_structure_map_in_place):
11177 Check input arguments for public functions to avoid obvious crashes.
11179 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11180 * plugins/elements/gstfakesink.h:
11181 Do less useless typechecking.
11183 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11185 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11186 Do not use mmap() by default since there are a number of error
11187 conditions that we would like to handle in a non-fatal way that
11188 will result in a SIGBUS if we use mmap(). Examples: external
11189 devices (USB harddrive, portable music player) being unplugged
11190 while in use; file on mounted CD/DVD that can't be read because
11191 the medium is partly damaged. Fixes #348455 and #348475.
11193 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11196 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11197 rates are a gdouble
11199 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11201 * gst/gstregistry.c:
11202 Move big documentation comment into class section header, so that it
11203 appears in the API docs.
11205 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11207 * docs/gst/gstreamer-sections.txt:
11208 Oops. Commit the docs additions too for new API.
11209 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11211 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11213 * gst/gststructure.c: (gst_structure_id_set),
11214 (gst_structure_id_set_valist):
11215 * gst/gststructure.h:
11216 Add API for setting values into structures without performing
11217 a quark lookup, if the appropriate quark is already known.
11219 API: gst_structure_id_set
11220 API: gst_structure_id_set_valist
11222 * gst/parse/grammar.y:
11223 * gst/parse/parse.l:
11224 Remove some dead code shown by the coverage information.
11225 Don't throw a critical g_warning when encountering a syntax error,
11226 just warn and let the normal error path handle it.
11228 * plugins/elements/gstelements.c:
11229 Bump the rank of filesink up to PRIMARY so that it is preferred over
11230 gnomevfssink for file:// sink uri's
11232 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11233 (GST_START_TEST), (run_delayed_test),
11234 (gst_parse_test_element_base_init),
11235 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11236 (gst_parse_test_element_change_state),
11237 (gst_register_parse_element), (parse_suite):
11238 Beef up the tests for parse syntax to check that more error cases
11239 fail as they are supposed to. Increases the test coverage a bit.
11241 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11243 * docs/manual/basics-elements.xml:
11244 Fix gst_element_link() example.
11247 Mention in API docs that one should usually gst_bin_add()
11248 elements to a bin or pipeline before doing the linking.
11250 2006-07-26 Wim Taymans <wim@fluendo.com>
11252 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11253 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11254 Avoid function call for known types by keeping the buffer and
11255 subbuffer GType global.
11257 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11258 Random silly optimisations in read() path.
11260 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11262 * tools/gst-launch.c: (main):
11263 If the top-level of the parse is a normal bin, it doesn't do the
11264 right logic to run as a top-level element, so place it inside a
11267 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11269 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11270 Remove superfluous g_object_notify() calls, GObject does
11271 that for us automatically.
11273 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11276 on Win32, use dllspec to export the debug category symbols
11278 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11280 * gst/gsttaglist.c: (_gst_tag_initialize):
11281 Allow more than one GST_TAG_IMAGE per taglist.
11283 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11285 * gst/gstminiobject.c:
11287 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11288 (gst_fd_src_create):
11289 log recurring events at LOG level
11290 add more debug for when the fd gets set
11292 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11294 * gst/gstparse.c: (gst_parse_launch):
11295 Also remove reentrance checks if flex is MT safe (#348179)
11296 Fix my empty ChangeLog entry below
11298 2006-07-21 Andy Wingo <wingo@pobox.com>
11300 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11302 * libs/gst/check/Makefile.am
11303 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11304 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11305 * libs/gst/check/gstbufferstraw.h:
11306 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11307 functions, thus proving I am still a GStreamer haxor. OK I wrote
11308 them a long time ago, but anyways.
11310 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11313 * gst/gstparse.c: (gst_parse_launch):
11314 Check for flex version and omit mutex if we have a MT save flex
11317 2006-07-21 Wim Taymans <wim@fluendo.com>
11319 * gst/gstparse.c: (gst_parse_launch):
11320 Protect recursive calls to _parse with a recursive mutex
11323 2006-07-21 Wim Taymans <wim@fluendo.com>
11325 * tests/check/gst/gstpad.c: (GST_START_TEST):
11328 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11330 * gst/gstparse.c: (gst_parse_launch):
11331 Do not hang on recursive usage of gst_parse_launch()
11333 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11335 * gst/gsttaglist.c:
11336 Add some more docs, comments and FIXME 0.11s here and there
11337 and also fix some typos.
11339 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11341 * gst/gstsegment.h:
11342 Convert tabs to spaces for better readability.
11344 2006-07-20 Edward Hervey <edward@fluendo.com>
11346 * tests/check/libs/gdp.c: (gst_dp_suite):
11347 the test_buffer test fails at line 140 on ppc64 at the following
11349 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11350 GST_BUFFER_FLAG_IN_CAPS),
11351 "GST_BUFFER_IN_CAPS flag should have been copied !");
11352 See bug #348114 for more details.
11354 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11356 * docs/pwg/advanced-scheduling.xml:
11358 Fix typos (#348000).
11360 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11362 * docs/pwg/intro-basics.xml:
11363 Fix wrong links (#347927).
11365 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11367 * gst/gstregistry.h:
11368 * gst/gstregistryxml.c: (load_feature),
11369 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11370 * win32/common/config.h:
11371 make --disable-index work (#342564)
11373 2006-07-18 Wim Taymans <wim@fluendo.com>
11375 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11379 The attached patch adds two missing defines to gsttrace.h when tracing
11380 is disabled. It also corrects one existing define.
11383 2006-07-17 Wim Taymans <wim@fluendo.com>
11385 * docs/gst/gstreamer-sections.txt:
11386 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11388 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11389 Add two functions to check and change the SIGSEGV behaviour
11390 when loading plugins.
11391 Don't mess with the SIGSEGV handler when we were told not to.
11393 API: gst_segtrap_is_enabled
11394 API: gst_segtrap_set_enabled
11396 2006-07-14 Wim Taymans <wim@fluendo.com>
11398 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11399 * tests/check/elements/filesrc.c: (GST_START_TEST):
11400 Revert fix for regression in #347408 after release.
11402 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11404 Patch by: Antoine Tremblay <hexa00 at gmail com>
11406 * gst/gstutils.c: (gst_element_unlink):
11407 Free iterator when done (#347311).
11409 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11410 And add a test case for this.
11412 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11415 Bump nano back to CVS
11417 === release 0.10.9 ===
11419 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11422 releasing 0.10.9, "On the road again"
11424 2006-07-13 Wim Taymans <wim@fluendo.com>
11426 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11427 * tests/check/elements/filesrc.c: (GST_START_TEST):
11428 Revert pull-0 fix for release. Disable check. Fixes #347408.
11430 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11432 * libs/gst/dataprotocol/dataprotocol.c:
11433 (gst_dp_event_from_packet_1_0):
11434 Fixes #347337: failure to deserialize event packets with
11435 empty payload (only event type)
11437 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11440 do not install a .c file in the header directory
11442 2006-07-13 Edward Hervey <edward@fluendo.com>
11444 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11445 GhostPad no longer implicitely use the padtemplates of the targets.
11448 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11450 * gst/gstvalue.c: (gst_value_compare_list),
11451 (gst_value_compare_array), (_gst_value_initialize):
11452 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11453 Make GstValueArray comparison be order dependent as designed.
11454 Add checks for value lists and value array comparisons.
11457 2006-07-11 Edward Hervey <edward@fluendo.com>
11459 * gst/gstbin.c: (activate_pads),
11460 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11461 (gst_bin_change_state_func):
11462 (de)activate src pads before calling state_change on the childs.
11463 This is to avoid the case where a src ghostpad is blocked (holding the
11464 stream lock), which would block the deactivation of the ghostpad's
11466 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11467 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11468 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11469 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11470 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11471 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11472 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11473 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11474 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11475 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11476 (gst_ghost_pad_class_init),
11477 (gst_ghost_pad_internal_do_activate_push),
11478 (gst_ghost_pad_internal_do_activate_pull),
11479 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11480 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11481 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11482 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11483 GhostPads now create their internal GstProxyPad at creation (and not
11484 when they're linked, as it was being done previously).
11485 The internal and target pads are linked straight away.
11486 The data will also travel through the other pad in order to make
11487 pad blocking and probes non-hackish (the probe/block now really happens
11488 on the GhostPad and not on the target).
11489 * gst/gstpad.c: (gst_pad_set_blocked_async),
11490 (gst_pad_link_prepare), (gst_pad_push_event):
11491 Remove previous ghostpad cruft.
11492 * gst/gstutils.c: (gst_pad_add_data_probe),
11493 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11494 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11495 (gst_pad_remove_buffer_probe):
11496 Remove previous ghost pad cruft.
11497 Added more detailed debug statements.
11498 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11499 Fix the testsuite for refcounting changes.
11500 The comments about who has references were correct, but the refcount
11501 being checked wasn't the same (!?!).
11505 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11507 * docs/gst/gstreamer-sections.txt:
11508 * gst/gstconfig.h.in:
11509 More docs for configuration options, add docs to gtk-doc.
11511 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11514 * gst/gstconfig.h.in:
11515 * win32/common/config.h:
11516 Fix build when disabling tracing (fixes #344016). Also start to document
11517 the defines that disable the sub-systems.
11519 2006-07-10 Edward Hervey <edward@fluendo.com>
11521 * gst/gst.c: (ensure_current_registry_forking):
11522 let's make valgrind happy...
11524 2006-07-09 Wim Taymans <wim@fluendo.com>
11526 * gst/gstelement.c: (activate_pads),
11527 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11528 Better pad activation code: Reset the collect value too on resync.
11531 2006-07-09 Wim Taymans <wim@fluendo.com>
11533 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11534 (gst_pad_activate_push):
11535 Use some more macros where it makes sense.
11536 Allow pad mode switching instead of asserting. When a pad
11537 is activated in one mode and we activate it in another,
11538 deactivate it first before activating it in a different mode.
11541 2006-07-08 Andy Wingo <wingo@pobox.com>
11543 * tools/gst-launch.c (main): Handle err == NULL.
11545 * gst/gst.c (init_post, ensure_current_registry)
11546 (ensure_current_registry_forking)
11547 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11548 factoring out the registry scanning into separate functions. Don't
11549 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11550 Better environment var name/interface suggestions accepted.
11552 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11554 * gst/gstobject.c: (gst_object_set_name_default),
11555 (gst_object_set_name):
11556 Random micro-optimisation: don't use a hash table
11557 with strings as keys and the usual strdup/strcmp
11558 involved, but rather just use the GQuark of the
11559 type name as key, since it needs to be looked up
11560 anyway to get the type name string.
11562 * tests/check/gst/gstobject.c: (GST_START_TEST):
11565 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11567 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11568 (gst_bin_iterate_all_by_interface):
11569 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11570 GTypes are gulongs and thus the top 4 bytes might be cut
11571 off on some platforms when doing GPOINTER_TO_INT, leading
11572 to invalid GTypes and bad things happening (see RH bug #179654).
11573 Also add a check to make sure the type passed in is really
11576 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11581 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11585 * gst-element-check.m4:
11586 * gst-element-check.m4.in:
11587 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11588 instead of the unversioned gst-inspect (#324176, #168659).
11590 2006-07-06 Wim Taymans <wim@fluendo.com>
11592 * gst/gstmessage.h:
11593 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11596 2006-07-06 Wim Taymans <wim@fluendo.com>
11598 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11599 (gst_base_src_wait), (gst_base_src_update_length),
11600 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11601 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11602 (gst_base_src_loop), (gst_base_src_start),
11603 (gst_base_src_activate_pull):
11605 blocksize == 0 now means the default blocksize when working in push
11607 Remove some pointless asserts in _wait function.
11608 Fix offset/length calculations and EOS handling. We can now pull 0
11609 bytes as well, which is allowed.
11610 use _check_get_range() to decide if we can operate in _pull based
11612 Fix refcounting leak when check_get_range function was not
11614 API GstBaseSrc::blocksize range can be 0 too now (default)
11616 * tests/check/elements/filesrc.c: (GST_START_TEST),
11618 Added check to test _get_range() behaviour.
11620 2006-07-06 Wim Taymans <wim@fluendo.com>
11622 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11623 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11624 (gst_pad_pull_range):
11626 Lots of comments and docs added to the pad functions.
11627 Flesh out the expected behaviour of the get_range() functions.
11629 2006-07-06 Wim Taymans <wim@fluendo.com>
11634 * gst/gstiterator.h:
11638 Remove comma at end of enumerator list.
11640 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11642 * win32/common/libgstbase.def:
11643 * win32/common/libgstdataprotocol.def:
11644 * win32/common/libsgtreamer.def:
11645 Add new exported functions.
11647 2006-07-05 Wim Taymans <wim@fluendo.com>
11649 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11650 Add some more docs here and there.
11652 2006-07-05 Wim Taymans <wim@fluendo.com>
11654 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11655 (gst_base_sink_loop), (gst_base_sink_get_position):
11656 When operating in pull mode update the offset so that we
11659 2006-07-05 Wim Taymans <wim@fluendo.com>
11661 * gst/gstregistryxml.c: (read_string):
11662 Avoid strdup. (will happen in libxml, but hey!)
11665 Add some more docs.
11667 2006-07-05 Wim Taymans <wim@fluendo.com>
11669 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11670 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11671 (gst_buffer_suite):
11672 No point in checking if the size of the subbuffer > 0, the
11673 code handles it correclty as demonstrated by unit test.
11674 Also add a unit test for the zero sized _new_and_alloc and
11675 _copy. Fixes #346663.
11677 2006-07-05 Wim Taymans <wim@fluendo.com>
11679 * libs/gst/base/gstbasetransform.c:
11680 (gst_base_transform_prepare_output_buffer),
11681 (gst_base_transform_buffer_alloc),
11682 (gst_base_transform_handle_buffer):
11683 Make sure the buffer we pass to transform_ip has a refcount of
11684 1 and thus is writable. Fixes #343196
11686 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11688 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11689 (gst_file_src_init), (gst_file_src_set_property),
11690 (gst_file_src_get_property), (gst_file_src_map_region):
11691 * plugins/elements/gstfilesrc.h:
11692 Add "sequential" property, off by default, to use madvise and hint
11693 to the kernel that sequential access is desired.
11694 Touch all retrieved pages by default to ensure they are pulled
11695 into memory. (Closes #345720)
11697 2006-07-03 Wim Taymans <wim@fluendo.com>
11699 * docs/design/part-block.txt:
11700 * docs/design/part-dynamic.txt:
11701 Small docs updates.
11703 2006-07-03 Wim Taymans <wim@fluendo.com>
11705 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11706 (gst_caps_unref), (gst_static_caps_get),
11707 (gst_caps_append_structure):
11708 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11709 Use GSlice when the glib we build against is >= 2.10
11711 2006-07-03 Wim Taymans <wim@fluendo.com>
11713 * gst/gstelement.c: (gst_element_pads_activate):
11714 Small cleanup in pad activation code.
11716 2006-07-03 Wim Taymans <wim@fluendo.com>
11718 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11720 * gst/gst-i18n-app.h:
11721 * gst/gst-i18n-lib.h:
11722 * tools/gst-inspect.c: (print_signal_info):
11723 The attached patch will make the inclusion of gettext.h unconditional in
11724 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11725 libintl.h in tools/gst-inspect.c.
11726 This allows use of --disable-nls again and fixes #344642.
11728 2006-07-03 Edward Hervey <edward@fluendo.com>
11730 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11731 Implement pad blocking on events according to part-block.txt.
11732 More comments on behaviour.
11733 * tests/check/gst/gstevent.c: (test_event):
11734 Send event to peer pad of blocked pad (else it will block).
11736 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11738 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11739 (gst_check_run_suite):
11740 if we get the wrong message, give us the types as string
11741 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11743 * tests/check/elements/filesrc.c: (GST_START_TEST):
11744 add a test for trying to open a non-existing file
11746 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11748 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11749 add a test for adding self
11751 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11753 * libs/gst/check/gstcheck.h:
11754 add some assert_ as alias for fail_unless_*
11755 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11756 increase test coverage
11758 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11761 include lcov.mak for lcov coverage generation
11762 * tools/Makefile.am:
11765 2006-07-02 Edward Hervey <edward@fluendo.com>
11767 * tests/check/elements/.cvsignore:
11770 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11773 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11774 * tests/check/Makefile.am:
11775 clean up gcov files
11777 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11779 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11780 remove gst_caps_simplify; it was not declared and not used
11781 and deprecated in 0.8
11783 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11785 * docs/faq/gst-uninstalled:
11786 don't put empty paths on PYTHONPATH
11787 * docs/gst/gstreamer-sections.txt:
11788 remove some symbols that are not there
11790 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11792 * gst/gstcaps.c: (gst_caps_compare_structures):
11794 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11795 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11798 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11800 * libs/gst/dataprotocol/Makefile.am:
11801 build dataprotocol test by linking to the lib, instead of
11802 compiling the source, so we get coverage
11803 * tests/check/Makefile.am:
11804 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11805 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11806 add a test for filesrc
11808 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11810 * tests/check/gst/gststructure.c: (GST_START_TEST),
11811 (gst_structure_suite):
11812 Push coverage from 59.04% to 70.00%
11814 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11816 * tests/check/Makefile.am:
11817 gst-inspect every element; this makes sure that we also get
11818 coverage on element's get/set functions
11820 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11823 set CFLAGS and friends to -O0 if gcov is being used
11826 * libs/gst/base/Makefile.am:
11827 * libs/gst/check/Makefile.am:
11828 * libs/gst/controller/Makefile.am:
11829 * libs/gst/dataprotocol/Makefile.am:
11830 * libs/gst/net/Makefile.am:
11831 * plugins/elements/Makefile.am:
11832 * plugins/indexers/Makefile.am:
11833 add makefile rules to generate gcov data and clean up
11834 * tests/check/Makefile.am:
11835 add a coverage target that generates an html overview
11838 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11840 * tests/check/elements/fakesink.c:
11841 * tests/check/elements/fakesrc.c:
11842 * tests/check/elements/fdsrc.c:
11843 * tests/check/elements/identity.c:
11844 * tests/check/generic/sinks.c: (gst_sinks_suite):
11845 * tests/check/generic/states.c:
11846 * tests/check/gst/gst.c:
11847 * tests/check/gst/gstabi.c:
11848 * tests/check/gst/gstbin.c:
11849 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11850 * tests/check/gst/gstbus.c: (gst_bus_suite):
11851 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11852 * tests/check/gst/gstelement.c:
11853 * tests/check/gst/gstevent.c: (gst_event_suite):
11854 * tests/check/gst/gstghostpad.c:
11855 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11856 * tests/check/gst/gstmessage.c: (gst_message_suite):
11857 * tests/check/gst/gstminiobject.c:
11858 * tests/check/gst/gstobject.c:
11859 * tests/check/gst/gstpad.c:
11860 * tests/check/gst/gstpipeline.c:
11861 * tests/check/gst/gstplugin.c:
11862 * tests/check/gst/gstquery.c: (gst_query_suite):
11863 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11864 * tests/check/gst/gststructure.c:
11865 * tests/check/gst/gstsystemclock.c:
11866 * tests/check/gst/gsttag.c:
11867 * tests/check/gst/gsttask.c: (gst_task_suite):
11868 * tests/check/gst/gstutils.c:
11869 * tests/check/gst/gstvalue.c:
11870 * tests/check/libs/adapter.c:
11871 * tests/check/libs/basesrc.c:
11872 * tests/check/libs/collectpads.c:
11873 * tests/check/libs/controller.c:
11874 * tests/check/libs/gdp.c: (gst_dp_suite):
11875 * tests/check/libs/gstnetclientclock.c:
11876 * tests/check/libs/gstnettimeprovider.c:
11877 * tests/check/libs/libsabi.c: (libsabi_suite):
11878 * tests/check/libs/typefindhelper.c:
11879 * tests/check/pipelines/cleanup.c:
11880 * tests/check/pipelines/parse-launch.c:
11881 * tests/check/pipelines/simple-launch-lines.c:
11882 * tests/check/pipelines/stress.c: (stress_suite):
11885 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11887 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11888 * libs/gst/check/gstcheck.h:
11889 create a macro and function so that the simple unit test
11890 case can be just one macro to create main()
11892 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11894 * gst/gstbin.c: (gst_bin_restore_thyself):
11895 * gst/gstxml.c: (gst_xml_make_element):
11896 Fix deserialisation from XML. Set parent manually
11897 instead of using gst_bin_add(), since gst_bin_add()
11898 will unlink all pads of the element being added.
11901 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11903 Patch by: Peter Kjellerstedt <pkj at axis com>
11905 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11906 Fix missing g_strdup() and double free when using the
11907 --gst-plugin-load command line option (#346097).
11909 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11912 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11914 * libs/gst/net/gstnetclientclock.c:
11915 * libs/gst/net/gstnettimeprovider.c:
11916 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11918 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11920 * docs/manual/advanced-dataaccess.xml:
11921 Fix buffer probe example compilation in
11924 2006-06-22 Edward Hervey <edward@fluendo.com>
11926 * gst/gstelement.c: (gst_element_pads_activate):
11927 We need to deactivate src pads first and then sink pads.
11928 The reason is the src pads might be blocking while holding the streaming
11929 lock, so we need to deactivate them first so that deactivating the sink
11930 pads doesn't block (since it will require the streaming lock).
11932 2006-06-22 Wim Taymans <wim@fluendo.com>
11934 * libs/gst/base/gstbasetransform.c:
11935 (gst_base_transform_buffer_alloc):
11936 Forgot to remove two unneeded unrefs.
11937 Simplify a check _is_equal allready checks the obvious case.
11939 2006-06-22 Wim Taymans <wim@fluendo.com>
11941 * docs/design/part-block.txt:
11942 Some docs about what pad_block should do.
11944 2006-06-22 Wim Taymans <wim@fluendo.com>
11946 * gst/gstcaps.c: (gst_caps_replace):
11947 Fix crasher when passed NULL. Doc clarification.
11948 Optimize for the trivial case.
11950 * gst/gstpipeline.c: (gst_pipeline_change_state):
11953 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11954 Small documentation cleanup.
11956 * libs/gst/base/gstbasetransform.c:
11957 (gst_base_transform_buffer_alloc):
11958 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11959 is what we need and it avoids a whole lot of redundant
11960 refcount operations.
11962 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11964 Patch by: Philip Jägenstedt <philip at lysator liu se>
11966 * docs/manual/advanced-dataaccess.xml:
11967 Fix 'Embedding static elements' section to use
11968 GST_PLUGIN_DEFINE_STATIC (#345607).
11970 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11972 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11973 Attempt to 'fix' spuriously failing test case: it seems like the
11974 timeout of half a second is simply too small when the system is under
11975 load otherwise, and the timeout doesn't really seem to serve any
11976 particular purpose here. Give the pipeline a few seconds to preroll
11977 first, and then give it another half a second to go from PAUSED to
11978 PLAYING and marshal the message into the main thread.
11980 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11982 * tools/gst-feedback-m.m:
11983 Don't only use unversioned tools, try versioned tools as well
11986 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11988 * gst/gstbus.c: (gst_bus_class_init):
11989 Fix some typos, make docs more explicit.
11991 2006-06-20 Wim Taymans <wim@fluendo.com>
11993 * tests/check/gst/gstghostpad.c: (block_callback),
11994 (GST_START_TEST), (gst_ghost_pad_suite):
11995 Added some more ghostpad tests, mainly blocking
11998 2006-06-16 Wim Taymans <wim@fluendo.com>
12000 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12001 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12002 (gst_file_sink_event), (gst_file_sink_render):
12003 * plugins/elements/gstfilesink.h:
12004 Check if we can seek in the file instead of assuming
12005 we always can. Post an error when we are asked to seek in a
12006 non-seekable file (like a fifo). Fixes #343312.
12009 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12011 * tools/gst-launch.1.in:
12012 Un-garble (fourcc) bit in filtered caps section.
12014 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12016 * docs/manual/advanced-autoplugging.xml:
12017 * docs/manual/basics-helloworld.xml:
12018 * docs/manual/highlevel-components.xml:
12019 Don't leak bus reference in sample code.
12021 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12024 Add default for new --enable-plugin-docs switch.
12027 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12030 * docs/Makefile.am:
12031 Use new ENABLE_PLUGIN_DOCS conditional.
12033 2006-06-14 Wim Taymans <wim@fluendo.com>
12035 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12036 Make it clear with a FIXME and a real define what the #if 0
12037 previously disabled.
12039 2006-06-14 Wim Taymans <wim@fluendo.com>
12041 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12042 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12043 * libs/gst/base/gstbasetransform.c:
12044 (gst_base_transform_sink_eventfunc):
12045 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12046 Don't randomly and silently reset a segment when the format
12047 changes as this is a bug somewhere upstream. Fixes #330379.
12049 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12051 Patch by: Wouter Paesen <wouter at kangaroot net>
12053 * libs/gst/controller/gstcontroller.c:
12054 (gst_controlled_property_new):
12055 Fix controlling of float properties (#344849).
12057 * tests/check/libs/controller.c:
12058 (gst_test_mono_source_get_property),
12059 (gst_test_mono_source_set_property),
12060 (gst_test_mono_source_class_init), (GST_START_TEST):
12061 While we're at it, add some float stuff to unit test.
12063 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12066 * docs/images/gdp-header.svg:
12068 * docs/libs/Makefile.am:
12069 * docs/libs/gdp-header.png:
12070 * libs/gst/dataprotocol/dataprotocol.c:
12071 add it to the API docs
12072 * docs/manual/intro-motivation.xml:
12075 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12077 * gst/gst.c: (scan_and_update_registry), (init_post):
12078 If the fork()'ed child process can't write the updated registry cache
12079 file to disk for some reason, make it exit with a failure exit code,
12080 so that the parent can then re-scan the plugins itself and update the
12081 registry structures in memory and work with that (rather than failing
12082 when creating elements because seemingly no plugins are available).
12083 Refactor registry scanning code into separate function for this and
12084 also separate fork() and non-fork() code paths. Fixes #344748.
12086 2006-06-13 Wim Taymans <wim@fluendo.com>
12088 * docs/manual/advanced-dataaccess.xml:
12089 Fix wrong PluginDesc. Fixes #344755.
12091 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12093 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12094 Fix silly bug that prevented us from creating
12095 ~/.gstreamer-0.10 and writing the registry in one
12096 go (the first call to g_mkstemp() would overwrite the
12097 placeholder in the template string, so the second call
12098 to g_mkstemp() after creating the missing directory
12099 would then error out with 'invalid argument').
12101 2006-06-13 Edward Hervey <edward@fluendo.com>
12103 * gst/gst.c: (init_post):
12106 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12108 * gst/glib-compat-private.h:
12109 * gst/glib-compat.c:
12110 * gst/glib-compat.h:
12111 * gst/gstvalue.c: (gst_value_serialize_flags):
12112 remove GLib 2.6 compatibility code
12114 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12116 * gst/parse/Makefile.am:
12117 Fix build with 'make -j N' even more (#340016).
12119 2006-06-12 Wim Taymans <wim@fluendo.com>
12121 * docs/gst/gstreamer-sections.txt:
12124 2006-06-12 Wim Taymans <wim@fluendo.com>
12126 * gst/gstsegment.c: (gst_segment_set_duration),
12127 (gst_segment_set_last_stop), (gst_segment_set_seek),
12128 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12129 (gst_segment_to_running_time), (gst_segment_clip):
12130 Use G_UNLIKELY to help the compiler a bit.
12132 2006-06-12 Wim Taymans <wim@fluendo.com>
12134 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12136 * gst/gstevent.c: (gst_event_get_type):
12137 * gst/gstmessage.c:
12138 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12140 constify quark registration strings. Fixes #344115
12141 Avoid unneeded type checking is _pad_push() by internally
12142 calling gst_pad_chain_unchecked().
12144 2006-06-12 Wim Taymans <wim@fluendo.com>
12146 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12147 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12148 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12149 (gst_buffer_is_span_fast), (gst_buffer_span):
12150 Init _type for consistency.
12151 Use _FLAGS macro to avoid type check.
12152 Avoid unneeded type checks in subbufer code.
12154 2006-06-12 Wim Taymans <wim@fluendo.com>
12156 * gst/gst.c: (gst_debug_help):
12157 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12158 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12159 (gst_plugin_feature_list_free):
12160 * gst/gstregistry.c: (gst_registry_add_plugin),
12161 (gst_registry_add_feature), (gst_registry_plugin_filter),
12162 (gst_registry_feature_filter), (gst_registry_find_plugin),
12163 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12164 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12165 * gst/gstregistryxml.c: (load_feature),
12166 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12167 * gst/gstminiobject.c: (gst_mini_object_unref),
12168 (gst_mini_object_replace), (gst_value_mini_object_free),
12169 (gst_value_mini_object_copy):
12170 Use _CAST macros to avoid unneeded type checking.
12171 Added some more G_UNLIKELY.
12173 2006-06-12 Wim Taymans <wim@fluendo.com>
12176 Avoid unneeded type checking.
12177 API: GST_BUFFER_IS_DISCONT
12179 * gst/gstminiobject.h:
12180 Avoid type check in flag accessor.
12182 * gst/gstelementfactory.h:
12184 * gst/gstpluginfeature.h:
12186 API: GST_ELEMENT_FACTORY_CAST
12187 API: GST_PLUGIN_CAST
12188 API: GST_PLUGIN_FEATURE_CAST
12190 2006-06-12 Wim Taymans <wim@fluendo.com>
12192 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12193 (gst_object_unref):
12194 Add G_UNLIKELY in type registration.
12195 Avoid type check in _ref/_unref since that is also
12198 2006-06-12 Wim Taymans <wim@fluendo.com>
12200 * gst/gsterror.c: (gst_g_error_get_type):
12201 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12202 (gst_static_pad_template_get_type):
12203 * gst/gsttaglist.c: (gst_tag_list_get_type):
12204 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12205 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12206 * gst/gsturi.c: (gst_uri_handler_get_type):
12207 * gst/gstvalue.c: (gst_date_get_type):
12208 * gst/gstxml.c: (gst_xml_get_type):
12209 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12210 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12211 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12212 Add G_UNLIKELY in type registration.
12214 2006-06-12 Wim Taymans <wim@fluendo.com>
12216 * tools/gst-inspect.c: (print_signal_info):
12217 Properly print enum values.
12219 2006-06-12 Wim Taymans <wim@fluendo.com>
12221 * gst/gstinfo.c: (gst_debug_set_active),
12222 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12224 Add some G_[UN]LIKELY.
12225 Maintain __gst_debug_min to avoid formatting the arguments of
12226 debug messages that will be dropped anyway to avoid a lot of
12227 overhead from the debugging system.
12229 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12232 * po/POTFILES.skip:
12233 add missing files containing translatable strings, tell intltool about
12236 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12238 * tests/check/libs/.cvsignore:
12239 add test-binary to ignore list
12241 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12243 * docs/libs/gstreamer-libs-docs.sgml:
12244 reorder (put dp into a chapter) and indent
12246 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12251 === release 0.10.8 ===
12253 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12256 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12258 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12260 * gst/gst.c: (init_post):
12261 move pid declaration to declaration block
12263 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12265 * gst/gst.c: (init_post):
12266 use _exit() instead of exit() in our forked child; this ensures
12267 that none of the registered exit handlers from whatever is using
12268 GStreamer get executed. This fixes gnome-mixer-applet failing
12269 to load, because ORBit would shut down.
12270 Spotted by: Edward Hervey <edward@fluendo.com>
12271 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12274 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12279 === release 0.10.7 ===
12281 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12284 releasing 0.10.7, "Soepeke, ik zie ou"
12286 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12309 * win32/common/config.h:
12310 0.10.6.2 prerelease
12312 2006-06-07 Wim Taymans <wim@fluendo.com>
12314 * gst/gstindex.c: (gst_index_gtype_resolver):
12315 * tools/gst-xmlinspect.c: (print_plugin_info):
12316 Fix leak spotted by coverity checker. Fixes #343827
12317 Fix another other leak found by paolo borelli.
12319 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12321 * libs/gst/dataprotocol/dataprotocol.c:
12322 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12323 (gst_dp_version_get_type), (gst_dp_init),
12324 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12325 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12326 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12327 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12328 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12329 (gst_dp_packetizer_free):
12330 * libs/gst/dataprotocol/dataprotocol.h:
12331 API: add a GstDPPacketizer object, and create/free functions
12332 API: add GstDPVersion enum
12333 Add 1.0 event function that uses the string serialization
12334 Serialize more useful buffer flags
12337 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12339 * tests/check/Makefile.am:
12340 * tests/check/gst/gstabi.c:
12341 * tests/check/gst/struct_ppc64.h:
12342 * tests/check/libs/libsabi.c:
12343 * tests/check/libs/struct_ppc64.h:
12344 add ppc64 structure sizes
12346 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12348 * tests/check/Makefile.am:
12349 * tests/check/gst/gstabi.c:
12350 * tests/check/gst/struct_x86_64.h:
12351 * tests/check/libs/libsabi.c:
12352 * tests/check/libs/struct_x86_64.h:
12353 generate and add structure size lists for x86_64
12355 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12357 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12358 * libs/gst/check/gstcheck.h:
12359 factor out the method from tests that checks size of structures,
12360 and add code to generate the header containing these sizes
12361 * tests/check/gst/gstabi.c: (GST_START_TEST):
12362 * tests/check/gst/struct_i386.h:
12363 * tests/check/libs/libsabi.c: (GST_START_TEST):
12364 * tests/check/libs/struct_i386.h:
12367 2006-06-06 Michael Smith <msmith@fluendo.com>
12369 * gst/gstsegment.h:
12370 Don't use c++-style comments, fixes #343929
12372 2006-06-05 Edward Hervey <edward@fluendo.com>
12375 plugin_paths is not used if we build without registry support.
12377 * gst/gstsegment.c: (gst_segment_copy):
12378 _copy() was always returning NULL...
12380 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12382 * libs/gst/dataprotocol/dataprotocol.c:
12383 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12384 (gst_dp_packet_from_event):
12385 factor out CRC code
12387 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12389 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12390 make sure we unset caps
12392 2006-06-02 Michael Smith <msmith@fluendo.com>
12394 * libs/gst/check/gstcheck.c: (gst_check_init),
12395 (gst_check_chain_func):
12396 * libs/gst/check/gstcheck.h:
12397 Add a cond/mutex to the check support lib, signal this whenever we
12398 add to the buffers list. This will allow tests to not busy-wait on
12401 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12403 * libs/gst/dataprotocol/dataprotocol.c:
12404 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12405 (gst_dp_packet_from_event):
12406 factor out some common header init code
12408 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12410 * docs/libs/gstreamer-libs-sections.txt:
12411 * docs/libs/tmpl/gstdataprotocol.sgml:
12412 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12413 * libs/gst/dataprotocol/dataprotocol.h:
12414 API: make gst_dp_crc() public
12416 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12418 * plugins/indexers/gstindexers.c: (plugin_init):
12419 conditionally register fileindexer (fixes #343598)
12421 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12423 * gst/gsttagsetter.h:
12424 Can't cast ifaces to a class
12426 * libs/gst/net/gstnetclientclock.h:
12427 * libs/gst/net/gstnettimeprovider.h:
12428 * plugins/elements/gstfakesink.h:
12429 * plugins/elements/gstfakesrc.h:
12430 * plugins/elements/gstfdsink.h:
12431 * plugins/elements/gstfdsrc.h:
12432 * plugins/elements/gstfilesink.h:
12433 * plugins/elements/gstfilesrc.h:
12434 * plugins/elements/gstidentity.h:
12435 * plugins/elements/gstqueue.h:
12436 * plugins/elements/gsttee.h:
12437 * plugins/indexers/gstfileindex.c:
12438 * plugins/indexers/gstmemindex.c:
12439 * tests/old/examples/plugins/example.h:
12440 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12442 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12444 * libs/gst/dataprotocol/dataprotocol.c:
12445 (gst_dp_header_from_buffer):
12446 make sure we zero the whole ABI-compatible area
12448 2006-06-01 Wim Taymans <wim@fluendo.com>
12450 Patch by: Alessandro Decina <alessandro at nnva dot org>
12452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12453 Make sure the EOS flag is cleared from pads after a flush
12454 or stop. Fixes #343538.
12456 * tests/check/libs/collectpads.c: (GST_START_TEST),
12457 (gst_collect_pads_suite):
12458 Added test for collectpads reusage after EOS.
12460 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12463 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12464 * win32/common/libgstbase.def:
12465 export gst_collect_pads_set_flushing
12466 * win32/common/libgstreamer.def:
12467 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12468 gst_value_fraction_multiply
12469 * win32/vs6/gst_inspect.dsp:
12470 add a link to intl.lib
12472 2006-05-30 Wim Taymans <wim@fluendo.com>
12474 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12475 (gst_collect_pads_chain):
12476 Handle the case where a pad is removed from the collection
12477 that could cause the other pads to become collectable.
12479 2006-05-30 Wim Taymans <wim@fluendo.com>
12481 * gst/gstelement.c:
12482 Clarify the use of _release_request_pad() and
12483 _get_request_pad() a bit better.
12485 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12486 (gst_adapter_take_buffer):
12487 Fix some doc and comment typos.
12489 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12491 * docs/gst/gstreamer-sections.txt:
12492 * docs/libs/gstreamer-libs-sections.txt:
12493 add declared symbols
12495 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12497 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12498 Add debug that can be enabled using a #define at the top of the file,
12499 for dumping stats about how late/early we were when waking up from
12500 waiting on the clock.
12502 2006-05-30 Wim Taymans <wim@fluendo.com>
12504 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12505 When rebuilding the pad list, don't leak the previous list.
12507 2006-05-30 Wim Taymans <wim@fluendo.com>
12509 Patch by: Lutz Mueller <lutz at topfrose dot de>
12511 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12512 (gst_base_src_get_query_types), (gst_base_src_update_length):
12513 Publish supported query types.
12514 Update last_stop field in get_range mode so the position
12515 query works. Fixes #342321.
12517 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12519 * docs/gst/gstreamer-sections.txt:
12520 * gst/gsttaglist.c: (_gst_tag_initialize):
12521 * gst/gsttaglist.h:
12522 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12524 2006-05-30 Wim Taymans <wim@fluendo.com>
12526 Patch by: Alessandro Decina <alessandro at nnva dot org>
12528 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12529 Unlock mutex when removing an unknown pad.
12532 * tests/check/Makefile.am:
12533 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12534 (push_event), (setup), (teardown), (GST_START_TEST),
12535 (gst_collect_pads_suite), (main):
12536 Added collecpads check, disabled for now as check crashes for
12539 2006-05-29 Wim Taymans <wim@fluendo.com>
12541 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12542 Don't leak pads lists.
12544 2006-05-29 Wim Taymans <wim@fluendo.com>
12546 * docs/libs/gstreamer-libs-sections.txt:
12547 * libs/gst/base/gstcollectpads.c:
12548 (gst_collect_pads_set_flushing_unlocked),
12549 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12550 (gst_collect_pads_stop):
12551 * libs/gst/base/gstcollectpads.h:
12552 API: gst_collect_pads_set_flushing()
12553 Added api to set the pads to flushing, useful for seeking
12554 code in elements using collectpads.
12555 Clear segment when receiving a flush.
12557 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12559 * gst/gst.c: (add_path_func), (init_post):
12560 Don't scan registry paths passed via --gst-plugin-path immediately
12561 (will crash, because absolutely nothing is set up and no types are
12562 registered etc.); do this later in init_post(). Fixes #343057.
12564 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12566 * gst/gst.c: (init_post):
12567 if we have fork, fork while reading/rebuilding the registry
12568 so the parent doesn't take the hit of having all plugins loaded
12569 in memory. Fixes #342777.
12571 Check if we have fork()
12572 * win32/common/config.h.in:
12575 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12577 * plugins/elements/gstelements.c:
12578 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12579 (gst_file_src_init), (gst_file_src_set_property),
12580 (gst_file_src_get_property), (gst_file_src_start):
12581 * plugins/elements/gstfilesrc.h:
12582 API: GstFileSrc::use-mmap
12584 Add a use-mmap property to enable easier testing of all code paths.
12585 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12586 in the absence of gnomevfssrc. (Closes #340501)
12588 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12590 * tools/gst-inspect.c:
12591 Add missing include, removes warning of ngettext not being defined on
12594 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12596 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12597 Handle NULL input and output pointers silently as a failed conversion,
12598 rather than g_warnings.
12600 2006-05-25 Wim Taymans <wim@fluendo.com>
12602 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12603 Initialize variable before using. Fixes #342820.
12605 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12607 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12608 Fix off-by-one bug that would only allow peeks of N-1 bytes
12609 from the start even if the buffer to typefind on contains
12610 in fact N bytes of data (makes vorbis typefinding from a
12611 vorbis identification header buffer work).
12613 * tests/check/Makefile.am:
12614 * tests/check/libs/.cvsignore:
12615 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12616 (gst_typefindhelper_suite), (main), (foobar_typefind),
12618 Add very basic unit test for gst_type_find_helper_for_buffer()
12619 that checks for the problem fixed above.
12621 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12623 * tools/gst-inspect.c: (print_interfaces),
12624 (print_element_properties_info), (print_element_list), (main):
12625 add more translatable strings
12627 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12629 Patch by: Julien Moutte <julien at moutte net>
12631 * docs/gst/gstreamer-sections.txt:
12632 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12634 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12635 (gst_fake_sink_preroll):
12636 * plugins/elements/gstfakesink.h:
12637 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12639 2006-05-23 Wim Taymans <wim@fluendo.com>
12641 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12643 Added _CUSTOM error and success GstFlowReturn that can be
12644 used be elements internally.
12645 Added macro to check for SUCCESS flowreturns.
12646 API: GST_FLOW_CUSTOM_SUCCESS
12647 API: GST_FLOW_CUSTOM_ERROR
12648 API: GST_FLOW_IS_SUCCESS
12650 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12651 Added check for GstFlowReturn sanity.
12653 2006-05-23 Wim Taymans <wim@fluendo.com>
12655 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12657 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12658 (gst_collect_pads_event):
12659 clear/reset segment info in FLUSH_STOP.
12662 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12664 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12665 (gst_collect_pads_check_collected):
12666 Flush queued buffer on _stop(), fixes playing again (#342454)
12668 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12670 * tests/check/gst/gststructure.c: (GST_START_TEST),
12671 (gst_structure_suite):
12672 add a test for a complete structure
12674 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12676 * docs/faq/developing.xml:
12677 * docs/faq/faq.xml:
12678 * docs/faq/troubleshooting.xml:
12679 * docs/faq/using.xml:
12680 Some minor FAQ updates that won't change the fact that
12681 our FAQ is badly structured, full of information hardly
12682 anyone new to GStreamer needs to know and lacking lots
12683 of information people constantly ask for.
12685 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12687 * gst/gstpad.c: (gst_pad_set_caps):
12688 Short-circuit gst_pad_set_caps if setting the existing
12689 caps pointer again, and avoid printing debug and
12690 reffing/unreffing the caps.
12692 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12693 There's actually no need to set the caps before pushing -
12694 the acceptcaps method will handle it anyway.
12696 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12698 * docs/gst/gstreamer-sections.txt:
12699 * win32/common/libgstreamer.def:
12700 * gst/gstutils.c: (gst_element_seek_simple):
12702 API: add gst_element_seek_simple() (#342238).
12704 2006-05-18 Edward Hervey <edward@fluendo.com>
12706 * gst/gsttypefind.c: (gst_type_find_get_type):
12707 * gst/gsttypefind.h:
12708 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12709 registered for GstTypeFind pointers. This allows wrapping the structure
12710 in bindings (i.e. gst-python).
12712 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12714 * gst/gsttagsetter.c:
12715 Docs additions and fixes (see #339918).
12717 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12719 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12720 The caps intersection algorithm can produce multiple copies of the
12721 caps. Until that is fixed, we need to simplify the result to be
12722 sure whether the allowed caps are fixed or not.
12724 * plugins/elements/gstqueue.c: (gst_queue_init),
12725 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12726 (gst_queue_push_one):
12727 Proxied buffer alloc should not set the caps on the source pad.
12728 When pushing buffers, we always accept the caps change that triggers.
12729 This prevents negotiation errors caused by caps changing mid-stream
12730 and then being refused on our source pad (because upstream is now
12731 refusing those caps).
12733 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12735 * tests/examples/helloworld/helloworld.c: (main):
12736 Must plug audioconvert and audioresample between decoder
12739 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12741 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12742 (load_feature), (load_plugin):
12743 Allow empty strings for some of the plugin fields so we don't
12744 drop valid plugin entries that were written out correctly
12747 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12749 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12750 Use g_remove and g_rename instead of remove and rename that don't
12751 handle utf8 characters. rename was failing for users who had specific
12752 characters in their name then the registry was built at each
12754 * win32/vs6/gst_inspect.dsp:
12755 * win32/vs6/gst_launch.dsp:
12756 * win32/vs6/libgstbase.dsp:
12757 * win32/vs6/libgstcoreelements.dsp:
12758 * win32/vs6/libgstreamer.dsp:
12759 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12760 build of libgstreamer and clean unused libraries in projects link
12763 2006-05-17 Edward Hervey <edward@fluendo.com>
12765 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12766 The queue is not responsible for pushing an EOS when receiving a fatal
12767 flow error. It's up to the real element driving the pipeline to do that.
12769 2006-05-16 Edward Hervey <edward@fluendo.com>
12771 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12772 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12773 buffer returned a fatal error. It should just send an EOS and stop
12775 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12776 when pushing buffers on the queue and will be able to handle the event.
12778 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12780 * docs/manual/basics-bins.xml:
12781 * docs/manual/basics-init.xml:
12782 Fix typos and minor errors in sample code (#341856).
12784 2006-05-16 Wim Taymans <wim@fluendo.com>
12786 * docs/design/part-qos.txt:
12787 Fix indexes in formulas to make more sense.
12789 2006-05-15 Wim Taymans <wim@fluendo.com>
12791 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12792 Don't report POSITION based on clock time if sync is
12793 disabled in a sink.
12795 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12798 Add cast to make compiler happy - refcount variable was a gint
12799 in GstObject but is a guint in GObject and g_atomic_int_get()
12802 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12804 * gst/parse/Makefile.am:
12805 chain commands using &&, which also makes parallel make work
12807 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12809 * docs/gst/gstreamer-sections.txt:
12812 * gst/gstmessage.h:
12815 === release 0.10.6 ===
12817 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12820 releasing 0.10.6, "Take the cannoli"
12822 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12824 * tools/gst-launch.c: (print_tag):
12825 Fix use of uninitialized variable in the hypothetical
12826 case that some broken plugin creates a GST_TAG_IMAGE
12827 tag containing a NULL buffer (#341667).
12829 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12831 * tools/gst-launch.c: (print_tag):
12832 Print something more intelligible for image tags when
12833 using the -t switch (#341556).
12835 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12840 define GST_MAJORMINOR so we have it available in win32/common/config.h
12841 Possibly remove it from our Makefile.am files later
12842 * win32/common/config.h:
12843 * win32/common/config.h.in:
12844 added GST_MAJORMINOR
12845 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12846 * win32/common/gstversion.h:
12849 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12852 Update win32 files listing.
12853 * win32/common/gstversion.h:
12854 Add GST_MAJORMINOR definition.
12855 * win32/common/libgstreamer.def:
12856 Add new exported functions.
12858 2006-05-12 Michael Smith <msmith@fluendo.com>
12860 * gst/gstplugin.c: (gst_plugin_load_file):
12861 If an so file has no plugin entry point, unload the module.
12863 2006-05-11 Wim Taymans <wim@fluendo.com>
12865 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12866 (gst_queue_set_property):
12867 Don't forget to signal the _chain or _loop function
12868 when the queue size or thresholds change since that might
12869 cause them to make progres again.
12871 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12873 * gst/gstclock.c: (gst_clock_class_init):
12874 * gst/gstindex.c: (gst_index_class_init):
12875 * gst/gstobject.c: (gst_object_class_init):
12876 * gst/gstpad.c: (gst_pad_class_init):
12877 * gst/gstpipeline.c: (gst_pipeline_class_init):
12878 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12879 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12880 * libs/gst/base/gstbasetransform.c:
12881 (gst_base_transform_class_init):
12882 * libs/gst/net/gstnetclientclock.c:
12883 (gst_net_client_clock_class_init):
12884 * libs/gst/net/gstnettimeprovider.c:
12885 (gst_net_time_provider_class_init):
12886 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12887 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12888 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12889 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12890 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12891 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12892 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12893 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12894 * plugins/elements/gsttee.c: (gst_tee_class_init):
12895 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12896 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12897 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12899 2006-05-11 Wim Taymans <wim@fluendo.com>
12901 * gst/gstbuffer.c: (_gst_buffer_initialize):
12902 Register subbufer along with the buffer type so that
12903 it does not accidentally gets registered from N
12904 different streaming threads in a non threadsafe way.
12906 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12910 * gst/gstmessage.h:
12911 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12912 gst_event_ref() and gst_message_ref() functions again
12913 (ugly hack, please do fix if there's a better way besides
12914 overrides.txt, which doesn't seem to work).
12916 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12918 * libs/gst/check/gstcheck.h:
12919 add an assert for setting state to avoid lots of repetitive code
12922 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12924 * gst/gstvalue.c: (gst_value_serialize_flags):
12925 fix a leak if no flags are set
12926 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12929 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12931 * docs/manual/basics-pads.xml:
12932 Expand a bit on caps and filtered links and update
12933 examples that were still using the no longer existing
12934 gst_pad_link_filtered() (#338206).
12936 2006-05-10 Wim Taymans <wim@fluendo.com>
12938 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12939 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12940 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12941 (gst_collect_pads_stop):
12942 * libs/gst/base/gstcollectpads.h:
12943 No need to call _stop in _finalize.
12944 Iterate the main pad list in _finalize.
12945 Added some more debug.
12946 Free lists and data in the right order.
12947 Also free data whem doing _remove_pad when stopped for
12948 backward compatibility protect ::started with PAD_LOCK as
12951 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12953 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12954 (gst_structure_parse_value):
12956 rename a method so that it actually says what it does better
12958 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12960 * gst/gstevent.c: (_gst_event_initialize):
12961 * gst/gstformat.c: (_gst_format_initialize):
12962 make sure some essential types used by events are registered
12963 as part of gst_init()
12964 * gst/gstvalue.c: (gst_value_serialize_flags):
12965 if no flags are set, serialize them to a value that represents NONE
12966 so that deserializing them works
12967 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12968 add tests for serialization and deserialization of flags
12970 2006-05-10 Wim Taymans <wim@fluendo.com>
12972 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12973 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12974 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12975 (gst_collect_pads_event), (gst_collect_pads_chain):
12978 Catch and return errors from the collect function
12979 Refuse data on eos pads.
12981 2006-05-10 Edward Hervey <edward@fluendo.com>
12983 * gst/gstinterface.h:
12984 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12985 GInterface type checking.
12986 They were previously using non-defined macros.
12988 2006-05-09 Wim Taymans <wim@fluendo.com>
12990 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12991 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12992 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12993 (gst_collect_pads_start), (gst_collect_pads_stop),
12994 (gst_collect_pads_peek), (gst_collect_pads_pop),
12995 (gst_collect_pads_available), (gst_collect_pads_read),
12996 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12997 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12998 (gst_collect_pads_chain):
12999 * libs/gst/base/gstcollectpads.h:
13000 Clean up the mess that is collectpads, add comments and
13001 FIXMEs where needed.
13002 Maintain a separate pad list so we can add pads while
13003 collecting the other ones. For this we need a new separate
13005 Fix memory leak in finalize.
13006 Refactor some weird code to set/unset pad flushing flags, mark
13008 Don't crash in _available, _read, _flush when we're EOS.
13010 * tests/check/libs/.cvsignore:
13011 Ignore adapter check binary.
13013 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13015 * gst/gstindex.c: (gst_index_resolver_get_type):
13016 * plugins/elements/gstfakesink.c:
13017 (gst_fake_sink_state_error_get_type):
13018 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13019 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13020 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13021 Const-ify GEnumValue arrays.
13023 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13025 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13026 Add test case for flags + gst_buffer_make_metadata_writable().
13028 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13030 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13031 gst_buffer_make_metadata_writable() should maintain the
13032 buffer flags (those that make sense at least) (see #340859).
13034 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13036 * tools/gst-inspect.c:
13037 * tools/gst-launch.c:
13038 * tools/gst-typefind.c:
13039 * tools/gst-xmlinspect.c:
13041 Fix up includes: need to include stdlib.h in tools.h for exit().
13043 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13045 * gst/gsttaglist.c: (_gst_tag_initialize):
13046 * gst/gsttaglist.h:
13047 API: add GST_TAG_IMAGE tag (#340721).
13049 2006-05-08 Wim Taymans <wim@fluendo.com>
13052 Added some docs for the segment query.
13054 2006-05-08 Wim Taymans <wim@fluendo.com>
13056 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13057 (gst_base_src_loop), (gst_base_src_change_state):
13058 Always push non-flushing serialized events in the streaming
13061 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13063 * gst/gsterror.c: (_gst_stream_errors_init):
13064 Add a missing error string.
13066 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13068 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13069 Add applied_rate to the debug
13071 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13072 Copy applied_rate into the outgoing NEWSEGMENT event
13074 2006-05-08 Wim Taymans <wim@fluendo.com>
13076 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13078 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13079 (gst_base_sink_change_state):
13080 call ::unlock before taking the PREROLL_LOCK so we can safely
13081 handle elements that lock in ::render.
13084 2006-05-08 Edward Hervey <edward@fluendo.com>
13086 * autogen.sh: (CONFIGURE_DEF_OPT):
13087 Darwin's libtoolize is in fact called glibtoolize.
13088 Adding glibtoolize to the list of accepted names for libtoolize.
13090 2006-05-08 Wim Taymans <wim@fluendo.com>
13092 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13093 Unify error handling, don't post an error message
13094 when a push() returns EOS but perform our normal EOS
13095 handling code. Fixes #340772.
13097 2006-05-08 Wim Taymans <wim@fluendo.com>
13099 * docs/design/part-overview.txt:
13100 Make upsteam/downstream concepts more clear.
13101 Give an example of serialized/non-serialized events.
13103 * docs/design/part-events.txt:
13104 * docs/design/part-streams.txt:
13105 Mention applied_rate.
13107 * docs/design/part-trickmodes.txt:
13108 Mention applied rate, flesh out some more use cases.
13110 * gst/gstevent.c: (gst_event_new_new_segment),
13111 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13112 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13113 (gst_event_parse_tag), (gst_event_new_buffer_size),
13114 (gst_event_parse_buffer_size), (gst_event_new_qos),
13115 (gst_event_parse_qos), (gst_event_parse_seek),
13116 (gst_event_new_navigation):
13118 Add applied_rate field to NEWSEGMENT event.
13119 API: gst_event_new_new_segment_full()
13120 API: gst_event_parse_new_segment_full()
13122 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13123 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13124 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13125 * gst/gstsegment.h:
13126 Add applied_rate to GstSegment structure.
13127 Make calculation of stream_time and running_time more correct
13128 wrt rate/applied_rate.
13129 Add some more docs.
13130 API: GstSegment::applied_rate field
13131 API: gst_segment_set_newsegment_full();
13133 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13134 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13135 * libs/gst/base/gstbasetransform.c:
13136 (gst_base_transform_sink_eventfunc),
13137 (gst_base_transform_handle_buffer):
13138 Parse and use applied_rate in the GstSegment field.
13140 * tests/check/gst/gstevent.c: (GST_START_TEST):
13141 Add check for applied_rate field.
13143 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13144 (gstsegments_suite):
13145 Add more checks for various GstSegment operations.
13147 2006-05-08 Wim Taymans <wim@fluendo.com>
13149 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13150 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13151 (gst_base_sink_get_position), (gst_base_sink_change_state):
13152 Store the sync time of the buffer end position separatly in a
13153 new variable eos_rtime so we can properly sync the EOS event.
13155 Fix the docs for gst_base_sink_set_qos_enabled().
13156 Don't set segment start to invalid value when we receive a
13157 non TIME newsegment.
13158 get closer to handling position reporting for negative rates
13161 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13164 Docs about how to print caps for debug purposes.
13166 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13167 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13169 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13171 * gst/gstelement.c:
13172 use full enum names and preprend a '%' in docs strings to make recent
13173 gtk-doc turn that into a link
13175 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13177 * docs/manual/basics-bins.xml:
13178 * docs/manual/basics-bus.xml:
13179 * docs/manual/basics-pads.xml:
13180 Some typo fixes, some additions, some clarifications.
13182 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13184 * tools/gst-inspect.c: (main):
13185 * tools/gst-launch.c: (main):
13186 * tools/gst-run.c: (main):
13187 * tools/gst-typefind.c: (main):
13188 * tools/gst-xmlinspect.c: (main):
13189 Use the string passed to g_option_context_new() for
13190 what it's intended for - the program name is already
13193 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13195 * tools/Makefile.am:
13196 * tools/gst-inspect.c: (main):
13197 * tools/gst-launch.c: (main):
13198 * tools/gst-xmlinspect.c: (main):
13200 Add back --version command line option (#340460).
13202 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13203 Add --version option and use GOption for argument parsing; refactor a
13204 bit; accept directories as arguments and recurse into them; lastly,
13205 print a decent error message when things go wrong.
13207 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13209 * docs/manual/basics-bins.xml:
13210 Don't mention GstThread (#340611)
13211 * docs/manual/basics-elements.xml:
13212 Update link to GObject tutorial (#340607)
13214 2006-05-05 Wim Taymans <wim@fluendo.com>
13217 * gst/gstminiobject.c:
13218 Add note about refcounting and miniobject/buffer writeability
13219 to docs. Fixes #340604
13221 * gst/gstelementfactory.h:
13222 Added some explanation about @klass.
13224 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13226 * docs/manual/intro-motivation.xml:
13227 * docs/manual/manual.xml:
13228 Avoid CORBA & Bonobo references (#340598)
13230 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13232 * docs/manual/basics-bus.xml:
13233 * docs/manual/basics-pads.xml:
13234 Fix up some inaccuracies and omissions (#340609)
13236 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13238 * gst/gstghostpad.c:
13239 Small typo in docs (#340625)
13241 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13243 * gst/parse/Makefile.am:
13244 Make 'make -j' proof (see #340698).
13246 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13249 Require GLib-2.8 here as well.
13251 2006-05-05 Wim Taymans <wim@fluendo.com>
13253 * gst/glib-compat.c:
13254 * gst/gst.c: (init_pre):
13255 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13256 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13257 (gst_object_dispatch_properties_changed):
13259 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13260 * gst/gststructure.c: (gst_structure_set_valist):
13261 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13262 Remove pre glib2.8 compatibility, fixes #340508
13264 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13266 * gst/gsttaglist.h:
13267 Mention type of tags in doc blurbs.
13269 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13271 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13272 (gst_pad_configure_src), (gst_pad_push):
13273 Restore acceptcaps checking behaviour now that good plugins have
13276 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13278 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13285 * gst/gstmessage.c:
13289 * gst/parse/Makefile.am:
13290 * libs/gst/base/gstadapter.c:
13291 * libs/gst/base/gstbasesrc.c:
13292 * libs/gst/base/gstpushsrc.c:
13293 * libs/gst/base/gsttypefindhelper.c:
13294 * plugins/elements/gstfakesrc.c:
13295 * plugins/elements/gstidentity.c:
13296 Make sure gstprivate.h and/or config.h are
13297 always included first, otherwise some of our
13298 defines (like _FILE_OFFSET_BITS) might be
13299 redefined in the system headers. Fixes build
13300 on opensolaris (#340016).
13302 2006-05-04 Wim Taymans <wim@fluendo.com>
13304 * docs/libs/gstreamer-libs-sections.txt:
13305 API: addition: gst_adapter_take_buffer()
13307 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13308 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13309 (gst_adapter_available_fast):
13310 * libs/gst/base/gstadapter.h:
13311 Prepare for optimizing the hell out of this hugely inefficient
13313 Added gst_adapter_take_buffer() so we can at least start thinking
13314 about subbuffering and merging.
13315 Added some comments.
13317 * tests/check/Makefile.am:
13318 * tests/check/libs/adapter.c: (GST_START_TEST),
13319 (gst_adapter_suite), (main):
13320 Added GstAdapter check.
13322 2006-05-04 Wim Taymans <wim@fluendo.com>
13324 * docs/design/part-overview.txt:
13325 Fix some typos, add blurb about buffer flags.
13327 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13329 * docs/libs/gstreamer-libs-sections.txt:
13330 make sure GstBaseTransformClass shows up in the docs
13331 * libs/gst/base/gstbasetransform.c:
13332 * libs/gst/base/gstbasetransform.h:
13333 move docs so gtk-doc picks it up now
13335 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13337 * docs/libs/gstreamer-libs-sections.txt:
13338 add missing symbols to docs
13340 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13343 back out the newsegment handling change, see #340060 for ongoing
13346 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13348 * tools/gst-run.c: (get_candidates), (main):
13349 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13350 work); fix typo in error message. Fixes #340079.
13352 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13354 * common/Makefile.am:
13355 * docs/Makefile.am:
13356 * docs/faq/Makefile.am:
13357 * docs/gst/Makefile.am:
13358 * docs/libs/Makefile.am:
13359 * docs/manual/Makefile.am:
13360 * docs/plugins/Makefile.am:
13361 * docs/pwg/Makefile.am:
13362 * docs/slides/Makefile.am:
13364 * common/upload.mak:
13365 move upload.mak to common
13367 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13369 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13370 add more asserts on refcounts
13371 do more cleanup at end of tests
13372 fix test leaks showing in FC5
13374 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13376 * plugins/elements/gsttypefindelement.c:
13377 (gst_type_find_element_handle_event):
13378 reverted wrong change and reflowed code to avoid others falling into
13381 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13383 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13384 fix changelog entry about last collectpads change,
13385 add notes about proper fix
13387 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13390 * gst/gstregistry.c: (gst_registry_scan_path_level),
13391 (gst_registry_scan_path):
13392 * gst/gstregistry.h:
13393 only write out registry if it has changed, fixes #338339
13395 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13398 * gst/gstpipeline.c:
13399 * plugins/elements/gstcapsfilter.c:
13400 * plugins/elements/gstfakesink.c:
13401 * plugins/elements/gstfakesrc.c:
13402 * plugins/elements/gstfdsink.c:
13403 * plugins/elements/gstfdsrc.c:
13404 * plugins/elements/gstfilesink.c:
13405 * plugins/elements/gstfilesrc.c:
13406 * plugins/elements/gstidentity.c:
13407 * plugins/elements/gstqueue.c:
13408 * plugins/elements/gsttee.c:
13409 * plugins/elements/gsttypefindelement.c:
13410 (gst_type_find_element_handle_event):
13411 make GstElementDetails const
13413 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13415 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13416 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13417 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13418 more detailed debug and formatting cleanup,
13419 forward newsegments to src-pad (so that e.g. adder not eats them)
13421 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13423 * gst/gstutils.c: (gst_element_link_pads):
13424 cleanup double code
13426 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13428 * libs/gst/controller/gstcontroller.c:
13429 (gst_controller_sync_values):
13431 * tests/check/libs/controller.c: (GST_START_TEST),
13432 (gst_controller_suite):
13433 a new test for live value handling
13435 2006-04-28 Wim Taymans <wim@fluendo.com>
13437 * gst/gstutils.c: (push_and_ref):
13438 Added some more docs.
13439 Fix refcount issue whith gst_element_found_tags() helper
13440 function. Fixes #338335
13442 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13443 Added testsuite for gst_element_found_tags().
13445 2006-04-28 Michael Smith <msmith@fluendo.com>
13447 * gst/gstvalue.c: (gst_value_serialize_flags):
13448 Avoid NULL dereference when trying to serialize flags containing
13451 2006-04-28 Michael Smith <msmith@fluendo.com>
13453 * plugins/elements/gsttypefindelement.c:
13454 (gst_type_find_element_handle_event):
13455 If we get EOS before any data is accumulated, don't use
13456 uninitialised local variables.
13458 2006-04-28 Michael Smith <msmith@fluendo.com>
13460 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13461 (gst_dp_event_from_packet):
13462 Fixes in reading/writing events over GDP (not currently used?) -
13463 dereferencing NULL events for unknown/invalid event types, memory
13464 leak, and change g_warning to GST_WARNING.
13466 2006-04-28 Wim Taymans <wim@fluendo.com>
13468 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13469 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13470 (gst_base_sink_get_position), (gst_base_sink_change_state):
13471 When frame dropping is enabled, we should not ignore frames
13472 without a duration.
13473 Update some documentation.
13475 2006-04-28 Wim Taymans <wim@fluendo.com>
13477 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13478 (gst_base_src_send_event), (gst_base_src_change_state):
13479 Documentation updates.
13481 2006-04-28 Wim Taymans <wim@fluendo.com>
13483 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13484 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13485 handle EAGAIN, EINTR and short writes correctly. Also clean
13486 up some error cases, avoid a deadlock on bad file descriptors and
13487 use GST_DEBUG_OBJECT.
13490 2006-04-28 Wim Taymans <wim@fluendo.com>
13492 * gst/gstvalue.c: (gst_value_serialize_buffer),
13493 (gst_value_deserialize_buffer):
13494 Don't try to serialize a GValue with a NULL buffer.
13497 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13498 Added check for serialisation of NULL buffers.
13500 2006-04-28 Wim Taymans <wim@fluendo.com>
13502 * gst/gstminiobject.c: (gst_value_take_mini_object):
13503 Taking a NULL miniobject is valid, fix the case where
13504 we try to unref the NULL miniobject.
13506 2006-04-28 Wim Taymans <wim@fluendo.com>
13508 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13510 * gst/gstbin.c: (gst_bin_handle_message_func):
13512 Don't leak bin refcount when a state recalc is
13513 in progress and we delay another one #339808.
13515 2006-04-28 Wim Taymans <wim@fluendo.com>
13517 * docs/design/part-TODO.txt:
13518 Mention QoS as an ongoing work item.
13520 * docs/design/part-buffering.txt:
13521 New doc about buffering that needs to be fleshed out
13524 * docs/design/part-qos.txt:
13525 More QoS policy for decoders/demuxers/transforms
13527 * docs/design/part-trickmodes.txt:
13530 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13535 === release 0.10.5 ===
13537 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13540 releasing 0.10.5, "Fogo"
13542 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13544 patch by: Wim Taymans
13546 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13547 (gst_pad_configure_src), (gst_pad_push):
13548 * gst/gstpipeline.c: (gst_pipeline_init):
13549 Fix internal data flow errors. Fixes #338711.
13551 2006-04-12 Wim Taymans <wim@fluendo.com>
13553 * tests/check/gst/gstelement.c: (GST_START_TEST):
13554 Don't leak the factory.
13556 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13559 * win32/common/config.h:
13562 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13564 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13565 (gst_controller_unset_all):
13566 Free allocated GstTimedValues when freeing list nodes.
13567 Should fix leaks 'make check-valgrind' complains about.
13569 * win32/common/libgstcontroller.def:
13570 Add gst_controller_unset_all.
13572 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13574 * docs/libs/gstreamer-libs-sections.txt:
13575 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13576 (gst_controller_unset_all):
13577 * libs/gst/controller/gstcontroller.h:
13578 API: Added new method gst_controller_unset_all()
13579 fixed gst_controller_unset()
13580 * tests/check/libs/controller.c: (GST_START_TEST),
13581 (gst_controller_suite):
13582 Added two testcases for new and fixed method
13584 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13586 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13587 MSG_DONTWAIT is not defined on Cygwin, so work
13588 around that (fixes #317048).
13590 2006-04-11 Wim Taymans <wim@fluendo.com>
13592 * gst/gstelementfactory.c: (gst_element_register),
13593 (gst_element_factory_create), (gst_element_factory_make):
13596 Updated docs (Fixes #131079)
13598 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13601 * tests/check/gst/gstelement.c: (GST_START_TEST),
13602 (gst_element_suite):
13603 Added testcase for elementfactory class field.
13605 2006-04-10 Wim Taymans <wim@fluendo.com>
13607 * gst/gstsegment.c:
13608 Added some more docs.
13610 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13611 (gst_base_sink_reset_qos):
13612 Calculate more accurate rate values.
13614 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13616 * gst/gst_private.h:
13617 add a new #ifdef to use __declspec(dllimport) only for
13618 other modules and not for gstreamer core
13619 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13620 use gst_guint64_to_gdouble for conversion
13621 * win32/common/libgstreamer.def:
13622 add new exported functions
13623 * win32/vs6/gst_inspect.dsp:
13624 * win32/vs6/gst_launch.dsp:
13625 * win32/vs6/libgstbase.dsp:
13626 * win32/vs6/libgstcontroller.dsp:
13627 * win32/vs6/libgstcoreelements.dsp:
13628 * win32/vs6/libgstdataprotocol.dsp:
13629 * win32/vs6/libgstnet.dsp:
13630 update project files
13632 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13634 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13635 * gst/gstclock.c: (gst_clock_class_init):
13636 * gst/gstelement.c: (gst_element_class_init):
13637 * gst/gstindex.c: (gst_index_class_init):
13638 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13639 * gst/gstobject.c: (gst_object_class_init),
13640 (gst_signal_object_class_init):
13641 * gst/gstpad.c: (gst_pad_class_init):
13642 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13643 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13644 * gst/gstregistry.c: (gst_registry_class_init):
13645 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13646 * gst/gsttask.c: (gst_task_class_init):
13647 * gst/gstxml.c: (gst_xml_class_init):
13648 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13649 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13650 (gst_base_src_loop):
13651 * libs/gst/controller/gstcontroller.c:/
13652 (_gst_controller_class_init):
13653 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13654 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13655 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13656 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13657 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13658 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13660 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13662 * gst/gstpad.c: (gst_pad_link):
13663 Must set peer pads before calling the link function, otherwise
13664 a task started from a link function might get a flow-not-linked
13665 result when trying to push because the other thread where the
13666 linking happens hasn't had a chance to set the peers yet. This
13667 might happen for example when a queue gets linked to a downstream
13668 element, as queue starts a streaming task when its source pad
13669 gets linked. Happens in real life when playing back flac/musepack
13670 files in playbin (#332390).
13672 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13676 * libs/gst/base/gstadapter.h:
13677 * libs/gst/base/gstbasesink.h:
13678 * libs/gst/base/gstbasesrc.h:
13679 * libs/gst/base/gstbasetransform.h:
13680 * libs/gst/base/gstcollectpads.h:
13681 * libs/gst/base/gstpushsrc.h:
13682 Fix broken GObject macros
13684 2006-04-07 Wim Taymans <wim@fluendo.com>
13686 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13687 Initialize start and stop times, thanks valgrind.
13689 2006-04-07 Wim Taymans <wim@fluendo.com>
13691 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13692 Be a bit nicer to badly behaving upstream elements that expect
13693 us to deal with non TIME segments and timestamps (such as fakesrc
13696 2006-04-07 Wim Taymans <wim@fluendo.com>
13699 Small documentation clarification about the signal watch.
13701 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13702 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13703 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13704 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13705 (gst_base_sink_get_position_last),
13706 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13707 Convert and store timestamps in stream time and running time, the
13708 raw timestamps are not useful, also document this better.
13709 Use different window sizes for good and bad QoS observations so
13710 we react to badness a little quicker.
13711 Keep track of the amount of rendered and dropped buffers.
13712 Send QoS timestamps in running time.
13714 * libs/gst/base/gstbasetransform.c:
13715 (gst_base_transform_sink_eventfunc),
13716 (gst_base_transform_handle_buffer):
13717 Compare QoS timestamps against running time.
13719 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13722 Typo fixes in docs.
13724 2006-04-06 Michael Smith <msmith@fluendo.com>
13726 * gst/gstpad.c: (gst_pad_set_property):
13727 Use g_value_get_object() instead of g_value_dup_gst_object(),
13728 to avoid double-reffing the pad template (which we then sink,
13729 so this worked previously if (and only if) the pad template
13732 * gst/gstpadtemplate.c: (gst_pad_template_init),
13733 (gst_pad_template_pad_created):
13734 Never return floating references to pad templates, create
13735 them as initially-sunken.
13737 Document an extra function (and make this stop sinking our
13738 pad template, since that is now guaranteed to do nothing,
13739 since we created it sunken).
13741 * gst/gstghostpad.c:
13744 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13746 * gst/gstinfo.c: (__gst_in_valgrind):
13749 * plugins/elements/gsttypefindelement.c:
13750 (gst_type_find_element_chain):
13751 Don't leak buffer caps.
13753 2006-04-06 Michael Smith <msmith@fluendo.com>
13755 * gst/parse/grammar.y:
13756 Fix a leak in parse-launch for any source-or-sink named element
13759 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13760 Unref the pipeline if it exists after we've failed parsing.
13762 2006-04-05 Michael Smith <msmith@fluendo.com>
13764 * gst/gstpipeline.c: (gst_pipeline_init):
13765 When we create a pipeline bus, initially create it in flushing mode.
13766 Fixes leaks in at least one test, and makes a new pipeline work the
13767 same as one that has gone to READY and then back to NULL.
13769 * gst/gstelement.c:
13772 2006-04-05 Michael Smith <msmith@fluendo.com>
13774 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13775 Unref a pad we reffed.
13776 * tests/check/gst/gstutils.c: (GST_START_TEST):
13779 2006-04-05 Michael Smith <msmith@fluendo.com>
13781 * gst/gstquery.c: (gst_query_set_formats),
13782 (gst_query_set_formatsv):
13783 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13785 2006-04-05 Michael Smith <msmith@fluendo.com>
13787 * tests/check/generic/sinks.c: (GST_START_TEST):
13788 Fix a variety of memleaks in sinks check, which are only sometimes
13789 shown by running the tests under valgrind (weird?).
13791 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13793 * docs/version.entities.in:
13794 Fix the substituted entity name after thomas' changes on the
13797 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13799 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13802 2006-04-05 Andy Wingo <wingo@pobox.com>
13804 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13806 * libs/gst/base/gstbasetransform.c
13807 (gst_base_transform_sink_eventfunc): When resetting our segment on
13808 FLUSH_STOP, also update the flag saying we haven't seen a
13811 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13813 Patch by: Paolo Borelli <pborelli at katamail dot com>
13815 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13816 (gst_plugin_check_license):
13817 minor clean-ups: G_DEFINE_TYPE already takes care of the
13818 parent_class stuff, no need to do it twice. Mark array of
13819 license strings as constant. (#337103)
13821 2006-04-04 Michael Smith <msmith@fluendo.com>
13823 * tools/gst-inspect.c: (print_element_list):
13824 Free the right plugin list; fixes a memory leak.
13826 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13828 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13830 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13831 Don't error out on empty buffers (#336945).
13833 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13835 * docs/libs/gstreamer-libs-sections.txt:
13836 * gst/gsttaglist.c:
13837 * libs/gst/base/gstbasesink.c:
13838 * libs/gst/base/gstbasesink.h:
13839 * libs/gst/base/gstbasesrc.c:
13840 * libs/gst/base/gstbasesrc.h:
13841 Documentation updates. Make BaseSink and BaseSrc docs contain the
13842 class structure so that people can actually see the prototypes for
13843 virtual functions they're supposed to be overriding.
13845 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13847 * plugins/elements/gsttypefindelement.c:
13848 (gst_type_find_element_chain):
13849 More debug info; when skipping typefinding, send cached
13850 events in all cases.
13852 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13855 use new AS_VERSION and AS_NANO macros
13856 * gst/gst-i18n-lib.h:
13859 * gst/gstversion.h.in:
13860 * win32/common/config.h:
13861 * win32/common/config.h.in:
13864 2006-03-31 Michael Smith <msmith@fluendo.com>
13866 * plugins/elements/gsttypefindelement.c:
13867 (gst_type_find_element_chain):
13868 Do not typefind content if the buffers already have caps.
13869 Neccesary for icydemux (#333657), and the right thing to do anyway.
13871 2006-03-30 Wim Taymans <wim@fluendo.com>
13873 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13874 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13875 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13876 (gst_base_sink_record_qos_observation),
13877 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13878 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13879 (gst_base_sink_change_state):
13880 More QoS measurements as described in the design doc.
13881 Get rid of ringbuffer with observations, running average is
13882 more simple and equally good.
13883 Calculates valid proportion now.
13884 Added beginning of flood measurement.
13886 2006-03-29 Wim Taymans <wim@fluendo.com>
13888 * docs/design/part-qos.txt:
13890 Small documentation updates and additions.
13892 2006-03-29 Wim Taymans <wim@fluendo.com>
13894 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13895 (gst_base_src_send_event), (gst_base_src_loop),
13896 (gst_base_src_change_state):
13897 Perform the EOS logic when we reach the segment stop position.
13898 Fix compilation on gcc4.1
13900 2006-03-29 Wim Taymans <wim@fluendo.com>
13902 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13904 * plugins/elements/gstqueue.c: (gst_queue_init),
13905 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13906 (gst_queue_set_property):
13907 * plugins/elements/gstqueue.h:
13908 In queue, when EOS is received, if minimum threshold > max_size -
13909 current_level, there is chance that queue blocks forever in conditional
13910 item del wait. This is because the queue is not emptied completely due
13911 to minimum threshold. Here is another approach. Instead of setting
13912 cur_levels to max in EOS, just zero all minimum threshold levels. This
13913 should make sure that queue gives out all data. When going to READY
13914 (stop) state, just reset the original minimum threshold levels.
13917 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13919 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13920 (gst_type_find_element_handle_event),
13921 (gst_type_find_element_send_cached_events),
13922 (gst_type_find_element_change_state):
13923 * plugins/elements/gsttypefindelement.h:
13924 When typefinding is done in push mode, we should cache
13925 events we receive during typefinding instead of just
13926 dropping them (e.g. newsegment, custom events from
13927 dvdreadsrc etc.) and then send them out once we've
13928 determined the type of the stream (and decodebin
13929 has had a chance to plug in a decoder/demuxer).
13931 2006-03-27 Wim Taymans <wim@fluendo.com>
13933 * docs/design/part-qos.txt:
13936 2006-03-27 Wim Taymans <wim@fluendo.com>
13938 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13940 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13941 (gst_base_src_send_event), (gst_base_src_change_state):
13942 Handle element seek correctly when we are streaming.
13945 2006-03-24 Michael Smith <msmith@fluendo.com>
13947 * docs/faq/gst-uninstalled:
13948 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13949 allow you to correctly run intalled applications built against old
13950 core, using plugins that require updated core (e.g. running
13951 installed totem against a full uninstalled gstreamer stack)
13953 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13955 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13958 2006-03-24 Wim Taymans <wim@fluendo.com>
13960 * docs/gst/gstreamer-sections.txt:
13961 Rearrange the order of the methods so that related methods
13962 are grouped together in sections.
13964 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13966 * gst/gstelement.c:
13967 Little clarification in the docs
13969 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13973 * plugins/elements/gstidentity.c:
13974 * plugins/elements/gstqueue.c:
13975 * plugins/elements/gsttee.c:
13976 * plugins/elements/gsttypefindelement.c:
13977 GST_ELEMENT_DETAILS formatting
13979 2006-03-24 Wim Taymans <wim@fluendo.com>
13981 * libs/gst/base/gstbasesink.h:
13982 Only add fields, not insert or we break ABI.
13984 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13986 * win32/common/libgstbase.def:
13987 * win32/common/libgstreamer.def:
13988 Update, add recently added functions.
13990 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13992 * docs/gst/gstreamer-sections.txt:
13993 * gst/gstutils.c: (gst_pad_query_peer_position),
13994 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13996 API: add some new utility functions:
13997 - gst_pad_query_peer_position()
13998 - gst_pad_query_peer_duration()
13999 - gst_pad_query_peer_convert()
14001 2006-03-23 Wim Taymans <wim@fluendo.com>
14003 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14004 (gst_base_sink_init), (gst_base_sink_finalize),
14005 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14006 (gst_base_sink_set_property), (gst_base_sink_get_property),
14007 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14008 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14009 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14010 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14011 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14012 (gst_base_sink_preroll_object), (gst_base_sink_event),
14013 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14014 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14015 (gst_base_sink_query), (gst_base_sink_change_state):
14016 Decouple max-lateness and the fact that QoS messages are generated
14017 with a new property (qos).
14018 added API: GstBaseSink::async_play()
14019 Add vmethod so subclasses can be notified of ASYNC playing
14021 Collect timestamp start and stop to report better current
14022 position in EOS/PLAYING/PAUSED/READY/NULL.
14023 Refactor QoS/frame dropping and other measurements.
14024 API: GstBaseSrc::qos
14027 * libs/gst/base/gstbasesink.h:
14028 Added Private struct.
14029 API: gst_base_sink_set_qos_enabled()
14030 API: gst_base_sink_is_qos_enabled()
14032 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14034 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14035 If compiling against GLib-2.8 or newer, try to read the
14036 registry file using GMappedFile first before falling back
14037 to fopen() + fread() (#332151).
14039 2006-03-22 Wim Taymans <wim@fluendo.com>
14041 * gst/gstinfo.c: (gst_debug_set_active),
14042 (gst_debug_category_set_threshold):
14043 Disable debugging unless explicitly activated.
14046 2006-03-22 Wim Taymans <wim@fluendo.com>
14048 * gst/gstelement.c: (gst_element_set_locked_state),
14049 (gst_element_dispose):
14050 Cleanup the error case.
14052 * gst/gstobject.c: (gst_object_dispose):
14053 print a critical when some object was disposed with
14054 a parent, also revive the object since it might
14057 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14059 * tools/gst-launch.1.in:
14062 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14065 * tests/check/Makefile.am:
14066 disable some tests when we don't have a registry
14067 * tests/check/gst/gstutils.c: (gst_utils_suite):
14068 don't build the part that needs parsing
14070 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14073 * tests/examples/Makefile.am:
14074 fix --disable-parse build
14076 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14078 * tools/gst-feedback.1.in:
14079 Fix typo: s/feeback/feedback/ (#133494).
14081 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14083 * tools/Makefile.am:
14084 * tools/gst-launch.1.in:
14085 Add FILES section and correct entry about GST_REGISTRY_PATH
14086 environment variable (#133495; #133494).
14088 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14090 * tools/Makefile.am:
14091 * tools/gst-md5sum.1.in:
14092 * tools/gst-md5sum.c:
14093 Remove gst-md5sum and man page (the md5sink element
14094 required was removed ages ago)
14096 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14098 * gst/gststructure.c: (gst_structure_id_set_value):
14099 Make sure that string fields in structures/taglists
14100 contain valid UTF-8 - we don't want to pass rubbish to
14101 applications because of a buggy plugin (cp. #334167).
14103 2006-03-21 Edward Hervey <edward@fluendo.com>
14105 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14106 (gst_bin_handle_message_func):
14107 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14108 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14109 (gst_element_set_bus_func):
14110 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14111 * gst/gstminiobject.c: (gst_value_set_mini_object),
14112 (gst_value_take_mini_object):
14113 * gst/gstpad.c: (gst_pad_set_pad_template):
14114 * gst/gstpipeline.c: (gst_pipeline_dispose),
14115 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14116 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14117 (gst_collect_pads_chain):
14118 * libs/gst/net/gstnettimeprovider.c:
14119 (gst_net_time_provider_set_property):
14120 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14121 It's in fact all issues with gst_*object_replace().
14123 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14125 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14127 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14128 * pkgconfig/gstreamer-check.pc.in:
14129 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14131 2006-03-21 Edward Hervey <edward@fluendo.com>
14135 * gst/gstmessage.h:
14136 gst_[buffer|event|message]_ref() macros are replaced by a static
14137 inline functions because gcc-4.1 will about if the return value
14139 * tests/check/gst/gstevent.c: (event_probe):
14140 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14142 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14145 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14146 the type' case. (Closes: #335195 for now). In the future, when we
14147 depend on GLib 2.10, we could also intern the type name using
14148 g_intern_static_string()
14150 2006-03-20 Wim Taymans <wim@fluendo.com>
14152 * gst/gstbin.c: (gst_bin_handle_message_func),
14153 (bin_query_max_init), (bin_query_position_fold),
14154 (bin_query_position_done), (gst_bin_query):
14155 Position query should also take max of all streams.
14157 2006-03-20 Wim Taymans <wim@fluendo.com>
14159 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14160 (gst_fake_src_finalize):
14161 Fix leaks in fakesrc.
14163 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14164 Fix leaks in the testcase.
14166 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14168 * gst/gst_private.h:
14169 add win32 specific import decoration(__declspec(dllimport))
14170 for all extern GstDebugCategory * variables
14171 * win32/common/libgstbase.def:
14172 * win32/common/libgstcontroller.def:
14173 * win32/common/libgstreamer.def:
14174 Add some exports, remove empty lines
14175 * win32/common/libgstdataprotocol.def:
14176 * win32/common/libgstdataprotocol.dsp:
14177 * win32/common/libgstnet.def:
14178 * win32/common/libgstnet.dsp:
14179 new project files and exportation files added
14181 2006-03-19 Wim Taymans <wim@fluendo.com>
14183 * tests/check/libs/basesrc.c: (eos_event_counter):
14184 Use proper return value for probe.
14186 2006-03-17 Wim Taymans <wim@fluendo.com>
14188 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14190 Don't leak buffers, caps and pads on negotiation errors.
14192 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14194 * docs/faq/cvs.xml:
14195 * docs/faq/dependencies.xml:
14196 * docs/faq/developing.xml:
14197 * docs/faq/faq.xml:
14198 * docs/faq/general.xml:
14199 * docs/faq/getting.xml:
14200 * docs/faq/legal.xml:
14201 * docs/faq/troubleshooting.xml:
14202 * docs/faq/using.xml:
14203 Faq review and update.
14205 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14207 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14209 Don't pound the cpu to pieces by checking get_caps when accept_caps
14210 is called with the same caps as the pad already has.
14211 Use GST_DEBUG_OBJECT when outputting caps change information.
14213 2006-03-15 Wim Taymans <wim@fluendo.com>
14215 * gst/gstclock.c: (gst_clock_class_init):
14218 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14223 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14224 (gst_pad_accept_caps), (gst_pad_configure_sink),
14225 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14226 Make the default acceptcaps behaviour be to check the requested
14227 caps against the gst_pad_get_caps output.
14229 Ensure that gst_pad_accept_caps is used to check caps when a pad
14230 doesn't have a setcaps function, so that pads automatically refuse
14231 caps that they don't allow in their pad template. (Fixes #332986)
14233 When a buffer with attached caps is pushed, ensure that the source
14234 pad receives those caps even if the element didn't call
14235 gst_pad_set_caps first.
14237 2006-03-15 Wim Taymans <wim@fluendo.com>
14239 * libs/gst/base/gstadapter.c:
14242 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14244 * win32/common/libgstbase.def:
14245 * win32/common/libgstcontroller.def:
14246 * win32/common/libgstreamer.def:
14247 Add a whole bunch of missing functions (#334434).
14249 2006-03-14 Wim Taymans <wim@fluendo.com>
14251 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14252 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14253 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14254 Better debug info when we receive a segment event.
14255 Reorganize a bit so we can pass the get_times() results around.
14256 Use the segment format when calculating the running time.
14257 Don't do QoS is sync is disabled or we have no clock or the
14258 element does not want us to sync to the clock.
14259 Don't drop buffers if QoS is disabled for now.
14261 2006-03-14 Wim Taymans <wim@fluendo.com>
14263 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14264 Marked the stats property as unimplemented so people don't get
14266 Add debug message when regression goes wrong.
14267 Added some more docs.
14269 2006-03-14 Wim Taymans <wim@fluendo.com>
14271 * gst/gstsegment.c: (gst_segment_to_stream_time):
14272 Return correct return type in case of errors.
14274 2006-03-14 Wim Taymans <wim@fluendo.com>
14276 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14277 Don't segfault on invalid formats.
14279 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14281 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14282 Can't use gst_segment_to_running_time() when the segment
14283 is not in GST_TIME_FORMAT (like with filesink, for example).
14284 Stops flac encoding pipelines from spewing critical warnings
14287 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14289 * gst/gstpipeline.c: (gst_pipeline_class_init):
14290 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14292 * plugins/elements/gsttypefindelement.c:
14293 (gst_type_find_element_handle_event):
14294 Don't try to typefind empty streams.
14296 2006-03-14 Wim Taymans <wim@fluendo.com>
14298 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14299 (gst_base_sink_do_qos):
14300 Separate QoS calculation.
14301 Only drop buffers when lateness is bigger than the
14302 duration of the buffer.
14304 2006-03-13 Wim Taymans <wim@fluendo.com>
14306 * gst/gstpipeline.c: (gst_pipeline_set_property),
14307 (gst_pipeline_get_property), (do_pipeline_seek),
14308 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14309 (gst_pipeline_get_delay):
14310 Don't deadlock when reading properties.
14312 2006-03-13 Wim Taymans <wim@fluendo.com>
14314 * libs/gst/base/gstbasetransform.c:
14315 (gst_base_transform_class_init), (gst_base_transform_init),
14316 (gst_base_transform_sink_event),
14317 (gst_base_transform_sink_eventfunc),
14318 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14319 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14320 (gst_base_transform_set_property),
14321 (gst_base_transform_get_property),
14322 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14323 (gst_base_transform_set_qos_enabled),
14324 (gst_base_transform_is_qos_enabled):
14325 * libs/gst/base/gstbasetransform.h:
14326 Make basetransform virtual method for src events too.
14327 Handle QOS in basetransform.
14328 API: gst_base_transform_update_qos()
14329 API: gst_base_transform_set_qos_enabled()
14330 API: gst_base_transform_is_qos_enabled()
14332 2006-03-13 Wim Taymans <wim@fluendo.com>
14334 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14335 (gst_base_sink_do_sync):
14337 Use QOS debug category.
14339 2006-03-13 Wim Taymans <wim@fluendo.com>
14341 * plugins/elements/gstqueue.c:
14342 Very small doc update.
14344 2006-03-13 Wim Taymans <wim@fluendo.com>
14346 * gst/gst_private.h:
14347 * gst/gstinfo.c: (_gst_debug_init):
14348 Added QOS debug category
14350 2006-03-13 Wim Taymans <wim@fluendo.com>
14352 * docs/gst/gstreamer-sections.txt:
14353 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14355 * gst/gstbus.c: (gst_bus_class_init):
14358 * gst/gstelement.c: (gst_element_set_locked_state):
14359 * gst/gstsegment.c:
14360 Documentation updates.
14362 * gst/gstpipeline.c: (gst_pipeline_get_type),
14363 (gst_pipeline_class_init), (gst_pipeline_init),
14364 (gst_pipeline_dispose), (gst_pipeline_set_property),
14365 (gst_pipeline_get_property), (do_pipeline_seek),
14366 (gst_pipeline_send_event), (gst_pipeline_change_state),
14367 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14368 (gst_pipeline_get_delay):
14369 * gst/gstpipeline.h:
14370 Added methods for setting the delay.
14371 API: gst_pipeline_set_delay()
14372 API: gst_pipeline_get_delay()
14373 Add pipeline debug category
14376 Don't reset stream time when seek failed.
14378 2006-03-13 Wim Taymans <wim@fluendo.com>
14380 * docs/design/draft-klass.txt:
14381 * docs/design/part-clocks.txt:
14382 * docs/design/part-events.txt:
14383 * docs/design/part-gstbin.txt:
14384 * docs/design/part-gstpipeline.txt:
14385 * docs/design/part-messages.txt:
14386 * docs/design/part-negotiation.txt:
14387 * docs/design/part-overview.txt:
14388 * docs/design/part-preroll.txt:
14389 * docs/design/part-seeking.txt:
14390 * docs/design/part-states.txt:
14391 * docs/design/part-streams.txt:
14392 Documentation updates.
14394 2006-03-12 Julien MOUTTE <julien@moutte.net>
14396 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14397 us to leak strings...
14399 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14401 * libs/gst/net/gstnettimeprovider.c:
14403 * win32/common/config.h:
14406 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14408 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14411 Don't check for libgnomeui (leftover from old examples
14412 that aren't built or disted any longer) (#334303).
14414 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14416 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14417 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14418 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14419 there's no space left on the device.
14421 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14424 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14425 to cast the input to GstClockTime before comparing with
14426 another GstClockTime value.
14428 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14433 === release 0.10.4 ===
14435 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14438 releasing 0.10.4, "Light"
14440 2006-03-10 Michael Smith <msmith@fluendo.com>
14442 * libs/gst/dataprotocol/dataprotocol.c:
14443 Fix docs for dataprocotol to not get the return types completely
14444 wrong for a few functions.
14446 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14448 * docs/gst/gstreamer-sections.txt:
14449 * gst/gstpipeline.c: (gst_pipeline_class_init),
14450 (gst_pipeline_init), (gst_pipeline_set_property),
14451 (gst_pipeline_get_property), (gst_pipeline_change_state),
14452 (gst_pipeline_set_auto_flush_bus),
14453 (gst_pipeline_get_auto_flush_bus):
14454 * gst/gstpipeline.h:
14455 Add new API: gst_pipeline_set_auto_flush_bus() and
14456 gst_pipeline_get_auto_flush_bus() to disable automatic
14457 flushing of the pipeline's GstBus when going from READY
14458 to NULL state (#332045).
14460 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14462 * docs/gst/gstreamer-sections.txt:
14463 * gst/gsturi.c: (gst_uri_has_protocol):
14465 Add new API: gst_uri_has_protocol() (#333779).
14467 2006-03-09 Wim Taymans <wim@fluendo.com>
14469 * gst/gstclock.c: (gst_clock_entry_new),
14470 (gst_clock_id_compare_func), (gst_clock_id_wait),
14471 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14472 (gst_clock_init), (gst_clock_get_internal_time),
14473 (gst_clock_set_master), (do_linear_regression),
14474 (gst_clock_add_observation), (gst_clock_set_property):
14478 Fix a possible segfault when the window-size is made smaller.
14479 Calculate jitter before performing the clock wait. Ideally
14480 the clock implementation should calculate jitter but we need
14481 API breakage for that.
14483 * gst/gstsystemclock.c: (gst_system_clock_init):
14486 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14487 Remove leftover else
14489 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14490 (gst_systemclock_suite):
14491 Added check to test GST_CLOCK_DIFF.
14493 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14495 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14496 (gst_type_find_helper_get_range):
14497 If we are provided with the size, we should implement
14498 GstTypeFind::get_length, so that typefind functions who
14499 want to can actually peek at the middle of a file.
14501 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14503 * docs/manual/advanced-dataaccess.xml:
14504 Add some very very basic error checking.
14506 * docs/pwg/appendix-checklist.xml:
14507 Some updates to the list of things to check when writing an element.
14509 2006-03-08 Wim Taymans <wim@fluendo.com>
14511 * docs/design/part-element-transform.txt:
14512 Added some docs about the design of tranform elements.
14514 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14515 (gst_base_src_loop), (gst_base_src_change_state):
14516 Mark buffers with the DISCONT flag.
14518 2006-03-08 Michael Smith <msmith@fluendo.com>
14520 * gst/gstregistry.h:
14521 * gst/gstregistryxml.c: (gst_registry_save),
14522 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14523 (gst_registry_xml_save_pad_template),
14524 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14525 (gst_registry_xml_write_cache):
14526 Rewrite registry-saving to avoid race conditions and check for
14529 2006-03-08 Wim Taymans <wim@fluendo.com>
14531 * libs/gst/base/gstbasetransform.c:
14532 (gst_base_transform_transform_caps),
14533 (gst_base_transform_transform_size),
14534 (gst_base_transform_prepare_output_buffer),
14535 (gst_base_transform_get_unit_size),
14536 (gst_base_transform_buffer_alloc),
14537 (gst_base_transform_handle_buffer),
14538 (gst_base_transform_change_state):
14539 Cleanups, separate normal flow from errors, add sensible
14541 Don't try to renegotiate when allocating an output buffer.
14542 Also copy DISCONT buffer flag when copying a buffer.
14543 Reset the transform after we finish streaming, not during.
14545 2006-03-08 Wim Taymans <wim@fluendo.com>
14547 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14548 Use last buffer timestamp in qos message.
14550 2006-03-07 Wim Taymans <wim@fluendo.com>
14552 Patch by: Christophe Fergeau
14554 * docs/pwg/advanced-tagging.xml:
14555 * docs/pwg/building-pads.xml:
14558 2006-03-07 Wim Taymans <wim@fluendo.com>
14560 * docs/libs/gstreamer-libs-sections.txt:
14561 Added basesink new methods.
14565 Docs updates. Flesh out the QoS docs.
14567 * libs/gst/base/gstadapter.c:
14568 Small doc clarification about ownership and flushing.
14570 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14571 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14572 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14573 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14574 * libs/gst/base/gstbasesink.h:
14576 Added new methods to allow subclass to control max-lateness
14578 Generate very basic QoS events based on last sync observation.
14579 Updated docs, fix typo, added some QoS blurb.
14581 * libs/gst/base/gstbasesrc.c:
14582 Remove obsolete _get_state() calls from docs.
14584 2006-03-07 Wim Taymans <wim@fluendo.com>
14586 * docs/libs/gstreamer-libs-sections.txt:
14587 * libs/gst/base/gstbasetransform.h:
14588 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14589 Fix docs for GstBaseSrc.
14591 2006-03-07 Wim Taymans <wim@fluendo.com>
14593 * docs/gst/gstreamer-sections.txt:
14596 * libs/gst/base/gstbasetransform.h:
14597 Small documentation fixes.
14599 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14602 Document thread-unsafety of gst_value_register_foo_func()
14603 when used at the same time as gst_value_foo() (#322628).
14605 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14607 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14608 (gst_push_src_check_get_range):
14609 Push sources don't support pull mode by default.
14611 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14613 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14614 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14615 (gst_base_src_default_check_get_range):
14616 * libs/gst/base/gstbasesrc.h:
14617 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14618 provide default implementation, and rename
14619 gst_base_src_check_get_range() to
14620 gst_base_src_pad_check_get_range() for clarity.
14622 2006-03-06 Wim Taymans <wim@fluendo.com>
14624 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14625 Make property overridable.
14627 2006-03-06 Wim Taymans <wim@fluendo.com>
14629 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14630 (gst_base_sink_init), (gst_base_sink_set_property),
14631 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14632 * libs/gst/base/gstbasesink.h:
14633 API addition: Make max-lateness a property.
14635 2006-03-06 Wim Taymans <wim@fluendo.com>
14637 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14638 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14639 Don't ever draw a frame that is >10ms late.
14641 2006-03-06 Michael Smith <msmith@fluendo.com>
14643 * gst/gstmessage.c: (_gst_message_copy):
14644 When copying a message, set the parent_refcount of the enclosed
14645 structure to point at the copy, not the original message.
14647 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14649 Patch by: Christophe Fergeau
14652 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14653 usable in c++ code (#333417)
14655 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14658 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14660 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14662 * libs/gst/base/gstbasetransform.c:
14663 (gst_base_transform_transform_caps):
14664 Make sure caps are writable before passing them to
14667 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14670 Fix some minor docs errors.
14672 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14674 Patch by: Ross Burton <ross at burtonini dot com>
14676 * gst/gsterror.c: (_gst_resource_errors_init):
14678 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14680 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14683 Add a check and output a g_warning when GStreamer is built
14684 against GLib 2.6 but running against 2.8 or higher, and vice
14685 versa. (Closes: #323542)
14687 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14689 * gst/parse/parse.l:
14690 Commit patch for parse_launch syntax from #331255. Removes
14691 support for quoted strings and mimetypes when writing filtered
14692 caps. See the bug report for more details - I'm pretty sure this
14693 obscure feature is not in use by _anyone_ anywhere.
14695 With this simple change, the size of the gstreamer.so here
14696 drops from 2193KB to 1565KB.
14698 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14700 * plugins/elements/gsttypefindelement.h:
14701 * plugins/elements/gsttypefindelement.c:
14702 (gst_type_find_element_src_event), (start_typefinding),
14703 (stop_typefinding), (gst_type_find_element_handle_event),
14704 (gst_type_find_element_chain),
14705 (gst_type_find_element_chain_do_typefinding):
14706 Use gst_type_find_helper_for_buffer() for chain-based
14709 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14711 * plugins/elements/gsttypefindelement.c:
14712 (gst_type_find_element_class_init),
14713 (gst_type_find_element_set_property),
14714 (gst_type_find_element_get_property):
14715 Deprecate "maximum" property (not only was it only taken into
14716 account for typefinding in push-mode anyway, it also was never
14717 actually possible to set it in the first place because the
14718 property was registered with the numeric property ID for the
14719 "minimum" property). Register "maximum" property correctly,
14720 for the sake of future copy'n'pasters. Remove some cruft
14721 from property get/set functions.
14723 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14725 * plugins/elements/gsttypefindelement.c:
14726 (gst_type_find_element_activate):
14727 Use gst_type_find_helper_get_range() here, so we
14728 can honour the "minimum" property and also emit
14729 the signal with the correct probability of the found caps.
14731 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14733 * docs/libs/gstreamer-libs-sections.txt:
14734 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14735 (helper_find_suggest), (gst_type_find_helper_get_range),
14736 (gst_type_find_helper):
14737 * libs/gst/base/gsttypefindhelper.h:
14738 New API: gst_type_find_helper_get_range() (#333042).
14740 2006-03-02 Michael Smith <msmith@fluendo.com>
14742 * gst/gstregistryxml.c: (load_feature):
14743 Asserting on a failure to read part of the registry is Not Cool.
14744 Just log a warning and return NULL (which is already handled)
14746 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14748 * win32/common/libgstbase.def:
14749 added export of gst_type_find_helper_for_buffer
14750 * win32/common/libgstbase.def:
14751 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14752 gst_ghost_pad_get_target
14754 2006-02-28 Wim Taymans <wim@fluendo.com>
14756 * docs/design/draft-klass.txt:
14758 Added Connector to mark elements that are only used to
14759 allow pipeline connections.
14760 Moved Debug to extra feature since most of them are
14761 functionally something else.
14763 2006-02-28 Wim Taymans <wim@fluendo.com>
14765 * docs/design/draft-klass.txt:
14766 Some updates and clarifications.
14768 2006-02-28 Wim Taymans <wim@fluendo.com>
14770 * docs/design/draft-klass.txt:
14771 Proposal for klass field values.
14773 * docs/design/part-streams.txt:
14774 Start of a doc describing stream anatomy.
14776 2006-02-28 Wim Taymans <wim@fluendo.com>
14778 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14779 Help the compiler a bit with type registration.
14780 Use existing forward cod path instead of duplicating it when
14781 handling a message.
14783 * gst/gstbus.c: (gst_bus_get_type):
14784 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14785 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14786 * gst/gstclock.c: (gst_clock_get_type):
14787 * gst/gstelement.c: (gst_element_get_type),
14788 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14789 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14790 * gst/gstminiobject.c: (gst_mini_object_get_type):
14791 * gst/gstpad.c: (gst_pad_get_type):
14792 * gst/gstsegment.c: (gst_segment_get_type):
14793 * gst/gststructure.c: (gst_structure_get_type):
14794 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14795 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14797 Help compiler with type registration.
14799 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14802 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14804 * plugins/elements/gsttypefindelement.c:
14805 (gst_type_find_element_handle_event):
14806 When we get an EOS event and have not found a type yet
14807 (most likely because we had not yet accumulated
14808 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14809 type given the data we have so far. Fixes typefinding
14810 for very short streams again, most notably quicktime
14811 redirections as used on Apple's trailer site (#331701).
14813 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14815 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14816 (gst_type_find_helper):
14817 Try typefinding factories with the highest rank first.
14819 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14821 * docs/libs/gstreamer-libs-docs.sgml:
14822 * docs/libs/gstreamer-libs-sections.txt:
14823 * libs/gst/base/gsttypefindhelper.c:
14824 Add section for typefind helper and add documentation
14825 for the old and the new function.
14827 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14829 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14830 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14831 (gst_type_find_helper_for_buffer):
14832 * libs/gst/base/gsttypefindhelper.h:
14833 New API: gst_type_find_helper_for_buffer() (#332723).
14835 2006-02-27 Michael Smith <msmith@fluendo.com>
14837 Patch by: Loïc Minier
14840 * docs/Makefile.am:
14841 * docs/slides/Makefile.am:
14842 prevent CVS directories getting disted.
14844 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14846 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14847 Use the REFCOUNTING category for caps refcounting.
14849 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14851 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14852 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14854 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14856 * plugins/elements/gsttypefindelement.c:
14857 (gst_type_find_element_activate):
14858 Use gst_pad_check_pull_range() before _activate_pull()
14859 to avoid unnecessary open/close (see #331690).
14861 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14864 Docs enhancement: make it crystal clear what the
14865 gst_pad_add_*_probe() callbacks should look like.
14867 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14869 * libs/gst/base/gstbasesrc.c:
14870 Document how applications can stop recording from
14871 live sources (see #330996).
14873 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14875 * tests/check/Makefile.am:
14876 * tests/check/libs/basesrc.c: (eos_event_counter),
14877 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14878 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14879 (gst_basesrc_suite), (main):
14880 ... and add some tests for the base source EOS stuff.
14882 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14884 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14885 Test case originally showed the problem fixed below,
14886 but was then amended. Add checks back at the place
14887 where they used to be.
14889 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14891 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14892 (gst_base_src_init), (gst_base_src_loop),
14893 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14894 (gst_base_src_change_state):
14895 * libs/gst/base/gstbasesrc.h:
14896 Don't unconditionally send EOS when going from PAUSED to
14897 READY state, esp. make sure we don't send two EOS events
14898 in some cases (e.g. one when reaching EOS and one when
14899 going from PAUSED to READY). Also, we don't want to send
14900 EOS events when operating in pull mode. However, we do
14901 want to send an EOS event when shutting down a live
14902 source explicitly, for example (fixes #330996).
14904 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14906 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14907 Update src->read_position after a seek when not using mmap.
14908 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14910 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14916 Make things work with --disable-parse as they do with
14917 --disable-load-save - the symbols involved disappear, but the
14918 header is still installed and GST_DISABLE_PARSE is included via
14921 2006-02-20 Julien MOUTTE <julien@moutte.net>
14923 * libs/gst/base/gstbasetransform.c:
14924 (gst_base_transform_change_state): Fix a stupid bug. I was
14925 sure I compiled that.
14927 2006-02-20 Julien MOUTTE <julien@moutte.net>
14929 * gst/gstpad.c: (gst_pad_set_blocked_async):
14930 * gst/gstutils.c: (gst_pad_add_data_probe),
14931 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14932 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14933 (gst_pad_remove_buffer_probe): Make those function act on the
14934 ghostpad target when it's a ghostpad. (Closes #331727)
14936 2006-02-20 Julien MOUTTE <julien@moutte.net>
14938 * libs/gst/base/gstbasetransform.c:
14939 (gst_base_transform_change_state): Make basetransform reusable.
14942 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14944 * docs/random/release:
14945 Move the current documentation of how to do a release to the top
14948 * gst/gstbin.c: (gst_bin_class_init),
14949 (gst_bin_handle_message_func):
14950 Allow multiple state-recalculation threads. (Closes #328873)
14952 2006-02-19 Julien MOUTTE <julien@moutte.net>
14954 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14955 * gst/gstpad.c: (gst_pad_set_event_function),
14956 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14957 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14958 2 strings. You can't use the STR_NULL macro on that.
14960 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14962 * gst/gstpad.c: (gst_pad_set_event_function),
14963 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14964 (gst_pad_set_getcaps_function)
14965 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14966 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14967 So now, we can use --gst-debug-level=5 on Windows
14968 * win32/common/libgstcontroller.def:
14969 Added export of gst_controller_init
14970 * win32/vs6/libgstcontroller.dsp:
14971 Fixed Release post build configuration
14973 2006-02-17 Wim Taymans <wim@fluendo.com>
14975 * tests/check/gst/gstquery.c: (GST_START_TEST):
14976 Added another check.
14978 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14980 * plugins/elements/gsttypefindelement.c: (find_peek):
14981 We can do peeks at non-zero offsets, as long as they
14982 fall within the buffer we have.
14984 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14986 * tests/check/Makefile.am:
14987 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14988 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14989 (parse_suite), (main):
14990 Add testsuite for parse launch syntax
14992 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14994 * plugins/elements/gsttypefindelement.c:
14995 (gst_type_find_element_chain):
14996 When typefinding is unsuccessful in the chain function, don't
14997 error out immediately. Only error out with NO_CAPS_FOUND if
14998 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14999 otherwise simply wait for more data so we can try typefinding
15000 again with more data later. Also, don't attempt to typefind
15001 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15002 this should improve typefinding from network sources where the
15003 size of the first buffer can be somewhat random.
15005 2006-02-14 Wim Taymans <wim@fluendo.com>
15007 * docs/gst/gstreamer-sections.txt:
15008 * gst/gstpadtemplate.c:
15009 * gst/gstpadtemplate.h:
15010 Fix padtemplate docs, fixes #328805.
15012 2006-02-14 Wim Taymans <wim@fluendo.com>
15014 * tools/gst-launch.c: (main):
15015 NO_PREROLL is not an ERROR so don't send confusing messages
15018 2006-02-14 Wim Taymans <wim@fluendo.com>
15020 Patch by: Torsten Schoenfeld
15022 * gst/gstregistry.c: (gst_registry_get_default),
15023 (_gst_registry_cleanup):
15024 Protect default registry with lock and ref/sink it.
15027 2006-02-14 Wim Taymans <wim@fluendo.com>
15030 * gst/gstquery.c: (gst_query_list_add_format),
15031 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15032 (gst_query_parse_formats_nth):
15033 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15036 2006-02-14 Wim Taymans <wim@fluendo.com>
15038 * docs/gst/gstreamer-sections.txt:
15039 Reworked query docs.
15041 * gst/gstquery.c: (gst_query_new_formats),
15042 (gst_query_list_add_format), (gst_query_set_formats),
15043 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15044 (gst_query_parse_formats_nth):
15046 Flesh out formats query, added some new methods.
15047 Fix part of #324398.
15049 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15050 Added query creation tests.
15052 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15054 * gst/gstpad.c: (fixate_value):
15055 Add a default fixation for fraction lists.
15057 2006-02-13 Wim Taymans <wim@fluendo.com>
15059 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15060 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15063 Detect and warn for obvious deadlocks. fixes #320340
15064 Fix error case where lock was not released.
15066 * tests/check/Makefile.am:
15067 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15068 (task_func), (gst_element_suite), (main):
15071 2006-02-13 Wim Taymans <wim@fluendo.com>
15073 * docs/gst/gstreamer-sections.txt:
15075 Add new functions to docs.
15077 2006-02-13 Wim Taymans <wim@fluendo.com>
15079 * docs/design/part-TODO.txt:
15080 Updated TODO list, basesrc supports seeking to non-bytes
15083 * docs/design/part-element-sink.txt:
15086 * gst/gstbin.c: (bin_replace_message),
15087 (gst_bin_handle_message_func):
15088 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15089 * gst/gstevent.c: (gst_event_finalize):
15090 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15091 (gst_pad_send_event):
15092 Use shiny new _TYPE_NAME macros.
15094 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15095 Move debug statement up.
15097 * gst/gstelement.c: (gst_element_set_locked_state):
15098 Add some debugging.
15100 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15102 * docs/gst/gstreamer-sections.txt:
15103 * gst/gstmessage.h:
15105 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15106 macros (#330906). Also, document the already existing
15107 GST_QUERY_TYPE macro.
15109 2006-02-13 Wim Taymans <wim@fluendo.com>
15111 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15112 (event_probe), (GST_START_TEST):
15113 Only events up to the pipeline EOS are counted, there are
15114 some more when going to NULL currently which we don't care
15117 2006-02-13 Wim Taymans <wim@fluendo.com>
15119 * gst/gstpad.c: (gst_pad_send_event):
15120 Correctly check flushing and emit probes. fixes #330125
15122 2006-02-10 Andy Wingo <wingo@pobox.com>
15124 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15126 (gst_bus_init): Cache the location of the private data in the
15127 instance structure.
15128 (gst_bus_enable_sync_message_emission)
15129 (gst_bus_disable_sync_message_emission): Implement new public
15131 (gst_bus_post): Emit the sync-message signal if the user asked for
15134 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15135 location of the bus-private structure.
15136 (gst_bus_enable_sync_message_emission)
15137 (gst_bus_disable_sync_message_emission): API addition
15139 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15141 Patch by: Vincent Torri
15143 * docs/pwg/building-boiler.xml:
15144 PWG patch from #326800
15146 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15149 * docs/Makefile.am:
15150 * docs/design/Makefile.am:
15153 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15158 === release 0.10.3 ===
15160 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15163 releasing 0.10.3, "Like a virgin"
15165 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15168 2nd prerelease of 0.10.3
15169 Bump libtool versioning.
15171 2006-02-07 Andy Wingo <wingo@pobox.com>
15173 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15174 update last_stop if we're in TIME format and the timestamp is
15177 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15178 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15179 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15180 If we get a new newsegment with a different format, adapt
15183 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15184 of 0. Not a problem, really.
15186 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15189 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15194 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15197 project files updated to the default vs7 configuration
15198 * win32/common/libgstbase.def:
15199 * win32/common/libgstreamer.def:
15201 removed empty lines,
15202 sorted all exported symbols alphabetically
15203 * win32/common/dirent.c:
15204 * win32/common/dirent.h:
15205 * win32/common/gchar.h:
15206 use windows line end.
15208 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15210 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15211 Send EOS event when stopping.
15213 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15216 Tell folks what to do if the plugin-foobar.xml file
15217 hasn't been generated for a newly-added plugin.
15219 2006-02-05 Julien MOUTTE <julien@moutte.net>
15221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15222 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15223 (gst_collect_pads_start), (gst_collect_pads_stop),
15224 (gst_collect_pads_event): Collectpads now holds a reference
15225 to the GstPad that was added. Indeed we don't want to look
15226 at pads that might just go away with no warning...
15228 2006-02-05 Julien MOUTTE <julien@moutte.net>
15230 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15231 (gst_collect_pads_start), (gst_collect_pads_stop),
15232 (gst_collect_pads_event), (gst_collect_pads_chain):
15233 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15234 Mark Nauwelaerts's patch on bug #328491.
15236 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15238 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15240 Add some simple tests for gst_parse_bin_from_description() and
15241 gst_bin_find_unconnected_pad() (#329069).
15243 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15245 * tools/gst-launch.c: (event_loop), (main):
15246 Catch errors during preroll (#320084).
15248 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15250 * plugins/elements/gsttypefindelement.c:
15251 (gst_type_find_element_activate):
15252 Post TYPE_NOT_FOUND error message when typefinding
15253 is unsuccessful in the activate function as well.
15255 2006-02-02 Wim Taymans <wim@fluendo.com>
15257 * docs/design/part-element-sink.txt:
15260 2006-02-02 Wim Taymans <wim@fluendo.com>
15262 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15263 (gst_base_sink_render_object),
15264 (gst_base_sink_queue_object_unlocked):
15265 Only keep track of prerollable items when we are
15267 Before rendering after preroll, always check if we
15269 Added some more debugging.
15271 2006-02-02 Wim Taymans <wim@fluendo.com>
15273 * gst/gstelement.c: (gst_element_continue_state),
15274 (gst_element_set_state_func), (gst_element_change_state):
15275 Fixed #326576, been running this for quite some time with
15276 no regressions at all.
15278 2006-02-02 Wim Taymans <wim@fluendo.com>
15281 Added more suppressions
15283 2006-02-02 Wim Taymans <wim@fluendo.com>
15285 * docs/design/part-element-sink.txt:
15288 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15289 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15290 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15291 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15292 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15293 (gst_base_sink_preroll_object),
15294 (gst_base_sink_queue_object_unlocked),
15295 (gst_base_sink_queue_object), (gst_base_sink_event),
15296 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15297 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15298 (gst_base_sink_get_position), (gst_base_sink_change_state):
15299 * libs/gst/base/gstbasesink.h:
15300 Totally refactored matching the design doc.
15301 Use two segments, one to clip incomming buffers and another to
15303 Handle queueing correctly, bypass the queue when playing.
15304 Make EOS cancelable.
15305 Handle errors correctly when operating in pull based mode.
15307 * tests/check/elements/fakesink.c: (GST_START_TEST),
15309 Added new check for sinks.
15311 2006-02-02 Wim Taymans <wim@fluendo.com>
15313 * gst/gstsegment.c: (gst_segment_clip):
15314 No reason to refuse to clip when start == -1
15316 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15319 * docs/manual/intro-basics.xml:
15320 * docs/manual/intro-preface.xml:
15321 * docs/manual/manual.xml:
15322 * docs/pwg/advanced-dparams.xml:
15323 * docs/pwg/intro-basics.xml:
15324 * docs/pwg/intro-preface.xml:
15325 * docs/pwg/pwg.xml:
15326 describe dparams (controller) for plugins
15327 unify docs a little more
15329 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15331 * docs/gst/gstreamer-sections.txt:
15332 * gst/gstutils.c: (element_find_unconnected_pad),
15333 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15335 Add new API: gst_parse_bin_from_description() and
15336 gst_bin_find_unconnected_pad() (#329069).
15338 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15340 * docs/manual/README:
15341 uncover a nasty detail of the docs build
15343 2006-01-31 Wim Taymans <wim@fluendo.com>
15345 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15346 Don't cache duration messages if we're not going to use or
15349 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15351 * docs/manual/advanced-dparams.xml:
15352 * docs/pwg/advanced-dparams.xml:
15356 * libs/gst/controller/lib.c: (gst_controller_init):
15359 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15361 * gst/gstelement.c: (gst_element_message_full):
15362 also show file/line/func if no additional debug was given
15364 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15366 * win32/vs7/grammar.vcproj:
15367 activate copy of autogenerated files for Release mode
15369 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15371 * win32/common/libgstreamer.def:
15372 export gst_value_compare
15374 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15376 * plugins/elements/Makefile.am:
15377 * plugins/elements/gstelements.c:
15378 * plugins/elements/gstfdsink.c: (_do_init),
15379 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15380 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15381 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15382 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15383 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15384 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15385 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15386 * plugins/elements/gstfdsink.h:
15387 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15389 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15391 * docs/manual/advanced-dparams.xml:
15392 describe controller
15393 * docs/manual/advanced-position.xml:
15394 * docs/manual/basics-init.xml:
15395 * docs/manual/manual.xml:
15396 * docs/manual/titlepage.xml:
15397 * docs/pwg/pwg.xml:
15398 * docs/pwg/titlepage.xml:
15399 cleanup xml (more to come)
15400 * libs/gst/controller/gstcontroller.c:
15403 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15405 * win32/vs6/grammar.dsp:
15406 add autogen of gstmarshal.c,h for Release mode
15408 2006-01-30 Wim Taymans <wim@fluendo.com>
15410 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15411 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15412 (gst_base_sink_handle_object), (gst_base_sink_event),
15413 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15414 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15415 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15416 (gst_base_sink_deactivate), (gst_base_sink_activate),
15417 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15418 (gst_base_sink_query), (gst_base_sink_change_state):
15419 Basesink cleanups, remove some old code.
15420 Handle the case where a subclass can preroll in the render
15421 method (mostly audiosinks).
15422 Handle more events.
15423 Remove some locks around variables that are now protected
15424 with the PREROLL_LOCK (clock_id, flushing, ..).
15425 Optimize position query some more, do correct locking.
15426 Remove old code to push queue in state change, this is not
15427 needed anymore since preroll blocks on all prerollable items
15429 Almost implemented as described in design doc.
15431 2006-01-30 Wim Taymans <wim@fluendo.com>
15433 * tests/check/gst/gstbin.c: (GST_START_TEST):
15434 Wait for refcount to settle down before checking.
15436 2006-01-30 Wim Taymans <wim@fluendo.com>
15438 * docs/design/part-element-sink.txt:
15439 Pseudo code overview of desired sink behaviour regarding
15442 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15443 * win32/vs6/grammar.dsp:
15444 fix some bugs in Release mode for autogenerated files
15446 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15447 * win32/common/libgstbase.def:
15448 * win32/common/libgstreamer.def:
15449 export some new symbols: gst_base_src_set_format,
15450 gst_iterator_next, gst_structure_set_valist
15452 2006-01-29 Julien MOUTTE <julien@moutte.net>
15454 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15455 Set pad functions unconditionally. Fixes #329105.
15457 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15459 add vs8 project files created by Sergey Scobich
15461 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15463 * gst/gstutils.c: (gst_element_unlink_pads):
15464 Don't leak pad references.
15466 * tests/check/elements/fakesink.c: (GST_START_TEST):
15467 * tests/check/generic/sinks.c: (GST_START_TEST):
15468 * tests/check/generic/states.c: (GST_START_TEST):
15469 * tests/check/gst/gstbin.c: (GST_START_TEST):
15470 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15471 * tests/check/gst/gstelement.c: (GST_START_TEST):
15472 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15473 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15474 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15475 Fix a bunch of leaks. Make generic/sinks.c
15476 use a bit less cpu by slowing the buffer rate
15477 between fakesrc and fakesink.
15479 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15481 * gst/gstelement.c: (gst_element_send_event):
15484 * gst/gstiterator.c:
15485 * gst/gstiterator.h:
15486 * gst/gstpad.c: (gst_pad_send_event):
15487 * gst/gststructure.c:
15491 * libs/gst/base/gstadapter.c:
15492 doc fixes, to link to function, just write gst_cool_function(), don't
15495 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15497 * plugins/elements/gsttee.c: (gst_tee_do_push),
15498 (gst_tee_handle_buffer):
15499 Always prefer an actual return value from a src
15500 pad in place of NOT_LINKED. This means we return
15501 WRONG_STATE when all src pads are WRONG_STATE
15502 instead of NOT_LINKED.
15504 Lock when replacing the last message to prevent
15505 racing with the get_property method.
15509 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15511 * tests/check/Makefile.am:
15512 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15514 Add a very simple check that should have caught the memleak I fixed
15515 last night (if not for the slice allocator hiding it)
15517 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15519 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15520 (gst_bin_remove_func), (gst_bin_handle_message_func),
15521 (bin_query_duration_fold), (bin_query_generic_fold):
15522 Clean up references to the clock provider when disposed or when
15523 handling a clock-lost message from it.
15525 Unref sinks when performing a query via gst_iterator_fold, as the
15526 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15528 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15529 (gst_clock_set_master):
15530 Drop our reference to the master clock, if any, when we are disposed.
15532 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15533 Chain up in dispose.
15535 2006-01-26 Wim Taymans <wim@fluendo.com>
15537 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15538 Add some debugging.
15540 2006-01-26 Julien MOUTTE <julien@moutte.net>
15542 * plugins/elements/gsttee.c: (gst_tee_do_push),
15543 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15544 handles pad being NOT_LINKED or in WRONG_STATE.
15546 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15551 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15554 remove obsolete entry
15556 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15558 * docs/gst/gstreamer-sections.txt:
15559 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15560 (gst_bin_iterate_sources), (gst_bin_send_event):
15562 * gst/gstelement.c: (gst_element_send_event):
15564 * gst/gstpad.c: (gst_pad_send_event):
15565 added code for downstream events, reviewed docs in gstevent.c
15567 2006-01-25 Julien MOUTTE <julien@moutte.net>
15569 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15570 We only query position using the clock in the playing state.
15571 Query peer in the other cases.
15572 * win32/common/config.h: Updates.
15574 2006-01-24 Wim Taymans <wim@fluendo.com>
15576 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15577 A clock entry that is scheduled for the exact time of the
15578 clock is still in time.
15580 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15581 (gst_base_sink_do_sync):
15582 Add some more debug info.
15584 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15587 Add new vs7 project files and solution.
15589 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15592 all files removed as they were out-dated.
15594 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15596 * docs/random/release:
15598 * gst/gstbin.c: (gst_bin_init):
15599 * gst/gstbus.c: (gst_bus_new):
15601 * gst/gstpipeline.c: (gst_pipeline_init):
15602 use gst_bus_new(), improve logging, fix docs
15603 * win32/common/config.h:
15604 update for cvs build
15606 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15609 up required version of automake to 1.7
15611 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15613 * win32/common/libgstreamer.def:
15614 export gst_buffer_is_metadata_writable
15616 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15618 * docs/gst/gstreamer-sections.txt:
15620 Add gst_event_replace() (#327001)
15622 2006-01-20 Wim Taymans <wim@fluendo.com>
15624 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15625 Make it actually compile too..
15627 2006-01-20 Wim Taymans <wim@fluendo.com>
15630 Clarify behaviour of _is_equal() when passing NULL parameters.
15632 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15633 (gst_pad_set_caps):
15634 Cleanups. Don't unref NULL caps.
15635 When setting the same caps, protect caps of the pad with
15637 Use full functionality of _is_equal() when comparing caps.
15639 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15641 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15642 Don't loop infinitely if there are no buffers to present. Partially
15643 fixes #327197, but collectpads is just broken for reusing elements
15644 to do multiple encodes atm.
15646 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15648 * tools/gst-inspect.c: (print_element_features):
15649 * tools/gst-xmlinspect.c: (main):
15650 URL_HANDLER is not a plugin feature we can search for in
15653 2006-01-19 Edward Hervey <edward@fluendo.com>
15655 * gst/gstelement.c: (gst_element_pads_activate):
15656 When activating, do src pads first, then sink pads.
15657 When de-activating, do sink pads first, then src pads.
15659 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15661 * docs/gst/gstreamer-sections.txt:
15662 Add gst_index_add_associationv to the docs
15664 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15669 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15670 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15671 Do some refactoring. Doesn't actually change functionality,
15672 but makes landing the DRAIN event easier later.
15674 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15676 * docs/pwg/advanced-scheduling.xml:
15677 Update from 0.9.x to 0.10 API and make example a bit
15680 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15682 * docs/gst/gstreamer-sections.txt:
15683 Add gst_buffer_(is|make)_metadata_writable methods.
15685 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15687 * docs/design/part-sparsestreams.txt:
15688 Update sparse streams doc, hopefully for greater clarity
15690 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15692 * docs/design/part-events.txt:
15693 Remove mention of FILLER events.
15696 * docs/design/part-sparsestreams.txt:
15697 Write some things about using NEWSEGMENT to keep sparse streams
15700 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15702 * gst/gstbin.c: (gst_bin_dispose):
15703 Guard gst_object_unref call against a NULL object (dispose
15704 can theoretically be called multiple times).
15706 2006-01-18 Wim Taymans <wim@fluendo.com>
15708 * gst/gstbin.c: (gst_bin_element_set_state):
15709 * gst/gstclock.c: (gst_clock_id_wait):
15710 Added some more debug info.
15712 * libs/gst/base/gstadapter.c:
15715 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15716 (gst_base_sink_do_sync), (gst_base_sink_chain):
15717 Added some comments.
15719 2006-01-18 Wim Taymans <wim@fluendo.com>
15721 * tests/check/Makefile.am:
15722 * tests/check/elements/fakesink.c: (chain_async_buffer),
15723 (chain_async), (chain_async_return), (GST_START_TEST),
15724 (fakesink_suite), (main):
15725 Added fakesink test that checks prerolling and clipping
15728 * tests/check/gst/gstutils.c: (GST_START_TEST):
15729 Make check run faster so that buildbots don't timeout.
15731 2006-01-18 Wim Taymans <wim@fluendo.com>
15733 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15734 (gst_base_sink_do_sync):
15736 When the sink finishes blocking on the preroll buffer, it can
15737 immediatly render it instead of rendering when the next buffer
15740 2006-01-18 Wim Taymans <wim@fluendo.com>
15742 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15743 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15744 (gst_base_sink_chain):
15746 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15747 Don't store _last_stop if the buffer is dropped.
15749 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15751 * plugins/elements/gsttypefindelement.c:
15752 (gst_type_find_element_class_init):
15753 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15754 object method handler that sets the caps on the pad and we want
15755 that to happen before we emit the signal (fixes e.g. feeding a
15756 plain text file to decodebin).
15758 2006-01-18 Christian Schaller <Christian@fluendo.com>
15760 * gst/gstplugin.c: Add MPL and Proprietary as license options
15762 2006-01-18 Andy Wingo <wingo@pobox.com>
15764 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15765 symbol was exported before, it appears this was just an oversight.
15767 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15769 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15770 prototype to gint. OK since this prototype was not in the header.
15772 2006-01-17 Andy Wingo <wingo@pobox.com>
15774 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15775 registry while we remove plugins.
15777 * tools/gst-inspect.c (print_element_info): Don't unref the
15778 factory arg, that should be the responsibility of whatever code
15779 received the ref. Fixes a double-free when called from
15780 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15781 (main): Unref the factory if we have one.
15782 (print_element_list): No change -- relies on the
15783 plugin_feature_list_free to free the list of features.
15785 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15787 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15788 (gst_buffer_make_metadata_writable):
15790 * libs/gst/base/gstbasetransform.c:
15791 (gst_base_transform_prepare_output_buf):
15792 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15793 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15794 Replace gst_buffer_(make|is)_metadata_writable patch now
15795 that the release is out.
15797 2006-01-17 Andy Wingo <wingo@pobox.com>
15799 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15800 in the present tense without reference to versions.
15802 * gst/gstregistry.c (gst_registry_add_plugin)
15803 (gst_registry_remove_plugin, gst_registry_remove_feature)
15804 (gst_registry_find_feature, gst_registry_get_feature_list)
15805 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15806 (gst_registry_lookup, gst_registry_scan_path)
15807 (_gst_registry_remove_cache_plugins)
15808 (gst_registry_get_feature_list_by_plugin): Add argument
15811 === release 0.10.2 ===
15813 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15816 releasing 0.10.2, "If man is five"
15818 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15822 * libs/gst/base/gstbasetransform.c:
15823 (gst_base_transform_prepare_output_buf):
15824 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15825 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15826 Back out patch until after the release.
15828 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15830 * gst/gstminiobject.c:
15831 Spelling fix in docs.
15832 * ChangeLog - remove conflict indicator
15834 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15836 Reviewed By: Andy Wingo
15838 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15839 (gst_buffer_make_metadata_writable):
15841 Add gst_buffer_(is|make)_metadata_writable as analogues of
15842 gst_buffer_(is|make)_writable.
15844 * libs/gst/base/gstbasetransform.c:
15845 (gst_base_transform_prepare_output_buf):
15846 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15847 Use name gst_buffer_(is|make)_metadata_writable functions.
15849 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15850 Test gst_buffer_(is|make)_metadata_writable
15854 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15856 * docs/manual/Makefile.am:
15857 don't do parallel make
15860 * win32/common/config.h.in:
15861 add generations for HOST_CPU and GST_MAJORMINOR
15862 * win32/common/config.h:
15863 commit generated result
15865 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15867 * docs/manual/appendix-integration.xml:
15868 Update GNOME integration section to use gst_init_get_option_group()
15869 instead of the old popt stuff (#322911). Also, GNOME applications
15870 should now use gconf*sink and gconf*src instead of the old gconf
15873 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15876 * docs/gst/gstreamer-docs.sgml:
15877 * docs/gst/gstreamer-sections.txt:
15878 * docs/libs/gstreamer-libs-sections.txt:
15879 add new API entries to the docs
15880 * libs/gst/controller/Makefile.am:
15881 * libs/gst/controller/gstcontroller.c:
15882 * libs/gst/controller/gstcontroller.h:
15883 * libs/gst/controller/gstcontrollerprivate.h:
15884 * libs/gst/controller/gsthelper.c:
15885 * libs/gst/controller/gstinterpolation.c:
15886 move private structs to private header
15888 gstreamer-0.7 -> gstreamer-0.10
15889 * tests/check/libs/struct_i386.h:
15890 remove private structs
15892 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15894 * plugins/indexers/Makefile.am:
15895 Fixes as part of #317048
15897 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15899 * plugins/indexers/Makefile.am:
15900 fix #316086 - compilation when mmap is missing
15902 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15904 * libs/gst/base/gstbasesink.c:
15905 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15906 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15907 * win32/common/config.h:
15908 added some defines GST_MAJORMINOR and HOST_CPU
15909 * win32/common/libgstbase.def:
15910 * win32/common/libgstreamer.def:
15911 added some exported functions.
15913 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15915 * libs/gst/controller/gstcontroller.c:
15916 (gst_controlled_property_set_interpolation_mode),
15917 (gst_controlled_property_new):
15918 * libs/gst/controller/gstcontroller.h:
15919 * libs/gst/controller/gstinterpolation.c:
15920 (interpolate_none_get_string_value_array):
15921 make G_TYPE_STRING controlable
15923 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15926 * tools/gst-feedback.1.in:
15927 * tools/gst-inspect.1.in:
15928 * tools/gst-launch.1.in:
15929 * tools/gst-md5sum.1.in:
15930 * tools/gst-typefind.1.in:
15931 * tools/gst-xmlinspect.1.in:
15932 * tools/gst-xmllaunch.1.in:
15933 cleanup man-pages, remove reference to gst-register, document env-vars
15935 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15937 * gst/gstbuffer.c: (gst_buffer_span):
15938 gst_buffer_span should copy the timestamp of the first buffer
15939 if they were both originally overlapping subbuffers of the
15940 same parent, using the same logic as the 'slow copy' case.
15942 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15944 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15945 Need to awaken ALL the pads when we pop a buffer, otherwise
15946 collectpads only works when there is 2 input streams.
15948 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15950 * docs/random/ensonic/media-device-daemon.txt:
15953 fix doc example, add clarification
15954 * tools/gst-launch.1.in:
15955 add initial info about GST_PLUGIN_PATH, needs more work
15957 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15959 * docs/manual/basics-bins.xml:
15960 * docs/manual/basics-elements.xml:
15961 * docs/manual/intro-basics.xml:
15962 Some more minor docs additions and updates.
15964 2006-01-11 Wim Taymans <wim@fluendo.com>
15966 * docs/manual/basics-bins.xml:
15967 * docs/manual/basics-elements.xml:
15968 Some small fixes as pointed out by Ser-ver on IRC.
15970 2006-01-10 Edward Hervey <edward@fluendo.com>
15972 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15973 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15974 the single-segment mode.
15976 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15978 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15980 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15981 (gst_base_src_perform_seek), (gst_base_src_send_event),
15982 (gst_base_src_set_property), (gst_base_src_get_property),
15983 (gst_base_src_loop), (gst_base_src_start),
15984 (gst_base_src_activate_push):
15985 * libs/gst/base/gstbasesrc.h:
15986 Name (private) union; makes Sun's Forte compiler happy (#324900).
15988 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15991 gst-register is gone.
15993 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15995 * gst/gstvalue.c: (_gst_value_initialize):
15996 make the G_TYPE_DATE instantiation work if debug is disabled
15998 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16000 * gst/gstmessage.c: (gst_message_parse_tag),
16001 (gst_message_parse_error), (gst_message_parse_warning):
16002 Don't crash when return location for error/warning debug
16003 string is NULL; add fact that return locations can be
16004 NULL to docs where appropriate.
16006 2006-01-05 Wim Taymans <wim@fluendo.com>
16008 * gst/gstplugin.c: (gst_plugin_load_file):
16009 Replace strdup by g_strdup.
16011 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16013 * docs/pwg/advanced-types.xml:
16016 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16018 submitted by: Abel Cheung
16022 Added Chinese (traditional) translation
16024 2006-01-04 Wim Taymans <wim@fluendo.com>
16026 * docs/manual/basics-pads.xml:
16027 * docs/plugins/Makefile.am:
16028 * docs/plugins/gstreamer-plugins-docs.sgml:
16029 * docs/plugins/gstreamer-plugins-sections.txt:
16030 * docs/pwg/advanced-clock.xml:
16031 * docs/pwg/advanced-scheduling.xml:
16032 * docs/pwg/advanced-types.xml:
16033 * plugins/elements/gstfdsink.c:
16034 * plugins/elements/gstfdsrc.c:
16035 * plugins/elements/gstfdsrc.h:
16036 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16037 * plugins/elements/gstidentity.h:
16038 * plugins/elements/gstqueue.h:
16039 * plugins/elements/gsttee.c:
16040 * plugins/elements/gsttee.h:
16041 * plugins/elements/gsttypefindelement.c:
16042 (gst_type_find_element_class_init):
16043 * plugins/elements/gsttypefindelement.h:
16044 Small updates to various docs.
16045 Added core plugins to docs.
16047 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16050 add a suppression for liboil's uninitialized variable
16052 2006-01-02 James Livingston <jrl at ids dot org dot au>
16054 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16057 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16058 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16059 compiler switch is being used (#325429).
16061 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16063 * gst/gstbin.c: (gst_bin_query):
16064 Disable duration query caching in bins until it gets
16065 fixed (see #324807).
16067 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16069 * tools/gst-inspect.c: (print_element_properties_info):
16070 Handle properties of POINTER and BOXED type.
16072 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16074 * gst/gst.c: (init_post):
16075 Init tags stuff and some other things before loading
16076 any static plugins (there may be other static plugins
16077 than just the GStreamer ones, and they may want to
16078 register their own tags or formats or whatever, and
16079 preferably without segfaulting).
16081 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16082 Print at least a warning in the debug logs if we drop a
16083 query just because we don't know how to adjust the value
16084 in the particular format.
16086 2005-12-24 David Schleef <ds@schleef.org>
16088 * tools/gstreamer-completion:
16089 Replacement for gst-complete written in sh and sed. Only
16090 completes names of features, but that's 90% of what I want
16091 it for. Properties are not available in registry.xml. (Maybe
16094 === release 0.10.1 ===
16096 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16099 releasing 0.10.1, "Nollaig chridheil"
16101 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16103 * docs/faq/cvs.xml:
16104 Add missing quote, should be make ERROR_CFLAGS="".
16106 2005-12-20 Wim Taymans <wim@fluendo.com>
16108 * docs/design/part-trickmodes.txt:
16109 More documentation on trickmodes.
16111 2005-12-20 Edward Hervey <edward@fluendo.com>
16113 * gst/gstcaps.c: (gst_static_caps_get_type):
16115 API addition: GST_TYPE_STATIC_CAPS
16116 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16117 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16118 * gst/gstpadtemplate.h:
16119 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16120 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16123 2005-12-18 Wim Taymans <wim@fluendo.com>
16125 * libs/gst/base/gstadapter.c:
16126 * libs/gst/base/gstadapter.h:
16127 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16128 (gst_base_sink_get_position):
16129 * libs/gst/base/gstbasesink.h:
16130 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16131 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16132 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16133 (gst_base_src_send_event), (gst_base_src_update_length),
16134 (gst_base_src_get_range), (gst_base_src_loop),
16135 (gst_base_src_start):
16136 * libs/gst/base/gstbasesrc.h:
16137 * libs/gst/base/gstbasetransform.h:
16138 * libs/gst/base/gstcollectpads.h:
16139 * libs/gst/base/gstpushsrc.c:
16140 * libs/gst/base/gstpushsrc.h:
16141 * libs/gst/dataprotocol/dataprotocol.c:
16142 * libs/gst/dataprotocol/dataprotocol.h:
16143 * libs/gst/net/gstnetclientclock.h:
16144 * libs/gst/net/gstnettimeprovider.h:
16145 Documentation updates.
16147 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16149 * docs/manual/basics-helloworld.xml:
16150 Remove superfluous closing bracket in helloworld example.
16152 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16154 * tools/gst-launch.1.in:
16155 Update gst-launch man page; add a section with useful
16156 environment variables. Fixes #323882.
16158 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16161 * gst/gst_private.h:
16162 change some char* into char[]
16164 2005-12-16 Wim Taymans <wim@fluendo.com>
16166 * gst/gstregistryxml.c: (load_feature):
16168 Don't use g_object_unref on GstObjects so that we avoid
16169 leaks on unsafe glibs.
16171 2005-12-16 Wim Taymans <wim@fluendo.com>
16173 * gst/gstbin.c: (gst_bin_recalc_state):
16176 2005-12-16 Wim Taymans <wim@fluendo.com>
16178 * common/check.mak:
16179 Added make forever target for check.
16181 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16183 * gst/gst.c: (init_post):
16184 make the registry cache file HOST_CPU-dependent
16186 2005-12-16 Andy Wingo <wingo@pobox.com>
16188 * plugins/elements/gstbufferstore.c
16189 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16192 * tests/check/gst/gstobject.c
16193 (test_fake_object_name_threaded_unique): Pay attention to
16194 g_list_sort return value.
16196 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16198 * tools/gst-feedback-m.m:
16199 Update for 0.9/0.10 (fixes #323870).
16201 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16203 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16204 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16206 * tests/check/gst/gstminiobject.c: (my_foo_init),
16207 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16208 (test_value_collection), (gst_mini_object_suite):
16209 Add test to ensure refcounts end up as expected when passing
16210 GstMiniObjects through g_object_get() and g_object_set().
16212 2005-12-14 Julien MOUTTE <julien@moutte.net>
16214 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16215 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16216 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16217 of collectpads. This version removes a lot of races without
16218 touching API/ABI. Yay !
16220 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16222 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16223 Don't allow activation of a srcpad in pull_range if it has no
16225 Change some debug statements to be a little clearer
16227 * plugins/elements/gsttypefindelement.c:
16228 (gst_type_find_handle_src_query):
16229 Check that we have a peer before executing queries thereupon.
16231 * tests/examples/metadata/read-metadata.c: (message_loop):
16232 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16233 immediately return us any available message with 0 timeout.
16235 2005-12-12 Michael Smith <msmith@fluendo.com>
16237 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16238 Don't unref factories after calling them.
16239 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16240 * plugins/elements/gsttypefindelement.c:
16241 (gst_type_find_element_chain):
16242 Free lists of factories after using them. Fixing typefinding memory
16245 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16247 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16248 (gst_plugin_feature_load):
16249 more meaningful debug output
16251 * tests/Makefile.am:
16252 * tests/old/examples/Makefile.am:
16253 make make distcheck happy again
16255 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16257 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16258 Catch the special case where we are operating chain-based,
16259 but the downstream peer pad has no chain function. Emit a
16260 custom error message in this case instead of letting the
16261 core generate one implying that this is some sort of core
16262 bug. It's not, it just means that whatever got plugged
16263 into the pipeline downstream when we announced the type
16264 can only operate pull-based, while our source can only
16265 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16266 Error string has not been marked for translation yet, as
16267 it probably needs some more work first.
16269 (gst_type_find_element_get_best_possibility):
16270 Add helper function to find the best of all available
16271 found possibilities that qualify given the min. threshold.
16273 (gst_type_find_element_handle_event):
16274 Fix the case where we get an EOS while still in TYPEFIND
16275 mode (we want to chose the best of all possible types,
16276 not just the first type that happens to be in our unsorted
16277 list of possible types).
16279 (gst_type_find_element_chain):
16280 Make sure we return GST_FLOW_ERROR when we errored out
16281 in stop_typefinding(); also, don't just find the best of
16282 all found type entries and then use the last examined
16283 type entry, but actually use the best entry.
16285 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16287 * tests/examples/typefind/typefind.c: (type_found):
16288 * tests/examples/xml/runxml.c: (xml_loaded):
16289 More gcc4 fixes and a mem leak fix.
16291 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16293 * tests/examples/xml/createxml.c: (object_saved):
16296 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16298 * tests/Makefile.am:
16299 enable the examples even more
16301 2005-12-12 Andy Wingo <wingo@pobox.com>
16303 * libs/gst/net/gstnettimeprovider.c
16304 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16305 (gst_net_time_provider_set_property)
16306 (gst_net_time_provider_get_property):
16307 API addition: Export "active" as a GObject property.
16308 (gst_net_time_provider_thread): Only respond to time queries if
16309 the time provider is active.
16311 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16312 NetTimeProvider, preserving binary compat.
16314 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16316 * tests/examples/controller/audio-example.c: (main):
16317 * tests/examples/launch/Makefile.am:
16318 convert comments again
16320 2005-12-12 Wim Taymans <wim@fluendo.com>
16322 * libs/gst/base/gstpushsrc.c:
16325 2005-12-12 Wim Taymans <wim@fluendo.com>
16327 * docs/libs/gstreamer-libs-sections.txt:
16328 Added new symbol to docs.
16330 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16331 (gst_base_src_init), (gst_base_src_set_format),
16332 (gst_base_src_default_query), (gst_base_src_query),
16333 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16334 (gst_base_src_perform_seek), (gst_base_src_send_event),
16335 (gst_base_src_default_event), (gst_base_src_event_handler),
16336 (gst_base_src_set_property), (gst_base_src_get_property),
16337 (gst_base_src_wait), (gst_base_src_do_sync),
16338 (gst_base_src_update_length), (gst_base_src_get_range),
16339 (gst_base_src_check_get_range), (gst_base_src_loop),
16340 (gst_base_src_default_negotiate), (gst_base_src_start),
16341 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16342 (gst_base_src_change_state):
16343 * libs/gst/base/gstbasesrc.h:
16344 Implement seeking to other formats than _BYTES.
16345 Implement more seeking methods correctly.
16347 Added query vmethod.
16348 Added do_seek vmethod to make life easier for subclasses
16350 API addition: gst_base_src_set_format()
16352 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16354 * tests/examples/Makefile.am:
16357 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16360 * docs/random/ensonic/media-device-daemon.txt:
16361 * tests/examples/controller/.cvsignore:
16362 * tests/examples/controller/Makefile.am:
16363 * tests/examples/controller/audio-example.c: (main):
16364 * tests/examples/helloworld/.cvsignore:
16365 * tests/examples/helloworld/Makefile.am:
16366 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16367 * tests/examples/launch/.cvsignore:
16368 * tests/examples/launch/Makefile.am:
16369 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16370 * tests/examples/metadata/.cvsignore:
16371 * tests/examples/metadata/Makefile.am:
16372 * tests/examples/metadata/read-metadata.c: (message_loop),
16373 (make_pipeline), (print_tag), (main):
16374 * tests/examples/queue/.cvsignore:
16375 * tests/examples/queue/Makefile.am:
16376 * tests/examples/queue/queue.c: (event_loop), (main):
16377 * tests/examples/typefind/.cvsignore:
16378 * tests/examples/typefind/Makefile.am:
16379 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16381 * tests/examples/xml/.cvsignore:
16382 * tests/examples/xml/Makefile.am:
16383 * tests/examples/xml/createxml.c: (object_saved), (main):
16384 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16385 * tests/old/examples/Makefile.am:
16386 * tests/old/examples/TODO:
16387 * tests/old/examples/controller/.cvsignore:
16388 * tests/old/examples/controller/Makefile.am:
16389 * tests/old/examples/controller/audio-example.c:
16390 * tests/old/examples/helloworld/.cvsignore:
16391 * tests/old/examples/helloworld/Makefile.am:
16392 * tests/old/examples/helloworld/helloworld.c:
16393 * tests/old/examples/launch/.cvsignore:
16394 * tests/old/examples/launch/Makefile.am:
16395 * tests/old/examples/launch/mp3parselaunch.c:
16396 * tests/old/examples/launch/mp3play:
16397 * tests/old/examples/manual/Makefile.am:
16398 * tests/old/examples/metadata/Makefile.am:
16399 * tests/old/examples/metadata/read-metadata.c:
16400 * tests/old/examples/queue/.cvsignore:
16401 * tests/old/examples/queue/Makefile.am:
16402 * tests/old/examples/queue/queue.c:
16403 * tests/old/examples/typefind/.cvsignore:
16404 * tests/old/examples/typefind/Makefile.am:
16405 * tests/old/examples/typefind/typefind.c:
16406 * tests/old/examples/xml/.cvsignore:
16407 * tests/old/examples/xml/Makefile.am:
16408 * tests/old/examples/xml/createxml.c:
16409 * tests/old/examples/xml/runxml.c:
16410 applied some simple fixing to some examples
16411 re-enabled the working examples
16413 2005-12-12 Wim Taymans <wim@fluendo.com>
16415 * gst/gstsegment.c: (gst_segment_init),
16416 (gst_segment_set_last_stop), (gst_segment_set_seek),
16417 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16418 (gst_segment_to_running_time):
16419 Added more documentation.
16420 Make sure the last_pos value is updated properly.
16421 Make sure to_stream_time and to_running_time don't
16422 operate on wrong values.
16424 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16427 2005-12-12 Michael Smith <msmith@fluendo.com>
16429 * plugins/elements/gsttypefindelement.c: (free_entry),
16430 (gst_type_find_element_chain):
16431 Now that we're not leaking factories, make sure we keep references
16432 to them while we need them.
16434 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16436 * tests/check/gst/struct_i386.h:
16437 ifdef out the XML structs
16439 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16441 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16442 floor is not needed, F is always positive; this obviates the
16443 need for adding -lm when building without libxml
16445 2005-12-12 Wim Taymans <wim@fluendo.com>
16447 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16448 Take current playback rate into account when reporting
16451 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16453 * docs/manual/mime-world.fig:
16454 Let's try this again, this time with a file that is
16455 actually in XFig format.
16457 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16459 * docs/manual/mime-world.fig:
16460 Add audioconvert element to diagram so that it
16461 matches the text and the code (fixes #319526).
16463 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16465 * docs/pwg/building-chainfn.xml:
16466 * docs/pwg/building-pads.xml:
16467 * docs/pwg/building-state.xml:
16468 * docs/pwg/other-source.xml:
16469 Update state change stuff for 0.10 (fixes #322969).
16471 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16473 * docs/manual/advanced-dataaccess.xml:
16474 * docs/manual/appendix-checklist.xml:
16475 * docs/manual/appendix-programs.xml:
16476 * docs/manual/basics-pads.xml:
16477 * docs/manual/highlevel-components.xml:
16478 * docs/manual/manual.xml:
16479 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16480 add converters in front of pipelines; remove curly
16481 brackets for threads stuff, they no longer exist; use
16482 GST_TYPE_FRACTION for framerates; update some pieces of
16483 code to 0.10, but there's plenty more to do.
16485 * docs/manual/appendix-porting.xml:
16486 Expand on asynchroneous state changes; s/0.9/0.10/;
16487 mention disappearance of gst_init_get_popt_table()
16490 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16492 * docs/faq/using.xml:
16493 Spider no longer exists, and neither does gst-launch-ext.
16494 Update examples to use decodebin and playbin and put
16495 converters in front of sinks (fixes #323726).
16497 2005-12-09 Michael Smith <msmith@fluendo.com>
16499 * plugins/elements/gsttypefindelement.c: (find_peek),
16500 (gst_type_find_element_chain):
16501 Fix leaking element factories in typefinding.
16502 Fix problem where we forgot about a probable type on non-seekable
16503 files, and thus later mis-typefound it.
16505 2005-12-09 Michael Smith <msmith@fluendo.com>
16507 * common/m4/gst-makecontext.m4:
16508 * common/m4/gst-mcsc.m4:
16510 * win32/common/config.h:
16511 * win32/common/config.h.in:
16512 Remove makecontext stuff; not used in 0.10 and causes problems on
16513 HPUX according to bug #322441
16515 2005-12-07 Wim Taymans <wim@fluendo.com>
16517 * tests/check/Makefile.am:
16518 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16520 * tests/check/libs/struct_i386.h:
16521 Added ABI check for libs
16523 2005-12-07 Wim Taymans <wim@fluendo.com>
16525 * tests/check/Makefile.am:
16526 And add the struct_i386.h to dist.
16528 2005-12-07 Wim Taymans <wim@fluendo.com>
16530 * tests/check/Makefile.am:
16531 * tests/check/gst/.cvsignore:
16532 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16534 * tests/check/gst/struct_i386.h:
16535 Added check for ABI compatibility.
16537 2005-12-07 Wim Taymans <wim@fluendo.com>
16539 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16540 (gst_fake_src_get_times), (gst_fake_src_create):
16541 Fix broken sync option, fixes #323259
16543 2005-12-07 Wim Taymans <wim@fluendo.com>
16548 * gst/gstcaps.c: (gst_caps_is_equal):
16549 Don't assert on NULL <--> X. Fixes #323260
16551 * gst/gstminiobject.c: (gst_mini_object_replace):
16552 If we're doing atomic operations, we might just as well use
16553 the proper way to get an atomic pointer.
16555 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16556 Clean up debugging.
16558 2005-12-07 Michael Smith <msmith@fluendo.com>
16560 * gst/parse/grammar.y:
16561 Remove handling of { } for threads.
16563 2005-12-06 David Schleef <ds@schleef.org>
16565 * libs/gst/base/gstbasetransform.c: speling fix.
16567 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16569 * docs/libs/tmpl/gstdataprotocol.sgml:
16570 * docs/random/omega/testing/gstobject.c:
16573 * gst/gstelement.c:
16574 * gst/gstelementfactory.c:
16577 * gst/gstghostpad.c:
16579 * gst/gstpadtemplate.c:
16580 * gst/gstregistryxml.c:
16581 * gst/gsttaglist.c:
16582 * gst/gsttagsetter.c:
16583 * gst/gsttypefind.c:
16585 * libs/gst/base/gstbasesrc.c:
16586 * libs/gst/net/gstnetclientclock.c:
16587 * libs/gst/net/gstnettimeprovider.c:
16588 * plugins/elements/gstfakesrc.c:
16589 * plugins/elements/gstfdsrc.c:
16590 * plugins/elements/gstfilesrc.c:
16591 * plugins/elements/gstidentity.c:
16592 * plugins/elements/gstqueue.c:
16593 * plugins/elements/gsttypefindelement.c:
16594 * plugins/indexers/gstfileindex.c:
16595 * plugins/indexers/gstmemindex.c:
16596 * tests/check/gst/gsttag.c:
16597 * tests/old/examples/cutter/cutter.c:
16598 * tests/old/examples/mixer/mixer.c:
16599 * tests/old/examples/xml/runxml.c: (main):
16600 * tests/old/testsuite/caps/normalisation.c:
16601 * tests/old/testsuite/debug/global.c:
16602 * tests/old/testsuite/parse/parse1.c:
16603 * tools/gst-xmlinspect.c:
16604 * win32/common/dirent.c:
16607 === release 0.10.0 ===
16609 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16612 releasing 0.10.0, "Maroilles"
16614 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16616 submitted by: Funda Wang <fundawang@linux.net.cn>
16620 added Chinese (Traditional) translation
16622 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16624 * docs/gst/gstreamer-sections.txt:
16625 * docs/libs/tmpl/gstdataprotocol.sgml:
16626 * docs/random/thomasvs/TODO:
16631 2005-12-05 Andy Wingo <wingo@pobox.com>
16633 patch by: Wim Taymans <wim@fluendo.com>
16635 * libs/gst/base/gstbasetransform.c
16636 (gst_base_transform_prepare_output_buf)
16637 (gst_base_transform_buffer_alloc):
16638 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16639 alloc_buffer_and_set_caps.
16641 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16642 set_caps on the source pad.
16643 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16644 alloc_buffer used to do. Fixes #322874.
16646 * docs/gst/gstreamer-sections.txt:
16647 * docs/design/part-negotiation.txt:
16648 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16651 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16653 patch by: Sebastien Moutte
16656 * win32/common/config.h.in:
16657 * win32/vs6/libgstcontroller.dsp:
16660 2005-12-05 Wim Taymans <wim@fluendo.com>
16662 * gst/gstcaps.c: (gst_caps_is_equal):
16663 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16664 (gst_fake_src_create):
16665 Back out previous code changes, leave doc updates, file bugs
16668 2005-12-05 Wim Taymans <wim@fluendo.com>
16670 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16671 (gst_fake_src_get_times), (gst_fake_src_create):
16672 * plugins/elements/gstfakesrc.h:
16673 Fix broken sync code.
16675 2005-12-05 Wim Taymans <wim@fluendo.com>
16677 * gst/gstcaps.c: (gst_caps_is_equal):
16678 Comparing NULL against !NULL yields different caps, not a
16681 2005-12-05 Wim Taymans <wim@fluendo.com>
16683 * gst/gstpipeline.c:
16684 Fix small typo in docs.
16686 2005-12-05 Andy Wingo <wingo@pobox.com>
16688 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16690 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16691 registries/plugins with a MAJORMINOR one.
16692 (plugin_desc): Rename library from gstcoreleements to
16693 staticelements. Fixes #323222.
16695 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16697 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16698 Change debug category to 'collectpads' from 'collect_pads'
16701 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16703 patch by: Sebastien Moutte
16705 * libs/gst/controller/gstinterpolation.c:
16706 use convert function for uint64/double
16707 * win32/vs6/libgstcontroller.dsp:
16710 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16712 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16713 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16715 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16716 add tests that seem to show that the guint64/gdouble conversions
16719 2005-12-02 Wim Taymans <wim@fluendo.com>
16721 * gst/gstregistry.c: (gst_registry_add_path):
16722 * gst/gstregistry.h:
16723 * gst/gstregistryxml.c:
16726 2005-12-02 Wim Taymans <wim@fluendo.com>
16728 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16729 (gst_util_uint64_scale_int):
16732 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16733 Add debug log line.
16735 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16738 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16741 * win32/common/config.h:
16742 * win32/vs6/gstreamer.dsw:
16743 * win32/vs6/libgstcoreelements.dsp:
16744 * win32/vs6/libgstelements.dsp:
16745 renamed core elements plugin
16747 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16749 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16751 do piece-wise major/minor comparison so 0.9 < 0.10
16752 also allow .exe extensions for tools
16754 2005-12-02 Michael Smith <msmith@fluendo.com>
16757 Escape a % to make gtkdoc happier; bug 322958.
16759 === release 0.9.7 ===
16761 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16764 releasing 0.9.7, "My Dog Has No Nose"
16766 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16768 * common/gst-xmlinspect.py:
16770 * docs/libs/tmpl/gstdataprotocol.sgml:
16771 * docs/random/release:
16790 * win32/common/config.h:
16791 * win32/common/config.h.in:
16792 * win32/vs6/gst_inspect.dsp:
16793 * win32/vs6/gst_launch.dsp:
16794 * win32/vs6/libgstbase.dsp:
16795 * win32/vs6/libgstelements.dsp:
16796 * win32/vs6/libgstreamer.dsp:
16797 * win32/vs7/GStreamer.vcproj:
16798 * win32/vs7/gst-inspect.vcproj:
16799 * win32/vs7/gst-launch.vcproj:
16800 * win32/vs7/libgstbase.vcproj:
16801 bump GST_MAJORMINOR to 0.10
16802 reset libtool version
16804 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16808 Added Bulgarian translation by (Alexander Shopov)
16810 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16812 * tests/check/gst/gstplugin.c:
16815 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16817 * common/gst-xmlinspect.py:
16818 * common/gtk-doc-plugins.mak:
16820 * docs/Makefile.am:
16821 * docs/gst/Makefile.am:
16822 * docs/gst/gstreamer-docs.sgml:
16823 * docs/gst/gstreamer-sections.txt:
16824 * docs/gst/gstreamer.types:
16825 * docs/gst/gstreamer.types.in:
16826 * docs/plugins/Makefile.am:
16827 * docs/plugins/gstreamer-plugins-docs.sgml:
16828 * docs/plugins/gstreamer-plugins-sections.txt:
16829 * docs/plugins/gstreamer-plugins.types:
16830 * docs/plugins/inspect.stamp:
16831 * docs/plugins/inspect/plugin-coreelements.xml:
16832 * docs/plugins/inspect/plugin-coreindexers.xml:
16833 * docs/plugins/scanobj-build.stamp:
16834 * gstreamer.spec.in:
16835 * plugins/elements/Makefile.am:
16836 * plugins/elements/gstelements.c:
16837 * plugins/elements/gstfakesink.c:
16838 * plugins/elements/gstfakesrc.c:
16839 * plugins/elements/gstfilesink.c:
16840 * plugins/elements/gstfilesrc.c:
16841 * plugins/elements/gstqueue.c:
16842 * plugins/indexers/Makefile.am:
16843 * plugins/indexers/gstindexers.c:
16844 document core plugins in a separate document just like all the
16846 rename these plugins to something starting with core
16848 2005-12-01 Andy Wingo <wingo@pobox.com>
16850 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16851 padding here before, but it missed the commit.
16853 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16855 * libs/gst/controller/gstinterpolation.c:
16856 whitespace prices have crashed, we should feel free to use some now
16857 use gst_guint64_to_gdouble
16859 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16861 * libs/gst/controller/gstcontroller.c:
16862 * libs/gst/controller/gsthelper.c:
16863 * libs/gst/controller/gstinterpolation.c:
16864 * libs/gst/controller/lib.c:
16865 wrap config.h include
16867 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16869 * docs/gst/gstreamer-sections.txt:
16872 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16874 * plugins/elements/gstelements.c:
16875 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16876 (gst_fd_sink__class_init), (gst_fd_sink__init),
16877 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16878 (gst_fd_sink__get_property):
16879 * plugins/elements/gstfdsink.h:
16880 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16881 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16882 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16883 (gst_fd_src_unlock), (gst_fd_src_set_property),
16884 (gst_fd_src_get_property), (gst_fd_src_create),
16885 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16886 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16887 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16888 (gst_fd_src_uri_handler_init):
16889 * plugins/elements/gstfdsrc.h:
16890 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16893 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16895 * docs/gst/Makefile.am:
16896 * docs/gst/gstreamer.types.in:
16900 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16906 * gst/gstregistry.h:
16907 * tests/benchmarks/complexity.c:
16908 * tests/benchmarks/mass-elements.c:
16909 * tests/check/Makefile.am:
16910 * tools/Makefile.am:
16911 * tools/gst-inspect.c:
16912 * tools/gst-xmlinspect.c:
16913 various fixes to make
16914 --disable-nls --disable-registry --disable-loadsave
16915 --disable-parse --disable-gst-debug
16916 work and get the core .so down to 360444 bytes after stripping
16918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16923 * docs/random/thomasvs/TODO:
16924 * tests/Makefile.am:
16928 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16930 * win32/GStreamer.vcproj:
16933 * win32/Makefile.inspect:
16934 * win32/Makefile.launch:
16935 * win32/Makefile.register:
16936 * win32/README.txt:
16937 * win32/gst-inspect.vcproj:
16938 * win32/gst-launch.vcproj:
16939 * win32/gst-register.vcproj:
16940 * win32/gstelements.vcproj:
16941 * win32/gstgetbits.def:
16942 * win32/gstgetbits.vcproj:
16943 * win32/gstreamer-dbg.def:
16944 * win32/gstreamer.def:
16945 * win32/libgstbase.def:
16946 * win32/libgstbase.vcproj:
16947 * win32/link_oldruntime.c:
16951 * win32/msvc71.sln:
16952 move even more stuff, win32/ is nice and clean now
16954 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16956 * libs/gst/control/.cvsignore:
16961 * win32/gstbytestream.def:
16962 * win32/gstbytestream.vcproj:
16963 * win32/gstconfig.h:
16964 * win32/gstenumtypes.c:
16965 * win32/gstenumtypes.h:
16966 * win32/gstoptimalscheduler.vcproj:
16967 * win32/gstversion.h:
16969 * win32/testsuite/bins.vcproj:
16970 * win32/testsuite/bytestream.vcproj:
16971 * win32/testsuite/caps.vcproj:
16972 * win32/testsuite/cleanup.vcproj:
16973 * win32/testsuite/clock.vcproj:
16974 * win32/testsuite/debug.vcproj:
16975 * win32/testsuite/dlopen.vcproj:
16976 * win32/testsuite/dynparams.vcproj:
16977 * win32/testsuite/elements.vcproj:
16978 * win32/testsuite/ghostpads.vcproj:
16979 * win32/testsuite/indexers.vcproj:
16980 * win32/testsuite/negotiation.vcproj:
16981 * win32/testsuite/parse.vcproj:
16982 * win32/testsuite/plugin.vcproj:
16983 * win32/testsuite/refcounting.vcproj:
16984 * win32/testsuite/schedulers.vcproj:
16985 * win32/testsuite/states.vcproj:
16986 * win32/testsuite/tags.vcproj:
16987 * win32/testsuite/threads.vcproj:
16988 remove old win32 stuff that isn't maintained and should be
16991 2005-11-30 Andy Wingo <wingo@pobox.com>
16993 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16994 loading the gst.interfaces python module bork.
16996 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16997 available since GLib 2.2. Fixes #318031.
16999 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17002 * check/.cvsignore:
17003 * check/Makefile.am:
17004 * check/elements/.cvsignore:
17005 * check/elements/fakesrc.c:
17006 * check/elements/fdsrc.c:
17007 * check/elements/identity.c:
17008 * check/generic/.cvsignore:
17009 * check/generic/states.c:
17010 * check/gst-libs/.cvsignore:
17011 * check/gst-libs/controller.c:
17012 * check/gst-libs/gdp.c:
17013 * check/gst/.cvsignore:
17014 * check/gst/capslist.h:
17016 * check/gst/gstbin.c:
17017 * check/gst/gstbuffer.c:
17018 * check/gst/gstbus.c:
17019 * check/gst/gstcaps.c:
17020 * check/gst/gstelement.c:
17021 * check/gst/gstevent.c:
17022 * check/gst/gstghostpad.c:
17023 * check/gst/gstiterator.c:
17024 * check/gst/gstmessage.c:
17025 * check/gst/gstminiobject.c:
17026 * check/gst/gstobject.c:
17027 * check/gst/gstpad.c:
17028 * check/gst/gstpipeline.c:
17029 * check/gst/gstplugin.c:
17030 * check/gst/gstsegment.c:
17031 * check/gst/gststructure.c:
17032 * check/gst/gstsystemclock.c:
17033 * check/gst/gsttag.c:
17034 * check/gst/gstutils.c:
17035 * check/gst/gstvalue.c:
17036 * check/net/.cvsignore:
17037 * check/net/gstnetclientclock.c:
17038 * check/net/gstnettimeprovider.c:
17039 * check/pipelines/.cvsignore:
17040 * check/pipelines/cleanup.c:
17041 * check/pipelines/simple_launch_lines.c:
17042 * check/pipelines/stress.c:
17043 * check/states/.cvsignore:
17044 * check/states/sinks.c:
17046 * examples/Makefile.am:
17047 * examples/appreader/.cvsignore:
17048 * examples/appreader/Makefile.am:
17049 * examples/appreader/appreader.c:
17050 * examples/controller/.cvsignore:
17051 * examples/controller/Makefile.am:
17052 * examples/controller/audio-example.c:
17053 * examples/cutter/.cvsignore:
17054 * examples/cutter/Makefile.am:
17055 * examples/cutter/cutter.c:
17056 * examples/cutter/cutter.h:
17057 * examples/events/Makefile.am:
17058 * examples/events/seek.c:
17059 * examples/helloworld/.cvsignore:
17060 * examples/helloworld/Makefile.am:
17061 * examples/helloworld/helloworld.c:
17062 * examples/helloworld2/.cvsignore:
17063 * examples/helloworld2/Makefile.am:
17064 * examples/helloworld2/helloworld2.c:
17065 * examples/launch/.cvsignore:
17066 * examples/launch/Makefile.am:
17067 * examples/launch/mp3parselaunch.c:
17068 * examples/launch/mp3play:
17069 * examples/manual/.cvsignore:
17070 * examples/manual/Makefile.am:
17071 * examples/manual/extract.pl:
17072 * examples/metadata/Makefile.am:
17073 * examples/metadata/read-metadata.c:
17074 * examples/mixer/.cvsignore:
17075 * examples/mixer/Makefile.am:
17076 * examples/mixer/mixer.c:
17077 * examples/mixer/mixer.h:
17078 * examples/pingpong/.cvsignore:
17079 * examples/pingpong/Makefile.am:
17080 * examples/pingpong/pingpong.c:
17081 * examples/plugins/.cvsignore:
17082 * examples/plugins/Makefile.am:
17083 * examples/plugins/example.c:
17084 * examples/plugins/example.h:
17085 * examples/pwg/.cvsignore:
17086 * examples/pwg/Makefile.am:
17087 * examples/pwg/extract.pl:
17088 * examples/queue/.cvsignore:
17089 * examples/queue/Makefile.am:
17090 * examples/queue/queue.c:
17091 * examples/queue2/.cvsignore:
17092 * examples/queue2/Makefile.am:
17093 * examples/queue2/queue2.c:
17094 * examples/queue3/.cvsignore:
17095 * examples/queue3/Makefile.am:
17096 * examples/queue3/queue3.c:
17097 * examples/queue4/.cvsignore:
17098 * examples/queue4/Makefile.am:
17099 * examples/queue4/queue4.c:
17100 * examples/retag/.cvsignore:
17101 * examples/retag/Makefile.am:
17102 * examples/retag/retag.c:
17103 * examples/retag/transcode.c:
17104 * examples/thread/.cvsignore:
17105 * examples/thread/Makefile.am:
17106 * examples/thread/thread.c:
17107 * examples/typefind/.cvsignore:
17108 * examples/typefind/Makefile.am:
17109 * examples/typefind/typefind.c:
17110 * examples/xml/.cvsignore:
17111 * examples/xml/Makefile.am:
17112 * examples/xml/createxml.c:
17113 * examples/xml/runxml.c:
17114 * tests/Makefile.am:
17115 * tests/check/Makefile.am:
17116 * testsuite/.cvsignore:
17117 * testsuite/Makefile.am:
17119 * testsuite/caps/.cvsignore:
17120 * testsuite/caps/Makefile.am:
17121 * testsuite/caps/app_fixate.c:
17122 * testsuite/caps/audioscale.c:
17123 * testsuite/caps/caps.c:
17124 * testsuite/caps/caps.h:
17125 * testsuite/caps/caps_strings:
17126 * testsuite/caps/compatibility.c:
17127 * testsuite/caps/deserialize.c:
17128 * testsuite/caps/enumcaps.c:
17129 * testsuite/caps/eratosthenes.c:
17130 * testsuite/caps/filtercaps.c:
17131 * testsuite/caps/fixed.c:
17132 * testsuite/caps/fraction-convert.c:
17133 * testsuite/caps/fraction-multiply-and-zero.c:
17134 * testsuite/caps/intersect2.c:
17135 * testsuite/caps/intersection.c:
17136 * testsuite/caps/normalisation.c:
17137 * testsuite/caps/random.c:
17138 * testsuite/caps/renegotiate.c:
17139 * testsuite/caps/sets.c:
17140 * testsuite/caps/simplify.c:
17141 * testsuite/caps/string-conversions.c:
17142 * testsuite/caps/structure.c:
17143 * testsuite/caps/subtract.c:
17144 * testsuite/caps/union.c:
17145 * testsuite/debug/.cvsignore:
17146 * testsuite/debug/Makefile.am:
17147 * testsuite/debug/category.c:
17148 * testsuite/debug/commandline.c:
17149 * testsuite/debug/global.c:
17150 * testsuite/debug/output.c:
17151 * testsuite/debug/printf_extension.c:
17152 * testsuite/dlopen/.cvsignore:
17153 * testsuite/dlopen/Makefile.am:
17154 * testsuite/dlopen/dlopen_gst.c:
17155 * testsuite/dlopen/loadgst.c:
17156 * testsuite/elements/.cvsignore:
17157 * testsuite/elements/Makefile.am:
17158 * testsuite/elements/gst-inspect-check.in:
17159 * testsuite/elements/struct_i386.h:
17160 * testsuite/elements/struct_size.c:
17161 * testsuite/indexers/.cvsignore:
17162 * testsuite/indexers/Makefile.am:
17163 * testsuite/indexers/cache1.c:
17164 * testsuite/indexers/indexdump.c:
17165 * testsuite/parse/.cvsignore:
17166 * testsuite/parse/Makefile.am:
17167 * testsuite/parse/parse1.c:
17168 * testsuite/parse/parse2.c:
17169 * testsuite/plugin/.cvsignore:
17170 * testsuite/plugin/Makefile.am:
17171 * testsuite/plugin/README:
17172 * testsuite/plugin/dynamic.c:
17173 * testsuite/plugin/linked.c:
17174 * testsuite/plugin/loading.c:
17175 * testsuite/plugin/registry.c:
17176 * testsuite/plugin/static.c:
17177 * testsuite/plugin/static2.c:
17178 * testsuite/plugin/testplugin.c:
17179 * testsuite/plugin/testplugin2.c:
17180 * testsuite/plugin/testplugin2_s.c:
17181 * testsuite/plugin/testplugin_s.c:
17182 * testsuite/refcounting/.cvsignore:
17183 * testsuite/refcounting/Makefile.am:
17184 * testsuite/refcounting/bin.c:
17185 * testsuite/refcounting/element.c:
17186 * testsuite/refcounting/element_pad.c:
17187 * testsuite/refcounting/mainloop.c:
17188 * testsuite/refcounting/mem.c:
17189 * testsuite/refcounting/mem.h:
17190 * testsuite/refcounting/object.c:
17191 * testsuite/refcounting/pad.c:
17192 * testsuite/refcounting/sched.c:
17193 * testsuite/refcounting/thread.c:
17194 * testsuite/states/.cvsignore:
17195 * testsuite/states/Makefile.am:
17196 * testsuite/states/bin.c:
17197 * testsuite/states/locked.c:
17198 * testsuite/states/parent.c:
17199 * testsuite/threads/.cvsignore:
17200 * testsuite/threads/159566.c:
17201 * testsuite/threads/159852.c:
17202 * testsuite/threads/Makefile.am:
17203 * testsuite/threads/queue.c:
17204 * testsuite/threads/signals.c:
17205 * testsuite/threads/staticrec.c:
17206 * testsuite/threads/thread.c:
17207 * testsuite/threads/threadb.c:
17208 * testsuite/threads/threadc.c:
17209 * testsuite/threads/threadd.c:
17210 * testsuite/threads/threade.c:
17211 * testsuite/threads/threadf.c:
17212 * testsuite/threads/threadg.c:
17213 * testsuite/threads/threadh.c:
17214 * testsuite/threads/threadi.c:
17215 move all of these under tests
17217 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17220 * tests/Makefile.am:
17223 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17225 * docs/gst/gstreamer-sections.txt:
17226 * tests/sched/.cvsignore:
17227 * tests/sched/Makefile.am:
17228 * tests/sched/cases/(fs-fs).xml:
17229 * tests/sched/cases/(fs-i-fs).xml:
17230 * tests/sched/cases/(fs-i-i-fs).xml:
17231 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17232 * tests/sched/dynamic-pipeline.c:
17233 * tests/sched/interrupt1.c:
17234 * tests/sched/interrupt2.c:
17235 * tests/sched/interrupt3.c:
17236 * tests/sched/runtestcases:
17237 * tests/sched/runxml.c:
17238 * tests/sched/sched-stress.c:
17239 * tests/sched/sort.c:
17240 * tests/sched/testcases:
17241 * tests/sched/testcases1.tc:
17242 * tests/seeking/.cvsignore:
17243 * tests/seeking/Makefile.am:
17244 * tests/seeking/seeking1.c:
17245 * tests/threadstate/.cvsignore:
17246 * tests/threadstate/Makefile.am:
17247 * tests/threadstate/test1.c:
17248 * tests/threadstate/test2.c:
17249 * tests/threadstate/threadstate1.c:
17250 * tests/threadstate/threadstate2.c:
17251 * tests/threadstate/threadstate3.c:
17252 * tests/threadstate/threadstate4.c:
17253 * tests/threadstate/threadstate5.c:
17254 remove obsolete tests
17256 * tests/bench-complexity.scm:
17257 * tests/bench-mass_elements.scm:
17258 * tests/complexity.c:
17259 * tests/complexity.gnuplot:
17260 * tests/instantiate/.cvsignore:
17261 * tests/instantiate/Makefile.am:
17262 * tests/instantiate/caps.c:
17263 * tests/mass_elements.c:
17264 * tests/network-clock-utils.scm:
17265 * tests/network-clock.scm:
17267 First pass at cleaning up tests/ dir before moving the rest
17268 Combined with CVS surgery
17270 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17273 queue has moved, update
17275 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17277 * docs/gst/gstreamer-sections.txt:
17278 remove double entries from the docs
17279 * gst/gst_private.h:
17280 * gst/gstinfo.c: (_gst_debug_init):
17281 remove the THREAD debug category
17285 * docs/gst/gstreamer.types:
17286 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17287 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17288 completely move queue and fix up debugging categories
17290 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17292 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17293 make initialization portable, using LL is not
17295 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17297 * win32/common/gstconfig.h:
17300 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17302 * win32/common/libgstreamer.def:
17303 rename symbols; sort base section
17305 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17307 * gst/gstclock.c: (do_linear_regression):
17308 remove crack non-portable handrolled DEBUG macro
17310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17312 * docs/random/release:
17314 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17315 (gst_object_flags_get_type), (register_gst_bin_flags),
17316 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17317 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17318 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17319 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17320 (gst_caps_flags_get_type), (register_gst_clock_return),
17321 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17322 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17323 (gst_clock_flags_get_type), (register_gst_state),
17324 (gst_state_get_type), (register_gst_state_change_return),
17325 (gst_state_change_return_get_type), (register_gst_state_change),
17326 (gst_state_change_get_type), (register_gst_element_flags),
17327 (gst_element_flags_get_type), (register_gst_core_error),
17328 (gst_core_error_get_type), (register_gst_library_error),
17329 (gst_library_error_get_type), (register_gst_resource_error),
17330 (gst_resource_error_get_type), (register_gst_stream_error),
17331 (gst_stream_error_get_type), (register_gst_event_type_flags),
17332 (gst_event_type_flags_get_type), (register_gst_event_type),
17333 (gst_event_type_get_type), (register_gst_seek_type),
17334 (gst_seek_type_get_type), (register_gst_seek_flags),
17335 (gst_seek_flags_get_type), (register_gst_format),
17336 (gst_format_get_type), (register_gst_index_certainty),
17337 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17338 (gst_index_entry_type_get_type),
17339 (register_gst_index_lookup_method),
17340 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17341 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17342 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17343 (gst_index_flags_get_type), (register_gst_debug_level),
17344 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17345 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17346 (gst_iterator_result_get_type), (register_gst_iterator_item),
17347 (gst_iterator_item_get_type), (register_gst_message_type),
17348 (gst_message_type_get_type), (register_gst_mini_object_flags),
17349 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17350 (gst_pad_link_return_get_type), (register_gst_flow_return),
17351 (gst_flow_return_get_type), (register_gst_activate_mode),
17352 (gst_activate_mode_get_type), (register_gst_pad_direction),
17353 (gst_pad_direction_get_type), (register_gst_pad_flags),
17354 (gst_pad_flags_get_type), (register_gst_pad_presence),
17355 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17356 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17357 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17358 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17359 (gst_plugin_flags_get_type), (register_gst_rank),
17360 (gst_rank_get_type), (register_gst_query_type),
17361 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17362 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17363 (gst_tag_flag_get_type), (register_gst_task_state),
17364 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17365 (gst_alloc_trace_flags_get_type),
17366 (register_gst_type_find_probability),
17367 (gst_type_find_probability_get_type), (register_gst_uri_type),
17368 (gst_uri_type_get_type), (register_gst_parse_error),
17369 (gst_parse_error_get_type):
17370 * win32/common/gstenumtypes.h:
17371 * win32/common/gstversion.h:
17372 update visual studio generated files
17374 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17376 * win32/vs6/libgstbase.dsp:
17377 * win32/vs6/libgstelements.dsp:
17378 update project files for new locations
17380 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17385 reinstate and update
17390 * docs/random/LICENSE:
17393 2005-11-30 Edward Hervey <edward@fluendo.com>
17395 * gst/gsttypefind.c: (gst_type_find_register):
17396 * gst/gsttypefind.h:
17397 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17398 (gst_type_find_factory_dispose):
17399 * gst/gsttypefindfactory.h:
17400 Fix memory leak in GstTypeFindFactory.
17402 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17405 * plugins/elements/Makefile.am:
17406 * plugins/elements/gstelements.c:
17407 * plugins/elements/gstqueue.c:
17408 move queue from core to the elements plugin
17410 2005-11-29 Andy Wingo <wingo@pobox.com>
17412 * libs/gst/base/gstbasetransform.h:
17413 * libs/gst/base/gstbasesrc.h:
17414 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17416 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17417 of pointers by which to pad very extensible base classes (like the
17418 ones in libs/gst/base).
17420 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17422 * docs/gst/gstreamer-docs.sgml:
17423 * docs/gst/gstreamer-sections.txt:
17424 * docs/libs/gstreamer-libs-docs.sgml:
17425 * docs/libs/gstreamer-libs-sections.txt:
17426 moving documentation from core to lib
17428 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17430 * check/Makefile.am:
17432 * docs/gst/Makefile.am:
17434 * gst/base/.cvsignore:
17435 * gst/base/Makefile.am:
17437 * gst/base/gstadapter.c:
17438 * gst/base/gstadapter.h:
17439 * gst/base/gstbasesink.c:
17440 * gst/base/gstbasesink.h:
17441 * gst/base/gstbasesrc.c:
17442 * gst/base/gstbasesrc.h:
17443 * gst/base/gstbasetransform.c:
17444 * gst/base/gstbasetransform.h:
17445 * gst/base/gstcollectpads.c:
17446 * gst/base/gstcollectpads.h:
17447 * gst/base/gstpushsrc.c:
17448 * gst/base/gstpushsrc.h:
17449 * gst/base/gsttypefindhelper.c:
17450 * gst/base/gsttypefindhelper.h:
17451 * gst/check/Makefile.am:
17452 * gst/check/gstcheck.c:
17453 * gst/check/gstcheck.h:
17454 * gst/net/Makefile.am:
17455 * gst/net/gstnet.h:
17456 * gst/net/gstnetclientclock.c:
17457 * gst/net/gstnetclientclock.h:
17458 * gst/net/gstnettimepacket.c:
17459 * gst/net/gstnettimepacket.h:
17460 * gst/net/gstnettimeprovider.c:
17461 * gst/net/gstnettimeprovider.h:
17462 * libs/gst/Makefile.am:
17463 * libs/gst/base/Makefile.am:
17464 * libs/gst/base/gstbasetransform.c:
17465 * libs/gst/check/Makefile.am:
17466 * plugins/elements/Makefile.am:
17468 CVS surgery + support to move base, check, and net out of gst
17471 2005-11-29 Andy Wingo <wingo@pobox.com>
17473 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17475 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17478 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17480 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17482 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17484 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17485 padding; reduces object size by about 30%. We don't expect
17486 anything else to go into gstobject.
17488 * gst/gstminiobject.h (struct _GstMiniObject)
17489 (struct _GstMiniObjectClass): Only one pointer of padding; the
17490 payload is only a pointer and two ints anyway. For the class there
17491 are only two methods as well.
17493 * gst/gstelement.h (struct _GstElementClass): Removed
17494 the state_changed signal callback, it is not used.
17496 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17498 * docs/gst/gstreamer.types:
17499 fix includes, though they are a little dinky
17501 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17503 * check/Makefile.am:
17504 look in the right place for elements, a lot more chance of
17507 remove indexers and elements subdirs
17508 * plugins/Makefile.am:
17509 make indexers conditional
17511 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17515 * plugins/elements/Makefile.am:
17516 * plugins/elements/gstcapsfilter.c:
17517 * plugins/elements/gstfilesink.c:
17518 * plugins/elements/gstfilesrc.c:
17519 * plugins/elements/gstidentity.c:
17520 * plugins/indexers/Makefile.am:
17521 do CVS surgery and related build fixery to move elements
17522 and indexers in a new gstreamer/plugins directory, out of the
17525 2005-11-29 Andy Wingo <wingo@pobox.com>
17527 * check/Makefile.am:
17528 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17529 * pkgconfig/gstreamer-net.pc.in:
17530 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17533 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17535 * tools/Makefile.am:
17536 * tools/gst-complete.1.in:
17537 * tools/gst-complete.c:
17538 * tools/gst-compprep.1.in:
17539 * tools/gst-compprep.c:
17540 removing -compprep and -complete
17542 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17544 * gst/gstevent.c: (gst_event_new_new_segment),
17545 (gst_event_parse_new_segment):
17547 fix #320529 - clean up new_segment API and structure.
17548 Let's hope everyone was using the methods, and not the structure.
17550 2005-11-29 Edward Hervey <edward@fluendo.com>
17552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17553 (gst_base_sink_event), (gst_base_sink_do_sync),
17554 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17555 Properly handle non GST_FORMAT_TIME segment
17556 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17557 Properly handle non GST_FORMAT_TIME segment
17558 * gst/gstsegment.c:
17559 This function is valid if the accumulator is 0 and the format
17560 is different from the requested format.
17562 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17564 * docs/gst/gstreamer-sections.txt:
17565 Add gst_query_new_seeking and gst_query_parse_seeking to the
17568 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17570 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17571 Treat a pad alloc with new caps the same as if we were not
17572 negotiated, in order to allow a changing upstream output
17573 to produce a new format of data.
17575 2005-11-29 Edward Hervey <edward@fluendo.com>
17577 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17578 (gst_base_transform_event), (gst_base_transform_eventfunc):
17579 The event virtual method is now properly implemented, with a default
17581 Sub classes should call the parent_class event method. They should
17582 return FALSE if they had a problem handling the given event, or don't
17583 want GstBaseTransform to send that even downstream
17584 * gst/elements/gstidentity.c: (gst_identity_class_init),
17585 (gst_identity_init), (gst_identity_event),
17586 (gst_identity_transform_ip), (gst_identity_set_property),
17587 (gst_identity_get_property):
17588 * gst/elements/gstidentity.h:
17589 Added the single-segment boolean property.
17590 If set to TRUE, it will output a single segment of data, starting from
17591 0, will eat up all incoming newsegment, and modify the timestamp of the
17592 buffers accordingly
17594 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17596 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17597 Don't ref NULL target pad (#322751). Improve docs.
17599 2005-11-29 Michael Smith <msmith@fluendo.com>
17601 * gst/gstregistryxml.c: (load_plugin):
17602 Don't crash if we failed to load a feature from a plugin.
17604 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17606 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17608 use more check API and less GLib API
17610 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17613 don't run checks if we don't have check
17614 * common/check.mak:
17615 remove the registry when running make torture
17616 * docs/gst/gstreamer-sections.txt:
17617 remove second multiply
17618 * gst/gstqueue.c: (gst_queue_loop):
17619 fix a compile warning when disabling debug
17621 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17624 Hey! Let's print the pad name if the pointer != NULL instead
17625 of when it == NULL :-)
17627 2005-11-28 Wim Taymans <wim@fluendo.com>
17629 * check/gst/gstutils.c: (GST_START_TEST):
17630 Updated check, add some scaling accuracy checking code.
17632 * gst/gstutils.c: (gst_util_div128_64),
17633 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17634 (gst_util_uint64_scale_int):
17635 Fix 6 times faster division code. Optimize for common
17636 1/1 and less common X/1 cases.
17638 2005-11-28 Wim Taymans <wim@fluendo.com>
17640 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17643 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17644 (do_linear_regression), (gst_clock_add_observation):
17646 Release lock when the clock cannot be slaved.
17647 Catch the case where the regression returned an invalid denominator.
17649 * gst/gstutils.c: (gst_util_div128_64_iterate),
17650 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17651 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17652 Add protentially more performant non-iterative 128/64 divide function
17653 that unfortunatly does not work yet.
17654 Shortcut the trivial 0/X = 0 case.
17655 Remove the warnings on overflow.
17657 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17659 * gst/gstplugin.c: (gst_plugin_register_func):
17660 everything causing a plugin not to load should be at least a WARNING
17662 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17664 * docs/random/ensonic/dparams.txt:
17665 some TODOs for the next dev cycle
17666 * libs/gst/controller/gstcontroller.c:
17667 (gst_controlled_property_set_interpolation_mode),
17668 (gst_controlled_property_new):
17669 * libs/gst/controller/gstcontroller.h:
17670 use base type to assign acccessor functions
17672 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17674 * check/Makefile.am:
17675 Oops, that should have been top_srcdir
17677 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17679 * check/Makefile.am:
17680 * check/elements/fdsrc.c: (GST_START_TEST):
17681 Use a cmdline define to specify the location of a file to use for
17682 testing, to avoid breaking distcheck.
17684 2005-11-28 Andy Wingo <wingo@pobox.com>
17686 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17688 2005-11-28 Edward Hervey <edward@fluendo.com>
17690 * tools/gst-launch.c: (main):
17691 Clarify the output strings, makes it easier to translate.
17694 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17697 don't try and build net if we don't even have <sys/socket.h>
17699 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17701 * check/Makefile.am:
17702 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17703 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17704 Add tests for fdsrc seekability
17706 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17707 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17708 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17709 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17710 * gst/elements/gstfdsrc.h:
17711 fdsrc should not be a 'live' source.
17712 Implement seeking on seekable fd's.
17714 * gst/gstquery.c: (gst_query_new_seeking),
17715 (gst_query_parse_seeking):
17717 Implement SEEKING query functions:
17718 *_new_seeking and *_parse_seeking
17720 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17722 * gst/gstelement.c: (gst_element_dispose):
17725 * gst/gstiterator.c:
17726 * gst/gststructure.c:
17729 * libs/gst/controller/gstcontroller.c:
17730 (gst_controlled_property_set_interpolation_mode):
17731 * libs/gst/controller/gstcontroller.h:
17732 * libs/gst/controller/gstinterpolation.c:
17733 (interpolate_none_get_enum_value_array):
17734 support controlling enums
17736 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17739 Improve documentation for gst_value_union().
17742 Change return value for union, intersect and subtract functions
17743 from gint to gboolean.
17745 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17747 * gst/gstvalue.c: (gst_value_serialize_any_list),
17748 (gst_value_transform_any_list_string),
17749 (gst_value_deserialize_list), (gst_value_deserialize_array),
17750 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17751 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17752 (gst_value_set_fraction_range_full),
17753 (gst_value_deserialize_fraction_range),
17754 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17755 (gst_value_deserialize_boolean),
17756 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17757 (gst_value_serialize_float), (gst_value_deserialize_float),
17758 (gst_string_wrap), (gst_value_deserialize_string),
17759 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17760 (gst_value_union_int_range_int_range),
17761 (gst_value_intersect_int_range_int_range),
17762 (gst_value_intersect_double_range_double_range),
17763 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17764 (gst_value_subtract_int_range_int_range),
17765 (gst_value_subtract_double_double_range),
17766 (gst_value_subtract_double_range_double_range),
17767 (gst_value_deserialize_fraction):
17769 Use gint, gdouble and gchar in our API instead of int, double and
17770 char (and make usage in gstvalue.c more consistent).
17772 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17774 * check/Makefile.am:
17775 * libs/gst/controller/Makefile.am:
17776 * libs/gst/dataprotocol/Makefile.am:
17777 fix up Makefile.am and remove GST_ENABLE_NEW
17779 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17783 * gst/base/Makefile.am:
17784 * gst/check/Makefile.am:
17785 * gst/elements/Makefile.am:
17786 * gst/net/Makefile.am:
17787 update LDFLAGS use some more
17789 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17791 * common/m4/gst-doc.m4:
17794 2005-11-26 Edward Hervey <edward@fluendo.com>
17796 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17797 This shouldn't issue a g_warning since it returns NULL if it
17798 couldn't find the plugin, and all functions using this behave
17799 properly on a NULL return. Switching to a GST_WARNING.
17801 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17803 * gst/gstbin.c: (gst_bin_handle_message_func):
17804 Don't leak clock messages.
17806 2005-11-25 Wim Taymans <wim@fluendo.com>
17808 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17809 (gst_util_uint64_scale_int):
17810 Optimisations, remove unneeded vars.
17812 2005-11-25 Wim Taymans <wim@fluendo.com>
17814 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17815 Added more checks for the high precision uint64 cases.
17817 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17818 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17819 Implement high precision (guint64 * guint64) / guint64.
17821 2005-11-24 Wim Taymans <wim@fluendo.com>
17823 * gst/base/gstbasesrc.c: (gst_base_src_query):
17824 Fix wrong percentage query.
17826 * gst/gstutils.c: (gst_util_uint64_scale),
17827 (gst_util_uint64_scale_int):
17828 Add some more common cases that can be handled
17829 efficiently to _scale.
17831 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17833 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17834 (gst_mini_object_suite):
17835 don't use check calls from threads; check probably isn't
17836 threadsafe and using a lock to make it threadsafe would
17837 defeat the purpose of this check
17838 * gst/check/gstcheck.c:
17839 * gst/check/gstcheck.h:
17840 use GST_DEBUG some more
17842 2005-11-24 Wim Taymans <wim@fluendo.com>
17844 * gst/gstutils.c: (gst_util_uint64_scale),
17845 (gst_util_uint64_scale_int):
17846 Chain trivial case to _scale_int.
17848 2005-11-24 Wim Taymans <wim@fluendo.com>
17850 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17851 Added test for scaling.
17856 * gst/gstutils.c: (gst_util_uint64_scale_int):
17857 Implemented high precision scaling code.
17859 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17862 do not crash on pad==NULL
17864 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17866 Patch by: Stefan Kost
17868 * common/gtk-doc.mak:
17869 * docs/gst/Makefile.am:
17870 * docs/libs/Makefile.am:
17871 Fix distcheck issues for the libraries docs build
17874 2005-11-24 Michael Smith <msmith@fluendo.com>
17876 * docs/manual/basics-helloworld.xml:
17877 Fix bug #315027: memory leak in example code in docs.
17879 2005-11-24 Michael Smith <msmith@fluendo.com>
17881 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17882 Unlock the PREROLL_LOCK in a failure case.
17884 2005-11-24 Wim Taymans <wim@fluendo.com>
17886 * docs/gst/gstreamer-sections.txt:
17887 * gst/base/gstadapter.h:
17888 * gst/base/gstbasesink.h:
17889 * gst/base/gstbasesrc.h:
17890 * gst/base/gstbasetransform.h:
17891 * gst/base/gstpushsrc.h:
17892 * gst/elements/gstfakesink.h:
17893 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17894 * gst/elements/gstfakesrc.h:
17895 * gst/elements/gstfilesink.h:
17896 * gst/elements/gstfilesrc.h:
17899 * gst/gstbuffer.c: (_gst_buffer_copy):
17902 * gst/gstchildproxy.c:
17904 * gst/gstelement.c:
17905 * gst/gstelementfactory.c:
17906 * gst/gstelementfactory.h:
17908 * gst/gstghostpad.h:
17910 * gst/gstinterface.h:
17911 * gst/gstminiobject.c:
17912 * gst/gstminiobject.h:
17915 * gst/gstpadtemplate.h:
17916 * gst/gstpipeline.h:
17917 * gst/gstpluginfeature.h:
17920 * gst/gsttaglist.c:
17921 * gst/gsttaglist.h:
17922 * gst/gsttagsetter.c:
17923 * gst/gsttagsetter.h:
17926 * gst/gsttypefind.h:
17929 * gst/net/gstnetclientclock.c:
17930 * gst/net/gstnetclientclock.h:
17931 * gst/net/gstnettimepacket.c:
17932 * gst/net/gstnettimeprovider.c:
17933 * gst/net/gstnettimeprovider.h:
17936 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17938 * configure.ac: back to HEAD
17940 === release 0.9.6 ===
17942 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17945 releasing 0.9.6, "Always On Time"
17947 2005-11-23 Wim Taymans <wim@fluendo.com>
17949 * docs/gst/gstreamer-sections.txt:
17950 * gst/glib-compat.c:
17951 * gst/gsttagsetter.c:
17953 * gst/net/gstnetclientclock.c:
17954 * gst/net/gstnettimepacket.h:
17957 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17959 * docs/faq/using.xml:
17960 * docs/libs/tmpl/gstcontrol.sgml:
17961 * docs/manual/advanced-dparams.xml:
17962 * docs/manual/appendix-checklist.xml:
17963 * docs/manual/basics-elements.xml:
17964 * docs/pwg/other-source.xml:
17965 * docs/random/moving-plugins:
17967 * tools/gst-launch.1.in:
17968 remove mentions of sinesrc
17970 2005-11-23 Michael Smith <msmith@fluendo.com>
17972 * docs/gst/gstreamer-sections.txt:
17973 Update for new API and API changes.
17975 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17977 Documentation typo fix.
17978 * gst/net/gstnettimepacket.c:
17979 Documentation fixes for arguments.
17981 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17983 * gst/gststructure.c: (gst_structure_get_fraction),
17984 (gst_structure_parse_value),
17985 (gst_structure_fixate_field_nearest_fraction):
17986 * gst/gststructure.h:
17987 * gst/gstutils.c: (gst_util_uint64_scale_int):
17989 * scripts/update-funcnames:
17991 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17992 Make gst_structure_fixate_field_nearest_fraction take a numerator
17993 and denominator argument instead of a GValue
17994 add gst_structure_get_fraction helper function.
17996 2005-11-23 Wim Taymans <wim@fluendo.com>
17998 * docs/design/part-TODO.txt:
18001 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18002 * gst/net/gstnetclientclock.h:
18003 Use parent fields for timeout and window_size.
18005 2005-11-23 Andy Wingo <wingo@pobox.com>
18007 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18008 rate_num/rate_denom change.
18010 * gst/net/gstnetclientclock.c
18011 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18012 OBJECT_LOCK. Don't call add_observation with the lock.
18014 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18016 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18018 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18019 deal with rate as a fraction whose numerator and denominator are
18020 GstClockTime values.
18021 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18022 master; the other fields are protected by the SLAVE_LOCK.
18023 (do_linear_regression): Note that this must be called with the
18025 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18026 OBJECT_LOCK. Call set_calibration instead of touching the
18027 variables directly.
18028 (gst_clock_set_property, gst_clock_get_property): Protect
18029 master/slave parameters with the SLAVE_LOCK.
18031 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18032 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18033 note that all of the instance variables that add_observation and
18034 the set_master functions use are protected by that lock and not
18036 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18038 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18039 the caller to take the object lock.
18041 2005-11-23 Wim Taymans <wim@fluendo.com>
18043 * gst/gsterror.c: (_gst_core_errors_init):
18045 Add error for clock stuff.
18047 * gst/gstpipeline.c: (gst_pipeline_change_state),
18048 (gst_pipeline_set_clock):
18049 Post clock error when clock cannot be used in a pipeline.
18051 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18053 * docs/gst/gstreamer-sections.txt:
18054 make two symbols from gstinfo private for the docs
18055 * gst/base/gstcollectpads.h:
18057 fix doc typos, update docs
18059 2005-11-22 Wim Taymans <wim@fluendo.com>
18061 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18062 (gst_base_sink_wait), (gst_base_sink_do_sync),
18063 (gst_base_sink_handle_event):
18064 * gst/base/gstbasesink.h:
18065 No need to store the clock, the parent element class already
18068 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18069 Updates for clock_set returning a gboolean
18071 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18072 (gst_clock_id_wait_async), (gst_clock_class_init),
18073 (gst_clock_init), (gst_clock_finalize),
18074 (gst_clock_get_internal_time), (gst_clock_get_time),
18075 (gst_clock_slave_callback), (gst_clock_set_master),
18076 (gst_clock_get_master), (do_linear_regression),
18077 (gst_clock_add_observation), (gst_clock_set_property),
18078 (gst_clock_get_property):
18080 Implement master/slave. When setting a clock as a slave, a
18081 periodic timeout is scheduled to sample master and slave times.
18082 Then the slave clock is recalibrated to match offset and rate
18083 of the master clock.
18084 Update logging a bit.
18085 Add flag so that a clock can state that is cannot be slaved to
18088 * gst/gstelement.c: (gst_element_set_clock):
18089 * gst/gstelement.h:
18090 The set clock returns a gboolean for when an element cannot
18091 deal with the selected clock in the pipeline.
18093 * gst/gstpipeline.c: (gst_pipeline_change_state),
18094 (gst_pipeline_set_clock):
18095 * gst/gstpipeline.h:
18096 Handle the case where the selected clock cannot be set on
18099 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18100 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18101 (gst_net_client_clock_set_property),
18102 (gst_net_client_clock_get_property),
18103 (gst_net_client_clock_observe_times):
18104 * gst/net/gstnetclientclock.h:
18105 Use regression code in GstClock parent, remove duplicated
18108 2005-11-22 Michael Smith <msmith@fluendo.com>
18110 * gst/gstutils.c: (gst_util_clock_time_scale):
18112 * docs/gst/gstreamer-sections.txt:
18113 Rename method to have extra underscore.
18115 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18117 * gst/elements/Makefile.am:
18118 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18119 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18120 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18121 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18122 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18123 * gst/elements/gstfakesrc.h:
18124 * gst/gstqueue.c: (queue_leaky_get_type):
18125 correctly fix GEnumValues so that nick is the short lowercase
18127 * tools/gst-inspect.c: (print_element_properties_info):
18128 also show the nick, since it's useful to use from parse_launch
18132 2005-11-22 Michael Smith <msmith@fluendo.com>
18134 * gst/gstutils.c: (gst_util_clocktime_scale):
18136 * docs/gst/gstreamer-sections.txt:
18137 Add util method for scaling a clocktime by a fraction. Useful
18138 implementation is left as an exercise for the reader.
18140 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18142 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18143 If needed, allocate storage in the destination value during
18146 2005-11-22 Edward Hervey <edward@fluendo.com>
18148 * docs/gst/gstreamer-sections.txt:
18151 * gst/gsturitype.c:
18152 * gst/gsturitype.h:
18153 * gst/gstutils.c: (gst_util_set_object_arg):
18154 * tools/gst-compprep.c: (main):
18155 * tools/gst-inspect.c: (print_element_properties_info):
18156 Removed GstURI, closes bug #321061
18158 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18160 * check/gst/gststructure.c: (GST_START_TEST):
18161 * gst/gststructure.c: (gst_structure_parse_value):
18162 Oops, broke automatic string type parsing.
18163 Add a test to catch it in future.
18165 2005-11-22 Andy Wingo <wingo@pobox.com>
18167 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18168 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18169 Actually rename the function implementations. Grr.
18171 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18173 * check/gst/capslist.h:
18175 * check/gst/gststructure.c: (GST_START_TEST),
18176 (gst_structure_suite):
18177 Test automatic value type detection in gst_structure_from_string.
18178 * gst/gststructure.c: (gst_structure_parse_value):
18179 Add fraction as a type we try and guess automatically in
18180 caps/structure strings.
18182 2005-11-22 Andy Wingo <wingo@pobox.com>
18184 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18186 * gst/gsttagsetter.h:
18187 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18188 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18189 (gst_tag_setter_add_tag_valist)
18190 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18191 _add_values, _add_valist, and _add_valist_values. Since this is an
18192 interface the function suffixes should be more explicit so
18193 language binding don't end up with element.add_valist ->
18194 gst_tag_setter_add_valist, for example. Fixes #322069.
18196 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18198 * check/gst/gstcaps.c: (GST_START_TEST):
18199 Extend caps string tests to check that a caps to string
18200 conversion is reversible and produces the same caps.
18202 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18203 Output "fraction" as the generic type fraction range, so caps
18204 serialisation and deserialisation works.
18205 * check/gst/capslist.h:
18206 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18207 Support 'MIN' and 'MAX' for deserialising fractions.
18209 2005-11-22 Andy Wingo <wingo@pobox.com>
18211 * gst/gstevent.h (gst_event_new_new_segment)
18212 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18213 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18214 Renamed from *_newsegment, *_buffersize, *_notarget.
18216 * scripts/update-funcnames: New script, performs the changes
18219 2005-11-22 Wim Taymans <wim@fluendo.com>
18221 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18222 Make sure the GstFlowReturn is returned.
18224 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18225 (gst_bus_add_signal_watch):
18227 add gst_bus_add_signal_watch_full.
18229 * gst/gstplugin.c: (gst_plugin_load_file):
18230 Small style cleanup.
18232 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18234 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18235 Block the fakesrc srcpad when we send an event, to avoid
18236 contention on the stream_lock causing random test failures.
18238 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18240 * check/gst/gstvalue.c: (GST_START_TEST):
18241 * gst/gstvalue.c: (gst_value_fraction_subtract):
18244 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18247 include "gstchildproxy.h"
18248 * gst/gstchildproxy.h:
18249 * libs/gst/controller/gstcontroller.h:
18250 use G_GNUC_NULL_TERMINATED
18252 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18254 * check/gst/capslist.h:
18255 * check/gst/gstcaps.c: (GST_START_TEST):
18256 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18257 * gst/gststructure.c: (gst_structure_parse_range),
18258 (gst_structure_fixate_field_nearest_fraction):
18259 * gst/gststructure.h:
18260 * gst/gstvalue.c: (gst_value_init_fraction_range),
18261 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18262 (gst_value_collect_fraction_range),
18263 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18264 (gst_value_set_fraction_range_full),
18265 (gst_value_get_fraction_range_min),
18266 (gst_value_get_fraction_range_max),
18267 (gst_value_serialize_fraction_range),
18268 (gst_value_transform_fraction_range_string),
18269 (gst_value_compare_fraction_range),
18270 (gst_value_deserialize_fraction_range),
18271 (gst_value_intersect_fraction_fraction_range),
18272 (gst_value_intersect_fraction_range_fraction_range),
18273 (gst_value_subtract_fraction_fraction_range),
18274 (gst_value_subtract_fraction_range_fraction),
18275 (gst_value_subtract_fraction_range_fraction_range),
18276 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18277 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18278 (gst_value_transform_string_fraction), (_gst_value_initialize):
18280 Implement fraction ranges and extend GstFraction to support
18281 arithmetic subtraction, as well as deserialization from integer
18282 strings such as "100"
18283 Add a testsuite as for int and double range set operations
18285 2005-11-21 Andy Wingo <wingo@pobox.com>
18287 * gst/gsttaglist.h:
18289 * gst/gststructure.h: Add glib-compat.h.
18291 2005-11-21 Wim Taymans <wim@fluendo.com>
18293 * gst/gstbin.c: (gst_bin_change_state_func):
18296 2005-11-21 Wim Taymans <wim@fluendo.com>
18298 * gst/gstsegment.h:
18299 And add a nice define too.
18301 2005-11-21 Wim Taymans <wim@fluendo.com>
18303 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18304 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18305 (gst_segment_set_duration), (gst_segment_set_last_stop),
18306 (gst_segment_set_seek), (gst_segment_set_newsegment),
18307 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18308 (gst_segment_clip):
18309 * gst/gstsegment.h:
18310 Make binding friendly.
18312 2005-11-21 Andy Wingo <wingo@pobox.com>
18314 * gst/gsttagsetter.h:
18315 * gst/gsttaglist.h:
18316 * gst/gststructure.h:
18318 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18321 * gst/gsterror.c (_gst_core_errors_init):
18322 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18325 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18326 (noinst_HEADERS): noinst the -private.
18328 2005-11-21 Michael Smith <msmith@fluendo.com>
18331 * gst/gstregistry.h:
18332 Remove unimplemented declarations for which we can see no sensible
18335 2005-11-21 Andy Wingo <wingo@pobox.com>
18337 * gst/gst.h: Include glib-compat.h.
18339 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18341 * gst/glib-compat.c: Include the public and the private header.
18343 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18347 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18349 * check/gst/gstevent.c (create_custom_events): Check that
18350 FLUSH_STOP is serialized.
18352 * check/elements/identity.c (event_func):
18353 * check/elements/fakesrc.c (event_func): No stream lock, the core
18356 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18357 stream lock taking, yay.
18359 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18360 ensure that core takes the stream lock.
18362 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18365 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18366 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18367 it already. For the flush start we do take it though so we get the
18368 right preroll state change messages.
18370 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18371 the stream lock here, the core does it for us.
18373 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18374 GST_STREAM_GET_LOCK.
18375 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18376 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18377 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18378 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18379 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18380 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18382 * gst/gstpad.c: Update for stream lock name change.
18384 * gst/base/gstbasesink.c: Update for preroll lock name change.
18386 2005-11-21 Wim Taymans <wim@fluendo.com>
18388 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18389 (gst_clock_get_master):
18391 * gst/gstsystemclock.c: (gst_system_clock_init):
18392 Convert Clock flags to object flags.
18393 Added methods to manage master/slave clocks.
18395 2005-11-21 Wim Taymans <wim@fluendo.com>
18397 * check/gst/gstsegment.c: (GST_START_TEST):
18398 * docs/design/part-TODO.txt:
18399 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18400 (gst_base_sink_event), (gst_base_sink_do_sync),
18401 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18402 (gst_base_sink_query), (gst_base_sink_change_state):
18403 * gst/base/gstbasesink.h:
18404 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18405 (gst_base_src_default_newsegment),
18406 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18407 (gst_base_src_get_range), (gst_base_src_loop),
18408 (gst_base_src_change_state):
18409 * gst/base/gstbasesrc.h:
18410 * gst/base/gstbasetransform.c:
18411 (gst_base_transform_prepare_output_buf),
18412 (gst_base_transform_event), (gst_base_transform_change_state):
18413 * gst/base/gstbasetransform.h:
18414 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18415 (gst_collect_pads_event):
18416 * gst/base/gstcollectpads.h:
18417 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18418 (gst_fake_src_create):
18419 * gst/elements/gstfakesrc.h:
18420 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18421 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18422 (gst_segment_set_last_stop), (gst_segment_set_seek),
18423 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18424 (gst_segment_to_running_time), (gst_segment_clip):
18425 * gst/gstsegment.h:
18426 More segment updates, replace code in plugins with segment
18429 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18431 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18432 Don't ignore sscanf results
18434 2005-11-21 Andy Wingo <wingo@pobox.com>
18436 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18439 * *.c: Ran scripts/update-macros. Oh yes.
18441 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18442 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18445 * scripts/update-macros: New script. Run it on your files to
18446 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18449 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18451 * docs/gst/Makefile.am:
18452 * docs/gst/gstreamer-docs.sgml:
18453 * docs/gst/gstreamer-sections.txt:
18454 * docs/gst/gstreamer.types:
18456 more docs fixes, add new api to the docs
18458 2005-11-21 Andy Wingo <wingo@pobox.com>
18460 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18461 state_broadcast call.
18463 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18465 2005-11-21 Julien MOUTTE <julien@moutte.net>
18467 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18468 function calls for arrays.
18470 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18472 * docs/random/ensonic/media-device-daemon.txt:
18473 wild idea, can this be done?
18474 * docs/gst/gstreamer-sections.txt:
18479 * gst/gstpluginfeature.c:
18483 doc fixes and additions
18485 2005-11-21 Andy Wingo <wingo@pobox.com>
18487 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18488 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18489 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18490 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18491 private to the basesrc implementation.
18493 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18494 behalf of event function if necessary. It should no longer be
18495 necessary to take the stream lock in pad's event functions. Fixes
18498 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18499 * docs/gst/gstreamer-sections.txt:
18500 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18501 (gst_structure_fixate_field_nearest_double),
18502 (gst_structure_fixate_field_boolean):
18503 * gst/gststructure.h:
18504 * win32/common/libgstreamer.def:
18505 * win32/gstreamer.def:
18507 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18510 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18512 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18513 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18514 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18515 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18516 (gst_fdsrc_uri_handler_init):
18517 * gst/elements/gstfdsrc.h:
18518 Port fd:// URI handler from 0.8 to fdsrc
18520 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18522 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18523 (gst_value_serialize_fourcc):
18525 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18526 consistent with our other format defines (#320324).
18528 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18530 * gst/gstvalue.c: (gst_value_is_fixed):
18531 Revert previous commit. Value lists are by definition
18532 not fixed, as they are a list of possible values.
18534 2005-11-21 Andy Wingo <wingo@pobox.com>
18536 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18537 during the stable series if we need it. Fixes #319178.
18539 * gst/gstevent.c (gst_event_new_filler): Removed.
18541 * check/gst/gstevent.c: Update comment about filler events.
18543 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18545 * gst/gstvalue.c: (gst_value_is_fixed):
18546 Should handle both value arrays and value lists.
18548 2005-11-21 Andy Wingo <wingo@pobox.com>
18550 patch by: Alessandro Dessina <alessandro nnva org>
18552 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18553 functions to access arrays. Fixes #321962.
18555 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18557 * docs/gst/gstreamer.types:
18558 gst_collectpads_get_type => gst_collect_pads_get_type.
18560 * gst/base/gstbasetransform.c:
18561 Remove unused SIGNAL_HANDOFF enum.
18563 2005-11-21 Andy Wingo <wingo@pobox.com>
18565 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18566 the event type (upstream, downstream, serialized). Renamed
18567 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18568 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18569 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18571 * gst/gstevent.c: Update for new CUSTOM event names.
18573 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18576 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18579 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18581 * docs/gst/gstreamer-sections.txt:
18582 * win32/common/libgstbase.def:
18583 * win32/libgstbase.def:
18584 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18585 (gst_collect_pads_class_init), (gst_collect_pads_init),
18586 (gst_collect_pads_finalize), (gst_collect_pads_new),
18587 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18588 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18589 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18590 (gst_collect_pads_start), (gst_collect_pads_stop),
18591 (gst_collect_pads_peek), (gst_collect_pads_pop),
18592 (gst_collect_pads_available), (gst_collect_pads_read),
18593 (gst_collect_pads_flush), (gst_collect_pads_event),
18594 (gst_collect_pads_chain):
18595 * gst/base/gstcollectpads.h:
18596 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18597 unimplemented functions as unimplemented. Add padding to
18598 GstCollectData. (#320766, #320423)
18600 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18602 * gst/gstmessage.c:
18603 Improve docs for DURATION message (usage of duration parameter)
18606 2005-11-20 Wim Taymans <wim@fluendo.com>
18608 * check/Makefile.am:
18609 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18613 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18614 (gst_segment_set_seek), (gst_segment_set_newsegment),
18615 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18616 (gst_segment_clip):
18617 * gst/gstsegment.h:
18618 Added segment helper structure and methods. Not fully implemented
18620 Added segment check.
18622 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18624 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18625 Add a deserialisation test for fractions
18626 * examples/metadata/read-metadata.c: (message_loop),
18627 (make_pipeline), (main):
18628 Fix up metadata reading sample.
18629 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18631 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18632 Don't try and fixate empty caps
18633 * gst/gst_private.h:
18634 Wrap in G_BEGIN_DECLS/G_END_DECLS
18635 * gst/gstvalue.c: (gst_value_collect_fraction),
18636 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18637 (gst_value_transform_string_fraction),
18638 (gst_value_compare_fraction):
18639 Add some extra guards to ensure that we don't end up
18640 with an invalid denominator of 0 in a gstfraction and
18641 that fractions always get reduced.
18643 2005-11-20 Wim Taymans <wim@fluendo.com>
18645 * docs/gst/gstreamer-sections.txt:
18647 * gst/gstelement.c:
18656 2005-11-20 Wim Taymans <wim@fluendo.com>
18658 * docs/design/part-TODO.txt:
18660 Make a proper enum of the flag.
18662 2005-11-19 Wim Taymans <wim@fluendo.com>
18664 * docs/design/part-TODO.txt:
18665 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18666 (gst_format_to_quark), (gst_format_register):
18668 * gst/gstquery.c: (_gst_query_initialize),
18669 (gst_query_type_get_name), (gst_query_type_to_quark),
18670 (gst_query_type_register):
18672 Add type to quark and type to string conversions.
18674 2005-11-19 Andy Wingo <wingo@pobox.com>
18676 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18679 2005-11-19 Wim Taymans <wim@fluendo.com>
18681 * docs/design/part-TODO.txt:
18682 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18683 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18684 (gst_bin_handle_message_func):
18686 Make message handling overridable.
18688 2005-11-19 Andy Wingo <wingo@pobox.com>
18690 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18693 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18695 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18696 is a GstClockTime. Fixes #321710.
18698 * gst/gstclock.h (GstClock): Remove offset property. Add
18699 internal_calibration and external_calibration. Fix padding. Pad
18700 also by GstClockTime so we don't run into problems.
18702 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18703 (gst_clock_get_rate_offset): Remove.
18704 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18707 * gst/gstutils.c (g_static_rec_cond_wait)
18708 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18710 * gst/gstbin.c: Remove terrible continue_state prototype.
18712 * gst/gstelement.h (gst_element_continue_state): Make public.
18714 * gst/gstelement.h:
18715 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18716 by continue_state. Fixes #319389.
18718 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18719 Really fixes #168438. However I don't see anywhere where the
18720 filter function is called... stupid GStreamer...
18722 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18723 don't have a dispose function, so it won't get called when the
18724 object is unreffed, but oh well!
18726 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18727 allows a destroy function to be set so user_data can be freed.
18729 (gst_index_set_filter): Call gst_index_set_filter_full.
18731 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18733 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18734 string should produce an error, given the lack of a way to
18735 represent NULL strings. Fixes #165650.
18738 * gst/gstvalue.c (gst_value_array_append_value)
18739 (gst_value_array_prepend_value, gst_value_array_get_size)
18740 (gst_value_array_get_value): New API, copied from
18741 gst_value_list_*, only operates on arrays.
18742 (gst_value_list_append_value, gst_value_list_prepend_value)
18743 (gst_value_list_concat, gst_value_list_get_size)
18744 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18746 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18747 init_list, because it works on both.
18748 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18749 (gst_value_copy_list_or_array): Renamed from copy_list.
18750 (gst_value_free_list_or_array): Renamed from free_list.
18751 (gst_value_collect_list_or_array): Renamed from collect_list.
18752 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18753 (gst_value_list_or_array_peek_pointer): Renamed from
18755 (_gst_value_array_value_table, _gst_value_list_value_table):
18756 Update value table functions.
18757 (gst_value_compare_list_or_array): Renamed from compare_list.
18759 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18762 * gst/gsttaglist.c:
18763 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18764 GstTagList*. Fixes #143472.
18766 * gst/gststructure.h: Clarify what the foreach/map functions can
18767 or can't do to their arguments.
18769 2005-11-18 Wim Taymans <wim@fluendo.com>
18771 * gst/gstclock.c: (gst_clock_set_calibration),
18772 (gst_clock_get_calibration):
18774 Calibration can be set with internal time equal to current
18777 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18783 2005-11-18 Andy Wingo <wingo@pobox.com>
18786 * pkgconfig/gstreamer-net.pc.in:
18787 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18788 * pkgconfig/Makefile.am: Add net pkgconfig files.
18790 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18793 * gst/gstghostpad.c:
18799 2005-11-18 Andy Wingo <wingo@pobox.com>
18801 * gst/net/gstnetclientclock.c: Turn off debugging.
18803 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18804 times connverge somewhat. Can't make a real test.
18806 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18807 integer arithmetic. Return the minimum of the domain, which can be
18808 set as "internal" for gst_clock_set_calibration.
18809 (gst_net_client_clock_observe_times): Call _set_calibration.
18810 (gst_net_client_clock_new): Call _set_calibration instead of
18813 * check/net/gstnetclientclock.c (test_functioning): Use the right
18817 * gst/gstclock.c (gst_clock_get_calibration)
18818 (gst_clock_set_calibration): New functions, obsolete the ones I
18819 added yesterday. Doh. Precision issues mean we have to extrapolate
18820 from a point in the more recent past than 1970.
18821 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18823 (gst_clock_adjust_unlocked): Use the right calibration data.
18825 2005-11-18 Edward Hervey <edward@fluendo.com>
18827 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18828 Also reset the ->current_* values in READY->PAUSED
18830 2005-11-18 Andy Wingo <wingo@pobox.com>
18832 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18833 Whoops, check the right fd. Also add some debugging.
18834 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18835 (do_linear_regression): Add a crapload of debugging. Subtract off
18836 the minimum values from the input series to discard unneeded bits.
18837 Use only int arithmetic. There is still double arithmetic when
18838 calculating the intercept that needs fixing. Return boolean to
18839 indicate success; FALSE would mean the domain or range is too
18840 great. Still needs fixes.
18842 2005-11-18 Wim Taymans <wim@fluendo.com>
18844 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18845 For the current position in stream time, we need to subtract
18848 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18849 Release lock before calling the callback function of async
18852 2005-11-18 Andy Wingo <wingo@pobox.com>
18854 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18855 Port goes all the way to MAXUINT16.
18857 * gst/net/gstnettimeprovider.c: Make the port range the same as
18858 for the kernel: 0 assigns, otherwise ports are less than
18861 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18864 * check/net/gstnetclientclock.c (test_functioning): Add the start
18867 2005-11-18 Wim Taymans <wim@fluendo.com>
18869 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18870 (gst_bin_remove_func), (bin_bus_handler):
18872 Removing a clock provider from a bin, triggers a clock lost message
18873 so that a new clock will be selected.
18874 Adding a clock to a bin triggers a clock provider message.
18875 Make sure we reselect a clock when we received a clock lost message.
18876 Keep a reference to the element that provided the clock.
18878 2005-11-18 Andy Wingo <wingo@pobox.com>
18880 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18881 the clock initially so it produces values around the base time.
18882 (gst_net_client_clock_class_init): Typo fix.
18883 (gst_net_client_clock_thread): Add note on when the socket gets
18886 2005-11-17 Wim Taymans <wim@fluendo.com>
18888 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18889 Free remote and local time arrays.
18891 2005-11-17 Wim Taymans <wim@fluendo.com>
18893 * gst/net/gstnetclientclock.c: (do_linear_regression),
18894 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18895 Fix compilation, uninitialized vars and a forgotten continue.
18897 2005-11-17 Andy Wingo <wingo@pobox.com>
18899 * check/Makefile.am (check_PROGRAMS):
18900 * check/net/gstnetclientclock.c: Add a most minimal test for the
18901 net client clock. More to come later.
18903 * gst/net/gstnet.h:
18904 * gst/net/Makefile.am: Add netclientclock.
18906 * gst/net/gstnetclientclock.h:
18907 * gst/net/gstnetclientclock.c: New files, implement an untested
18908 GstClock that takes its time from a network time provider.
18909 Implements the algorithm in network-clock.scm.
18911 * tests/network-clock.scm (*window-size*): Rename from
18913 * tests/network-clock.scm (network-time):
18914 * tests/network-clock-utils.scm (q-push): Update callers.
18916 2005-11-17 Wim Taymans <wim@fluendo.com>
18918 * gst/gstbin.c: (gst_bin_provide_clock_func),
18919 (gst_bin_sort_iterator_new):
18920 And unref the child too..
18922 2005-11-17 Wim Taymans <wim@fluendo.com>
18924 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18925 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18926 Refactor the sort iterator so it can be used while holding the
18928 Make clock selection select a clock closest to the source.
18930 2005-11-17 Michael Smith <msmith@fluendo.com>
18932 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18933 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18935 Anonymous structs are a gcc (and some other compilers) extension, so
18936 don't use them. Since this is only for ABI-compatibility, and our
18937 API/ABI freeze is over in a few days, this whole thing will only
18938 last a few days, so don't bother trying to think up a meaningful
18939 name for the struct.
18941 2005-11-17 Andy Wingo <wingo@pobox.com>
18943 * gst/gstclock.h (GstClock): Add rate and offset properties,
18944 preserving ABI stability. Add rate/offset accessors. Will file bug
18945 for the freeze break.
18947 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18948 and offset, trying to keep precision and avoiding
18949 underflow/overflow.
18950 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18951 functions. Make gst_clock_set_time_adjust obsolete.
18952 (gst_clock_set_time_adjust): Note that this function is obsolete.
18953 Will file bug soon.
18955 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18956 greppable by using GST_PADDING-1+1.
18958 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18960 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18962 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18963 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18965 * gst/gstpadtemplate.h:
18966 * gst/gstpluginfeature.h:
18967 Don't use c++ style comments in headers (#321638).
18969 2005-11-16 Andy Wingo <wingo@pobox.com>
18971 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18974 * check/net/gstnettimeprovider.c: Check to see that the time
18975 provider actually provides times. Works, yo!
18977 2005-11-16 Wim Taymans <wim@fluendo.com>
18979 * check/Makefile.am:
18982 * check/elements/fakesrc.c: (GST_START_TEST):
18983 Set element to NULL before disposing it.
18985 2005-11-16 Andy Wingo <wingo@pobox.com>
18987 * gst/net/Makefile.am:
18988 * gst/net/gstnet.h:
18989 * gst/net/gstnettimeprovider.c:
18990 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18991 provider, include it from gstnet.h, and add it to the build.
18993 * gst/net/gstnettimepacket.h:
18994 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18995 sending and receiving.
18997 2005-11-16 Wim Taymans <wim@fluendo.com>
18999 * check/Makefile.am:
19000 Enable valgrind check.
19002 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19003 (gst_fake_src_alloc_buffer):
19006 2005-11-16 Wim Taymans <wim@fluendo.com>
19008 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19009 Call parent finalize too.
19011 2005-11-16 Wim Taymans <wim@fluendo.com>
19013 * check/Makefile.am:
19014 Enable valgrind check that should work fine now.
19016 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19017 * gst/gstqueue.c: (gst_queue_init):
19018 Fix memleaks in pad allocation.
19020 2005-11-16 Andy Wingo <wingo@pobox.com>
19022 * gst/net/Makefile.am:
19023 * gst/net/gstnet.h: New part of core to hold network elements and
19024 objects. Put in core because it exposes API that applications want
19025 to use. The library is named libgstnet-tempname right now because
19026 of the existing libgstnet in gst-plugins-base. Solution is
19027 probably to rename the one in plugins-base; will file a bug for
19030 * gst/net/gstnettimeprovider.c:
19031 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19032 get_time call over the network.
19035 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19037 * check/Makefile.am:
19038 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19039 get additions shortly.
19041 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19043 * gst/gstpad.c: (gst_pad_new_from_static_template):
19045 add gst_pad_new_from_static_template functions
19046 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19047 (gst_check_setup_sink_pad):
19048 * gst/elements/gsttee.c: (gst_tee_init):
19051 2005-11-16 Wim Taymans <wim@fluendo.com>
19053 * gst/gstpad.c: (gst_pad_pause_task):
19054 Removed warning, it's not really an error either.
19056 2005-11-16 Wim Taymans <wim@fluendo.com>
19058 * gst/base/gstbasetransform.c:
19059 (gst_base_transform_prepare_output_buf),
19060 (gst_base_transform_event):
19061 Check if the caps are NULL, this can happen if the element
19062 is shutting down and the pad caps are set to NULL.
19064 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19066 * gst/elements/gsttee.c: (gst_tee_init):
19067 fix pad template leak in tee
19069 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19071 * gst/glib-compat.c: (g_value_dup_gst_object):
19072 * gst/glib-compat.h:
19073 * gst/gstpad.c: (gst_pad_set_property):
19074 use gst_object_ref when setting the pad template; this will
19075 trigger the pad template leaks on GLib 2.6 and the slaves
19077 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19079 * gst/glib-compat.c: (gst_flags_get_first_value):
19080 * gst/glib-compat.h:
19081 * gst/gstregistryxml.c:
19082 remove functions copied from GLib 2.6
19084 2005-11-16 Michael Smith <msmith@fluendo.com>
19087 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19088 do, but only breaks with newer valgrind versions. We're not a
19089 valgrind tool, we have no link-time dependencies on libcoregrind.
19091 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19093 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19095 * gst/gstmessage.h:
19098 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19100 * gst/base/gstbasesrc.c: (gst_base_src_init):
19101 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19102 * gst/gstqueue.c: (gst_queue_init):
19103 * gst/gstregistryxml.c: (load_feature):
19104 Revert all these unrefs, they don't even pass make check !
19106 2005-11-15 Johan Dahlin <johan@gnome.org>
19108 * gst/base/gstbasesrc.c: (gst_base_src_init):
19109 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19110 * gst/gstqueue.c: (gst_queue_init):
19111 Free pad templates, fixes a couple of leaks.
19113 2005-11-15 Daniel Fischer <dan at f3c dot com>
19115 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19117 * gst/gstpad.c: (gst_pad_get_property):
19118 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19119 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19122 2005-11-15 Wim Taymans <wim@fluendo.com>
19127 2005-11-15 Andy Wingo <wingo@pobox.com>
19129 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19131 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19132 using GST_CLOCK_TIME_NONE to disable base time management.
19133 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19134 time if it was NONE before.
19135 (gst_pipeline_change_state): Only munge the base time if
19136 stream_time != GST_CLOCK_TIME_NONE.
19138 * check/gst/gstpipeline.c (test_base_time): Punt around the
19139 problem of the probe not being called, because that's not the
19140 issue I'm looking at. Add a check that setting stream_time to NONE
19141 disables base time management.
19143 2005-11-15 Wim Taymans <wim@fluendo.com>
19145 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19146 segment_stop == -1 at startup.
19148 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19149 (gst_base_transform_change_state):
19150 Init segment values at start.
19152 2005-11-15 Wim Taymans <wim@fluendo.com>
19154 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19155 0 segment values are 0 in any format.
19157 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19158 * gst/base/gstbasetransform.h:
19159 Parse newsegment correctly in basetransform
19161 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19162 Sync to clock using updated segment values.
19164 2005-11-15 Andy Wingo <wingo@pobox.com>
19166 * check/gst/gstpipeline.c (test_base_time): Add check that the
19167 base time and stream time are reset correctly.
19169 2005-11-15 Wim Taymans <wim@fluendo.com>
19171 * docs/design/part-TODO.txt:
19172 Some more TODO items.
19174 2005-11-15 Andy Wingo <wingo@pobox.com>
19176 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19177 error if the user selected "no clock" as the clocking method.
19179 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19180 timestamps with live capture.
19182 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19183 is 0 but we are a live source, timestamp the buffers using the
19186 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19188 * docs/gst/gstreamer-sections.txt:
19190 * gst/gstghostpad.c:
19195 2005-11-14 Wim Taymans <wim@fluendo.com>
19198 add suppressions from Wim's Debian machine
19200 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19203 add suppressions from Andy's AMD64 Ubuntu machine
19205 2005-11-14 Andy Wingo <wingo@pobox.com>
19207 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19208 STATE_LOCK not necessary. Fixes #311489.
19210 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19213 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19214 this function is not implemented.
19216 2005-11-14 Julien MOUTTE <julien@moutte.net>
19218 * gst/base/gstbasetransform.c:
19219 (gst_base_transform_prepare_output_buf):
19220 Ref the source pad caps while we need them.
19223 2005-11-11 Wim Taymans <wim@fluendo.com>
19225 * docs/gst/gstreamer-sections.txt:
19226 Added some docs for GstCollectData.
19228 * gst/base/gstadapter.c:
19229 Some small code example fix.
19231 * gst/base/gstcollectpads.c:
19232 * gst/base/gstcollectpads.h:
19233 Document some more.
19235 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19237 * configure.ac: back to HEAD
19239 === release 0.9.5 ===
19241 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19244 releasing 0.9.5, "Bike Lunch Day"
19246 2005-11-11 Wim Taymans <wim@fluendo.com>
19248 * gst/gstbuffer.c: (_gst_buffer_copy):
19251 * gst/gstcaps.c: (gst_caps_is_equal):
19253 Make _is_equal fast in the trivial cases.
19255 * gst/gstminiobject.c:
19256 * gst/gstminiobject.h:
19257 More docs. Spifify .h file.
19262 2005-11-11 Wim Taymans <wim@fluendo.com>
19264 * gst/base/gstbasetransform.c:
19265 (gst_base_transform_prepare_output_buf),
19266 (gst_base_transform_handle_buffer):
19268 If we're processing a buffer and need to allocate an output
19269 buffer, we cannot accept a format change. If we did get a
19270 format change, we have to alloc a buffer ourselves of the
19273 2005-11-11 Wim Taymans <wim@fluendo.com>
19275 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19276 While checking the flag for reentrancy in the gstcaps function
19277 is nice to detect recursive invocations, it also makes it
19278 impossible to call getcaps from multiple threads, which must be
19279 possible. So, checking for recursive calls has to go.
19281 2005-11-11 Michael Smith <msmith@fluendo.com>
19283 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19284 Don't sync on buffers that fall partially outside our current
19285 segment. Prevents an assertion failure/abort playing some files.
19287 2005-11-10 Andy Wingo <wingo@pobox.com>
19289 * check/gst/gstbin.c (test_message_state_changed_children): Style
19292 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19293 gst_bus_poll with the signal watch. Ensures that poll and a signal
19294 watch see the same messages.
19296 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19297 a poll and a watch at the same time get the same messages.
19299 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19301 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19302 * gst/gstcaps.c: (gst_caps_intersect):
19303 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19304 and it's not needed.
19306 2005-11-10 Wim Taymans <wim@fluendo.com>
19308 * docs/design/part-TODO.txt:
19311 2005-11-10 Wim Taymans <wim@fluendo.com>
19313 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19314 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19315 (gst_base_src_do_sync), (gst_base_src_get_range):
19316 Implement clock sync in base class.
19318 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19320 patch by: Tim-Philipp Müller <tim at centricular dot net>
19322 * gst/gststructure.c: (gst_structure_parse_field),
19323 (gst_structure_from_string):
19324 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19325 so that gst_parse_launch() can deal with spaces in filtered link
19326 caps (fixes #164479)
19327 * check/gst/capslist.h:
19328 * check/gst/gststructure.c: (GST_START_TEST):
19329 add unit tests for this change
19331 2005-11-10 Wim Taymans <wim@fluendo.com>
19333 * docs/gst/gstreamer-sections.txt:
19334 * gst/gstelement.c:
19335 * gst/gstelement.h:
19336 Fix docs, move some STATE macros to private.
19338 2005-11-10 Wim Taymans <wim@fluendo.com>
19340 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19341 Added check for bug #317341
19345 Some more spiffifying.
19347 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19348 Call peer linkfunction if we are a source pad. Totally fixes
19352 Update docs, source pads should call the peer linkfunction
19353 so they can atomically perform the pad link.
19355 2005-11-09 Wim Taymans <wim@fluendo.com>
19359 Uber-spiffy-spiffify some more.
19361 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19363 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19364 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19365 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19366 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19367 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19368 * gst/gstpad.c: (gst_pad_init):
19369 Use GST_DEBUG_FUNCPTR() more extensively.
19371 2005-11-09 Wim Taymans <wim@fluendo.com>
19373 * gst/gstobject.c: (gst_object_class_init):
19375 Documentation fixes.
19377 2005-11-09 Edward Hervey <edward@fluendo.com>
19379 * gst/gsttypefindfactory.c:
19382 2005-11-09 Edward Hervey <edward@fluendo.com>
19384 * gst/base/gsttypefindhelper.c:
19385 * gst/gsttypefind.c:
19386 * gst/gsttypefind.h:
19389 2005-11-09 Wim Taymans <wim@fluendo.com>
19391 * gst/gstiterator.c:
19398 2005-11-09 Wim Taymans <wim@fluendo.com>
19404 2005-11-09 Wim Taymans <wim@fluendo.com>
19406 * docs/gst/gstreamer-sections.txt:
19407 Moved the message async delivery private lock and cond
19408 to the private section.
19410 * gst/gstmessage.c:
19411 * gst/gstmessage.h:
19414 2005-11-09 Edward Hervey <edward@fluendo.com>
19416 * docs/gst/gstreamer-sections.txt:
19419 Document GstURIHandler
19421 2005-11-09 Wim Taymans <wim@fluendo.com>
19423 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19424 (gst_iterator_find_custom):
19425 * gst/gstiterator.h:
19428 2005-11-09 Wim Taymans <wim@fluendo.com>
19431 Document another field.
19433 * gst/gststructure.c:
19434 * gst/gststructure.h:
19437 2005-11-09 Wim Taymans <wim@fluendo.com>
19440 Documented structs.
19442 2005-11-09 Wim Taymans <wim@fluendo.com>
19444 * docs/gst/gstreamer-sections.txt:
19445 Added some new macros.
19452 2005-11-09 Wim Taymans <wim@fluendo.com>
19454 * docs/design/part-TODO.txt:
19455 Some more items for the TODO
19461 2005-11-09 Andy Wingo <wingo@pobox.com>
19463 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19464 to work on something else now tho...
19466 * gst/base/gstadapter.c: More adapter docs.
19468 * gst/elements/gstfilesink.c (gst_file_sink_start)
19469 (gst_file_sink_stop): New functions, replace the state change
19471 (gst_file_sink_class_init): Hook up the start and stop functions.
19472 (gst_file_sink_base_init): Don't set the state change handler any
19473 more. It was a bit ugly too, being set from here...
19474 (gst_file_sink_get_property, gst_file_sink_set_property):
19476 (gst_file_sink_set_location): More robust check that doesn't call
19477 GST_STATE. Ugggggg.
19479 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19481 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19482 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19484 2005-11-08 Wim Taymans <wim@fluendo.com>
19486 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19487 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19488 (gst_base_sink_chain), (gst_base_sink_change_state):
19489 * gst/base/gstbasesink.h:
19490 * gst/base/gstbasesrc.h:
19491 * gst/gstelement.h:
19493 Avoid excessive typechecking in macros.
19495 * gst/gstminiobject.c: (gst_mini_object_get_type),
19496 (gst_mini_object_init), (gst_mini_object_new),
19497 (gst_mini_object_free):
19498 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19499 (gst_object_finalize):
19500 Remove cruft code, optimize alloc_trace.
19502 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19504 * docs/faq/gst-uninstalled:
19505 fix up PS1 for systems that try to reset it
19507 2005-11-07 Wim Taymans <wim@fluendo.com>
19509 * gst/base/gstbasesrc.c: (gst_base_src_init),
19510 (gst_base_src_get_range):
19511 Set the segment_end to -1 initially. Fixed typefind.
19513 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19515 * gst/base/gstadapter.c:
19516 Debug category should be 'adapter', not 'GstAdapter'.
19518 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19519 (gst_collectpads_class_init), (gst_collectpads_init),
19520 (gst_collectpads_peek), (gst_collectpads_pop),
19521 (gst_collectpads_event), (gst_collectpads_chain):
19522 Add debug category and some debugging output. Use boilerplate
19523 macros. Remove some extraneous words from docs.
19525 2005-11-05 Andy Wingo <wingo@pobox.com>
19527 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19530 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19532 * docs/gst/gstreamer-sections.txt:
19535 * gst/gstminiobject.h:
19540 2005-11-04 Wim Taymans <wim@fluendo.com>
19542 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19543 Small update to stop at the configured segment_end
19546 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19548 * gst/gstregistry.c:
19549 * gst/gstregistry.h:
19552 2005-11-04 Edward Hervey <edward@fluendo.com>
19554 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19555 Check if we are doing a segment seek and have arrived at the
19556 end of that segment.
19558 2005-11-04 Wim Taymans <wim@fluendo.com>
19560 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19561 Don't leak a mutex unlock in case of an error.
19566 2005-11-04 Wim Taymans <wim@fluendo.com>
19568 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19570 Get the context to wake up only once.
19572 2005-11-03 Wim Taymans <wim@fluendo.com>
19574 * check/states/sinks.c: (GST_START_TEST):
19575 Uncomment fixed check.
19577 * docs/design/part-TODO.txt:
19580 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19581 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19582 (gst_base_sink_get_position):
19583 If we are going to PLAYING, post the right pending state
19584 when we post the intermediate paused message.
19586 * gst/gstelement.c: (gst_element_continue_state),
19587 (gst_element_set_state_func), (gst_element_change_state):
19588 Don't post state changes that were between the same state
19589 and were not ASYNC.
19591 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19593 * docs/gst/gstreamer-sections.txt:
19596 * gst/gstminiobject.h:
19599 more docs and doc style fixes
19601 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19603 * docs/gst/gstreamer-sections.txt:
19604 * gst/gstelement.c:
19605 * gst/gstminiobject.c:
19608 2005-11-03 Andy Wingo <wingo@pobox.com>
19610 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19611 state-changed messages actually have the right order and the right
19614 2005-11-03 Wim Taymans <wim@fluendo.com>
19616 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19617 Added some more checks. Specifically the case where NO_PREROLL
19618 elements are in the pipeline.
19620 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19621 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19622 (gst_base_sink_get_position):
19623 Post READY->PAUSED state change messages too.
19624 Fix bug where VOID was posted as pending state...
19626 * gst/gstbin.c: (gst_bin_recalc_state):
19627 use _element_continue_state() to continue the state change.
19629 * gst/gstelement.c: (gst_element_continue_state),
19630 (gst_element_commit_state), (gst_element_set_state_func),
19631 (gst_element_change_state), (gst_element_change_state_func):
19632 Lots of state change cleanups, assign the STATE_RETURN in
19633 a new continue_state() function that also propagates the
19634 last return value from a state change to the app.
19635 Update some debug statements with proper category.
19637 2005-11-03 Wim Taymans <wim@fluendo.com>
19639 * docs/design/part-events.txt:
19640 * docs/design/part-gstpipeline.txt:
19641 * docs/design/part-messages.txt:
19642 * docs/design/part-overview.txt:
19643 * docs/design/part-seeking.txt:
19644 * docs/design/part-states.txt:
19645 * docs/design/part-trickmodes.txt:
19646 * docs/manual/advanced-position.xml:
19647 Small docs updates.
19650 People think !! is ugly, this looks better.
19652 * gst/gstpad.c: (gst_pad_set_blocked_async):
19653 Remove !! since it's fixed elsewhere now.
19655 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19657 * gst/gstminiobject.h:
19659 Add !! to _FLAG_IS_SET macros to make the result boolean.
19661 2005-11-03 Edward Hervey <edward@fluendo.com>
19663 * gst/gstpad.c: (gst_pad_set_blocked_async):
19664 comparing a flag and a gboolean rarely returns coherent results...
19665 Added two characters (!!) to make that work correctly.
19667 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19669 * gst/gstbus.c: (gst_bus_class_init):
19672 * gst/gstqueue.c: (gst_queue_loop):
19673 Don't assume a miniobject that isn't a buffer is an
19674 event (it could be that there is a refcounting
19675 problem somewhere and the pointer is stale and
19676 refers to an already destroyed miniobject).
19678 2005-11-03 Julien MOUTTE <julien@moutte.net>
19680 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19682 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19684 * docs/manual/advanced-position.xml:
19685 Update seek example and explanations to current 0.9 API.
19687 * gst/elements/gsttypefindelement.c:
19688 (gst_type_find_element_activate):
19689 Remove FIXME comment now that the found caps
19692 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19694 * gst/gstregistryxml.c: (load_feature):
19695 Add another GST_STR_NULL instance
19697 2005-11-02 Edward Hervey <edward@fluendo.com>
19699 * gst/gstpad.c: (handle_pad_block):
19700 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19702 2005-11-02 Wim Taymans <wim@fluendo.com>
19707 * gst/gstelement.c: (gst_element_commit_state):
19708 Remove unused value.
19710 * gst/gstiterator.c:
19711 Mention that the returned element is reffed in the docs.
19713 2005-11-02 Wim Taymans <wim@fluendo.com>
19715 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19716 (gst_pad_push), (gst_pad_push_event):
19717 Unlock blocked pads when they are flushed.
19719 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19722 * docs/gst/gstreamer-sections.txt:
19725 * gst/gstregistry.c: (gst_registry_scan_path_level):
19726 fix for a nasty little missed situation where an installed plug-in
19727 which was in the cache did not get overridden by an uninstalled one
19728 which was earlier in the plugin path because the newly created plugin
19729 for the uninstalled one (not in the registry) didn't get its
19730 ->registered set to TRUE
19732 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19734 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19735 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19736 (gst_collectpads_is_active), (gst_collectpads_collect),
19737 (gst_collectpads_collect_range), (gst_collectpads_start),
19738 (gst_collectpads_stop), (gst_collectpads_peek),
19739 (gst_collectpads_pop), (gst_collectpads_available),
19740 (gst_collectpads_read), (gst_collectpads_flush):
19741 Guard public API with assertions.
19744 Fix docs for gst_pad_set_link_function().
19746 2005-11-02 Johan Dahlin <johan@gnome.org>
19748 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19749 Unref found_caps after we used it.
19751 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19753 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19754 Don't try to ref NULL.
19756 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19758 * win32/common/config.h.in:
19759 provide a GST_FUNCTION that just gives a string for now
19761 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19763 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19764 (gst_object_flags_get_type), (register_gst_bin_flags),
19765 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19766 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19767 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19768 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19769 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19770 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19771 (gst_clock_flags_get_type), (register_gst_state),
19772 (gst_state_get_type), (register_gst_state_change_return),
19773 (gst_state_change_return_get_type), (register_gst_state_change),
19774 (gst_state_change_get_type), (register_gst_element_flags),
19775 (gst_element_flags_get_type), (register_gst_core_error),
19776 (gst_core_error_get_type), (register_gst_library_error),
19777 (gst_library_error_get_type), (register_gst_resource_error),
19778 (gst_resource_error_get_type), (register_gst_stream_error),
19779 (gst_stream_error_get_type), (register_gst_event_type),
19780 (gst_event_type_get_type), (register_gst_seek_type),
19781 (gst_seek_type_get_type), (register_gst_seek_flags),
19782 (gst_seek_flags_get_type), (register_gst_format),
19783 (gst_format_get_type), (register_gst_index_certainty),
19784 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19785 (gst_index_entry_type_get_type),
19786 (register_gst_index_lookup_method),
19787 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19788 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19789 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19790 (gst_index_flags_get_type), (register_gst_debug_level),
19791 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19792 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19793 (gst_iterator_result_get_type), (register_gst_iterator_item),
19794 (gst_iterator_item_get_type), (register_gst_message_type),
19795 (gst_message_type_get_type), (register_gst_mini_object_flags),
19796 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19797 (gst_pad_link_return_get_type), (register_gst_flow_return),
19798 (gst_flow_return_get_type), (register_gst_activate_mode),
19799 (gst_activate_mode_get_type), (register_gst_pad_direction),
19800 (gst_pad_direction_get_type), (register_gst_pad_flags),
19801 (gst_pad_flags_get_type), (register_gst_pad_presence),
19802 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19803 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19804 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19805 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19806 (gst_plugin_flags_get_type), (register_gst_rank),
19807 (gst_rank_get_type), (register_gst_query_type),
19808 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19809 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19810 (gst_tag_flag_get_type), (register_gst_task_state),
19811 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19812 (gst_alloc_trace_flags_get_type),
19813 (register_gst_type_find_probability),
19814 (gst_type_find_probability_get_type), (register_gst_uri_type),
19815 (gst_uri_type_get_type), (register_gst_parse_error),
19816 (gst_parse_error_get_type):
19817 * win32/common/gstversion.h:
19818 update win32 copies
19820 2005-11-01 Luca Ognibene <luogni@tin.it>
19823 fix docs. popt is dead, long live GOption.
19825 2005-10-31 Wim Taymans <wim@fluendo.com>
19830 2005-10-31 Andy Wingo <wingo@pobox.com>
19834 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19836 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19837 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19838 the possibility of deadlocks here if code calling notify() or
19839 set() has a lock that can be taken in another notify handler (ABBA
19840 with class lock and e.g. python GIL state lock).
19842 2005-10-28 Julien MOUTTE <julien@moutte.net>
19844 * gst/gstbus.c: Doc updates.
19846 2005-10-28 Wim Taymans <wim@fluendo.com>
19848 * docs/design/part-TODO.txt:
19849 * gst/gstiterator.c:
19850 * gst/gstsystemclock.c:
19851 * gst/gstsystemclock.h:
19854 2005-10-28 Edward Hervey <edward@fluendo.com>
19856 * docs/gst/gstreamer-docs.sgml:
19857 * docs/gst/gstreamer-sections.txt:
19858 the GstURIType documentation page is private, it only defines GstURIType
19859 which should be defined in the GstURIHandler page
19861 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19863 * gst/gstbin.c: (gst_bin_class_init):
19866 Documentation updates.
19868 2005-10-28 Wim Taymans <wim@fluendo.com>
19870 * docs/gst/gstreamer-sections.txt:
19873 Documented the clocks.
19875 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19877 * docs/gst/gstreamer-sections.txt:
19878 move some macros to private sections
19879 * gst/gstminiobject.c:
19880 * gst/gstminiobject.h:
19881 add descriptions provided by ds and some more
19883 mark macro as to be removed
19885 2005-10-28 Wim Taymans <wim@fluendo.com>
19887 * docs/design/part-TODO.txt:
19888 Add an item to TODO.
19890 * gst/gstiterator.c: (gst_iterator_fold),
19891 (gst_iterator_find_custom):
19892 * gst/gstiterator.h:
19895 2005-10-28 Wim Taymans <wim@fluendo.com>
19897 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19898 (gst_base_transform_init):
19901 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19902 An EOS event marks the queue as completely filled.
19904 2005-10-27 Wim Taymans <wim@fluendo.com>
19906 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19907 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19908 Some more debugging.
19910 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19911 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19912 (gst_base_transform_event), (gst_base_transform_getrange),
19913 (gst_base_transform_chain):
19914 * gst/base/gstbasetransform.h:
19916 Protect transform and concurrent buffer alloc with a new lock.
19917 Try not to break ABI/API.
19919 2005-10-27 Wim Taymans <wim@fluendo.com>
19921 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19922 (gst_base_src_init), (gst_base_src_query),
19923 (gst_base_src_default_newsegment),
19924 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19925 (gst_base_src_send_event), (gst_base_src_event_handler),
19926 (gst_base_src_pad_get_range), (gst_base_src_loop),
19927 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19928 (gst_base_src_start), (gst_base_src_deactivate),
19929 (gst_base_src_activate_push), (gst_base_src_change_state):
19930 Move some stuff around and cleanup things.
19932 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19934 * gst/base/gstbasesrc.c: (gst_base_src_query):
19935 Add missing break statements.
19937 2005-10-27 Wim Taymans <wim@fluendo.com>
19939 * check/gst/gstbin.c: (GST_START_TEST):
19940 An extra refcount is taken in basesrc.
19942 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19943 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19944 (gst_base_src_loop):
19945 Small cleanups, check for flushing after being unlocked from the
19946 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19947 Don't send out EOS when going to READY.
19949 2005-10-27 Wim Taymans <wim@fluendo.com>
19951 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19952 (gst_base_sink_get_position):
19955 * gst/gstbin.c: (message_check), (bin_replace_message),
19956 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19957 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19958 (bin_query_duration_init), (bin_query_duration_fold),
19959 (bin_query_duration_done), (bin_query_generic_fold),
19961 * tools/gst-launch.c: (main):
19964 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19966 * examples/controller/audio-example.c: (main):
19967 * examples/queue/queue.c: (event_loop):
19968 * gst/base/gstbasetransform.h:
19969 * gst/gstelement.c: (gst_element_send_event):
19971 * gst/gstpad.c: (gst_pad_send_event):
19974 changing log priority in error situations
19976 2005-10-25 Wim Taymans <wim@fluendo.com>
19978 * gst/gstbin.c: (message_check), (bin_replace_message),
19979 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19980 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19981 (bin_query_duration_init), (bin_query_duration_fold),
19982 (bin_query_duration_done), (bin_query_generic_fold),
19984 Some doc and debug updates.
19985 Cache previously requested query DURATION for speed. invalidate
19986 cached duration if element posts a DURATION message.
19988 2005-10-25 Wim Taymans <wim@fluendo.com>
19990 * docs/design/part-TODO.txt:
19993 * gst/gstbin.c: (message_check), (bin_replace_message),
19994 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19995 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19996 (bin_query_duration_init), (bin_query_duration_fold),
19997 (bin_query_duration_done), (bin_query_generic_fold),
19999 Handle SEGMENT_START/DONE messages correctly.
20000 More evolved query algorithm that handles duration queries
20003 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20004 (gst_element_get_state_func), (gst_element_abort_state),
20005 (gst_element_commit_state), (gst_element_lost_state):
20006 Some more debugging.
20008 * gst/gstmessage.h:
20011 2005-10-25 Wim Taymans <wim@fluendo.com>
20013 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20014 Don't use invalid stream_time.
20016 * gst/gstevent.c: (gst_event_new_newsegment):
20017 stream_time in newsegment cannot be undefined.
20019 2005-10-24 Wim Taymans <wim@fluendo.com>
20024 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20026 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20028 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20030 * docs/libs/tmpl/gstdparam.sgml:
20031 * docs/libs/tmpl/gstdplinint.sgml:
20032 * docs/libs/tmpl/gstdpman.sgml:
20033 * docs/libs/tmpl/gstdpsmooth.sgml:
20034 * docs/libs/tmpl/gstunitconvert.sgml:
20037 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20042 === release 0.9.4 ===
20044 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20047 releasing 0.9.4, "Tyrannosaurus Rex"
20049 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20051 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20052 (gst_file_sink_get_current_offset):
20053 Use fseeko() and ftello() if available. When falling back on
20054 lseek() to get the current offset, fflush() first to make sure
20055 everything is up-to-date and we get the right offset.
20057 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20060 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20061 * gst/gsterror.c: (_gst_stream_errors_init):
20063 * gst/gstqueue.c: (gst_queue_loop):
20065 remove prematurely added error category and clean up the instances
20067 2005-10-21 Wim Taymans <wim@fluendo.com>
20069 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20070 (gst_base_sink_get_position), (gst_base_sink_query),
20071 (gst_base_sink_change_state):
20072 Simply set the right flag when going to playing, that's all
20073 we need to do instead of calling a function inside the object
20074 lock (that could take the lock as well and deadlock)
20076 2005-10-21 Wim Taymans <wim@fluendo.com>
20078 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20079 (gst_base_src_loop):
20080 Don't warn, the peer element knows what to do best when
20081 the seek failed, it might try something else.
20083 2005-10-21 Wim Taymans <wim@fluendo.com>
20085 * gst/base/gstbasesrc.c: (gst_base_src_init),
20086 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20089 2005-10-21 Wim Taymans <wim@fluendo.com>
20091 * docs/design/part-segments.txt:
20094 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20095 Correctly set caps, even on the subbufer.
20097 2005-10-21 Wim Taymans <wim@fluendo.com>
20099 * docs/gst/gstreamer-docs.sgml:
20100 * docs/gst/gstreamer-sections.txt:
20101 * gst/gstelement.h:
20104 * gst/gstmessage.h:
20107 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20111 And 2% more doc coverage.
20113 2005-10-21 Andy Wingo <wingo@pobox.com>
20115 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20116 position reporting.
20118 2005-10-20 Wim Taymans <wim@fluendo.com>
20120 * gst/gsterror.c: (gst_error_get_message):
20123 * gst/gststructure.c:
20128 2005-10-20 Wim Taymans <wim@fluendo.com>
20133 Another 1% more coverage.
20135 2005-10-20 Wim Taymans <wim@fluendo.com>
20137 * docs/gst/gstreamer-sections.txt:
20138 * gst/gstelement.c: (gst_element_get_state_func),
20139 (gst_element_abort_state), (gst_element_commit_state),
20140 (gst_element_lost_state):
20142 * gst/gstquery.c: (gst_query_set_position),
20143 (gst_query_parse_position), (gst_query_set_duration),
20144 (gst_query_parse_duration), (gst_query_new_convert):
20146 Yay! 1% more docs coverage.
20148 2005-10-20 Wim Taymans <wim@fluendo.com>
20151 * gst/gstquery.c: (gst_query_set_position),
20152 (gst_query_parse_position), (gst_query_set_duration),
20153 (gst_query_parse_duration), (gst_query_new_convert):
20155 * gst/gstutils.c: (gst_element_query_convert):
20157 Docs and consistency fixes.
20159 2005-10-20 Wim Taymans <wim@fluendo.com>
20165 2005-10-20 Wim Taymans <wim@fluendo.com>
20167 * gst/gstbin.c: (message_check), (bin_replace_message),
20168 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20169 (update_degree), (gst_bin_sort_iterator_next),
20170 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20171 Reworked the message handling a bit, cache the messages instead of
20172 only the senders. alows us to do more in the future.
20174 2005-10-20 Wim Taymans <wim@fluendo.com>
20176 * docs/design/part-TODO.txt:
20179 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20180 (gst_base_sink_query):
20181 Don't use clock time to report position when in EOS.
20183 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20185 * tools/gst-inspect.c: (print_interfaces),
20186 (print_element_properties_info), (print_element_info):
20187 Fix interface output with gst-inspect -a; don't print
20188 newlines after double/float properties.
20190 2005-10-20 Wim Taymans <wim@fluendo.com>
20192 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20193 (gst_base_sink_query):
20194 Speed up current position calculation.
20196 * gst/base/gstbasesrc.c: (gst_base_src_query),
20197 (gst_base_src_default_newsegment):
20198 Correctly set stream position in newsegment.
20200 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20201 (update_degree), (gst_bin_sort_iterator_next),
20202 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20203 * gst/gstmessage.c: (gst_message_new_custom):
20204 Clean up debugging info
20206 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20207 (gst_queue_loop), (gst_queue_handle_src_query):
20210 2005-10-19 Wim Taymans <wim@fluendo.com>
20212 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20213 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20214 Fix query handling again.
20216 2005-10-19 Wim Taymans <wim@fluendo.com>
20218 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20219 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20220 * gst/base/gstbasesrc.c: (gst_base_src_query):
20221 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20222 * gst/elements/gsttypefindelement.c:
20223 (gst_type_find_handle_src_query), (find_element_get_length),
20224 (gst_type_find_element_activate):
20227 * gst/gstquery.c: (gst_query_new_position),
20228 (gst_query_set_position), (gst_query_parse_position),
20229 (gst_query_new_duration), (gst_query_set_duration),
20230 (gst_query_parse_duration), (gst_query_set_segment),
20231 (gst_query_parse_segment):
20233 Bundling query position/duration is not a good idea since duration
20234 does not change much and we don't want to recalculate it for every
20235 position query, so they are separated again..
20236 Base value in segment query is not needed.
20238 * gst/gstqueue.c: (gst_queue_handle_src_query):
20239 * gst/gstutils.c: (gst_element_query_position),
20240 (gst_element_query_duration), (gst_pad_query_position),
20241 (gst_pad_query_duration):
20243 Updates for query API change.
20244 Added some docs here and there.
20246 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20248 * check/gst/gstbin.c: (GST_START_TEST):
20249 * check/gst/gstghostpad.c: (GST_START_TEST):
20250 * check/pipelines/cleanup.c: (GST_START_TEST):
20251 wait on thread to die so we can check refcount correctly
20253 2005-10-18 Wim Taymans <wim@fluendo.com>
20255 * check/pipelines/stress.c: (GST_START_TEST):
20256 Make check a little more time consuming.
20258 2005-10-18 Wim Taymans <wim@fluendo.com>
20260 * check/Makefile.am:
20261 * check/pipelines/stress.c: (GST_START_TEST),
20262 (simple_launch_lines_suite), (main):
20263 Small state change torture test.
20265 * docs/design/part-states.txt:
20266 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20267 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20268 (gst_base_sink_change_state):
20269 Never take state lock from streaming thread, clean up ugly
20270 hacks. Unfortunatly core does not yet support nice ways to
20271 async commit state.
20273 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20275 Start state recalc if a STATE_DIRTY message is posted, but only
20276 on the toplevel bin.
20278 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20279 (gst_element_get_state_func), (gst_element_abort_state),
20280 (gst_element_commit_state), (gst_element_lost_state),
20281 (gst_element_set_state_func), (gst_element_change_state):
20282 * gst/gstelement.h:
20283 State variables are now protected with the LOCK, the state
20284 lock is only used to serialize _set_state().
20286 2005-10-18 Wim Taymans <wim@fluendo.com>
20288 * check/gst/gstbin.c: (GST_START_TEST):
20289 * check/gst/gstmessage.c: (GST_START_TEST):
20290 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20291 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20293 * gst/gstelement.c: (gst_element_abort_state),
20294 (gst_element_commit_state), (gst_element_lost_state):
20295 * gst/gstmessage.c: (gst_message_new_state_changed),
20296 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20297 (gst_message_new_segment_done), (gst_message_new_duration),
20298 (gst_message_parse_state_changed),
20299 (gst_message_parse_segment_start),
20300 (gst_message_parse_segment_done), (gst_message_parse_duration):
20301 * gst/gstmessage.h:
20302 * tools/gst-launch.c: (event_loop):
20303 Seriously, this is better than a previous commit as we only need
20304 to notify the fact that an element changed state in a streaming
20305 thread, marking the state of the parents dirty, hence the
20306 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20309 2005-10-18 Wim Taymans <wim@fluendo.com>
20311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20312 (gst_bin_recalc_func):
20313 * gst/gstelement.c: (gst_element_set_clock),
20314 (gst_element_abort_state), (gst_element_lost_state):
20315 Cleanups, prepare for state change fixes.
20317 2005-10-18 Wim Taymans <wim@fluendo.com>
20320 * gst/gstelement.c: (gst_element_class_init),
20321 (gst_element_set_state), (gst_element_set_state_func):
20322 * gst/gstelement.h:
20323 Pending ABI changes.
20324 GThreadPool in GstBinClass to monitor async state changes.
20325 state_cookie in GstElement to detect concurrent gst/set state.
20326 set_state is now virtual too in case a very complicated element
20327 has to be constructed.
20329 2005-10-18 Wim Taymans <wim@fluendo.com>
20331 * check/gst/gstbin.c: (GST_START_TEST):
20332 * check/gst/gstmessage.c: (GST_START_TEST):
20333 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20334 * gst/gstbin.c: (bin_bus_handler):
20335 * gst/gstelement.c: (gst_element_commit_state),
20336 (gst_element_lost_state):
20337 * gst/gstmessage.c: (gst_message_new_state_changed),
20338 (gst_message_new_segment_start), (gst_message_new_segment_done),
20339 (gst_message_new_duration), (gst_message_parse_state_changed),
20340 (gst_message_parse_segment_start),
20341 (gst_message_parse_segment_done), (gst_message_parse_duration):
20342 * gst/gstmessage.h:
20343 * tools/gst-launch.c: (event_loop):
20344 Make messages future proof.
20345 state-change gets a flag if it was a message comming from the
20347 segment-start/stop can also be specified in other formats.
20348 A message to notify an app that a pipeline changed playback
20350 Also fix a GstMessage leak in -launch
20352 2005-10-18 Andy Wingo <wingo@pobox.com>
20354 * gst/gstelement.c (gst_element_dispose): More helpful message.
20356 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20358 reviewed by: <delete if not using a buddy>
20360 * common/gtk-doc.mak:
20362 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20364 * gst/gstregistry.c: (gst_registry_scan_path_level):
20365 unref a plug-in we get that was already initialized
20367 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20369 * docs/gst/gstreamer-sections.txt:
20370 * docs/libs/gstreamer-libs-sections.txt:
20371 * gst/gstelement.h:
20372 add new api entries
20373 hide internal macro
20375 2005-10-17 Andy Wingo <wingo@pobox.com>
20377 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20380 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20382 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20384 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20385 (gst_element_get_state_func): Better debug message.
20386 (gst_element_commit_state): s/INFO/DEBUG/.
20387 (gst_element_lost_state, gst_element_change_state):
20389 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20390 (gst_message_new_custom): s/INFO/LOG/.
20392 2005-10-17 Michael Smith <msmith@fluendo.com>
20394 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20395 Check if end time is valid using end time, not start time.
20397 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20399 * check/gst-libs/controller.c: (GST_START_TEST),
20400 (gst_controller_suite):
20401 * libs/gst/controller/gstcontroller.c:
20402 (gst_controlled_property_set_interpolation_mode):
20403 * libs/gst/controller/gstcontroller.h:
20404 * libs/gst/controller/gstinterpolation.c:
20405 * testsuite/controller/.cvsignore:
20406 * testsuite/controller/Makefile.am:
20407 * testsuite/controller/interpolator.c:
20408 merge controller testsuites
20410 remove mem-chunk from docs
20412 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20414 * gst/gstmemchunk.c:
20415 * gst/gstmemchunk.h:
20416 * gst/gsttrashstack.c:
20417 * gst/gsttrashstack.h:
20418 out. get out. you're fired. to the Attic !
20420 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20422 * gst/gstcaps.c: (gst_caps_intersect):
20423 fix signedness issues in a (hopefully) correct way
20424 * gst/gstelement.c: (gst_element_pads_activate):
20426 * gst/gstobject.c: (gst_object_set_parent):
20429 2005-10-17 Julien MOUTTE <julien@moutte.net>
20431 * gst/gstvalue.h: Fix prototypes.
20433 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20435 * docs/gst/gstreamer-sections.txt:
20436 * gst/gst.c: (gst_version_string):
20438 * gst/gstversion.h.in:
20439 * win32/common/libgstreamer.def:
20440 add gst_version_string ()
20442 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20446 * gst/gst.c: (init_post):
20447 * win32/common/config.h.in:
20449 * gst/gstcaps.c: (gst_caps_intersect):
20450 use gint64, the range could be bigger than a guint
20452 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20455 document potential problem in 2038
20457 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20459 * gst/gstcaps.c: (gst_caps_intersect):
20460 Fix guint j diving under 0
20462 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20465 * win32/common/config.h:
20466 * win32/common/config.h.in:
20467 check for process.h, declares getpid() on Windows
20469 include process.h if we have it
20470 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20471 * gst/gstmemchunk.h:
20472 fix signedness issues
20473 * win32/common/libgstreamer.def:
20476 2005-10-16 Julien MOUTTE <julien@moutte.net>
20478 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20479 fix. Because of unsigned ints, caps intersection was going nuts and
20480 trying to access structures with G_MAXUINT index. That fixes
20481 videotestsrc ! ffmpegcolorspace ! fakesink
20482 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20485 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20488 use the gettext macro
20489 * gst/elements/gstelements.c:
20491 * gst/indexers/gstindexers.c:
20492 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20493 * win32/common/config.h:
20495 * win32/common/config.h.in:
20496 add the template to generate config.h
20497 * win32/common/gstenumtypes.c:
20498 * win32/common/gstversion.h:
20501 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20503 * gst/gst.c: (gst_version):
20504 * gst/gstversion.h.in:
20507 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20510 Oops, add missing closing bracket.
20512 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20515 use common m4's for argument checking
20517 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20519 * docs/gst/gstreamer-sections.txt:
20521 Add GST_EVENT_TYPE_NAME() macro.
20523 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20526 * gst/gstpluginfeature.c:
20528 privatize more symbols
20530 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20533 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20534 everything that uses GStreamer API should have the includes
20536 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20538 * docs/gst/gstreamer-sections.txt:
20539 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20541 give each value a _get_type, removes the DATA exports
20543 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20547 remove _gst_registry_auto_load, not used anymore
20548 * gst/gstbin.c: (gst_bin_get_type):
20550 * gst/gstelement.c: (gst_element_get_type):
20551 * gst/gstelement.h:
20552 * gst/gstobject.c: (gst_object_get_type):
20554 * gst/gstpad.c: (gst_pad_get_type):
20556 make _get_type functions similar, fixes data export from library
20558 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20561 correctly make conditionals
20562 * gst/elements/Makefile.am:
20563 * gst/elements/gstelements.c:
20564 fix typo causing fdsrc not to build
20566 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20568 * testsuite/Makefile.am:
20569 * testsuite/bytestream/.cvsignore:
20570 * testsuite/bytestream/Makefile.am:
20571 * testsuite/bytestream/filepadsink.c:
20572 * testsuite/bytestream/gstbstest.c:
20573 * testsuite/bytestream/test1.c:
20574 * testsuite/bytestream/testfile1:
20575 * testsuite/caps/normalisation.c:
20576 * testsuite/caps/random.c: (main):
20577 * testsuite/cleanup/.cvsignore:
20578 * testsuite/cleanup/Makefile.am:
20579 * testsuite/cleanup/cleanup1.c:
20580 * testsuite/cleanup/cleanup2.c:
20581 * testsuite/cleanup/cleanup3.c:
20582 * testsuite/cleanup/cleanup4.c:
20583 * testsuite/cleanup/cleanup5.c:
20584 * testsuite/controller/interpolator.c:
20585 * testsuite/debug/printf_extension.c: (main):
20586 * testsuite/elements/tee.c:
20587 * testsuite/negotiation/.cvsignore:
20588 * testsuite/negotiation/Makefile.am:
20589 * testsuite/negotiation/pad_link.c:
20590 * testsuite/pad/Makefile.am:
20591 * testsuite/pad/chainnopull.c:
20592 * testsuite/pad/getnopush.c:
20593 * testsuite/pad/link.c:
20594 * testsuite/refcounting/sched.c: (create_pipeline):
20595 * testsuite/registry/Makefile.am:
20596 * testsuite/registry/gst-print-formats.c:
20597 * testsuite/schedulers/.cvsignore:
20598 * testsuite/schedulers/142183-2.c:
20599 * testsuite/schedulers/142183.c:
20600 * testsuite/schedulers/143777-2.c:
20601 * testsuite/schedulers/143777.c:
20602 * testsuite/schedulers/147713.c:
20603 * testsuite/schedulers/147819.c:
20604 * testsuite/schedulers/147894-2.c:
20605 * testsuite/schedulers/147894.c:
20606 * testsuite/schedulers/Makefile.am:
20607 * testsuite/schedulers/group_link.c:
20608 * testsuite/schedulers/queue_link.c:
20609 * testsuite/schedulers/relink.c:
20610 * testsuite/schedulers/unlink.c:
20611 * testsuite/schedulers/unref.c:
20612 * testsuite/schedulers/useless_iteration.c:
20613 * testsuite/states/bin.c:
20614 clean out/remove some stuff from the testsuite directories
20616 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20619 check for some headers
20620 * gst/elements/Makefile.am:
20621 * gst/elements/gstelements.c:
20622 don't compile fdsrc without sys/socket.h
20623 * gst/indexers/Makefile.am:
20624 * gst/indexers/gstindexers.c: (plugin_init):
20625 don't compile fileindex without mmap
20627 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20634 * check/Makefile.am:
20635 * docs/gst/Makefile.am:
20636 * examples/helloworld/Makefile.am:
20638 * gst/base/Makefile.am:
20639 * gst/check/Makefile.am:
20640 * gst/elements/Makefile.am:
20641 * gst/indexers/Makefile.am:
20642 * gst/parse/Makefile.am:
20643 * libs/gst/controller/Makefile.am:
20644 * libs/gst/dataprotocol/Makefile.am:
20645 * examples/helloworld/helloworld.c: (event_loop):
20646 compile fixes, though it's not being compiled currently
20648 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20650 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20651 Add some simple tests for the new taglist date API.
20653 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20655 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20656 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20657 Beautify 'last-message' output: print 'none' for buffer timestamps
20658 and durations if none is set; improve alignment with next messages.
20660 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20662 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20663 * gst/gstpluginfeature.h:
20664 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20665 * gst/gstregistry.h:
20666 * docs/gst/gstreamer-sections.txt:
20667 Add new API to check plugin feature version requirements.
20669 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20670 Some basic tests for the above.
20672 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20674 * gst/gststructure.c: (gst_structure_to_string):
20675 guard against NULL printf - happens when for example
20676 a message structure with GstClock gets serialized
20678 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20680 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20681 Fix presumable copy'n'pasto.
20683 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20685 * gst/elements/gstfakesrc.h:
20686 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20687 * gst/elements/gsttypefindelement.c:
20688 fix some signedness
20689 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20690 I wonder if this could actually write +2GB files before
20692 2005-10-13 Andy Wingo <wingo@pobox.com>
20694 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20695 Fix Timmeke Waymans bug.
20696 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20697 string of the proper length to gst_caps_from_string. There's a
20698 potential for, before this fix, that this could cause someone
20699 connecting over the network to cause a segfault if the payload is
20700 not NUL-terminated.
20702 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20704 * docs/design/draft-push-pull.txt:
20705 * docs/design/part-overview.txt:
20706 * docs/random/TODO-pre-0.9:
20707 * docs/random/old/ChangeLog.gstreamer:
20708 * gst/base/gstpushsrc.c:
20712 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20714 * gst/glib-compat.c: (gst_flags_get_first_value):
20715 * gst/glib-compat.h:
20716 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20717 (gst_value_compare_double), (gst_value_serialize_flags):
20718 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20721 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20724 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20726 * tools/gst-launch.c: (event_loop):
20727 print out clock nicely
20729 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20731 * docs/gst/gstreamer-sections.txt:
20732 * gst/gsttaglist.h:
20733 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20734 (gst_tag_list_get_date_index):
20735 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20736 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20738 2005-10-13 Julien MOUTTE <julien@moutte.net>
20740 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20741 (gst_collectpads_chain):
20742 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20745 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20747 * docs/gst/gstreamer-sections.txt:
20750 * tools/gst-inspect.c: (main):
20751 * tools/gst-launch.c: (main):
20752 * tools/gst-run.c: (main):
20753 * tools/gst-xmlinspect.c: (main):
20754 fix GOption context leaks
20757 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20761 * win32/common/config.h:
20763 * win32/vs6/grammar.dsp:
20764 * win32/vs6/libgstelements.dsp:
20765 * win32/vs6/libgstreamer.dsp:
20768 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20771 * gst/base/gstbasesrc.c: (gst_base_src_query):
20772 fix more guint64<->gdouble conversions
20774 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20777 add win32-update target
20778 * win32/common/gstconfig.h:
20779 * win32/common/gstenumtypes.c:
20780 * win32/common/gstenumtypes.h:
20781 * win32/common/gstversion.h:
20782 add files that visual studio can't generate
20784 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20787 add a win32-update target
20790 2005-10-12 Wim Taymans <wim@fluendo.com>
20792 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20793 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20794 * gst/gstelement.c: (gst_element_commit_state),
20795 (gst_element_set_state):
20796 Protect flags with proper lock.
20797 unref provided cached clock in dispose.
20799 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20802 * gst/gstminiobject.h:
20804 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20805 removed unused flags from miniobject
20808 2005-10-12 Wim Taymans <wim@fluendo.com>
20810 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20811 (gst_file_sink_event), (gst_file_sink_render):
20812 Flush before seeking.
20814 2005-10-12 Andy Wingo <wingo@pobox.com>
20816 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20817 always been the case.
20819 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20821 * check/gst/gstbin.c: (GST_START_TEST):
20822 * docs/gst/gstreamer-sections.txt:
20823 * gst/base/gstbasesink.c: (gst_base_sink_init):
20824 * gst/base/gstbasesrc.c: (gst_base_src_init),
20825 (gst_base_src_get_range), (gst_base_src_check_get_range),
20826 (gst_base_src_start), (gst_base_src_stop):
20827 * gst/base/gstbasesrc.h:
20828 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20829 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20830 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20834 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20836 * gst/gstelement.c: (gst_element_is_locked_state),
20837 (gst_element_set_locked_state), (gst_element_commit_state),
20838 (gst_element_set_state):
20839 * gst/gstelement.h:
20840 * gst/gstindex.c: (gst_index_init):
20842 * gst/gstminiobject.h:
20843 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20844 (gst_object_set_parent):
20846 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20847 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20849 * gst/gstpadtemplate.h:
20850 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20851 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20852 * gst/gstpipeline.h:
20853 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20854 (gst_file_index_commit):
20855 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20856 * testsuite/pad/link.c: (gst_test_src_init),
20857 (gst_test_filter_init), (gst_test_sink_init):
20858 * testsuite/states/locked.c: (main):
20859 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20860 moved bitshift from macro to enum definition
20862 2005-10-12 Wim Taymans <wim@fluendo.com>
20864 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20865 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20866 (gst_file_sink_render):
20867 Some more debugging info.
20869 2005-10-12 Wim Taymans <wim@fluendo.com>
20871 * docs/design/part-states.txt:
20872 * tools/gst-launch.c: (main):
20874 Revert non-intentional change.
20876 2005-10-12 Wim Taymans <wim@fluendo.com>
20878 * check/gst/gstbin.c: (GST_START_TEST):
20879 * check/gst/gstelement.c: (GST_START_TEST):
20880 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20881 * check/gst/gstghostpad.c: (GST_START_TEST):
20882 * check/gst/gstpipeline.c: (GST_START_TEST):
20883 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20884 * check/states/sinks.c: (GST_START_TEST):
20885 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20886 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20887 (gst_bin_remove_func), (gst_bin_get_state_func),
20888 (gst_bin_recalc_state), (gst_bin_change_state_func),
20890 * gst/gstelement.c: (gst_element_get_state_func),
20891 (gst_element_get_state), (gst_element_abort_state),
20892 (gst_element_commit_state), (gst_element_set_state),
20893 (gst_element_change_state), (gst_element_change_state_func):
20894 * gst/gstelement.h:
20895 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20896 (gst_pipeline_provide_clock_func):
20897 * gst/gstutils.c: (gst_element_link_pads_filtered):
20898 * tools/gst-launch.c: (main):
20899 * tools/gst-typefind.c: (main):
20900 Use GstClockTime in _get_state() instead of GTimeVal.
20901 Remove old code in gstutils.c
20903 2005-10-12 Andy Wingo <wingo@pobox.com>
20905 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20908 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20909 there is no task. Shouldn't affect any code, as nothing in our
20910 plugins checks this return value.
20911 (gst_pad_stop_task): Also take the stream lock if the pad has no
20912 task. Docs updated.
20914 2005-10-12 Wim Taymans <wim@fluendo.com>
20916 * gst/gstpad.c: (pre_activate), (post_activate),
20917 (gst_pad_activate_pull), (gst_pad_activate_push):
20918 Cleanup activation code. Reset old state if
20921 2005-10-12 Wim Taymans <wim@fluendo.com>
20923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20924 (gst_base_sink_change_state):
20925 No need to prerol after receiving EOS.
20927 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20928 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20929 * gst/elements/gstidentity.c: (gst_identity_event):
20930 Print events more verbosely.
20932 2005-10-12 Wim Taymans <wim@fluendo.com>
20934 * check/Makefile.am:
20935 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20936 * check/states/sinks2.c:
20937 Moved sinks2 testcode in sinks check.
20939 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20940 (gst_bin_remove_func), (gst_bin_recalc_state),
20941 (gst_bin_change_state_func), (bin_bus_handler):
20942 Fix potential race condition when _get_state() iterated over an
20943 ASYNC element right before it posted a state completion.
20946 Do proper cast here.
20948 * gst/gstevent.c: (gst_event_new_newsegment),
20949 (gst_event_parse_newsegment):
20950 A playback rate of 0.0 is not allowed.
20952 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20954 * win32/common/config.h:
20955 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20956 (_trewinddir), (_ttelldir), (_tseekdir):
20957 * win32/common/dirent.h:
20958 * win32/common/gtchar.h:
20959 * win32/common/libgstbase.def:
20960 * win32/common/libgstreamer.def:
20961 * win32/vs6/grammar.dsp:
20962 * win32/vs6/gst_inspect.dsp:
20963 * win32/vs6/gst_launch.dsp:
20964 * win32/vs6/gstreamer.dsw:
20965 * win32/vs6/libgstbase.dsp:
20966 * win32/vs6/libgstelements.dsp:
20967 * win32/vs6/libgstreamer.dsp:
20968 Visual Studio 6 project files, and a new common directory.
20971 2005-10-11 Wim Taymans <wim@fluendo.com>
20973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20974 (gst_base_sink_do_sync), (gst_base_sink_query),
20975 (gst_base_sink_change_state):
20976 * gst/base/gstbasesink.h:
20977 Correctly parse newsegment info.
20979 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20981 * gst/gst.c: (init_post):
20982 split plugin paths correctly
20984 2005-10-11 Wim Taymans <wim@fluendo.com>
20986 * check/gst/gstevent.c: (GST_START_TEST):
20987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20988 (gst_base_sink_change_state):
20989 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20990 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20991 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20992 * gst/gstevent.c: (gst_event_new_newsegment),
20993 (gst_event_parse_newsegment):
20995 Added extra flag to newsegment for future API freeze.
20996 Updated check and base elements.
20998 2005-10-11 Julien MOUTTE <julien@moutte.net>
21000 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21001 (gst_collectpads_add_pad), (gst_collectpads_pop),
21002 (gst_collectpads_event), (gst_collectpads_chain):
21003 * gst/base/gstcollectpads.h: Handle EOS correctly.
21005 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21007 * tools/gst-launch.c: (main):
21008 more null protecting
21010 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21012 * gst/gst-i18n-lib.h:
21013 check for ENABLE_NLS, not GETTEXT_PACKAGE
21014 * gst/gstregistry.c: (gst_registry_add_plugin),
21015 (gst_registry_scan_path_level),
21016 (_gst_registry_remove_cache_plugins):
21017 protect possibly NULL strings
21018 * gst/parse/types.h:
21019 config.h already included before
21020 * tools/gst-inspect.c: (main):
21021 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21022 check for ENABLE_NLS, not GETTEXT_PACKAGE
21023 * tools/gst-launch.c: (main):
21024 check for ENABLE_NLS, not GETTEXT_PACKAGE
21026 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21029 if we don't have glib, fail before testing 2.8
21030 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21031 fix a leak, should fix plugins-base testsuite
21033 2005-10-11 Andy Wingo <wingo@pobox.com>
21035 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21036 take the mode we're going to as an arg. Go head and set the mode
21037 and flushing flags now, so that if the activate function starts a
21038 thread all the flags will be in the right state.
21039 (post_activate): Renamed also. Just handle making sure streaming
21040 finishes for the deactivation case, and setting the deactivated
21042 (gst_pad_set_active): Complain loudly if deactivation fails.
21043 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21044 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21045 remove the terrible hack.
21047 2005-10-11 Wim Taymans <wim@fluendo.com>
21049 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21050 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21051 (gst_bin_recalc_state), (gst_bin_change_state_func),
21052 (gst_bin_dispose), (bin_bus_handler):
21054 Prepare to make current EOS message queue more generic.
21057 * gst/gstevent.c: (gst_event_new_newsegment),
21058 (gst_event_parse_newsegment):
21060 Rename base to stream_time.
21062 * gst/gstmessage.h:
21065 2005-10-11 Wim Taymans <wim@fluendo.com>
21067 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21068 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21069 (gst_bin_change_state_func), (bin_bus_handler):
21071 Work on proper clock selection.
21073 2005-10-11 Edward Hervey <edward@fluendo.com>
21075 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21076 * libs/gst/controller/gstcontroller.h:
21077 Added GList* version of _remove_properties() in order to be able to wrap
21080 2005-10-11 Wim Taymans <wim@fluendo.com>
21082 * docs/design/part-states.txt:
21085 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21086 (gst_bin_change_state_func), (bin_bus_handler):
21087 Doc updates. Don't distribute the same clock over and over again.
21093 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21094 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21095 (gst_pad_send_event):
21097 Make probe emission threadsafe again.
21098 Register quarks and move _get_name() from utils.
21101 * gst/gstpipeline.c: (gst_pipeline_class_init),
21102 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21103 Only redistribute the clock of it changed.
21105 * gst/gstsystemclock.h:
21110 Moved the _flow_get_name() to GstPad.
21112 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21114 * check/gst-libs/gdp.c: (GST_START_TEST):
21115 * check/gst/gstcaps.c: (GST_START_TEST):
21116 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21117 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21118 (gst_dp_packet_from_caps):
21119 fix more valgrind warnings before turning up the heat
21121 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21123 * gst/parse/grammar.y:
21124 some cleanup before the hacking
21126 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21128 * gst/base/gstbasesrc.c: (gst_base_src_query):
21130 * gst/gstutils.c: (gst_guint64_to_gdouble),
21131 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21133 externalize, basesrc uses it
21134 obviously the implementation needs testing
21136 2005-10-10 Wim Taymans <wim@fluendo.com>
21138 * tests/sched/Makefile.am:
21139 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21140 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21142 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21144 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21145 apparently converting from guint64 to double is not implemented
21148 2005-10-10 Wim Taymans <wim@fluendo.com>
21150 * check/Makefile.am:
21151 * check/generic/states.c: (GST_START_TEST):
21152 * check/gst/gstbin.c: (GST_START_TEST):
21153 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21154 * check/states/sinks.c: (GST_START_TEST):
21155 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21157 Check fixes, use API as stated in design docs, remove hacks.
21159 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21160 (gst_base_sink_change_state):
21161 Catch stopping our task while we're shutting down.
21163 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21164 (gst_bin_remove_func), (gst_bin_get_state_func),
21165 (gst_bin_recalc_state), (gst_bin_change_state_func),
21168 * gst/gstelement.c: (gst_element_init),
21169 (gst_element_get_state_func), (gst_element_abort_state),
21170 (gst_element_commit_state), (gst_element_lost_state),
21171 (gst_element_set_state), (gst_element_change_state),
21172 (gst_element_change_state_func):
21173 * gst/gstelement.h:
21174 New state change algorithm (see #318116)
21176 * gst/gstpipeline.c: (gst_pipeline_class_init),
21177 (gst_pipeline_init), (gst_pipeline_set_property),
21178 (gst_pipeline_get_property), (do_pipeline_seek),
21179 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21180 * gst/gstpipeline.h:
21181 Remove crude state change hacks.
21184 Remove crude hacks.
21186 * tools/gst-launch.c: (main):
21187 Fixes for state change. Needs some more work to fully use the
21190 2005-10-10 Andy Wingo <wingo@pobox.com>
21192 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21194 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21195 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21198 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21200 * gst/gstiterator.c: (gst_iterator_new):
21201 Fix my previous commit: GTypes passed to gst_iterator_new()
21202 can be fundamental types.
21204 2005-10-10 Wim Taymans <wim@fluendo.com>
21206 * gst/gstelement.c: (gst_element_iterate_pad_list),
21207 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21208 (gst_element_iterate_sink_pads):
21209 Use src/sink pads lists for the respective iterators instead
21212 2005-10-10 Andy Wingo <wingo@pobox.com>
21214 Merged in popt removal + GOption addition patch from Ronald, bug
21217 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21218 GstElement macros around, remove popt-related symbols, add goption
21221 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21223 * docs/gst/Makefile.am:
21224 * docs/libs/Makefile.am: No POPT_CFLAGS.
21226 * examples/manual/Makefile.am:
21227 * docs/manual/basics-init.xml: Doc updates with an example.
21229 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21230 (gst_init), (parse_one_option), (parse_goption_arg):
21231 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21232 bit of hand merging and debugging to get the GOption stuff working
21235 * tests/Makefile.am:
21236 * tools/Makefile.am:
21237 * tools/gst-inspect.c: (main):
21238 * tools/gst-launch.c: (main):
21239 * tools/gst-run.c: (main):
21240 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21242 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21244 * gst/gstiterator.c: (gst_iterator_new):
21245 Add assertions to make sure passed GType is likely to really
21246 be a GType (as the compiler won't catch it if the size and
21247 GType arguments get mixed up, see #318447).
21249 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21251 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21253 * gst/gstbin.c: (gst_bin_iterate_sorted):
21254 Pass GType and size arguments to gst_iterator_new() in the right
21255 order (maybe we should make _new() take the GType as first argument
21256 just like _new_list()?) (#318447).
21259 2005-10-10 Wim Taymans <wim@fluendo.com>
21261 * gst/gstelement.c: (gst_element_finalize):
21262 And free the GStaticRecMutex too
21264 2005-10-10 Andy Wingo <wingo@pobox.com>
21266 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21267 Allocate and free the mutex properly.
21269 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21271 (GstElement): The state_lock is now recursive. Rebuild your
21272 plugins, suckers. Old macros adapted.
21274 * docs/gst/gstreamer-sections.txt: Doc updates.
21277 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21278 (g_static_rec_cond_wait): Ported from state changes patch, while
21279 we wait on bug #317802 to be solved in a well-distributed GLib.
21281 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21282 gst_element_change_state, variable name changes.
21283 (gst_element_change_state): Split out of gst_element_set_state in
21284 preparation for the state change merge. Doesn't pay attention to
21285 the 'transition' argument.
21286 (gst_element_set_state): Updates, hopefully purely cosmetic.
21287 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21288 state change patch.
21289 (gst_element_get_state_func): Renamed from get_state, cosmetic
21292 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21294 * gst/elements/gstelements.c:
21295 * win32/GStreamer.vcproj:
21297 * win32/dirent.c: (_tseekdir):
21298 * win32/gst-inspect.vcproj:
21299 * win32/gst-launch.vcproj:
21300 * win32/gstconfig.h:
21301 * win32/gstelements.vcproj:
21302 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21303 * win32/gstreamer.def:
21304 * win32/msvc71.sln:
21305 updates for the win32 build (patch from Sebastien Moutte)
21307 2005-10-10 Andy Wingo <wingo@pobox.com>
21309 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21310 gst_bin_get_state, cleaned up (but no logic changes).
21311 (bin_element_is_sink): Comment updates.
21312 (sink_iterator_filter): Remove needless cast.
21313 (gst_bin_iterate_sinks): Doc update.
21314 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21315 cleaned up (but no logic changes).
21317 * check/states/sinks.c (test_src_sink): Cleanups from the state
21319 (test_livesrc_sink): Sync on the state.
21321 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21322 the state change patch.
21324 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21327 * check/gst/gstbin.c: Merge in some style fixes and additional
21328 checks from Wim's state change patch.
21330 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21332 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21333 (gst_type_find_helper):
21334 Check whether we have the requested data already in our list of
21335 cached buffers before pulling a new buffer; also make the buffer
21336 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21338 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21343 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21344 don't use long long, it's not portable. Replacing with
21345 gint64 seems to work; let's hope no skeletons fall out of the closet.
21347 2005-10-10 Andy Wingo <wingo@pobox.com>
21349 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21351 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21353 * docs/gst/gstreamer-sections.txt:
21358 * gst/gstmessage.c: (gst_message_parse_state_changed):
21361 more docs, fix compilation
21363 2005-10-09 Philippe Khalaf <burger@speedy.org>
21364 * gst/gstmessage.c:
21365 Fixed a few forgotten variables on previous commit
21367 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21369 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21370 Fix evil typefind crasher: getrange() might return a short
21371 buffer at the end of a file, but gst_type_find_peek() must
21372 either return the full data as requested or NULL, but
21373 never a short buffer.
21375 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21377 * gst/gstmessage.c: (gst_message_new_state_changed),
21378 (gst_message_parse_state_changed):
21379 * gst/gstmessage.h:
21380 don't use "new", it's a C++ keyword
21382 2005-10-08 Wim Taymans <wim@fluendo.com>
21384 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21385 * gst/gstelement.c: (gst_element_post_message):
21386 * gst/gstpipeline.c: (gst_pipeline_change_state):
21387 Small docs and debug updates.
21389 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21391 * docs/gst/gstreamer-sections.txt:
21392 * gst/gstelementfactory.c:
21394 * gst/gsttaglist.c:
21397 2005-10-08 Wim Taymans <wim@fluendo.com>
21399 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21400 (gst_bin_dispose), (bin_bus_handler):
21401 Fix typos, add comments.
21402 Clear EOS list when going to PAUSED from any direction and do it
21403 in a threadsafe way.
21404 Get base time in a threadsafe way too.
21405 Fix confusing debug in the change_state function.
21406 Various other small cleanups.
21408 * gst/gstelement.c: (gst_element_post_message):
21409 Fix very verbose bus posting code.
21411 * gst/gstpipeline.c: (gst_pipeline_class_init),
21412 (gst_pipeline_set_property), (gst_pipeline_get_property),
21413 (gst_pipeline_change_state):
21414 Small ARG_ -> PROP_ cleanup
21416 2005-10-08 Wim Taymans <wim@fluendo.com>
21418 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21419 Do a less CPU demanding EOS check because we can.
21421 2005-10-08 Wim Taymans <wim@fluendo.com>
21423 * libs/gst/dataprotocol/dataprotocol.c:
21424 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21425 (gst_dp_packet_from_event):
21426 * libs/gst/dataprotocol/dataprotocol.h:
21427 * libs/gst/dataprotocol/dp-private.h:
21428 It's about time we bump the version number.
21429 Since event types don't fit in the guint8 anymore describing
21430 the payload type, make payload type 16 bits wide.
21432 2005-10-08 Wim Taymans <wim@fluendo.com>
21434 * docs/design/part-TODO.txt:
21435 * docs/design/part-clocks.txt:
21436 * docs/design/part-events.txt:
21437 * docs/design/part-gstbin.txt:
21438 * docs/design/part-gstelement.txt:
21439 * docs/design/part-gstpipeline.txt:
21440 * docs/design/part-live-source.txt:
21441 * docs/design/part-messages.txt:
21442 * docs/design/part-overview.txt:
21443 * docs/design/part-states.txt:
21446 2005-10-08 Wim Taymans <wim@fluendo.com>
21450 Fix event quark registration.
21451 Add some space between events so we can insert them in the
21454 2005-10-08 Wim Taymans <wim@fluendo.com>
21456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21457 (gst_base_sink_handle_buffer):
21458 Better log message.
21461 * gst/gstelement.h:
21464 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21465 (gst_queue_set_property), (gst_queue_get_property):
21467 Remove old unused properties.
21469 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21470 * docs/gst/gstreamer-sections.txt:
21471 * gst/gstmessage.c:
21472 * gst/gstmessage.h:
21473 * gst/gstminiobject.c:
21474 * gst/gstminiobject.h:
21478 lots of new docs and doc fixes
21480 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21482 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21484 * gst/gstregistry.c: (gst_registry_lookup_locked),
21485 (gst_registry_scan_path_level):
21486 * gst/gstregistryxml.c: (load_plugin):
21487 Only ever load one plugin for a given plugin basename.
21488 This ensures correct overriding of GST_PLUGIN_PATH over
21489 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21490 system installed plugins.
21492 2005-10-08 Wim Taymans <wim@fluendo.com>
21494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21495 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21496 Prepare for doing QOS.
21498 2005-10-08 Wim Taymans <wim@fluendo.com>
21500 * check/gst/gstbin.c: (GST_START_TEST):
21501 * check/pipelines/cleanup.c: (GST_START_TEST):
21502 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21503 Allow new clock message too.
21505 2005-10-08 Wim Taymans <wim@fluendo.com>
21507 * gst/gstmessage.c: (gst_message_new_error),
21508 (gst_message_new_warning), (gst_message_new_tag),
21509 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21510 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21511 (gst_message_new_segment_start), (gst_message_new_segment_done),
21512 (gst_message_parse_state_changed),
21513 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21514 (gst_message_parse_new_clock):
21515 * gst/gstmessage.h:
21516 Also carry the clock in question.
21518 2005-10-08 Wim Taymans <wim@fluendo.com>
21520 * gst/gstmessage.c: (gst_message_new_custom),
21521 (gst_message_new_eos), (gst_message_new_error),
21522 (gst_message_new_warning), (gst_message_new_tag),
21523 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21524 (gst_message_new_new_clock), (gst_message_new_segment_start),
21525 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21526 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21527 * gst/gstmessage.h:
21529 Added clock related messages.
21531 * gst/gstpipeline.c: (gst_pipeline_change_state):
21532 Post message when the clock changed.
21534 * tools/gst-launch.c: (event_loop):
21537 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21539 * tools/gst-inspect.c: (print_element_properties_info):
21540 Can't pass NULL strings to g_print() on windows.
21542 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21544 * docs/Makefile.am:
21545 * docs/gst/Makefile.am:
21546 * docs/gst/gstreamer-docs.sgml:
21547 * docs/gst/running.xml:
21548 * docs/version.entities.in:
21549 add a chapter on running GStreamer.
21550 document GST_DEBUG and GST_PLUGIN* env vars
21552 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21557 remove PLUGINS_BUILDDIR stuff
21558 * gst/gst.c: (init_post):
21559 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21561 remove, it was condescending and not needed
21563 2005-10-08 Wim Taymans <wim@fluendo.com>
21565 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21566 (gst_base_sink_handle_object), (gst_base_sink_event),
21567 (gst_base_sink_wait), (gst_base_sink_handle_event),
21568 (gst_base_sink_change_state):
21569 * gst/base/gstbasesink.h:
21570 Repost EOS message while going to PLAYING if still EOS.
21571 Make sure that when receiving a FLUSH_START we don't attempt
21572 to sync on the clock anymore.
21574 2005-10-08 Wim Taymans <wim@fluendo.com>
21576 * tools/gst-launch.c: (event_loop):
21577 Better message printout.
21579 2005-10-08 Wim Taymans <wim@fluendo.com>
21581 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21582 (gst_bin_child_proxy_get_children_count):
21583 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21584 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21585 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21586 (gst_child_proxy_set_valist):
21587 * gst/parse/grammar.y:
21588 Make ChildProxy threadsafe and fix mem leaks.
21590 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21592 * gst/gst.c: (init_post):
21593 debug the GST_PLUGIN_ env vars
21595 2005-10-08 Wim Taymans <wim@fluendo.com>
21597 * check/gst/gstbin.c: (GST_START_TEST):
21598 * check/gst/gstmessage.c: (GST_START_TEST):
21599 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21600 * gst/gstelement.c: (gst_element_commit_state),
21601 (gst_element_lost_state):
21602 * gst/gstmessage.c: (gst_message_new_state_changed),
21603 (gst_message_parse_state_changed):
21604 * gst/gstmessage.h:
21605 * tools/gst-launch.c: (event_loop):
21606 Added extra field to STATE_CHANGE message with the pending
21607 state, which will be different from the new state soon.
21609 2005-10-08 Wim Taymans <wim@fluendo.com>
21611 * gst/gstbus.c: (gst_bus_pop):
21613 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21614 Small cleanups and doc updates.
21616 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21618 * gst/gst.c: (init_pre):
21619 * gst/gstbin.c: (gst_bin_add_func):
21620 log distributing clocks and base time
21621 * gst/gstregistry.c: (gst_registry_add_plugin),
21622 (gst_registry_scan_path_level), (gst_registry_scan_path):
21623 clean up the debugging output a little
21624 * gst/gstutils.c: (gst_element_state_get_name):
21625 warn about a memleak (I've actually seen this be used, though
21626 it was probably a bug)
21628 2005-10-07 Wim Taymans <wim@fluendo.com>
21630 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21631 (gst_base_src_init), (gst_base_src_default_newsegment),
21632 (gst_base_src_newsegment), (gst_base_src_do_seek),
21633 (gst_base_src_loop), (gst_base_src_start):
21634 * gst/base/gstbasesrc.h:
21635 Make the newsegment event customizable by subclasses.
21637 2005-10-07 Wim Taymans <wim@fluendo.com>
21639 * gst/gstevent.c: (gst_event_new_buffersize),
21640 (gst_event_parse_buffersize):
21642 New event for future idea.
21644 2005-10-07 Andy Wingo <wingo@pobox.com>
21646 * gst/gstelement.c (gst_element_post_message): Doc update.
21648 * docs/gst/gstreamer-sections.txt: Update.
21650 * gst/gstmessage.c (gst_message_new_application): Made into a
21651 function like honest API calls.
21652 (gst_message_new_element): New message type.
21654 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21656 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21657 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21660 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21661 NO_PREROLL from gst_element_change_state to fall through.
21663 2005-10-07 Wim Taymans <wim@fluendo.com>
21665 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21666 (gst_ghost_pad_do_activate_push):
21667 Activating a ghostpad with no internal pad in push mode
21670 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21673 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21674 Fixes compilation on Windows.
21676 2005-10-07 Michael Smith <msmith@fluendo.com>
21678 * tools/gst-inspect.c:
21679 Print out feature and plugin count at the end when printing out
21682 2005-10-04 Michael Smith <msmith@fluendo.com>
21684 * gst/gsterror.c: (_gst_stream_errors_init):
21685 Add another error string used in a few existing plugins.
21688 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21689 * tools/gst-inspect.c: (print_element_info):
21690 When a feature disappears from a plugin (and the feature exists in
21691 the cached registry file), things went horribly wrong. This isn't a
21692 complete fix, we should actually be removing the 'missing' features
21693 from the features list when we load the actual plugin. That's not
21696 2005-10-04 Johan Dahlin <johan@gnome.org>
21698 * check/gst/gstiterator.c: (GST_START_TEST):
21699 * gst/gstbin.c: (gst_bin_iterate_elements),
21700 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21701 * gst/gstelement.c: (gst_element_iterate_pads):
21702 * gst/gstformat.c: (gst_format_iterate_definitions):
21703 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21704 (gst_iterator_new_list), (gst_iterator_filter):
21705 * gst/gstiterator.h:
21706 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21707 Add a GType to GstIterator, update callsites and tests.
21709 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21711 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21712 give events a chance to be handled by event probes when the pad
21715 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21717 * gst/gstevent.c: (gst_event_type_get_name),
21718 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21720 add string representations for event types
21722 2005-10-06 Wim Taymans <wim@fluendo.com>
21724 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21725 Don't use NULL pointers.
21727 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21729 * gst/gst_private.h:
21731 * gst/gstelement.c:
21733 * gst/gstpluginfeature.c:
21734 widen the debug category in output to fit the biggest one we have
21735 add a bus category and use it
21736 play with the colors
21737 fix up some categories
21739 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21741 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21742 add push activation of sink ghost pads.
21743 Andye, please verify
21745 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21747 * gst/gstutils.c: (gst_element_link_pads):
21748 fix a bug in the case where neither element has a pad
21749 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21750 add a test for that case
21752 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21754 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21755 emit have-data before checking for peers. This allows
21756 for probe handlers to connect elements. This helps autopluggers.
21757 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21759 add six checks, linked/unlinked with no/true/false probe
21761 2005-10-04 Wim Taymans <wim@fluendo.com>
21763 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21764 (gst_fake_sink_event), (gst_fake_sink_preroll),
21765 (gst_fake_sink_render), (gst_fake_sink_change_state):
21766 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21767 (gst_fake_src_get_property), (gst_fake_src_create),
21768 (gst_fake_src_stop):
21769 * gst/elements/gstidentity.c: (gst_identity_stop):
21770 Protect last_message with lock.
21772 2005-10-04 Edward Hervey <edward@fluendo.com>
21775 Added precision in the comments for GST_FORMAT_DEFAULT
21777 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21779 * tools/gst-launch.c: (main):
21780 Don't try to run erroneous pipelines.
21782 2005-10-04 Julien MOUTTE <julien@moutte.net>
21784 * gst/gstbus.c: We don't need this header.
21786 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21789 back to development
21791 === release 0.9.3 ===
21793 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21797 Releasing 0.9.3, "Unregistered"
21799 2005-10-03 Andy Wingo <wingo@pobox.com>
21801 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21802 whereby calling a pad's activatepush() function can start a thread
21803 that starts to push or pull before the pad gets the FLUSHING flag
21804 unset. Hack around it by holding the stream lock until the flag is
21805 set. Need to replace this with a proper solution. Together with
21806 the ghost pad fixes, this fixes mp3 playing/tagreading.
21808 * docs/design/part-gstghostpad.txt: Add a note about activation of
21809 proxy pads outside of ghost pads.
21811 * gst/gstghostpad.c: Implement the ghost pad activation design.
21813 2005-10-02 Andy Wingo <wingo@pobox.com>
21815 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21816 It is volatile, after all.
21818 * docs/design/part-gstghostpad.txt: Flesh out activation with
21821 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21824 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21827 Fix (unused) AM_CONDITIONAL tests.
21829 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21831 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21833 * gst/gstutils.c: (gst_pad_query_convert):
21834 Add assertion that makes sure src_val is >=0, just like
21835 gst_query_new_convert() has. (#315895)
21837 2005-09-30 Edward Hervey <edward@fluendo.com>
21839 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21840 Let's not iterate pads we're not interested in, it avoids getting
21841 sky-high refcounts on sinkpad.
21843 2005-09-30 Wim Taymans <wim@fluendo.com>
21845 * gst/gstelement.c: (gst_element_set_state),
21846 (gst_element_change_state):
21847 Small tweak, element in ASYNC remains ASYNC.
21849 2005-09-30 Wim Taymans <wim@fluendo.com>
21851 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21852 Only error is an error.
21854 * gst/gstbin.c: (gst_bin_change_state):
21857 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21858 Also call pad_block in pad alloc.
21860 * gst/gstutils.c: (gst_flow_get_name):
21863 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21865 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21866 (gst_base_src_get_range):
21867 Fix documentation typos. Add some more debug info.
21869 2005-09-29 David Schleef <ds@schleef.org>
21871 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21872 more end-user friendly.
21873 * tools/gst-inspect.c: (main): Check if command-line argument is
21874 a file and attempt to load that file as a plugin.
21876 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21878 * check/gst/gstbin.c:
21879 * check/states/sinks.c:
21880 fix tests for the new warning
21881 * check/gst/gstpipeline.c:
21882 add a test for pipeline and bus interaction
21883 * gst/gstelement.c:
21884 elements should be NULL if they get disposed; add a warning if not
21886 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21889 for 2.6 refcounting, make debug log more correct by printing
21890 the actual refcounts at the time of swap (Wim)
21892 2005-09-29 Andy Wingo <wingo@pobox.com>
21894 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21895 removes signal watches previously added via
21896 gst_bus_add_signal_watch.
21897 (gst_bus_add_signal_watch): Don't return the source id, just store
21898 it on the bus if there wasn't an id already.
21900 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21901 add_signal_watch and remove_signal_watch.
21903 2005-09-29 Edward Hervey <edward@fluendo.com>
21905 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21906 Better if we actually iterate the list :)
21908 2005-09-29 Wim Taymans <wim@fluendo.com>
21910 * check/gst/gstbin.c: (GST_START_TEST):
21911 Change for new bus API.
21913 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21914 (send_messages), (GST_START_TEST), (gstbus_suite):
21915 Change for new bus signal API.
21917 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21918 (gst_bus_source_prepare), (gst_bus_source_check),
21919 (gst_bus_create_watch), (gst_bus_add_watch_full),
21920 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21921 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21923 Remove support for multiple GSources operating on different
21924 message types as it is too complex and unneeded when using
21926 Added support for receiving signals from the bus.
21928 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21930 * docs/libs/tmpl/gstdataprotocol.sgml:
21931 * docs/manual/advanced-dataaccess.xml:
21932 * gst/elements/gstcapsfilter.c:
21934 rename filter-caps to caps property
21936 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21938 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21939 More robust fraction string parsing.
21941 * docs/pwg/appendix-porting.xml:
21942 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21944 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21946 * gst/gstcaps.c: (gst_caps_do_simplify):
21947 Thou shalt not free a structure and then continue using it
21948 in the next loop iteration.
21950 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21952 Add test case for caps simplification.
21954 2005-09-29 Wim Taymans <wim@fluendo.com>
21956 * check/gst/gstbin.c: (GST_START_TEST):
21959 2005-09-29 Wim Taymans <wim@fluendo.com>
21961 * check/gst/gstbin.c: (GST_START_TEST):
21964 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21965 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21966 (find_element), (gst_bin_sort_iterator_next),
21967 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21968 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21969 (gst_bin_change_state), (gst_bin_dispose):
21970 A bin does not have a bus, it gets the bus from the parent.
21972 * gst/gstelement.c: (gst_element_requires_clock),
21973 (gst_element_provides_clock), (gst_element_is_indexable),
21974 (gst_element_is_locked_state), (gst_element_change_state),
21975 (gst_element_set_bus_func):
21978 * gst/gstpipeline.c: (gst_pipeline_class_init),
21979 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21980 The pipeline provides a bus.
21982 2005-09-28 Johan Dahlin <johan@gnome.org>
21984 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21985 gst_structure_get_enum instead of gst_structure_get_int
21987 * gst/gststructure.c (gst_structure_get_enum): Impl.
21989 * gst/gststructure.h (gst_structure_get_enum): Add
21991 * docs/gst/gstreamer-sections.txt: Ditto
21993 * gst/gstmessage.c (gst_message_new_state_changed): Use
21994 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21995 which does introspection.
21996 Reviewed by Christian Schaller
21998 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22000 * gst/gstinfo.c: (gst_debug_log_default):
22001 don't do dummy g_strdup()s
22002 * libs/gst/controller/gstcontroller.c:
22003 (on_object_controlled_property_changed),
22004 (gst_controlled_property_new), (gst_controller_new_valist),
22005 (gst_controller_new_list),
22006 (gst_controller_remove_properties_valist), (gst_controller_set),
22007 (gst_controller_get), (gst_controller_sync_values),
22008 (gst_controller_get_value_array), (_gst_controller_class_init),
22009 (gst_controller_get_type):
22010 * libs/gst/controller/gstcontroller.h:
22011 * libs/gst/controller/gstinterpolation.c:
22012 (gst_controlled_property_find_timed_value_node):
22013 convert // to /**/ comments
22015 2005-09-28 Wim Taymans <wim@fluendo.com>
22017 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22018 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22019 (gst_bus_sync_signal_handler):
22021 Added async-message and sync-message signals to the bus.
22022 Added helper BusFunc to emit signals for all posted messages.
22024 * gst/gstmessage.c: (gst_message_type_get_name),
22025 (gst_message_type_to_quark), (gst_message_get_type):
22026 * gst/gstmessage.h:
22027 Register quarks for message names.
22029 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22031 * docs/libs/gstreamer-libs-sections.txt:
22032 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22033 (gst_controller_new_list):
22034 * libs/gst/controller/gstcontroller.h:
22035 added another constructor for language bindings
22037 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22039 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22043 * gst/gstinfo.c: (_gst_debug_init):
22044 slightly more readable color for refcount debugging
22046 2005-09-28 Wim Taymans <wim@fluendo.com>
22048 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22049 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22050 (find_element), (gst_bin_sort_iterator_next),
22051 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22052 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22053 (gst_bin_change_state), (gst_bin_dispose):
22054 Small doc fixes. get_clock -> provide_clock.
22056 * gst/gstelement.c: (gst_element_class_init),
22057 (gst_element_provides_clock), (gst_element_provide_clock),
22058 (gst_element_get_clock), (gst_element_commit_state),
22059 (gst_element_lost_state):
22060 * gst/gstelement.h:
22061 Make get/set_clock() symetric. Add provide_clock vmethod since
22062 that is actually what this function does.
22064 * gst/gstpipeline.c: (gst_pipeline_class_init),
22065 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22066 (gst_pipeline_get_clock):
22067 get_clock -> provide_clock.
22069 2005-09-28 Andy Wingo <wingo@pobox.com>
22071 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22072 lieu of real docs...
22074 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22076 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22078 * gst/elements/gstcapsfilter.c:
22079 * gst/elements/gstfakesink.c:
22080 * gst/elements/gstfakesrc.c:
22081 * gst/elements/gstfdsink.c:
22082 * gst/elements/gstfdsrc.c:
22083 * gst/elements/gstfilesink.c:
22084 * gst/elements/gstfilesrc.c:
22085 * gst/elements/gstidentity.c:
22086 * gst/elements/gsttee.c:
22087 * gst/elements/gsttypefindelement.c:
22088 Make element details static.
22090 2005-09-28 Wim Taymans <wim@fluendo.com>
22092 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22093 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22094 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22095 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22096 (gst_bin_change_state), (gst_bin_dispose):
22097 Some documentation updates.
22098 Clean up dispose handlers.
22100 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22101 * gst/gstpad.c: (gst_pad_dispose):
22102 Clean up dispose handler.
22104 * gst/gstpipeline.c: (gst_pipeline_change_state):
22105 Removed spurious UNLOCK.
22107 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22109 * docs/gst/gstreamer-sections.txt:
22110 * gst/base/gstbasesrc.h:
22111 * gst/gstelement.h:
22115 * gst/gstpipeline.c:
22116 * gst/gstpipeline.h:
22119 added two new functions to the docs
22120 documents all undocumented GstXXXFlags
22121 completed some incomplete docs
22123 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22125 * gst/gstbin.c: (gst_bin_dispose):
22126 * gst/gstelement.c: (gst_element_dispose):
22127 remove now useless and leaky resurrection code in dispose
22128 * gst/base/gstbasesrc.c: (gst_base_src_init):
22129 * gst/gstelementfactory.c: (gst_element_factory_create):
22130 * gst/gstobject.c: (gst_object_set_parent):
22133 2005-09-27 Wim Taymans <wim@fluendo.com>
22135 * docs/design/part-TODO.txt:
22138 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22139 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22140 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22141 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22142 (gst_bin_change_state):
22143 * gst/gstelement.h:
22144 Remove element variable, we keep element info in the iterator now.
22146 2005-09-27 Andy Wingo <wingo@pobox.com>
22148 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22151 2005-09-27 Wim Taymans <wim@fluendo.com>
22153 * check/gst/gstbin.c: (GST_START_TEST):
22154 Enable check that works now.
22156 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22157 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22158 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22159 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22160 (gst_bin_change_state):
22162 Redid the state change algorithm using a topological sort algo.
22163 Handles all cases correctly.
22164 Exposed iterator for state change order.
22166 * gst/gstelement.h:
22167 Temp storage for state changes. Need to get rid of this soon.
22169 2005-09-27 Wim Taymans <wim@fluendo.com>
22171 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22172 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22173 (link_fold_func), (gst_pad_proxy_setcaps):
22174 Leak fixes, the fold functions need to unref the passed object and
22175 _get_parent_*() returns ref to parent.
22177 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22179 * check/gst/gstbuffer.c: (test_make_writable):
22180 Plug leak in test case and fix 'make check-valgrind'
22182 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22184 * gst/gstbuffer.c: (gst_subbuffer_init):
22185 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22186 works correctly in all circumstances (we could have just copied
22187 the parent buffer's readonly flag, but conceptually it seems
22188 cleaner to mark all subbuffers as read-only). (based on patch
22189 by Alessandro Decina, #314710).
22191 * check/gst/gstbuffer.c: (create_read_only_buffer),
22192 (test_make_writable), (test_subbuffer_make_writable),
22194 Add some tests for gst_buffer_make_writable().
22196 2005-09-27 Wim Taymans <wim@fluendo.com>
22198 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22199 use gst_object_has_ancestor().
22201 * gst/gstobject.c: (gst_object_has_ancestor):
22203 gst_object_has_ancestor() copied from gstbin.c as it is a
22206 * tests/instantiate/create.c: (create_all_elements):
22207 * tests/lat.c: (handoff_src), (handoff_sink):
22208 * tests/sched/runxml.c: (main):
22209 * tests/seeking/seeking1.c: (main):
22210 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22212 Fix compilation of some tests.
22214 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22217 Remove comment. GST_TYPE_G_ERROR is here to stay,
22218 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22219 (#316961, #300610).
22221 2005-09-26 Wim Taymans <wim@fluendo.com>
22223 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22224 Added check that shows error in state change order.
22226 2005-09-26 Wim Taymans <wim@fluendo.com>
22228 * gst/gstbin.c: (gst_bin_change_state):
22229 Make state change function use 3 queues again, we were
22230 adding elements in the wrong order.
22232 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22235 * gst/gstpad.c: (gst_pad_dispose):
22236 Added some debug info first.
22238 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22240 * docs/design/draft-push-pull.txt:
22241 * docs/design/part-events.txt:
22242 * docs/design/part-overview.txt:
22243 * docs/design/part-scheduling.txt:
22244 Replace all _pull_region() with _pull_range()
22246 2005-09-26 Andy Wingo <wingo@pobox.com>
22248 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22250 * check/gst-libs/controller.c: Update for controller api change.
22253 * tests/Makefile.am:
22254 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22255 over by GLib bug 118439.
22257 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22258 routines to a function.
22260 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22262 * libs/gst/controller/gsthelper.c:
22263 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22264 (gst_object_sync_values): Renamed from sink_values. Ugh.
22266 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22268 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22269 Renamed from controller_key, as it is exported.
22271 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22273 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22278 * gst/gstpadtemplate.h:
22281 * gst/gstqueryutils.c:
22282 * gst/gstqueryutils.h:
22283 remove queryutils headers after moving the two used functions
22284 to gstquery. also fixes build problem for gstsiddec
22286 2005-09-26 Michael Smith <msmith@fluendo.com>
22288 * tools/gst-launch.1.in:
22289 Correct documentation in manpage of debug syntax
22291 2005-09-26 Wim Taymans <wim@fluendo.com>
22293 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22294 (gst_base_src_is_seekable), (gst_base_src_change_state):
22295 Some more debugging info.
22297 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22299 * docs/gst/gstreamer-sections.txt:
22300 * gst/base/gstbasetransform.h:
22304 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22306 * docs/gst/.cvsignore:
22307 * docs/gst/tmpl/.cvsignore:
22308 * docs/gst/tmpl/gstpipeline.sgml:
22309 * docs/gst/tmpl/gstplugin.sgml:
22310 * gst/gstpipeline.c:
22313 inlined the last two docs files
22314 removed the tmpl directory from cvs (no more conflicts here!)
22316 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22318 * docs/gst/gstreamer-sections.txt:
22319 * docs/gst/tmpl/.cvsignore:
22320 * docs/gst/tmpl/gstpad.sgml:
22321 * docs/gst/tmpl/gstpadtemplate.sgml:
22323 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22324 (gst_pad_finalize), (gst_pad_set_pad_template):
22326 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22327 (gst_pad_template_class_init), (gst_pad_template_init),
22328 (gst_pad_template_dispose), (name_is_valid),
22329 (gst_static_pad_template_get), (gst_pad_template_new),
22330 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22331 (gst_pad_template_pad_created):
22332 * gst/gstpadtemplate.h:
22333 inlined two more docs
22334 factored gstpadtemplate out of gstpad
22336 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22338 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22339 (test_children_state_change_order_semi_sink):
22340 Fix test case: we can't rely on a fixed state change order when
22341 going from READY => PAUSED because the sink might commit its
22342 new state first when the first buffer created by the source
22343 reaches the sink before the source has finished its change state.
22344 (Test case still fails at times, see #316856, comment 5 onwards)
22346 2005-09-24 Wim Taymans <wim@fluendo.com>
22348 * docs/design/part-events.txt:
22349 * docs/design/part-gstbus.txt:
22350 * docs/design/part-gstpipeline.txt:
22351 * docs/design/part-messages.txt:
22352 * docs/design/part-overview.txt:
22353 * docs/design/part-segments.txt:
22357 * gst/gstelement.c:
22360 * gst/gstiterator.c:
22361 Various documentation updates.
22363 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22366 Well, that's embarassing. Luckily we weren't using
22367 GST_CLOCK_DIFF anywhere.
22369 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22371 * common/gtk-doc.mak:
22372 don't fail on building XML, FC4 slave shows a bunch of doc
22373 missing bits that I don't get
22375 * gst/gstpipeline.c:
22376 * gst/gststructure.c:
22379 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22381 * docs/design/part-gstbin.txt:
22382 * docs/design/part-gstbus.txt:
22384 Add blurb about how the bus goes into flushing mode and
22385 drops all messages when its bin goes from READY into NULL
22388 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22390 * docs/gst/gstreamer-sections.txt:
22391 * gst/gststructure.c: (gst_structure_get_clock_time):
22392 * gst/gststructure.h:
22393 add a method to get a GstClockTime out of a structure
22395 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22397 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22398 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22399 Added test to check state change order in bins (can still be made
22400 to fail here under heavy disk load; bails out with 'Push on pad
22401 fakesink:sink0, but it was not activated in push mode').
22403 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22404 Fix state change order when there is only a semi sink (#316856)
22406 * gst/gstbus.c: (gst_bus_class_init):
22407 Use _class_peek_parent(), not _class_ref(); fix docs to say
22408 'default main context' instead of 'mainloop' where that is
22411 * gst/gstelement.c: (gst_element_commit_state),
22412 (gst_element_set_state):
22413 Fix typos in debug messages
22415 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22418 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22419 * gst/gstpluginfeature.c:
22421 various doc updates
22422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22423 change an assert into an error until it gets fixed properly
22425 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22427 * docs/gst/gstreamer-sections.txt:
22428 * docs/gst/tmpl/.cvsignore:
22429 * docs/gst/tmpl/gstelement.sgml:
22430 * docs/gst/tmpl/gstinfo.sgml:
22431 * docs/gst/tmpl/gstobject.sgml:
22432 * gst/gstelement.c:
22433 * gst/gstelement.h:
22436 * gst/gstobject.c: (gst_object_class_init):
22438 inlined 3 more biiiig doc files and added some missing docs on the fly
22440 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22442 * check/gst/.cvsignore:
22443 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22444 * gst/gstregistryxml.c: (load_plugin),
22445 (gst_registry_xml_save_plugin):
22446 put back source in registry. add checks for find_plugin.
22447 * testsuite/states/bin.c: (assert_state), (empty_bin),
22448 (test_adding_one_element), (main):
22449 * testsuite/states/locked.c: (main):
22450 some compile/run fixes
22452 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22454 * check/gst/gstvalue.c: (GST_START_TEST):
22455 fix leaks in the test itself
22457 2005-09-22 Wim Taymans <wim@fluendo.com>
22459 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22460 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22461 (gst_base_sink_query):
22462 Prepare for more accurate position reporting and query
22465 * gst/gstelement.c: (gst_element_send_event),
22466 (gst_element_set_state):
22469 2005-09-22 Wim Taymans <wim@fluendo.com>
22471 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22472 (gst_query_parse_segment):
22474 More documentation.
22475 Add segment query for future use.
22477 2005-09-22 Wim Taymans <wim@fluendo.com>
22479 * gst/gstbin.c: (gst_bin_add_func):
22480 Some more debug info.
22482 * gst/gstelement.c: (gst_element_send_event):
22483 Simplify send_event
22485 * gst/gstelement.h:
22486 Don't know how flags got broken.
22491 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22493 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22494 Add simplistic test suite for GST_TYPE_DATE serialisation and
22497 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22499 * docs/gst/gstreamer-sections.txt:
22500 * gst/gststructure.c: (gst_structure_set_valist),
22501 (gst_structure_get_date):
22502 * gst/gststructure.h:
22503 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22504 (gst_date_copy), (gst_value_compare_date),
22505 (gst_value_serialize_date), (gst_value_deserialize_date),
22506 (gst_value_transform_date_string),
22507 (gst_value_transform_string_date), (_gst_value_initialize):
22509 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22510 bunch of utility functions along with a hack that checks that
22511 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22512 is required. Part of the grand scheme in #170777.
22514 2005-09-22 Andy Wingo <wingo@pobox.com>
22516 * gst/gstconfig.h.in: Psych out gtk-doc.
22518 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22520 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22522 * tools/gst-inspect.c (print_element_list): Plug some
22523 inconsequential leaks.
22525 * gst/gstregistry.c (gst_registry_get_default): Doc.
22527 * check/gst/gstplugin.c:
22528 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22529 * gst/gstelementfactory.c (gst_element_factory_create):
22530 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22533 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22534 (gst_plugin_feature_load): Doc, don't eat refs.
22536 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22537 (gst_plugin_list_free): Doc.
22538 (gst_plugin_load_file): Doc updates.
22540 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22541 accessors returning refcounted objects, return a ref.
22543 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22544 accessor for caps. IDEMPOTENCE. Oh yes.
22546 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22548 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22550 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22551 (_gst_debug_register_funcptr):
22552 Add mutex to serialise access to the hash table with
22553 the function pointer => function name string mapping;
22554 make that hash table static scope (#316809).
22556 * gst/registries/.cvsignore:
22557 Remove left-over file.
22559 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22561 * docs/pwg/appendix-porting.xml:
22562 And something about newsegment events and caps-on-buffers to
22563 the porting guide (feel free to improve).
22565 2005-09-21 Andy Wingo <wingo@pobox.com>
22567 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22568 data and event probes on the same pad.
22569 (test_buffer_probe_once): Test that removing probes from within
22570 the probe functions works.
22572 2005-09-21 Andy Wingo <wingo@pobox.com>
22574 * check/gst/gstutils.c: New file.
22575 (test_buffer_probe_n_times): A simple buffer probe test. More to
22578 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22579 have-data::buffer, not have-data.
22580 (gst_pad_add_event_probe): Likewise for have-data::event.
22581 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22582 peer' isn't quite right yet though.
22583 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22584 (gst_pad_remove_data_probe): Change to take the guint handler_id
22585 as their arg, not the function+data, which is more glib-like.
22587 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22588 the signal emission to indicate if the data is a buffer or an
22590 (gst_pad_get_type): Initialize buffer and event quarks.
22591 (gst_pad_class_init): have-data is now a detailed signal, yes it
22594 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22596 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22597 * gst/gstutils.c: (gst_util_set_value_from_string),
22598 (gst_util_set_object_arg):
22599 Don't put functional code in g_return_if_fail() or
22600 g_return_val_if_fail() statements, otherwise things will
22601 break when G_DISABLE_CHECKS is defined during compilation.
22603 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22605 * docs/gst/tmpl/.cvsignore:
22606 * docs/gst/tmpl/gstvalue.sgml:
22609 inlied another one and added some obvious docs
22611 2005-09-21 Wim Taymans <wim@fluendo.com>
22613 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22614 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22615 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22616 (gst_fdsrc_get_property), (gst_fdsrc_create):
22617 * gst/elements/gstfdsrc.h:
22618 Properly implement fdsrc. Removed signal and timeout,
22619 better implemented somewhere else.
22621 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22623 * docs/gst/tmpl/.cvsignore:
22624 * docs/gst/tmpl/gstimplementsinterface.sgml:
22625 * gst/gstinterface.c:
22628 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22630 * docs/gst/gstreamer-sections.txt:
22631 * docs/gst/tmpl/.cvsignore:
22632 * docs/gst/tmpl/gstenumtypes.sgml:
22633 remove obsolete doc file
22635 2005-09-21 David Schleef <ds@schleef.org>
22637 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22638 little beer, fix a little leak.
22640 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22642 * docs/gst/gstreamer-docs.sgml:
22643 * docs/gst/gstreamer-sections.txt:
22644 * docs/gst/tmpl/.cvsignore:
22648 * gst/gstelement.h:
22649 * gst/gstindex.c: (gst_index_class_init):
22651 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22652 (gst_index_factory_class_init), (gst_index_factory_init),
22653 (gst_index_factory_finalize), (gst_index_factory_new),
22654 (gst_index_factory_destroy), (gst_index_factory_find),
22655 (gst_index_factory_create), (gst_index_factory_make):
22656 * gst/gstindexfactory.h:
22657 * gst/gstpluginfeature.c:
22658 * gst/gstpluginfeature.h:
22659 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22660 more docs inlined, splitted gstindex.{c,h}
22662 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22664 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22667 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22669 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22670 Set sync to FALSE by default.
22672 2005-09-20 Wim Taymans <wim@fluendo.com>
22674 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22675 (gst_base_sink_init):
22676 Make sync property settable from subclass.
22678 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22679 (gst_fake_sink_change_state):
22680 Set sync to FALSE by default.
22682 2005-09-20 Wim Taymans <wim@fluendo.com>
22684 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22685 * tools/gst-launch.c: (main):
22686 The timeout handler should have lower priority than the source
22687 so we don't timeout before popping a message with 0 timeout.
22688 Dump error messages after failed state change.
22690 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22692 * tools/gst-inspect.c: (print_element_properties_info):
22695 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22697 * check/gst/gstevent.c:
22698 * gst/elements/gstfakesink.c:
22699 * gst/elements/gstfakesink.h:
22700 remove the sync property from fakesink.
22701 has the side effect of setting sync TRUE
22702 for fakesink, which is a change. Anyone who knows how
22703 to fix this nicely in a GObject-y way, feel free.
22705 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22707 * docs/gst/gstreamer-docs.sgml:
22708 remove probe refsection
22710 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22712 * check/Makefile.am:
22713 disable valgrinding the controller test again
22714 * docs/gst/gstreamer-sections.txt:
22715 update for api-changes
22717 2005-09-20 Wim Taymans <wim@fluendo.com>
22719 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22720 (gst_base_sink_set_property), (gst_base_sink_get_property),
22721 (gst_base_sink_do_sync):
22722 * gst/base/gstbasesink.h:
22723 Added sync property to basesink to disable clock sync.
22725 2005-09-20 Andy Wingo <wingo@pobox.com>
22727 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22728 eating the caller's refcount.
22730 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22731 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22734 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22735 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22736 of GLib 2.8 public, so we can know which refcount to check in
22739 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22740 (gst_object_init): Only set the gst refcount if we're going ahead
22741 with the refcount hack.
22743 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22745 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22746 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22747 more leaks plumbed, added more debug-logging
22751 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22753 * gst/gstmessage.c:
22754 remove include of gstmemchunk.h
22756 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22758 * gst/gstclock.c: (_gst_clock_id_free):
22759 Commit from the Political Party For More Atomic CVS Commits,
22760 so that people don't waste too much of their day fishing
22761 out obvious leaks out of massive commits.
22762 Oh, and fix a pretty damn obvious leak in the memchunk
22765 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22767 * check/Makefile.am:
22768 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22769 plug mem-leak, re-add to valgrindable tests
22771 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22774 unbreak the build for those who have chronic arthritis
22775 and typing "make check" is just too taxing on the hands
22777 2005-09-20 Andy Wingo <wingo@pobox.com>
22779 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22780 really want it out, you should fix plugins at the same time.
22782 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22785 * docs/gst/gstreamer-sections.txt:
22787 added missing symbols to api docs
22788 disable ref-count hack if we have glib >= 2.8
22790 2005-09-19 David Schleef <ds@schleef.org>
22792 * docs/gst/Makefile.am: Ignore a few more internal headers
22793 * docs/gst/gstreamer-docs.sgml: Remove old sections
22794 * docs/gst/gstreamer-sections.txt: Remove old sections
22795 * docs/gst/tmpl/gstobject.sgml: update
22796 * docs/gst/tmpl/gstplugin.sgml: update
22797 * docs/gst/tmpl/gstpluginfeature.sgml: update
22798 * docs/random/ds/0.9-suggested-changes: update.
22799 * gst/Makefile.am: remove memchunk and trashstack, since they're
22801 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22802 * gst/gst.h: don't include some headers
22803 * gst/gstchildproxy.c: add gstmarshal.h
22804 * gst/gstclock.c: Don't use memchunks
22805 * gst/gstminiobject.c: Add some docs
22806 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22807 * gst/gstobject.h: same
22808 * gst/gstplugin.c: include gstmacros.h
22809 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22810 * gst/gstquery.c: don't use memchunks
22811 * gst/gstregistry.c: rename gst_registry_deinit()
22812 * gst/gstregistry.h: same
22814 2005-09-19 David Schleef <ds@schleef.org>
22816 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22817 * docs/libs/gstreamer-libs-sections.txt:
22818 * docs/libs/tmpl/gstgetbits.sgml:
22819 * docs/libs/tmpl/gstputbits.sgml:
22821 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22823 * win32/gstenumtypes.c:
22824 * win32/gstenumtypes.h:
22827 2005-09-19 Wim Taymans <wim@fluendo.com>
22829 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22830 Automatically PAUSE and RESUME a pipeline when a flushing seek
22833 2005-09-19 Andy Wingo <wingo@pobox.com>
22835 * gst/gstregistry.h: Spacing fixen.
22837 2005-09-19 Wim Taymans <wim@fluendo.com>
22839 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22840 Handle state change failure more correctly.
22842 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22844 * check/Makefile.am:
22845 * check/pipelines/cleanup.c: (run_pipeline):
22846 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22848 enable cleanup again after fixing the leak
22850 some more info on docs
22852 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22854 * check/Makefile.am:
22855 re-enable tests now that leaks are plugged
22857 * check/gst/gstbin.c:
22858 * check/gst/gstpipeline.c:
22859 add some more tests while fixing leaks
22860 * common/check.mak:
22861 make sure binaries are uptodate when valgrinding/gdbing
22863 * gst/gstelementfactory.c:
22864 remove a ref too many, and add a FIXME for when we get
22865 round to disposing of classes
22867 fix the refcounting when loading a plugin from a file and
22868 the code pretends that the pointer is the same even though
22869 of course it can change
22870 * gst/gstpluginfeature.c:
22871 unref plugins marked cached (a bit confusing as a name)
22872 as the docs state should be done
22873 various doc additions to explain refcounting
22874 * gst/gstregistry.c:
22875 * gst/gstregistryxml.c:
22878 2005-09-19 Wim Taymans <wim@fluendo.com>
22880 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22881 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22882 (send_messages), (GST_START_TEST), (gstbus_suite):
22883 * check/gst/gstpipeline.c: (GST_START_TEST):
22884 * check/pipelines/cleanup.c: (run_pipeline):
22885 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22887 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22888 (gst_bus_source_check), (gst_bus_source_dispatch),
22889 (gst_bus_create_watch), (gst_bus_add_watch_full),
22890 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22892 * tools/gst-launch.c: (event_loop):
22893 * tools/gst-md5sum.c: (event_loop):
22894 GstBusHandler -> GstBusFunc, return value has the same meaning as
22895 any other GSource (FALSE == remove source).
22896 _add_watch() and _add_watch_full() now take a MessageType mask to
22897 only handle specific types of messages.
22898 _poll() returns the GstMessage instead of the message type to avoid
22900 _have_pending() takes a MessageType mask now too.
22901 Added testsuite for multiple bus watches.
22902 Fix testsuites and applications for new bus API.
22904 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22906 * check/Makefile.am:
22907 mark a bunch of the tests as to fix until we fix them
22909 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22911 * common/check.mak:
22912 use GST_PLUGIN settings for valgrind tests as well, so we're
22913 valgrinding the correct thing
22914 * gst/gst.c: (init_post):
22917 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22919 * gst/gst.c: (init_post), (gst_deinit):
22920 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22921 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22922 * gst/gstindex.c: (gst_index_factory_class_init),
22923 (gst_index_factory_finalize):
22924 * gst/gstobject.c: (gst_object_dispose):
22925 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22926 (gst_plugin_load_file), (gst_plugin_desc_free):
22927 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22928 (gst_plugin_feature_finalize):
22929 * gst/gstregistry.c: (gst_registry_class_init),
22930 (gst_registry_init), (gst_registry_finalize),
22931 (gst_registry_get_default), (gst_registry_deinit):
22932 * gst/gstregistry.h:
22933 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22934 various cleanups and memleak plugging. make valgrind is happy now.
22936 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22938 * common/check.mak:
22939 add a check-valgrind target
22941 2005-09-18 David Schleef <ds@schleef.org>
22943 * tools/gst-inspect.c: Revert the GOption code.
22945 2005-09-17 David Schleef <ds@schleef.org>
22947 * check/Makefile.am: Fix environment variables.
22948 * check/gst/gstplugin.c: Fix for API changes.
22949 * tools/gst-inspect.c: Fix for API changes.
22950 * tools/gst-xmlinspect.c: Fix for API changes.
22951 * gst/gstelementfactory.c:
22954 * gst/gstpluginfeature.c:
22955 * gst/gstpluginfeature.h:
22956 * gst/gstregistry.c:
22957 * gst/gstregistry.h:
22958 * gst/gstregistryxml.c:
22959 * gst/gsttypefind.c:
22960 * gst/gsttypefindfactory.c:
22961 * gst/indexers/gstfileindex.c:
22962 * gst/indexers/gstmemindex.c:
22963 * gst/schedulers/Makefile.am:
22964 Change registry to keep track of both plugins and features,
22965 removing the feature tracking from plugins themselves.
22967 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22969 * check/Makefile.am:
22970 * tools/gst-register.1.in:
22971 remove gst-register
22973 2005-09-15 David Schleef <ds@schleef.org>
22975 * check/gst/gstplugin.c:
22976 * gst/gstelementfactory.c:
22978 * gst/gstpluginfeature.c:
22979 * gst/gstregistry.c:
22980 Getting tired of debugging. Disabled all the unreffing of
22981 plugins and features, which fixes the segfaults, but of
22982 course leaks like crazy. At least playbin works.
22984 2005-09-15 David Schleef <ds@schleef.org>
22986 * check/gst/gstplugin.c: (register_check_elements),
22987 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22989 * gst/elements/gsttypefindelement.c: Fix refcounting.
22990 * gst/gsttypefind.c:
22991 * gst/gsttypefindfactory.c:
22992 * gst/gsttypefindfactory.h:
22994 2005-09-15 David Schleef <ds@schleef.org>
22996 * gst/gstindex.c: get refcounting correct.
22997 * gst/gstregistry.c: Handle the case where a feature/plugin is
23000 2005-09-15 David Schleef <ds@schleef.org>
23002 * check/Makefile.am:
23003 * check/gst/gstplugin.c: Add test
23004 * gst/gstplugin.c: Fix problems noticed by testsuite
23006 * gst/gstregistry.c:
23007 * gst/gstregistry.h:
23009 2005-09-15 David Schleef <ds@schleef.org>
23011 * gst/gstplugin.c: Implement semi-decent recounting and locking
23012 in plugins and plugin features.
23014 * gst/gstpluginfeature.c:
23015 * gst/gstpluginfeature.h:
23016 * gst/gstregistry.c:
23018 2005-09-15 Michael Smith <msmith@fluendo.com>
23020 * gst/gstregistry.c: (gst_registry_get_feature_list):
23021 Implement this. Makes oggdemux work; decodebin still broken.
23023 2005-09-14 David Schleef <ds@schleef.org>
23025 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23027 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23028 * gst/check/Makefile.am:
23029 * libs/gst/controller/Makefile.am:
23030 * libs/gst/dataprotocol/Makefile.am:
23032 2005-09-14 David Schleef <ds@schleef.org>
23034 * configure.ac: Remove getbits library. Nothing uses it, and
23035 it should be in something like liboil if someone did want
23037 * libs/gst/Makefile.am:
23038 * libs/gst/getbits/Makefile.am:
23039 * libs/gst/getbits/gbtest.c:
23040 * libs/gst/getbits/getbits.c:
23041 * libs/gst/getbits/getbits.h:
23042 * libs/gst/getbits/gstgetbits_generic.c:
23043 * libs/gst/getbits/gstgetbits_i386.s:
23044 * libs/gst/getbits/gstgetbits_inl.h:
23046 2005-09-14 David Schleef <ds@schleef.org>
23048 * gst/Makefile.am: Dist glib-compat.h
23050 2005-09-14 David Schleef <ds@schleef.org>
23052 * configure.ac: Remove gst/registries, since it's no longer used.
23053 * gst/registries/Makefile.am:
23054 * gst/registries/gstlibxmlregistry.c:
23055 * gst/registries/gstlibxmlregistry.h:
23056 * gst/registries/gstxmlregistry.c:
23057 * gst/registries/gstxmlregistry.h:
23058 * gst/registries/registrytest.c:
23060 2005-09-14 David Schleef <ds@schleef.org>
23062 * gst/glib-compat.h:
23063 * gst/gstregistryxml.c:
23064 Convergence is near. Seriously.
23066 2005-09-14 David Schleef <ds@schleef.org>
23068 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23069 * gst/glib-compat.h:
23070 Attempt #4 to appease the buildbots.
23072 2005-09-14 David Schleef <ds@schleef.org>
23074 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23077 2005-09-14 David Schleef <ds@schleef.org>
23079 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23082 2005-09-14 David Schleef <ds@schleef.org>
23084 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23087 2005-09-14 David Schleef <ds@schleef.org>
23089 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23090 * gst/glib-compat.h: Add some functions that are in newer versions
23091 of glib than we care to require.
23092 * gst/gstregistryxml.c: Use them.
23094 2005-09-14 David Schleef <ds@schleef.org>
23096 * po/POTFILES.in: remove gst-register.c
23098 2005-09-14 David Schleef <ds@schleef.org>
23100 * docs/gst/gstreamer-docs.sgml:
23101 * docs/gst/gstreamer-sections.txt:
23102 * docs/gst/gstreamer.types:
23103 * docs/gst/tmpl/gstelement.sgml:
23104 * docs/gst/tmpl/gstplugin.sgml:
23105 * docs/gst/tmpl/gstpluginfeature.sgml:
23106 Documentation updates for registry changes.
23108 2005-09-14 David Schleef <ds@schleef.org>
23110 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23111 because we don't require glib-2.8.
23113 2005-09-14 David Schleef <ds@schleef.org>
23115 * gst/gstregistryxml.c: Added. Essentially moved out of the
23116 registries directory.
23118 2005-09-14 David Schleef <ds@schleef.org>
23120 * check/Makefile.am:
23121 * check/generic/states.c:
23125 * gst/gst_private.h:
23126 * gst/gstelementfactory.c:
23131 * gst/gstpluginfeature.c:
23132 * gst/gstpluginfeature.h:
23133 * gst/gstregistry.c:
23134 * gst/gstregistry.h:
23135 * gst/gstregistrypool.c: remove
23136 * gst/gstregistrypool.h: remove
23137 * gst/gsttypefind.c:
23138 * gst/gsttypefindfactory.c:
23140 * tools/Makefile.am:
23141 * tools/gst-compprep.c:
23142 * tools/gst-inspect.c:
23143 * tools/gst-register.c: remove
23144 * tools/gst-xmlinspect.c:
23145 Registry rewrite. Changes registry from being a file created
23146 by a tool into a simple cache file created automatically by
23147 libgstreamer. Removed gst-register (because it's no longer
23148 needed). Remove registry pools, because we only have one
23149 registry implementation (XML). Fix up other subsystems as
23152 2005-09-13 Michael Smith <msmith@fluendo.com>
23154 * gst/gstconfig.h.in:
23155 Don't Use windows linking attributes for MinGW. Fixes #316157
23157 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23159 * gst/gstutils.c: (set_state_async_thread_func),
23160 (gst_element_set_state_async):
23161 Apparently people think it's better if this function doesn't
23162 try to set the state to whatever state was asked for on the first
23163 call to this function for any object. Seriously.
23165 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23167 * check/gst/gstpipeline.c: (GST_START_TEST):
23168 * docs/gst/gstreamer-sections.txt:
23169 * gst/gstutils.c: (set_state_async_thread_func),
23170 (gst_element_set_state_async):
23172 add a "gst_element_set_state_async" method that
23173 sets the state and starts a thread to make sure the state
23174 change completes as best as it can
23176 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23178 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23179 codify design+behaviour in testsuite after discussion
23181 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23183 * docs/gst/tmpl/gstelement.sgml:
23184 * docs/manual/appendix-quotes.xml:
23186 * gst/gstelement.c: (gst_element_set_state):
23189 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23191 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23192 (gst_base_transform_prepare_output_buf),
23193 (gst_base_transform_handle_buffer):
23194 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23195 (gst_capsfilter_prepare_buf):
23196 Remove the requirement for sub-classes to call the parent
23197 implementation of prepare_output_buffer with a wrapper function.
23199 * gst/gsttaglist.h:
23200 * gst/gsttagsetter.h:
23201 Fix #define wrapper
23203 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23205 * docs/gst/gstreamer-sections.txt:
23208 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23210 * docs/gst/gstreamer-sections.txt:
23211 * docs/gst/tmpl/gstelement.sgml:
23212 * docs/gst/tmpl/gstplugin.sgml:
23213 * gst/gstminiobject.c:
23215 docs now stop throwing warnings
23217 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23219 * docs/gst/gstreamer-sections.txt:
23220 * docs/gst/gstreamer.types:
23221 * docs/gst/tmpl/gstpad.sgml:
23222 * docs/gst/tmpl/gsttypes.sgml:
23223 * gst/base/gstadapter.h:
23224 * gst/base/gstbasesink.h:
23225 * gst/base/gstbasesrc.h:
23231 * gst/gstelement.h:
23233 * gst/gstmessage.h:
23235 * gst/gststructure.c:
23236 * gst/registries/gstlibxmlregistry.h:
23237 various documentation fixes
23239 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23241 * docs/gst/gstreamer-sections.txt:
23242 * docs/gst/tmpl/gstvalue.sgml:
23243 rearrange gstvalue section
23244 * gst/gstutils.c: (gst_element_state_get_name):
23246 * gst/gstvalue.c: (_gst_value_initialize):
23250 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23252 * check/gst-libs/controller.c:
23253 Header include fix.
23254 * gst/base/gstbasetransform.c:
23255 (gst_base_transform_default_prepare_buf),
23256 (gst_base_transform_handle_buffer):
23257 * gst/base/gstbasetransform.h:
23258 Some more basetransform changes and fixes to enable sub-classes
23259 that modify buffer metadata only.
23260 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23261 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23262 (gst_capsfilter_prepare_buf):
23263 If the output pad has fixed allowed caps and input buffers
23264 don't have any, set the fixed caps on outgoing buffers.
23266 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23267 * check/elements/identity.c: (GST_START_TEST):
23268 Make the error a little clearer when the test fails because
23269 identity made a copy of the buffer.
23270 * docs/gst/gstreamer-sections.txt:
23271 New symbols in gstbasetransform.h
23272 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23273 (gst_base_transform_init), (gst_base_transform_transform_size),
23274 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23275 (gst_base_transform_default_prepare_buf),
23276 (gst_base_transform_get_unit_size),
23277 (gst_base_transform_buffer_alloc),
23278 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23279 (gst_base_transform_change_state),
23280 (gst_base_transform_set_passthrough),
23281 (gst_base_transform_set_in_place),
23282 (gst_base_transform_is_in_place):
23283 * gst/base/gstbasetransform.h:
23284 Change BaseTransform to separate in_place operate from same_caps
23285 output. in_place implies that the element can perform the transform
23286 on incoming buffers in-place, even if the caps on the output are
23288 Sub-class elements can now implement special buffer allocation
23289 methods for outgoing buffers if they wish to.
23290 Big documentation addition.
23291 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23292 * gst/elements/gstelements.c:
23293 Changes for basetransform modifications.
23294 * gst/elements/Makefile.am:
23295 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23296 Compile fix. Extra debug output.
23298 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23300 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23302 add tests for valid pad naming
23303 * gst/check/gstcheck.c: (gst_check_log_message_func),
23304 (gst_check_log_critical_func):
23306 remove printing of code, it is fragile when the code contains
23307 % and the line number is enough info
23308 * gst/check/gstcheck.h:
23309 * gst/gstpad.c: (gst_pad_template_new):
23312 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23315 say what CHECK flags we use
23316 * docs/libs/gstreamer-libs.types:
23317 * libs/gst/controller/Makefile.am:
23318 * libs/gst/controller/gst-controller.c:
23319 * libs/gst/controller/gst-controller.h:
23320 * libs/gst/controller/gst-helper.c:
23321 * libs/gst/controller/gst-interpolation.c:
23322 * libs/gst/controller/gstcontroller.c:
23323 * libs/gst/controller/gsthelper.c:
23324 * libs/gst/controller/gstinterpolation.c:
23325 * tools/gst-inspect.c: (print_plugin_info):
23326 we don't use dashes in header names
23328 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23330 * check/Makefile.am:
23331 * check/gst/.cvsignore:
23332 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23333 (gst_pipeline_suite), (main):
23334 adding a test for pipelines and state changes
23335 * gst/gstutils.c: (get_state_func):
23337 * gstreamer.spec.in:
23340 2005-09-08 Michael Smith <msmith@fluendo.com>
23342 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23343 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23344 (gst_file_src_is_seekable), (gst_file_src_get_size),
23345 (gst_file_src_start):
23346 * gst/elements/gstfilesrc.h:
23347 Various fixes for unseekable, unmmapable, and non-normal files, so
23348 that fallback to read() rather than mmap() works.
23349 * gst/gstevent.c: (gst_event_new_newsegment):
23350 Allow newsegment events with segment_start == segment_end, as will
23351 correctly happen if you use filesrc on a zero-size file, for
23354 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23356 * gst/gstplugin.c: (gst_plugin_load_file):
23357 Call g_module_close when we don't load the module
23359 * gst/registries/gstlibxmlregistry.c:
23360 (gst_xml_registry_get_property):
23361 Port leak fix from 0.8
23363 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23365 * docs/gst/gstreamer-docs.sgml:
23366 * docs/gst/tmpl/.cvsignore:
23367 * docs/gst/tmpl/gsttrace.sgml:
23368 * docs/gst/tmpl/gsttrashstack.sgml:
23371 * gst/gstelement.h:
23373 * gst/gstmessage.c:
23374 * gst/gstmessage.h:
23377 * gst/gsttaginterface.c:
23378 * gst/gsttaginterface.h:
23379 * gst/gsttaglist.c:
23380 * gst/gsttaglist.h:
23381 * gst/gsttagsetter.c:
23382 * gst/gsttagsetter.h:
23385 * gst/gsttrashstack.c:
23386 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23387 inlined docs for gsttrace, gsttrashstack
23389 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23392 * gst/elements/gstbufferstore.h:
23393 * gst/elements/gsttypefindelement.c:
23394 * gst/elements/gsttypefindelement.h:
23396 * gst/gsttypefind.c:
23397 * gst/gsttypefind.h:
23398 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23399 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23400 (gst_type_find_factory_dispose),
23401 (gst_type_find_factory_unload_thyself),
23402 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23403 (gst_type_find_factory_get_caps),
23404 (gst_type_find_factory_get_extensions),
23405 (gst_type_find_factory_call_function):
23406 * gst/gsttypefindfactory.h:
23407 * gst/registries/gstlibxmlregistry.c:
23408 * gst/registries/gstxmlregistry.c:
23409 splitted gsttypefind into gsttypefind, gsttypefindfactory
23411 2005-09-07 Andy Wingo <wingo@pobox.com>
23413 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23414 condition whereby the pad's task function is entered before the
23415 pad_mode variable was set.
23417 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23419 * gst/gstpad.c: (gst_pad_alloc_buffer):
23420 Catch misbehaving pad_alloc functions that don't
23421 set up caps and do it for them.
23423 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23425 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23426 test for pipe!=NULL
23427 * docs/gst/tmpl/.cvsignore:
23428 * docs/gst/tmpl/gstmemchunk.sgml:
23429 * docs/gst/tmpl/gstparse.sgml:
23430 * docs/gst/tmpl/gsttaglist.sgml:
23431 * docs/gst/tmpl/gsttagsetter.sgml:
23432 * docs/gst/tmpl/gsttypefind.sgml:
23433 * docs/gst/tmpl/gsttypefindfactory.sgml:
23434 * gst/gstmemchunk.c:
23437 * gst/gsttaginterface.c:
23438 * gst/gsttypefind.c:
23439 * gst/gsttypefind.h:
23442 === release 0.9.2 ===
23444 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23449 releasing 0.9.2, "South"
23451 2005-09-05 Andy Wingo <wingo@pobox.com>
23453 * gst/registries/gstxmlregistry.h:
23454 * gst/registries/gstxmlregistry.c: Um... resurrect...
23456 * gst/registries/gstxmlregistry.h:
23457 * gst/registries/gstxmlregistry.c: and update to newer API.
23458 Incidentally they should be a bit faster now that they don't have
23461 2005-09-05 Andy Wingo <wingo@pobox.com>
23463 * gst/registries/gstxmlregistry.h:
23464 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23465 replaced by the libxml registry a while back
23467 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23469 * docs/gst/tmpl/gstplugin.sgml:
23470 * gst/elements/gstelements.c:
23472 * gst/gstplugin.c: (gst_plugin_register_func),
23473 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23474 (gst_plugin_get_source):
23476 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23477 (gst_xml_registry_save_plugin):
23478 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23479 (gst_xml_registry_save_plugin):
23480 * tools/gst-inspect.c: (print_plugin_info):
23481 add a "source" plugin description field, to represent the source
23482 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23483 will set it to PACKAGE, which is automake's idea of the name of
23484 the source project.
23486 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23491 * docs/Makefile.am:
23492 * docs/faq/Makefile.am:
23493 * docs/gst/tmpl/gstelement.sgml:
23494 * docs/gst/tmpl/gsttypes.sgml:
23495 * docs/htmlinstall.mak:
23496 * docs/manual/Makefile.am:
23497 * docs/pwg/Makefile.am:
23498 reorganize doc build a little
23499 split out docbook and gtk-doc stuff
23500 have two separate --enable's and enable them through autogen
23501 but disable by default in configure (to be similar to other
23503 * gstreamer.spec.in:
23504 clean up docs install
23522 translation updates
23524 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23526 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23529 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23530 (gst_fake_sink_change_state):
23531 Make state change function thread-safe.
23533 * gst/gstpad.c: (gst_pad_alloc_buffer):
23534 Set offset on generic buffer allocated by fallback.
23536 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23538 * docs/gst/gstreamer-sections.txt:
23539 * docs/gst/tmpl/gstelement.sgml:
23541 * libs/gst/controller/gst-controller.c:
23542 (gst_controlled_property_set_interpolation_mode),
23543 (gst_controlled_property_new),
23544 (gst_controller_find_controlled_property):
23545 run the wingo-magic script against the docs
23547 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23549 * docs/gst/gstreamer-docs.sgml:
23550 * docs/gst/gstreamer-sections.txt:
23551 * docs/gst/tmpl/.cvsignore:
23552 * docs/gst/tmpl/gstelementdetails.sgml:
23553 * docs/gst/tmpl/gstelementfactory.sgml:
23556 * gst/gstelementfactory.c:
23557 * gst/gstelementfactory.h:
23558 merged elementdetails docs into elementfactory docs
23561 2005-09-02 Andy Wingo <wingo@pobox.com>
23563 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23564 consider this enum an enum and not a flags.
23566 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23568 * docs/gst/gstreamer-docs.sgml:
23569 * docs/gst/tmpl/.cvsignore:
23570 * docs/gst/tmpl/gstghostpad.sgml:
23571 * docs/gst/tmpl/gstiterator.sgml:
23572 * docs/gst/tmpl/gstmacros.sgml:
23573 * docs/gst/tmpl/gstrealpad.sgml:
23574 * docs/gst/tmpl/gstregistry.sgml:
23575 * docs/gst/tmpl/gstregistrypool.sgml:
23576 * docs/gst/tmpl/gststructure.sgml:
23577 * docs/gst/tmpl/gstsystemclock.sgml:
23578 * docs/gst/tmpl/gsttrace.sgml:
23579 * gst/gstghostpad.c:
23581 * gst/gstmemchunk.c:
23582 * gst/gstmemchunk.h:
23584 * gst/gstregistry.c:
23585 * gst/gstregistrypool.c:
23586 * gst/gststructure.c:
23587 * gst/gstsystemclock.c:
23590 2005-09-02 Andy Wingo <wingo@pobox.com>
23592 * gst/gstelement.h (GstState): Renamed from GstElementState,
23593 changed to be a normal enum instead of flags.
23594 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23595 munged to be GST_STATE_CHANGE_*.
23596 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23597 work with the new state representation.
23598 (GstStateChange): New enumeration of possible state transitions.
23599 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23600 (GstElementClass::change_state): Pass the GstStateChange along as
23601 an argument. Helps language bindings, so they don't have to use
23602 tricky lock-needing macros like GST_STATE_CHANGE ().
23604 * scripts/update-states (file): New script. Run it on a file to
23605 update it for state naming and API changes. Updates files in
23608 * All files updated for the new API.
23610 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23612 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23613 * gst/gstutils.c: (gst_util_set_value_from_string),
23614 (gst_util_set_object_arg):
23615 fix a bunch of unchecked return values
23616 * tools/gst-complete.c: (main):
23617 * gstreamer.spec.in:
23620 2005-09-01 Wim Taymans <wim@fluendo.com>
23622 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23623 (gst_base_sink_event), (gst_base_sink_do_sync),
23624 (gst_base_sink_handle_event):
23625 * gst/base/gstbasesink.h:
23626 Handle newsegments more correctly.
23631 * gst/gstevent.c: (gst_event_new_newsegment):
23632 A newsegment cannot have a start_time of -1
23634 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23636 * win32/gstenumtypes.c:
23637 * win32/gstenumtypes.h:
23640 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23642 * libs/gst/controller/gst-controller.c:
23643 (gst_controlled_property_set_interpolation_mode),
23644 (gst_controlled_property_new):
23645 fixed boolean again
23647 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23649 * docs/faq/gst-uninstalled:
23654 * gst/gstutils.c: (gst_element_link_filtered):
23656 add gst_element_link_filtered
23658 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23660 * docs/gst/gstreamer-docs.sgml:
23661 * docs/gst/gstreamer-sections.txt:
23662 * docs/gst/tmpl/.cvsignore:
23663 * docs/gst/tmpl/gsterror.sgml:
23664 * docs/gst/tmpl/gstfilter.sgml:
23665 * docs/gst/tmpl/gsturihandler.sgml:
23666 * docs/gst/tmpl/gsturitype.sgml:
23667 * docs/gst/tmpl/gstutils.sgml:
23668 * docs/gst/tmpl/gstxml.sgml:
23673 * gst/gsturitype.c:
23676 inlined more docs, fixed double id-ref
23678 2005-08-31 Wim Taymans <wim@fluendo.com>
23680 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23681 (gst_base_transform_handle_buffer):
23682 Passthrough elements don't need the caps as they don't care.
23684 2005-08-31 Wim Taymans <wim@fluendo.com>
23686 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23687 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23688 Don't leak refcounts on buffers.
23690 2005-08-31 Wim Taymans <wim@fluendo.com>
23692 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23693 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23694 (gst_base_transform_chain), (gst_base_transform_change_state):
23695 * gst/base/gstbasetransform.h:
23696 Handle the case where we are not negotiated more gracefully.
23698 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23700 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23701 (gst_file_src_map_region):
23702 Set READONLY flag on mmap'ed buffers, otherwise
23703 gst_buffer_make_writable() won't work properly (#314708).
23705 2005-08-31 Wim Taymans <wim@fluendo.com>
23707 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23708 passthrough elements can even do inplace on non writable
23709 buffers (as they don't touch them).
23711 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23713 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23714 (gst_test_mono_source_set_property),
23715 (gst_test_mono_source_class_init), (GST_START_TEST),
23716 (gst_controller_suite):
23717 more tests (hehe I have the most)
23719 describe popping messages whenusing mulltiple sources
23720 * libs/gst/controller/gst-controller.c:
23721 (gst_controlled_property_set_interpolation_mode),
23722 (gst_controlled_property_new):
23723 * libs/gst/controller/gst-controller.h:
23724 * libs/gst/controller/gst-interpolation.c:
23725 implement boolean properties
23727 2005-08-31 Wim Taymans <wim@fluendo.com>
23729 * gst/gstminiobject.c: (gst_mini_object_ref):
23730 Cannot assert that the refcount has to be positive
23731 since a disposed object can be resurrected.
23733 2005-08-31 Wim Taymans <wim@fluendo.com>
23735 * gst/gstpad.c: (gst_pad_init):
23736 Revert change, need to first fix badly behaving
23739 2005-08-30 Wim Taymans <wim@fluendo.com>
23741 * check/elements/fakesrc.c: (setup_fakesrc):
23742 * check/elements/identity.c: (setup_identity):
23743 Activate pads before using them.
23745 2005-08-30 Wim Taymans <wim@fluendo.com>
23747 * gst/base/gstadapter.c: (gst_adapter_flush):
23748 Flushing out 0 bytes is ok for this function.
23750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23751 no newsegment gives a warning and sets the start/stop to
23754 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23755 (gst_base_transform_set_passthrough):
23758 * gst/gstminiobject.c: (gst_mini_object_ref):
23759 Check refcount here too.
23761 * gst/gstpad.c: (gst_pad_init):
23762 Pads are initially flushing and refusing data.
23764 * gst/gstutils.c: (gst_element_link_pads_filtered):
23765 When adding a capsfilter element make sure it has the
23766 same state as the parent bin.
23768 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23770 * docs/gst/tmpl/.cvsignore:
23771 * docs/gst/tmpl/gstformat.sgml:
23772 * docs/gst/tmpl/gstversion.sgml:
23776 * gst/gstversion.h.in:
23777 more docs and two more inlined
23779 2005-08-30 Wim Taymans <wim@fluendo.com>
23781 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23782 Don't sync to clock.
23784 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23786 * docs/gst/gstreamer-sections.txt:
23787 ultral33t func10ns deserve to appear in the docs actually
23788 * docs/gst/tmpl/.cvsignore:
23789 * docs/gst/tmpl/gstcompat.sgml:
23790 * docs/gst/tmpl/gstconfig.sgml:
23791 * gst/check/gstcheck.c:
23793 * gst/gstconfig.h.in:
23796 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23798 * docs/gst/tmpl/.cvsignore:
23799 * docs/gst/tmpl/gstquery.sgml:
23800 * docs/gst/tmpl/gstutils.sgml:
23803 inlined and extended docs
23805 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23807 * check/gst-libs/controller.c: (GST_START_TEST),
23808 (gst_controller_suite):
23810 * docs/gst/tmpl/gstutils.sgml:
23811 * docs/libs/gstreamer-libs-sections.txt:
23812 * docs/libs/tmpl/gstdataprotocol.sgml:
23814 * examples/controller/audio-example.c: (main):
23815 controller example works now
23818 * tools/gst-inspect.c: (print_element_properties_info):
23819 show param spec flags
23821 2005-08-29 Andy Wingo <wingo@pobox.com>
23823 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23825 2005-08-28 Andy Wingo <wingo@pobox.com>
23827 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23828 as having two arguments instead of just one. Allows superclasses
23829 to access information on subclasses -- see the terrible for() loop
23830 in gtype.c:g_type_create_instance for the reason why. All callers
23833 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23835 * docs/design/part-messages.txt:
23837 * docs/gst/tmpl/.cvsignore:
23838 * docs/gst/tmpl/gstcaps.sgml:
23839 * docs/gst/tmpl/gstclock.sgml:
23845 * gst/gstmessage.c:
23846 added descriptions for bus and message
23847 inline caps and clock docs
23849 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23851 * gst/gstmessage.c:
23852 * gst/gstmessage.h:
23855 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23857 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23860 2005-08-26 Andy Wingo <wingo@pobox.com>
23862 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23863 element_set_state's return val.
23864 (test_2_elements): Add test that's been disabled for months.
23866 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23867 can-activate-pull properties.
23869 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23870 can-activate-pull properties. Implement is_seekable so fakesrc can
23871 operate in pull mode.
23873 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23875 (gst_base_sink_activate, gst_base_sink_activate_pull)
23876 (gst_base_sink_activate_push): Make activation mode choosing work.
23878 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23879 is right. Make pull mode work. Post an eos before pausing in pull
23881 (gst_base_sink_change_state): Pay attention to the core's
23882 change_state() return val.
23884 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23885 has-getrange properties. Cleanups.
23887 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23888 has_getrange and replace with can_activate_pull and
23891 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23892 locking comments. Remove has_loop, has_chain and replace with
23893 can_activate_pull and can_activate_push.
23895 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23898 * examples/Makefile.am:
23899 * examples/metadata/Makefile.am:
23900 * examples/metadata/read-metadata.c: (message_loop),
23901 (have_pad_handler), (make_pipeline), (print_tag), (main):
23902 Add metadata reading example that loops over a list of filenames,
23903 dumping any tags found.
23905 * gst/gstbus.c: (gst_bus_dispose):
23906 * gst/gstelement.c: (gst_element_dispose):
23907 Release a few potentially-held references in dispose.
23909 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23911 * docs/gst/tmpl/gstminiobject.sgml:
23912 do *not* add tmpl/*.sgml files to CVS!
23914 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23916 * libs/gst/bytestream/.cvsignore:
23917 * libs/gst/bytestream/Makefile.am:
23918 * libs/gst/bytestream/adapter.c:
23919 * libs/gst/bytestream/adapter.h:
23920 * libs/gst/bytestream/bytestream.c:
23921 * libs/gst/bytestream/bytestream.h:
23922 * libs/gst/bytestream/filepad.c:
23923 * libs/gst/bytestream/filepad.h:
23924 removing obsolete files
23926 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23928 * docs/gst/gstreamer-docs.sgml:
23929 * docs/libs/gstreamer-libs-docs.sgml:
23930 disabed additional index entries again, as this makes docs-gen just
23931 slow and they aren't useful yet
23932 * docs/libs/gstreamer-libs-sections.txt:
23933 little -section.txt cleanup for libs
23935 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23938 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23939 fix up some debugging
23940 (gst_base_transform_get_unit_size),
23941 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23942 (gst_base_transform_handle_buffer):
23943 * gst/base/gstbasetransform.h:
23944 handle and store timed NEWSEGMENT events so that subclasses that
23945 calculate time by counting samples have a segment_start time they
23946 need to add to their timestamps - see audioresample
23948 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23951 removed ';' from the end of macro defs
23952 * docs/gst/gstreamer-docs.sgml:
23953 * docs/gst/gstreamer-sections.txt:
23954 * docs/gst/tmpl/.cvsignore:
23956 * gst/gstelement.c: (gst_element_class_init),
23957 (gst_element_set_state), (activate_pads),
23958 (gst_element_save_thyself):
23959 * gst/gstevent.c: (gst_event_new_newsegment):
23961 * gst/gstiterator.c:
23962 * gst/gstiterator.h:
23965 * gst/gstutils.c: (gst_pad_query_convert):
23967 fixed parameter name mismatches between source, header and docs
23968 added some more docs, resolved the last batch of unused elements in
23969 docs (now someone needs to doc them)
23971 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23973 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23974 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23975 don't walk through the plugins backwards. Where is all this
23976 reversed logic coming from ?
23978 2005-08-25 Wim Taymans <wim@fluendo.com>
23980 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23981 (gst_base_transform_transform_size),
23982 (gst_base_transform_configure_caps),
23983 (gst_base_transform_get_unit_size),
23984 (gst_base_transform_buffer_alloc),
23985 (gst_base_transform_change_state):
23986 * gst/base/gstbasetransform.h:
23987 Cache caps unit_size.
23988 Make sure we cannot negotiate up and downstream at the
23991 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23993 * gst/gst.c: (init_pre), (init_post):
23994 register the installed plugin path after the env var
23995 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23996 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23997 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23998 directories, so the tests can prefer uninstalled over installed
24000 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24002 * gst/base/gstbasetransform.h:
24007 2005-08-25 Wim Taymans <wim@fluendo.com>
24009 * gst/gstbin.c: (bin_bus_handler):
24010 Be a bit more conservative about the posted message.
24012 * gst/gstbus.c: (gst_bus_post):
24013 Some cleanups, warn wrong return values.
24015 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24017 * check/gst/gstbin.c: (GST_START_TEST):
24018 * gst/gstbin.c: (bin_bus_handler):
24019 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24020 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24021 (gst_message_new_warning), (gst_message_new_tag),
24022 (gst_message_new_state_changed), (gst_message_new_segment_start),
24023 (gst_message_new_segment_done), (gst_message_new_custom):
24024 * gst/gstmessage.h:
24025 * tools/gst-launch.c: (event_loop):
24026 * tools/gst-md5sum.c: (event_loop):
24027 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24029 2005-08-25 Wim Taymans <wim@fluendo.com>
24031 * check/generic/states.c: (GST_START_TEST):
24032 Cleanup can be done at the end.
24034 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24035 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24036 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24037 Oh boy.. Thanks for finding this, Thomas.
24039 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24041 * docs/gst/gstreamer.types:
24042 added missing types
24044 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24046 * docs/gst/gstreamer-docs.sgml:
24047 * docs/gst/gstreamer-sections.txt:
24048 * docs/gst/tmpl/.cvsignore:
24050 * gst/gstiterator.c:
24052 * gst/registries/gstxmlregistry.h:
24053 added missing classes and symbols (123 more to go)
24054 removed removed symbols from section file
24055 fixed many doc-comments
24057 2005-08-24 Wim Taymans <wim@fluendo.com>
24059 * check/generic/states.c: (GST_START_TEST):
24060 Make sure all tasks are stopped.
24062 * check/gst/gstbin.c: (GST_START_TEST):
24063 Unref after usage for proper valgrinding.
24065 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24066 Really wait for the task to stop before destroying the
24069 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24070 (gst_queue_src_activate_push):
24071 Small cleanups. Don't stop the task when we did not start
24074 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24075 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24076 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24079 Protect the stream lock with the object lock.
24080 Disallow setting the stream lock when running.
24081 Add cleanup_all to wait for the threadpool to finish.
24082 Remove code to autoallocate a mutex if none was provided.
24083 Add _join() to wait for a task to stop.
24084 Protect the thread pool with a global lock.
24086 2005-08-24 Wim Taymans <wim@fluendo.com>
24088 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24089 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24090 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24091 * gst/base/gstbasesink.h:
24092 Handle newsegment events correctly.
24093 Drop buffers out of the segment range.
24095 2005-08-22 Andy Wingo <wingo@pobox.com>
24097 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24098 macro, implements an interface and gstimplementsinterface for a
24101 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24103 * check/Makefile.am:
24104 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24105 add a test that does a bunch of state changes on elements
24106 needs some fixing for valgrind
24107 * check/states/sinks.c: (gst_object_suite):
24110 add prototype for gst_caps_is_equal_fixed
24112 * gst/gstregistrypool.c:
24115 2005-08-24 Andy Wingo <wingo@pobox.com>
24117 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24118 convert a negative value. Doesn't make much sense. Mostly this is
24119 here to force callers to ensure -1 maps to -1.
24121 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24123 * docs/pwg/advanced-types.xml:
24124 Well done to Michael for catching my deliberate introduction
24125 of this spelling mistake.
24126 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24127 * gst/gstelement.h:
24128 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24129 unlink pads before removing the element from the bin.
24131 2005-08-24 Andy Wingo <wingo@pobox.com>
24133 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24134 the same thing as GST_DEBUG=*:4.
24135 (parse_debug_level, parse_debug_category): New helper parsers.
24137 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24139 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24140 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24141 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24142 (gst_base_transform_buffer_alloc),
24143 (gst_base_transform_handle_buffer):
24144 use gboolean return values and pointers to size so we can use the
24145 full GST_BUFFER_SIZE range (guint) for buffer sizes
24146 use GstPadDirection for transform_caps
24147 * gst/base/gstbasetransform.h:
24148 rename get_size to get_unit_size since that's what it is
24149 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24150 use GstPadDirection for transform_caps
24151 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24153 cleanup and debugging
24155 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24157 * gst/gstelement.c: (gst_element_class_init),
24158 (gst_element_set_state), (activate_pads),
24159 (gst_element_save_thyself):
24160 * tools/gst-compprep.c: (main):
24161 * tools/gst-inspect.c: (print_element_properties_info):
24162 * tools/gst-xmlinspect.c: (print_element_properties):
24163 Fixed long standing mem-leak
24165 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24167 * check/gst/gstbin.c: (GST_START_TEST):
24168 * gst/gstbin.c: (bin_bus_handler):
24169 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24170 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24171 (gst_message_new_warning), (gst_message_new_tag),
24172 (gst_message_new_state_changed), (gst_message_new_segment_start),
24173 (gst_message_new_segment_done), (gst_message_new_custom):
24174 * gst/gstmessage.h:
24175 * tools/gst-launch.c: (event_loop):
24176 * tools/gst-md5sum.c: (event_loop):
24177 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24178 that applications can sensibly post custom messages with references
24179 to their own objects.
24181 2005-08-24 Andy Wingo <wingo@pobox.com>
24183 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24186 2005-08-24 Wim Taymans <wim@fluendo.com>
24188 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24189 (gst_base_transform_transform_caps),
24190 (gst_base_transform_transform_size),
24191 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24192 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24193 (gst_base_transform_handle_buffer):
24194 * gst/base/gstbasetransform.h:
24195 Many fixes and new features added by Thomas. Can now also do
24196 transforms with variable sizes and a custom fixate_caps function.
24198 2005-08-24 Wim Taymans <wim@fluendo.com>
24200 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24204 Cast to ClockTime before formatting to time.
24209 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24211 * check/gst-libs/controller.c: (GST_START_TEST),
24212 (gst_controller_suite):
24213 * docs/gst/tmpl/gstcaps.sgml:
24214 * docs/gst/tmpl/gstghostpad.sgml:
24215 * docs/gst/tmpl/gstquery.sgml:
24216 * docs/gst/tmpl/gstutils.sgml:
24217 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24218 (gst_object_sink_values), (gst_object_get_value_arrays),
24219 (gst_object_get_value_array):
24220 gracefully handle helper method calls to objects that are not beeing
24221 controlled, added test case for that
24223 2005-08-23 Wim Taymans <wim@fluendo.com>
24225 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24226 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24227 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24228 (gst_event_parse_qos), (gst_event_new_seek),
24229 (gst_event_parse_seek):
24231 Some more debugging output and doc cleanups.
24233 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24234 Fix possible deadlock.
24236 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24238 * docs/gst/gstreamer-docs.sgml:
24239 * docs/gst/gstreamer-sections.txt:
24240 * docs/gst/gstreamer.types:
24241 * docs/gst/tmpl/.cvsignore:
24244 * gst/gstelement.c:
24246 added 100 symbols from gstreamer-unused.txt to the right sections
24247 fixed more broken comments
24248 added GstBus to docs
24250 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24252 * docs/gst/gstreamer-sections.txt:
24253 * docs/gst/tmpl/.cvsignore:
24254 * docs/gst/tmpl/gstbin.sgml:
24255 * docs/gst/tmpl/gstbuffer.sgml:
24256 * gst/base/gstbasesrc.c:
24257 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24260 * tools/gst-launch.1.in:
24261 inlined more doc comments, added missing comments and fixed comments
24264 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24266 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24270 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24272 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24273 * gst/gststructure.h:
24274 add a fixate function for booleans; add a FIXME that these func
24275 names should probably be gst_structure_fixate_*
24277 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24279 * docs/gst/gstreamer-docs.sgml:
24280 * docs/gst/gstreamer-sections.txt:
24282 * gst/gstbin.c: (gst_bin_get_type),
24283 (gst_bin_child_proxy_get_child_by_index),
24284 (gst_bin_child_proxy_get_children_count),
24285 (gst_bin_child_proxy_init):
24286 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24287 (gst_child_proxy_get_child_by_index),
24288 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24289 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24290 (gst_child_proxy_get), (gst_child_proxy_set_property),
24291 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24292 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24293 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24294 * gst/gstchildproxy.h:
24295 * gst/parse/grammar.y:
24296 * tools/gst-inspect.c: (print_interfaces),
24297 (print_element_properties_info), (print_element_info):
24298 ported gstchildproxy over from 0.8
24299 ported gst-inspect fixes and enhancements over from 0.8
24301 2005-08-22 Wim Taymans <wim@fluendo.com>
24303 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24304 (gst_base_transform_handle_buffer):
24305 Also call the transform function if we have ANY caps.
24307 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24310 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24312 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24313 Don't pretend to handle seek events if the source is not seekable
24315 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24318 Remove extra parameter to debug output
24320 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24321 (gst_base_src_do_seek), (gst_base_src_activate_push):
24322 Fix seek event handling.
24324 * gst/gstpipeline.c: (gst_pipeline_change_state):
24325 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24326 (gst_queue_src_activate_push):
24327 Don't start the src pad task on FLUSH_STOP if the pad
24331 2005-08-22 Wim Taymans <wim@fluendo.com>
24333 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24334 Added check for gst_static_caps_get() refcounting.
24336 2005-08-22 Wim Taymans <wim@fluendo.com>
24338 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24339 Make _static_caps_get() refcounting sane.
24341 * gst/gstelement.c: (gst_element_set_state):
24342 Add g_return_val_if_fail() to protect against segfaults.
24344 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24346 * docs/gst/tmpl/gstevent.sgml:
24349 inlined remaining docs, added missing doc comments
24351 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24353 * check/gst/gstbin.c: (GST_START_TEST):
24354 since we don't know when preroll is done, use refcount range
24356 * gst/check/gstcheck.h:
24357 add macro for checking refcount range
24359 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24361 * check/Makefile.am:
24362 clean up environment for when registry gets built versus
24363 when actual tests are run; valgrind seems to not report
24364 leaks if GST_PLUGIN_PATH is set to some specific values
24365 * check/gst/gstbin.c: (GST_START_TEST):
24366 add more refcounting checks; maybe this exposes a
24368 * common/check.mak:
24369 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24370 * gst/check/gstcheck.h:
24371 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24372 (gst_bin_change_state):
24373 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24374 add/fix debugging/whitespace
24376 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24378 * check/gst/gstevent.c: (event_probe), (test_event),
24380 Er, don't call gst_bin_watch_for_state_change you idiot.
24382 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24384 * check/Makefile.am:
24385 Use CHECK_CFLAGS and CHECK_LIBS
24386 * check/gst/gstevent.c: (event_probe), (test_event),
24389 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24390 (gst_base_src_start), (gst_base_src_stop),
24391 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24392 (gst_base_src_change_state):
24393 Sprinkle gst_base_src_stop liberally around error paths to fix
24394 problems reusing a source after failed state changes.
24395 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24396 (helper_find_suggest), (gst_type_find_helper):
24397 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24399 * docs/gst/tmpl/gstevent.sgml:
24400 Migrate part of the docs from the SGML file. Wait for ensonic to
24401 tell me how I did it wrong ;)
24402 * tools/gst-typefind.c: (main):
24403 Extra robustness to state changes between files.
24405 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24407 * check/Makefile.am:
24408 don't valgrind the controller test - it's leaking - Stefan, HELP
24409 * gst/check/gstcheck.c: (gst_check_message_error),
24410 (gst_check_chain_func), (gst_check_setup_element),
24411 (gst_check_teardown_element), (gst_check_setup_src_pad),
24412 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24413 (gst_check_teardown_sink_pad):
24414 * gst/check/gstcheck.h:
24415 add a bunch of methods to set up elements, and src and sink pads
24416 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24417 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24420 * gst/gstmessage.c:
24422 whitespace/doc fixes
24424 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24426 * gst/gstelement.h:
24427 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24428 be handled by the application and not always printed as well
24430 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24432 * check/Makefile.am:
24434 * gst/check/gstcheck.c: (gst_check_message_error):
24435 * gst/check/gstcheck.h:
24436 add a fail_unless_equals_int
24437 add fail_unless for error messages
24439 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24441 * check/Makefile.am:
24443 * common/Makefile.am:
24444 * common/check.mak:
24446 factor out some of the common stuff so we can use it
24448 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24450 * check/Makefile.am:
24451 * check/gst/gstiterator.c: (GST_START_TEST):
24452 * check/gst/gstsystemclock.c: (GST_START_TEST),
24453 (gst_systemclock_suite):
24454 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24456 valgrind more tests
24458 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24460 * check/elements/.cvsignore:
24461 * check/elements/gstfakesrc.c:
24462 rename to name of element
24463 * check/elements/identity.c: (chain_func), (event_func),
24464 (setup_identity), (cleanup_identity), (GST_START_TEST),
24465 (identity_suite), (main):
24466 add a test for identity
24467 * check/Makefile.am:
24468 * pkgconfig/Makefile.am:
24469 * pkgconfig/gstreamer-check.pc.in:
24470 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24474 move the check stuff to a library that gets installed
24475 * check/gst-libs/controller.c: (GST_START_TEST):
24476 * check/gst-libs/gdp.c:
24477 * check/gst/gst.c: (GST_START_TEST):
24478 * check/gst/gstbin.c:
24479 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24480 * check/gst/gstbus.c:
24481 * check/gst/gstcaps.c: (GST_START_TEST):
24482 * check/gst/gstelement.c:
24483 * check/gst/gstghostpad.c:
24484 * check/gst/gstiterator.c:
24485 * check/gst/gstmessage.c:
24486 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24487 * check/gst/gstobject.c:
24488 * check/gst/gstpad.c: (GST_START_TEST):
24489 * check/gst/gststructure.c: (GST_START_TEST):
24490 * check/gst/gstsystemclock.c: (GST_START_TEST),
24491 (gst_systemclock_suite):
24492 * check/gst/gsttag.c: (gst_tag_suite):
24493 * check/gst/gstvalue.c:
24494 * check/pipelines/cleanup.c:
24495 * check/pipelines/simple_launch_lines.c:
24496 * check/states/sinks.c:
24497 change include statement
24499 * docs/gst/gstreamer-sections.txt:
24500 * docs/gst/tmpl/gstpad.sgml:
24501 document more pad stuff
24502 * gst/gstminiobject.c: (gst_mini_object_ref),
24503 (gst_mini_object_unref):
24506 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24508 * docs/gst/tmpl/gst.sgml:
24510 eliminate another tmpl file, fix spelling in the long-description
24512 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24514 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24515 (test_event), (timediff), (gstevents_suite):
24516 Should fix build on 64-bit arch's
24518 2005-08-18 Andy Wingo <wingo@pobox.com>
24520 Make sure that when a pipeline goes to PLAYING, that data has
24521 actually hit the sink.
24523 * check/states/sinks.c (test_sink): A sink that doesn't get any
24524 data shouldn't return SUCCESS for going to either PLAYING or
24525 PAUSED. Test also the return values on the way back down.
24527 * gst/gstelement.c (gst_element_set_state): When changing the
24528 state of an element currently changing state asynchronously, go to
24529 lost-state after commiting the pending state. Makes future calls
24530 to get_state continue to return ASYNC.
24532 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24533 ASYNC when going to PLAYING if we still don't have preroll, as can
24534 happen with live sources.
24536 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24538 * docs/pwg/advanced-types.xml:
24539 Hack long paragraph into 2 chunks as a workaround for buggy
24540 jadetex version in sid and breezy that loops infinitely and
24543 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24545 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24546 (test_event), (timediff), (gstevents_suite):
24547 Provide more error margin in clock measurements to allow for
24548 g_get_current_time inaccuracies.
24550 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24552 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24553 (test_event), (timediff), (gstevents_suite):
24554 Fix error message output so I might be able to tell why the
24555 test works here but fails on the build farm.
24557 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24559 * check/Makefile.am:
24560 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24561 (test_event), (timediff), (gstevents_suite), (main):
24564 * docs/design/part-seeking.txt:
24565 Spelling correction
24567 * docs/gst/tmpl/gstevent.sgml:
24568 * docs/gst/tmpl/gstfakesrc.sgml:
24571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24572 Treat a buffer-without-newsegment the same as a receiving
24573 a newsegment not in time format, and disable syncing to the clock
24576 * gst/gstbus.c: (gst_bus_set_sync_handler):
24577 Assert if anyone tries to replace the existing sync_handler for bus,
24578 as only the owner should be setting it.
24581 Have a fixed set of custom event enums with events identified by
24582 their structure name (as in 0.8), rather than a free-for-all
24583 allowing collisions between enum values from different plugins.
24585 * gst/gstpad.c: (gst_pad_class_init):
24588 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24589 Handle out-of-band downstream events from the sending thread.
24591 2005-08-17 Andy Wingo <wingo@pobox.com>
24593 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24594 play-timeout==0 to mean no timeout at all. In that case, don't
24595 bother with a get_state or a warning, just return directly, even
24598 * gst/base/gstbasetransform.c: Debug changes.
24601 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24602 ensure bins post state change messages. A bit of a hack but I can't
24603 think of a way to avoid it.
24605 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24607 2005-08-16 Andy Wingo <wingo@pobox.com>
24609 * gst/base/gstadapter.h:
24610 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24611 peek() but you own the data. Not terribly efficient atm.
24613 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24615 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24616 (gst_element_found_tags):
24618 Add two utility functions for tag handling.
24620 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24622 * docs/manual/advanced-dataaccess.xml:
24623 * docs/manual/basics-helloworld.xml:
24624 Fix docs to use _bin_add() before _link(), which fixes the examples
24625 with recent core versions (reported by Madhan Raj M
24626 <raj_madan@rediffmail.com>, #313199).
24628 2005-08-16 Wim Taymans <wim@fluendo.com>
24630 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24631 Added subtract checks.
24633 * docs/design/part-events.txt:
24634 Some more docs about newsegment
24636 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24639 * gst/gstcaps.c: (gst_caps_to_string):
24640 Add comments, cleanups.
24642 * gst/gstelement.c: (gst_element_save_thyself):
24645 * gst/gstvalue.c: (gst_value_collect_int_range),
24646 (gst_string_unwrap), (gst_value_union_int_int_range),
24647 (gst_value_union_int_range_int_range),
24648 (gst_value_intersect_int_int_range),
24649 (gst_value_intersect_int_range_int_range),
24650 (gst_value_intersect_double_double_range),
24651 (gst_value_intersect_double_range_double_range),
24652 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24653 (gst_value_subtract_int_range_int),
24654 (gst_value_subtract_double_range_double),
24655 (gst_value_subtract_double_range_double_range),
24656 (gst_value_subtract_from_list), (gst_value_subtract_list),
24657 (gst_value_can_compare), (gst_value_compare_fraction):
24658 Cleanups, add comments, remove unneeded asserts.
24660 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24662 * tools/gst-launch.c: (event_loop):
24663 don't convert NULL structures to strings
24665 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24667 * docs/gst/gstreamer-sections.txt:
24668 made some defines private
24669 * docs/gst/tmpl/gstconfig.sgml:
24670 * docs/gst/tmpl/gstqueue.sgml:
24671 * docs/gst/tmpl/gsttaglist.sgml:
24672 * docs/gst/tmpl/gsttypes.sgml:
24673 * docs/gst/tmpl/gstutils.sgml:
24674 * docs/pwg/appendix-porting.xml:
24675 * gst/base/gstbasesink.h:
24676 * gst/base/gstbasesrc.c:
24677 * gst/base/gstbasesrc.h:
24678 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24679 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24680 * gst/gstelement.c: (gst_element_class_init):
24681 * gst/gstpad.c: (gst_pad_class_init):
24682 * gst/gstqueue.c: (gst_queue_class_init):
24683 * gst/gstxml.c: (gst_xml_class_init):
24684 documented all undocumented signal inline
24685 * libs/gst/controller/gst-controller.h:
24688 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24690 * docs/pwg/appendix-porting.xml:
24691 Document _set_link_function -> _set_setcaps_function.
24693 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24695 * check/Makefile.am:
24696 add a .check target for running the check
24697 * check/gst-libs/controller.c: (GST_START_TEST):
24699 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24700 complete checks for gstbuffer; would be nice if I could get the
24701 gcov stuff to work so I can see if I actually completed gstbuffer.c
24702 * check/gstcheck.h:
24703 add ASSERT_BUFFER_REFCOUNT
24705 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24707 * docs/gst/gstreamer-sections.txt:
24708 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24710 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24711 spew out a warning if a tag that is already registered
24712 is re-registered, unless it is re-registered with a
24713 different type (#308438).
24715 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24717 * docs/pwg/appendix-porting.xml:
24718 * docs/pwg/building-state.xml:
24719 Add some paragraphs about state changes in 0.9 to the PWG
24720 and the porting guide, in particular about the new meaning
24721 of GST_STATE_PAUSED and how to write state change functions
24722 with concurrent access by multiple threads in mind.
24724 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24726 * docs/gst/gstreamer-docs.sgml:
24727 * docs/libs/gstreamer-libs-docs.sgml:
24728 added deprecation and since indexes
24729 * libs/gst/controller/gst-controller.c:
24730 * libs/gst/controller/gst-helper.c:
24734 2005-08-11 Wim Taymans <wim@fluendo.com>
24736 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24737 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24738 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24739 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24740 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24741 (gst_ghost_pad_set_target):
24742 Actually implement (re)setting the target on a ghostpad
24743 as described in the docs.
24745 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24747 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24748 Check whether GST_DEBUG_NO_COLOR environment variable is
24749 set and disable coloured debug output if that is the case.
24751 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24753 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24754 (gst_type_find_helper):
24755 The memory returned by gst_type_find_peek() needs to
24756 stay valid until the end of a typefind function, and
24757 typefind functions may keep results from different
24758 offsets around, so we can't just unref the buffer from
24759 the previous _peek(), but have to save all buffers
24760 returned by _peek() until typefinding is done and only
24763 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24765 * docs/gst/gstreamer-sections.txt:
24767 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24769 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24771 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24772 Fix a pretty good memleak.
24774 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24776 * gst/gstiterator.h:
24777 Fix wrong include and 'make distcheck'.
24779 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24781 * gst/gstbin.c: (bin_bus_handler):
24782 Use gst_element_post_message() instead.
24784 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24786 * gst/base/gstadapter.h:
24787 * gst/base/gstbasesink.h:
24788 * gst/base/gstbasesrc.h:
24789 * gst/base/gstbasetransform.h:
24790 * gst/base/gstcollectpads.h:
24791 * gst/base/gstpushsrc.h:
24792 * gst/gstiterator.h:
24793 Add padding to our base elements' class and instance structs and
24794 to GstIterator (you will need to rebuild all plugins and apps!)
24796 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24798 * gst/gstbin.c: (bin_bus_handler):
24799 Make default message forwarding from child->bus to bin->bus
24800 threadsafe and make it not emit warnings if the parent has no bus.
24802 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24804 * gst/gstelement.c: (activate_pads):
24805 On paused->ready, set pad->caps to NULL, as is the documented
24806 behaviour in this state change. Fixes playback of series of
24807 media files when visualization is enabled in Totem.
24809 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24811 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24812 Allow NULL as filter-caps (which means "any").
24814 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24816 * docs/libs/gstreamer-libs-sections.txt:
24817 * libs/gst/controller/gst-controller.c:
24818 * libs/gst/controller/gst-controller.h:
24819 * libs/gst/controller/gst-helper.c:
24820 adding more entries to the docs and fix small doc-bugs
24822 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24824 * docs/gst/gstreamer-docs.sgml:
24825 * docs/gst/gstreamer-sections.txt:
24826 * docs/gst/gstreamer.types:
24827 * docs/gst/tmpl/gstbasesink.sgml:
24828 * docs/gst/tmpl/gstbasesrc.sgml:
24829 * docs/gst/tmpl/gstbasetransform.sgml:
24830 * docs/gst/tmpl/gstfakesrc.sgml:
24831 * gst/base/gstcollectpads.c:
24832 * gst/base/gstcollectpads.h:
24833 * libs/gst/controller/gst-controller.c:
24834 * libs/gst/controller/gst-controller.h:
24835 * libs/gst/controller/gst-helper.c:
24836 * libs/gst/controller/gst-interpolation.c:
24837 * libs/gst/controller/lib.c:
24838 added long/short desc for controller docs
24839 added collectpads base class docs
24840 added correct includes to base-class docs
24842 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24844 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24845 (gst_test_mono_source_set_property),
24846 (gst_test_mono_source_class_init), (GST_START_TEST),
24847 (gst_controller_suite):
24848 * docs/gst/gstreamer-docs.sgml:
24849 * docs/gst/gstreamer-sections.txt:
24850 * docs/gst/gstreamer.types:
24851 * docs/libs/gstreamer-libs-docs.sgml:
24852 * docs/libs/gstreamer-libs-sections.txt:
24853 * gst/base/gstadapter.c:
24854 * libs/gst/controller/gst-controller.c:
24855 (gst_controlled_property_new), (gst_controlled_property_free),
24856 (gst_controller_new_valist),
24857 (gst_controller_remove_properties_valist),
24858 (gst_controller_sink_values), (_gst_controller_finalize):
24859 * libs/gst/controller/gst-controller.h:
24860 * libs/gst/controller/gst-helper.c:
24861 (gst_object_control_properties), (gst_object_uncontrol_properties),
24862 (gst_object_get_controller), (gst_object_set_controller),
24863 (gst_object_sink_values), (gst_object_get_value_arrays),
24864 (gst_object_get_value_array):
24865 more tests (and fixes) for the controller
24866 more docs for the controller
24867 integrated companies docs for the adapter
24869 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24871 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24872 (GST_START_TEST), (fakesrc_suite):
24873 add tests for sizetype
24875 2005-08-04 Andy Wingo <wingo@pobox.com>
24877 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24878 fixes buffer_alloc proxying among other things.
24880 * gst/base/gstbasetransform.c:
24881 * gst/base/gstbasetransform.h:
24882 Revert patch to gstbasetransform from 7-28 removing
24885 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24886 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24887 Semantics changed, should return not the size of the output buffer
24888 but the byte size of a buffer with a given caps.
24890 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24892 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24893 out) are not the pad caps until setcaps finishes.
24894 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24895 not-in-place case as well. Deal with changing from in-place to
24896 not-in-place within calling pad_alloc_buffer. Still a bit
24897 concerned about the overhead here...
24899 2005-08-03 Andy Wingo <wingo@pobox.com>
24901 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24902 fixating is an error.
24904 2005-08-04 Edward Hervey <edward@fluendo.com>
24906 * gst/base/gstadapter.h:
24907 Added gst_adapter_get_type() to the header
24909 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24911 * check/Makefile.am:
24912 * check/gst-libs/controller.c:
24913 * libs/gst/controller/gst-controller.c:
24914 (gst_controller_new_valist):
24915 added check test suite for the controller
24916 * gst/base/gstpushsrc.c:
24919 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24921 * docs/gst/Makefile.am:
24922 * docs/gst/gstreamer-docs.sgml:
24923 * docs/gst/gstreamer-sections.txt:
24924 * docs/gst/gstreamer.types:
24925 * docs/gst/tmpl/gstfakesrc.sgml:
24927 * gst/base/gstbasesink.c:
24928 * gst/base/gstbasesink.h:
24929 * gst/base/gstbasesrc.c:
24930 * gst/base/gstbasesrc.h:
24931 * gst/base/gstbasetransform.c:
24932 * gst/base/gstpushsrc.c:
24933 * gst/base/gstpushsrc.h:
24934 add short/long description docs to base classes
24935 add pushsrc to the docs
24936 remove consolidated doc fragments
24938 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24941 * docs/libs/Makefile.am:
24942 * docs/libs/gstreamer-libs-docs.sgml:
24943 * docs/libs/gstreamer-libs-sections.txt:
24944 * docs/libs/gstreamer-libs.types:
24945 * examples/Makefile.am:
24946 * examples/controller/.cvsignore:
24947 * examples/controller/Makefile.am:
24948 * examples/controller/audio-example.c: (main):
24949 * libs/gst/Makefile.am:
24950 * libs/gst/controller/.cvsignore:
24951 * libs/gst/controller/Makefile.am:
24952 * libs/gst/controller/gst-controller.c:
24953 (on_object_controlled_property_changed), (gst_timed_value_compare),
24954 (gst_timed_value_find),
24955 (gst_controlled_property_set_interpolation_mode),
24956 (gst_controlled_property_new), (gst_controlled_property_free),
24957 (gst_controller_find_controlled_property),
24958 (gst_controller_new_valist), (gst_controller_new),
24959 (gst_controller_remove_properties_valist),
24960 (gst_controller_remove_properties), (gst_controller_set),
24961 (gst_controller_set_from_list), (gst_controller_unset),
24962 (gst_controller_get), (gst_controller_get_all),
24963 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24964 (gst_controller_get_value_array),
24965 (gst_controller_set_interpolation_mode),
24966 (_gst_controller_finalize), (_gst_controller_init),
24967 (_gst_controller_class_init), (gst_controller_get_type):
24968 * libs/gst/controller/gst-controller.h:
24969 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24970 (g_object_uncontrol_properties), (g_object_get_controller),
24971 (g_object_set_controller), (g_object_sink_values),
24972 (g_object_get_value_arrays), (g_object_get_value_array):
24973 * libs/gst/controller/gst-interpolation.c:
24974 (gst_controlled_property_find_timed_value_node),
24975 (interpolate_none_get), (interpolate_trigger_get),
24976 (interpolate_trigger_get_value_array):
24977 * libs/gst/controller/lib.c: (gst_controller_init):
24978 * pkgconfig/Makefile.am:
24979 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24980 * pkgconfig/gstreamer-control.pc.in:
24981 * testsuite/Makefile.am:
24982 * testsuite/controller/.cvsignore:
24983 * testsuite/controller/Makefile.am:
24984 * testsuite/controller/interpolator.c: (main):
24985 added controller code
24986 removed dparam pc files
24988 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24989 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24990 (gst_collectpads_stop):
24991 Broadcast the condition when shutting down, to make sure we wake all
24992 threads up. Shut down pads on finalize, for safety.
24994 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24995 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24996 (gst_base_transform_handle_buffer),
24997 (gst_base_transform_change_state):
24998 Handle PAUSED->READY->PAUSED transition after negotiation
25000 * gst/gstmessage.c: (gst_message_init):
25001 Extra piece of debug for new messages.
25003 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25006 * docs/gst/tmpl/gstbasesrc.sgml:
25007 * docs/gst/tmpl/gstelement.sgml:
25008 * docs/gst/tmpl/gstevent.sgml:
25009 * docs/gst/tmpl/gstfakesrc.sgml:
25010 * docs/gst/tmpl/gstformat.sgml:
25011 * docs/gst/tmpl/gstghostpad.sgml:
25012 * docs/gst/tmpl/gstpad.sgml:
25013 * docs/gst/tmpl/gstquery.sgml:
25014 * docs/gst/tmpl/gststructure.sgml:
25015 * docs/gst/tmpl/gsttaglist.sgml:
25016 * docs/gst/tmpl/gstvalue.sgml:
25017 * docs/libs/gstreamer-libs-docs.sgml:
25018 * docs/libs/gstreamer-libs-sections.txt:
25019 * docs/libs/gstreamer-libs.types:
25020 * libs/gst/Makefile.am:
25021 * libs/gst/control/.cvsignore:
25022 * libs/gst/control/Makefile.am:
25023 * libs/gst/control/control.c:
25024 * libs/gst/control/control.h:
25025 * libs/gst/control/dparam.c:
25026 * libs/gst/control/dparam.h:
25027 * libs/gst/control/dparam_smooth.c:
25028 * libs/gst/control/dparam_smooth.h:
25029 * libs/gst/control/dparamcommon.h:
25030 * libs/gst/control/dparammanager.c:
25031 * libs/gst/control/dparammanager.h:
25032 * libs/gst/control/dplinearinterp.c:
25033 * libs/gst/control/dplinearinterp.h:
25034 * libs/gst/control/unitconvert.c:
25035 * libs/gst/control/unitconvert.h:
25036 * testsuite/Makefile.am:
25037 * testsuite/dynparams/.cvsignore:
25038 * testsuite/dynparams/Makefile.am:
25039 * testsuite/dynparams/dparamstest.c:
25040 * tools/Makefile.am:
25041 * tools/gst-inspect.c: (print_element_info), (main):
25042 * tools/gst-xmlinspect.c: (print_element_info), (main):
25043 deactivate and remove dparams (libgstcontrol)
25045 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25047 * gst/elements/gsttypefindelement.c:
25048 (gst_type_find_element_have_type), (gst_type_find_element_init),
25049 (stop_typefinding), (gst_type_find_element_handle_event),
25050 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25051 * gst/elements/gsttypefindelement.h:
25052 Set caps on all outgoing buffers, not just the first one.
25054 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25056 * gst/elements/gsttypefindelement.c:
25057 (gst_type_find_element_have_type),
25058 (gst_type_find_element_check_set_buffer_caps),
25059 (gst_type_find_element_init), (stop_typefinding),
25060 (gst_type_find_element_handle_event),
25061 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25062 * gst/elements/gsttypefindelement.h:
25063 Set caps on first outgoing buffer when we've found the type.
25065 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25067 * docs/gst/gstreamer-docs.sgml:
25068 * docs/gst/gstreamer-sections.txt:
25069 * docs/gst/tmpl/gstscheduler.sgml:
25070 * docs/gst/tmpl/gstschedulerfactory.sgml:
25071 Remove some old cruft from docs.
25073 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25076 Fix inline docs for GstPadLinkReturn.
25078 * gst/gststructure.c: (gst_structure_has_name):
25079 * gst/gststructure.h:
25080 * docs/gst/gstreamer-sections.txt:
25081 New API: gst_structure_has_name().
25083 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25086 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25087 and _LARGEFILE_SOURCE in config.h as required. Do not
25088 export those flags in our .pc files any longer (#142209).
25090 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25092 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25093 (gst_file_sink_do_seek), (gst_file_sink_event),
25094 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25095 Redo seek/tell calls with large file support in mind; add some
25096 debugging messages; add log message that tells us when large
25097 file support is unavailable or not enabled for some reason.
25099 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25100 Add log message that tells us when large file support
25101 is unavailable or not enabled for some reason.
25103 2005-07-29 Wim Taymans <wim@fluendo.com>
25105 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25106 Added test for removing an element with ghostpad from a bin.
25107 Fixed test as current implementation does the right thing.
25109 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25110 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25111 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25112 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25113 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25114 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25115 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25116 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25117 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25118 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25119 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25120 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25121 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25122 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25123 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25124 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25125 * gst/gstghostpad.h:
25126 Clean up ghostpads, remove properties for internal stuff.
25129 Prepare for switching targets, not all use cases work yet.
25131 2005-07-29 Wim Taymans <wim@fluendo.com>
25133 * docs/design/part-gstghostpad.txt:
25136 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25137 (gst_bin_remove_func):
25138 Unlinking pads while holding the bin LOCK is not a good
25141 * gst/gstpad.c: (gst_pad_class_init),
25142 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25143 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25144 No prob setting template after creating the pad.
25146 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25148 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25149 (gst_bus_peek), (gst_bus_source_dispatch),
25150 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25151 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25152 gst_bus_poll may be called from other threads. Handle
25153 this nicely by not making poll_data disappear off the
25154 stack once gst_bus_poll returns.
25155 gst_bus_peek now increments the refcount on the returned
25158 2005-07-29 Wim Taymans <wim@fluendo.com>
25160 * docs/design/part-gstghostpad.txt:
25161 Overview of current GhostPad datastructures and use
25162 cases for changing the target.
25164 2005-07-28 Wim Taymans <wim@fluendo.com>
25166 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25167 Added checks for hierarchy consistency whan adding linked
25170 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25171 Added check to test element scheduling without bin/pipeline.
25173 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25174 First add elements to bin, then link.
25176 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25177 (gst_bin_remove_func):
25178 Unlink pads from elements added/removed from bin to maintain
25179 hierarchy consistency.
25181 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25183 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25184 (gst_base_transform_handle_buffer):
25185 * gst/base/gstbasetransform.h:
25186 Remove broken delay_configure (fixes renegotiation of software
25187 scaling pipelines); remove some leftover printf()s.
25189 2005-07-28 Wim Taymans <wim@fluendo.com>
25191 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25192 Added some more tests for wrong hierarchy
25194 * docs/design/part-overview.txt:
25197 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25200 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25201 (gst_element_dispose):
25202 Some more cleanups.
25204 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25205 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25206 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25207 (gst_pad_set_caps), (gst_pad_send_event):
25208 Check for correct hierarchy when linking pads. Moving to
25209 strict requirement for ghostpads when linking elements in
25213 Clean ups. Added WRONG_HIERARCHY return value.
25215 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25217 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25218 Better debug if no transform is possible.
25220 2005-07-27 Wim Taymans <wim@fluendo.com>
25222 * docs/random/wtay/network-transp:
25223 Some old doc I had.
25225 2005-07-27 Wim Taymans <wim@fluendo.com>
25227 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25228 (gst_dp_event_from_packet):
25229 Fix serialization of seek events.
25231 2005-07-27 Wim Taymans <wim@fluendo.com>
25233 * check/gst-libs/gdp.c: (GST_START_TEST):
25234 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25235 Fix compilation and fix event serialization.
25237 2005-07-27 Wim Taymans <wim@fluendo.com>
25240 * docs/design/part-TODO.txt:
25241 * docs/design/part-events.txt:
25244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25245 (gst_base_sink_event), (gst_base_sink_do_sync),
25246 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25247 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25248 (gst_base_src_do_seek), (gst_base_src_event_handler),
25249 (gst_base_src_loop):
25250 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25251 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25252 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25253 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25254 (gst_base_transform_set_passthrough),
25255 (gst_base_transform_is_passthrough):
25256 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25257 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25263 * gst/gstelement.c: (gst_element_seek):
25264 * gst/gstelement.h:
25265 Update gst_element_seek.
25267 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25268 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25269 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25270 (gst_event_new_eos), (gst_event_new_newsegment),
25271 (gst_event_parse_newsegment), (gst_event_new_tag),
25272 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25273 (gst_event_parse_qos), (gst_event_new_seek),
25274 (gst_event_parse_seek), (gst_event_new_navigation):
25276 Make GstEvent use GstStructure. Add parsing code, make sure the
25277 API is sufficiently generic.
25278 Mark possible directions of events and serialization.
25280 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25281 (_gst_message_copy), (gst_message_new_segment_start),
25282 (gst_message_new_segment_done), (gst_message_new_custom),
25283 (gst_message_parse_segment_start),
25284 (gst_message_parse_segment_done):
25287 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25288 (gst_pad_set_caps), (gst_pad_send_event):
25289 Update for new events.
25290 Catch events sent in wrong directions.
25292 * gst/gstqueue.c: (gst_queue_link_src),
25293 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25294 (gst_queue_handle_src_query):
25299 Remove event code from this file.
25301 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25302 (gst_dp_event_from_packet):
25305 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25307 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25308 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25309 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25310 Make debugging actually useful.
25312 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25314 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25315 (gst_pad_fixate_caps):
25316 Implement default fixation once again, so that gst_pad_fixate()
25317 actually does anything at all. This probably needs to be some
25318 sort of a last resort, and use profile-based fixation first, but
25319 since that doesn't exist yet, this is the best we have. Fixes
25320 visualization in Totem.
25322 2005-07-22 Wim Taymans <wim@fluendo.com>
25324 * docs/design/part-events.txt:
25327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25328 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25329 (gst_base_sink_activate_pull):
25330 Some more comments.
25332 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25333 (gst_fake_src_create):
25334 Fix handoff marshall.
25336 * gst/elements/gstidentity.c: (gst_identity_class_init),
25337 (gst_identity_transform_ip):
25338 We're a real inplace element.
25340 * gst/gstbus.c: (gst_bus_post):
25341 Added some comments.
25343 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25344 * tests/muxing/case1.c: (main):
25345 * tests/sched/dynamic-pipeline.c: (main):
25346 * tests/sched/interrupt1.c: (main):
25347 * tests/sched/interrupt2.c: (main):
25348 * tests/sched/interrupt3.c: (main):
25349 * tests/sched/runxml.c: (main):
25350 * tests/sched/sched-stress.c: (main):
25351 * tests/seeking/seeking1.c: (event_received), (main):
25352 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25354 * tests/threadstate/threadstate3.c: (main):
25355 * tests/threadstate/threadstate4.c: (main):
25356 * tests/threadstate/threadstate5.c: (main):
25359 2005-07-21 Wim Taymans <wim@fluendo.com>
25361 * docs/design/part-seeking.txt:
25362 Some small additions.
25364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25365 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25366 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25367 * gst/base/gstbasesink.h:
25368 discont values are gint64, handle the math correctly.
25370 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25371 Make the basesrc report error if the source pad is not linked.
25373 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25374 (gst_queue_loop), (gst_queue_handle_src_query),
25375 (gst_queue_src_activate_push):
25376 Make queue collect data even if the srcpad is not linked.
25377 Start pushing out data as soon as it is linked.
25379 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25381 Added gst_flow_get_name() to ease error reporting.
25383 2005-07-20 Wim Taymans <wim@fluendo.com>
25385 * gst/gstmessage.c: (gst_message_new_segment_start),
25386 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25387 (gst_message_parse_segment_done):
25388 * gst/gstmessage.h:
25389 Added a bunch of messages for advanced seeking.
25391 * gst/parse/grammar.y:
25392 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25393 (gst_dpman_state_changed):
25394 Fix some new-pad -> pad-added signals
25396 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25398 * docs/manual/appendix-porting.xml:
25399 * docs/pwg/appendix-porting.xml:
25400 Document new-pad/state-change signal renames and the FixedList
25403 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25405 * docs/manual/advanced-autoplugging.xml:
25406 * docs/manual/basics-helloworld.xml:
25407 * docs/manual/basics-pads.xml:
25408 * docs/random/ds/0.9-suggested-changes:
25409 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25410 * gst/gstelement.h:
25414 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25415 (gst_structure_parse_array), (gst_structure_parse_value):
25416 * gst/gstvalue.c: (gst_type_is_fixed),
25417 (gst_value_list_prepend_value), (gst_value_list_append_value),
25418 (gst_value_list_get_size), (gst_value_list_get_value),
25419 (gst_value_transform_array_string), (gst_value_serialize_array),
25420 (gst_value_deserialize_array), (gst_value_intersect_array),
25421 (gst_value_is_fixed), (_gst_value_initialize):
25423 GstElement::new-pad -> pad-added, GstElement::state-change ->
25424 state-changed, GstValueFixedList -> GstValueArray, add format and
25425 flags as their own arguments in gst_element_seek() (should improve
25426 "bindeability"), remove function generators since they don't work
25427 under a whole bunch of compilers (they were deprecated already
25430 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25432 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25433 (_gst_debug_register_funcptr):
25435 Fix illegal cast on some platforms (#309253).
25437 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25439 * gst/gstmessage.c: (gst_message_new_custom):
25440 * gst/gstmessage.h:
25441 Add _new_custom, make _new_application a macro to _new_custom.
25443 2005-07-20 Wim Taymans <wim@fluendo.com>
25445 * gst/base/gstbasesrc.c: (gst_base_src_init),
25446 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25447 * gst/base/gstbasesrc.h:
25448 Add a gboolean to decide when to push out a discont.
25450 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25451 (gst_queue_loop), (gst_queue_handle_src_query),
25452 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25453 (gst_queue_set_property), (gst_queue_get_property):
25456 * tests/threadstate/threadstate1.c: (main):
25457 Make a thread test compile and run... very silly..
25460 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25462 * docs/manual/appendix-porting.xml:
25463 Mention removal of libgstgconf-0.9.la and existence of gconf
25466 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25468 * docs/pwg/advanced-clock.xml:
25469 * docs/pwg/appendix-porting.xml:
25470 * docs/pwg/intro-preface.xml:
25471 * docs/pwg/other-base.xml:
25472 * docs/pwg/other-manager.xml:
25473 * docs/pwg/other-nton.xml:
25474 * docs/pwg/other-ntoone.xml:
25475 * docs/pwg/other-oneton.xml:
25476 * docs/pwg/pwg.xml:
25477 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25478 demuxer), remove n-to-n (was never written), fix some code examples
25479 and links and update the porting section to include all this.
25481 2005-07-19 Wim Taymans <wim@fluendo.com>
25483 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25484 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25485 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25486 (gst_queue_src_activate_push), (gst_queue_change_state),
25487 (gst_queue_get_property):
25489 Propagate GstFlowReturn more intelligently upstream and output
25490 an ERROR/EOS when streaming stopped due to fatal error.
25492 2005-07-19 Wim Taymans <wim@fluendo.com>
25494 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25495 Don't block forever for the state change to complete, the
25496 pipeline already did with a sensible timeout.
25498 2005-07-19 Wim Taymans <wim@fluendo.com>
25500 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25501 Make sure we never call the create function is we
25504 2005-07-19 Andy Wingo <wingo@pobox.com>
25506 * gst/parse/parse.l: Attempt to solve bug #172815.
25508 2005-07-19 Wim Taymans <wim@fluendo.com>
25510 * docs/design/part-clocks.txt:
25511 * docs/design/part-events.txt:
25512 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25513 Small docs updates.
25514 Only update the seeking values when we are not
25517 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25519 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25520 Oops, ignore the result of gst_pad_push_event here.
25522 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25524 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25525 (gst_base_src_activate_push):
25526 Send discont event from the loop function, as pads
25527 aren't activated yet in the activate_push handler.
25529 * gst/gstbin.c: (bin_bus_handler):
25530 Don't leak element name.
25532 2005-07-18 Andy Wingo <wingo@pobox.com>
25534 * configure.ac: Use AS_LIBTOOL_TAGS.
25536 2005-07-18 Wim Taymans <wim@fluendo.com>
25538 * docs/gst/gstreamer.types:
25539 Remove deleted types.
25541 2005-07-18 Wim Taymans <wim@fluendo.com>
25543 * check/elements/gstfakesrc.c: (GST_START_TEST):
25546 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25547 (init_popt_callback):
25549 * gst/gst_private.h:
25550 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25551 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25554 * gst/gstconfig.h.in:
25555 * gst/gstelement.c: (gst_element_class_init),
25556 (gst_element_set_base_time), (gst_element_get_base_time),
25557 (iterator_fold_with_resync), (gst_element_change_state),
25558 (gst_element_dispose), (gst_element_get_bus):
25559 * gst/gstelement.h:
25560 * gst/gstelementfactory.h:
25561 * gst/gsterror.c: (_gst_core_errors_init):
25564 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25566 * gst/gstinfo.c: (_gst_debug_init):
25567 * gst/gstmessage.c: (_gst_message_copy):
25568 * gst/gstmessage.h:
25569 * gst/gstminiobject.h:
25572 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25573 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25576 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25577 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25578 (gst_pipeline_get_last_stream_time):
25579 * gst/gstpipeline.h:
25580 * gst/gstpluginfeature.h:
25582 * gst/gstscheduler.c:
25583 * gst/gstscheduler.h:
25584 * gst/gststructure.h:
25585 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25586 (gst_task_finalize), (gst_task_func), (gst_task_create),
25587 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25588 (gst_task_stop), (gst_task_pause):
25590 * gst/gsttypefind.h:
25592 * gst/registries/gstlibxmlregistry.c: (load_feature),
25593 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25594 * gst/registries/gstxmlregistry.c:
25595 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25596 * gst/schedulers/threadscheduler.c:
25597 * libs/gst/control/dparammanager.h:
25598 * tools/gst-inspect.c: (print_element_list),
25599 (print_plugin_features), (print_element_features):
25600 * tools/gst-xmlinspect.c: (print_element_list),
25601 (print_plugin_info), (main):
25602 Removed plugable schedulers.
25603 Removed Scheduler/Manager from elements.
25604 Removed gsttypes.h, rearranged includes.
25605 Removed dependency pad<->element, element<>pipeline, and
25606 various others, fix includes.
25607 implement gst_pad_get_parent() with gst_object_get_parent()
25608 Make GstTask sefcontained.
25609 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25611 Fix endless loop in iterator_fold_with_resync.
25614 2005-07-18 Wim Taymans <wim@fluendo.com>
25620 2005-07-18 Wim Taymans <wim@fluendo.com>
25623 No more cothreads.h
25625 2005-07-18 Wim Taymans <wim@fluendo.com>
25629 Let's remove these.
25631 2005-07-18 Wim Taymans <wim@fluendo.com>
25633 * docs/design/part-dynamic.txt:
25634 * docs/design/part-events.txt:
25635 * docs/design/part-seeking.txt:
25636 Some more docs in the works.
25638 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25639 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25640 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25641 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25642 (gst_base_transform_handle_buffer),
25643 (gst_base_transform_sink_activate_push),
25644 (gst_base_transform_src_activate_pull),
25645 (gst_base_transform_set_passthrough),
25646 (gst_base_transform_is_passthrough):
25649 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25652 * gst/gstevent.c: (gst_event_finalize):
25655 * gst/gstutils.c: (gst_element_unlink),
25656 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25657 (gst_pad_proxy_setcaps):
25659 Add _get_parent_element() to get a pads parent as an element.
25661 2005-07-18 Wim Taymans <wim@fluendo.com>
25663 * check/gst/gstbin.c: (GST_START_TEST):
25666 2005-07-18 Wim Taymans <wim@fluendo.com>
25668 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25669 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25670 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25671 (gst_base_sink_event), (gst_base_sink_do_sync),
25672 (gst_base_sink_chain), (gst_base_sink_loop),
25673 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25674 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25676 Fix logic for returning ASYNC when not prerolled.
25678 2005-07-18 Wim Taymans <wim@fluendo.com>
25680 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25681 Fix nasty refcount bug.
25683 2005-07-16 Philippe Khalaf <burger@speedy.org>
25685 * gst/elements/gstfdsrc.c:
25686 * gst/elements/gstfdsrc.h:
25687 * gst/elements/gstelements.c:
25688 * gst/elements/Makefile.am:
25689 Ported fdsrc to 0.9.
25691 2005-07-16 Wim Taymans <wim@fluendo.com>
25693 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25694 (gst_base_sink_do_sync):
25697 2005-07-16 Wim Taymans <wim@fluendo.com>
25699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25700 (gst_base_sink_event), (gst_base_sink_get_times),
25701 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25702 * gst/base/gstbasesink.h:
25703 Store and use discont values when syncing buffers as described
25706 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25707 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25708 (gst_base_src_activate_push):
25709 Push discont event when starting.
25711 * gst/elements/gstidentity.c: (gst_identity_transform):
25714 * gst/gstbin.c: (gst_bin_change_state):
25715 Small cleanups in base_time distribution.
25717 * gst/gstelement.c: (gst_element_set_base_time),
25718 (gst_element_get_base_time), (gst_element_change_state):
25719 * gst/gstelement.h:
25720 Added methods for the base_time of the element.
25723 * gst/gstpipeline.c: (gst_pipeline_send_event),
25724 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25725 (gst_pipeline_get_last_stream_time):
25726 * gst/gstpipeline.h:
25728 Handle seeking as described in design doc, remove stream_time
25730 Cleanups clock and stream_time selection code. Added accessors
25731 for the stream_time.
25734 2005-07-16 Andy Wingo <wingo@pobox.com>
25736 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25739 2005-07-16 Wim Taymans <wim@fluendo.com>
25741 * check/gst/gstbin.c: (GST_START_TEST):
25742 Make elements silent as the deep_notify refs the
25743 parent, which might make the test fail.
25745 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25746 Don't hold the lock for too long.
25748 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25750 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25751 Don't unref the caps we passed to gst_caps_make_writable() after
25752 passing them. gst_caps_make_writable() will do that for us.
25754 2005-07-15 Andy Wingo <wingo@pobox.com>
25756 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25759 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25760 own marshalling function for the handoff signal. Properly type the
25761 buffer as a buffer. Fixes some warnings. Should do a more general
25763 (gst_identity_class_init): Plug into the right marshaller.
25765 2005-07-15 Wim Taymans <wim@fluendo.com>
25767 * docs/design/part-TODO.txt:
25768 * docs/design/part-clocks.txt:
25769 * docs/design/part-element-sink.txt:
25770 * docs/design/part-events.txt:
25771 * docs/design/part-gstpipeline.txt:
25772 Updated docs, mostly DISCONT related.
25774 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25776 * docs/pwg/building-pads.xml:
25777 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25779 2005-07-15 Andy Wingo <wingo@pobox.com>
25781 * tools/gst-typefind.c: Update, add copyright block.
25783 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25784 Normalize and truncate caps before fixation.
25787 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25788 discards all but the first structure from its argument.
25790 2005-07-15 Wim Taymans <wim@fluendo.com>
25792 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25793 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25794 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25795 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25796 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25797 (gst_base_transform_chain), (gst_base_transform_change_state),
25798 (gst_base_transform_set_passthrough),
25799 (gst_base_transform_is_passthrough):
25800 * gst/base/gstbasetransform.h:
25801 Make passthrough work using the bufferpools.
25802 Changed API a bit, subclasses have to write into a buffer
25803 provided by the base class.
25804 More debug info in nego functions.
25806 * gst/elements/gstidentity.c: (gst_identity_init),
25807 (gst_identity_transform):
25808 Port to new base class.
25810 2005-07-15 Wim Taymans <wim@fluendo.com>
25812 * gst/gstmessage.c: (gst_message_new_state_changed):
25813 * tools/gst-launch.c: (event_loop), (main):
25814 Totally dump messages in -launch with the -m option.
25815 Fix message name for State messages,
25817 2005-07-14 Wim Taymans <wim@fluendo.com>
25819 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25820 Post error messages on errors.
25822 2005-07-14 Wim Taymans <wim@fluendo.com>
25824 * gst/gstcaps.c: (gst_caps_do_simplify):
25828 Define error for stream stopped.
25830 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25831 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25832 Do proper return values.
25834 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25835 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25836 (gst_pad_get_range):
25837 Better return values.
25840 Reorganise return values, add macro to check for fatal errors.
25842 * gst/gstqueue.c: (gst_queue_chain):
25843 Return proper GstFlowReturn values,
25845 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25847 * docs/gst/gstreamer-sections.txt:
25848 * docs/gst/gstreamer.types:
25849 * docs/gst/tmpl/gst.sgml:
25850 * docs/gst/tmpl/gstbasesink.sgml:
25851 * docs/gst/tmpl/gstbasesrc.sgml:
25852 * docs/gst/tmpl/gstbasetransform.sgml:
25853 * docs/gst/tmpl/gstbin.sgml:
25854 * docs/gst/tmpl/gstbuffer.sgml:
25855 * docs/gst/tmpl/gstcaps.sgml:
25856 * docs/gst/tmpl/gstclock.sgml:
25857 * docs/gst/tmpl/gstcompat.sgml:
25858 * docs/gst/tmpl/gstconfig.sgml:
25859 * docs/gst/tmpl/gstelement.sgml:
25860 * docs/gst/tmpl/gstelementdetails.sgml:
25861 * docs/gst/tmpl/gstelementfactory.sgml:
25862 * docs/gst/tmpl/gstenumtypes.sgml:
25863 * docs/gst/tmpl/gsterror.sgml:
25864 * docs/gst/tmpl/gstevent.sgml:
25865 * docs/gst/tmpl/gstfakesink.sgml:
25866 * docs/gst/tmpl/gstfakesrc.sgml:
25867 * docs/gst/tmpl/gstfilesink.sgml:
25868 * docs/gst/tmpl/gstfilesrc.sgml:
25869 * docs/gst/tmpl/gstfilter.sgml:
25870 * docs/gst/tmpl/gstformat.sgml:
25871 * docs/gst/tmpl/gstghostpad.sgml:
25872 * docs/gst/tmpl/gstimplementsinterface.sgml:
25873 * docs/gst/tmpl/gstindex.sgml:
25874 * docs/gst/tmpl/gstindexfactory.sgml:
25875 * docs/gst/tmpl/gstinfo.sgml:
25876 * docs/gst/tmpl/gstiterator.sgml:
25877 * docs/gst/tmpl/gstmacros.sgml:
25878 * docs/gst/tmpl/gstmemchunk.sgml:
25879 * docs/gst/tmpl/gstminiobject.sgml:
25880 * docs/gst/tmpl/gstobject.sgml:
25881 * docs/gst/tmpl/gstpad.sgml:
25882 * docs/gst/tmpl/gstpadtemplate.sgml:
25883 * docs/gst/tmpl/gstparse.sgml:
25884 * docs/gst/tmpl/gstpipeline.sgml:
25885 * docs/gst/tmpl/gstplugin.sgml:
25886 * docs/gst/tmpl/gstpluginfeature.sgml:
25887 * docs/gst/tmpl/gstquery.sgml:
25888 * docs/gst/tmpl/gstqueue.sgml:
25889 * docs/gst/tmpl/gstregistry.sgml:
25890 * docs/gst/tmpl/gstregistrypool.sgml:
25891 * docs/gst/tmpl/gstscheduler.sgml:
25892 * docs/gst/tmpl/gstschedulerfactory.sgml:
25893 * docs/gst/tmpl/gststructure.sgml:
25894 * docs/gst/tmpl/gstsystemclock.sgml:
25895 * docs/gst/tmpl/gsttaglist.sgml:
25896 * docs/gst/tmpl/gsttagsetter.sgml:
25897 * docs/gst/tmpl/gsttrace.sgml:
25898 * docs/gst/tmpl/gsttrashstack.sgml:
25899 * docs/gst/tmpl/gsttypefind.sgml:
25900 * docs/gst/tmpl/gsttypefindfactory.sgml:
25901 * docs/gst/tmpl/gsttypes.sgml:
25902 * docs/gst/tmpl/gsturihandler.sgml:
25903 * docs/gst/tmpl/gsturitype.sgml:
25904 * docs/gst/tmpl/gstutils.sgml:
25905 * docs/gst/tmpl/gstvalue.sgml:
25906 * docs/gst/tmpl/gstversion.sgml:
25907 * docs/gst/tmpl/gstxml.sgml:
25908 * docs/libs/tmpl/gstcontrol.sgml:
25909 * docs/libs/tmpl/gstdataprotocol.sgml:
25910 * docs/libs/tmpl/gstdparam.sgml:
25911 * docs/libs/tmpl/gstdplinint.sgml:
25912 * docs/libs/tmpl/gstdpman.sgml:
25913 * docs/libs/tmpl/gstdpsmooth.sgml:
25914 * docs/libs/tmpl/gstgetbits.sgml:
25915 * docs/libs/tmpl/gstunitconvert.sgml:
25916 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25917 (gst_push_src_base_init), (gst_push_src_class_init),
25918 (gst_push_src_init), (gst_push_src_create):
25919 * gst/base/gstpushsrc.h:
25920 * gst/elements/gstelements.c:
25921 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25922 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25923 (gst_fake_sink_init), (gst_fake_sink_set_property),
25924 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25925 (gst_fake_sink_event), (gst_fake_sink_preroll),
25926 (gst_fake_sink_render), (gst_fake_sink_change_state):
25927 * gst/elements/gstfakesink.h:
25928 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25929 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25930 (gst_fake_src_base_init), (gst_fake_src_class_init),
25931 (gst_fake_src_init), (gst_fake_src_event_handler),
25932 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25933 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25934 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25935 (gst_fake_src_create_buffer), (gst_fake_src_create),
25936 (gst_fake_src_start), (gst_fake_src_stop):
25937 * gst/elements/gstfakesrc.h:
25938 * gst/elements/gstfilesink.c: (_do_init),
25939 (gst_file_sink_base_init), (gst_file_sink_class_init),
25940 (gst_file_sink_init), (gst_file_sink_dispose),
25941 (gst_file_sink_set_location), (gst_file_sink_set_property),
25942 (gst_file_sink_get_property), (gst_file_sink_open_file),
25943 (gst_file_sink_close_file), (gst_file_sink_query),
25944 (gst_file_sink_event), (gst_file_sink_render),
25945 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25946 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25947 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25948 * gst/elements/gstfilesink.h:
25949 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25950 (gst_file_src_class_init), (gst_file_src_init),
25951 (gst_file_src_finalize), (gst_file_src_set_location),
25952 (gst_file_src_set_property), (gst_file_src_get_property),
25953 (gst_file_src_map_region), (gst_file_src_map_small_region),
25954 (gst_file_src_create_mmap), (gst_file_src_create_read),
25955 (gst_file_src_create), (gst_file_src_is_seekable),
25956 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25957 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25958 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25959 (gst_file_src_uri_handler_init):
25960 * gst/elements/gstfilesrc.h:
25961 more autistic cleanliness in functions/names/defines
25963 2005-07-13 Andy Wingo <wingo@pobox.com>
25965 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25966 source couldn't negotiate.
25968 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25972 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25973 function. I am channeling Hades. Put your boots on suckers!!!
25975 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25977 * testsuite/caps/Makefile.am:
25978 * testsuite/caps/value_compare.c:
25979 * testsuite/caps/value_intersect.c:
25980 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25981 move two testsuite apps over to the check dir
25983 2005-07-12 Wim Taymans <wim@fluendo.com>
25985 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25986 Added more debug info in the negotiate process.
25988 * gst/gstmessage.h:
25989 Prepare for segment playback.
25991 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25997 * tools/gst-launch.c: (main):
25998 NULL pipeline on errors.
26000 2005-07-12 Andy Wingo <wingo@pobox.com>
26002 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26003 not it comes from a malloc region. Make sure our copy gets freed.
26005 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26007 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26008 * check/gst/gstmessage.c: (GST_START_TEST):
26009 * check/gst/gststructure.c: (GST_START_TEST),
26010 (gst_structure_suite), (main):
26012 * gst/gstelement.c: (gst_element_message_full):
26013 clean up GError and debug string now that they get copied
26014 * gst/gstmessage.c: (gst_message_new_error),
26015 (gst_message_new_warning), (gst_message_parse_error),
26016 (gst_message_parse_warning):
26017 use GST_TYPE_G_ERROR for structure_new, and take copies of
26018 arguments, so that we don't mess up refcounting
26020 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26022 * check/Makefile.am:
26023 add per-test valgrind targets
26024 * check/gst-libs/gdp.c: (GST_START_TEST),
26025 (gst_data_protocol_suite), (main):
26028 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26030 * check/Makefile.am:
26031 instate more valgrindable tests
26032 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26033 (GST_START_TEST), (fakesrc_suite):
26034 * check/gst/gstpad.c: (GST_START_TEST):
26035 * check/gst/gststructure.c: (GST_START_TEST):
26037 * docs/gst/tmpl/gstminiobject.sgml:
26038 * gst/gstpad.c: (gst_pad_finalize):
26039 fix the static mutex leak
26041 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26043 * check/Makefile.am:
26044 add two more tests for valgrinding
26045 * check/gst/gstvalue.c: (GST_START_TEST):
26046 test refcount of deserialized buffer, found a leak
26047 * docs/gst/gstreamer-docs.sgml:
26048 * docs/gst/gstreamer-sections.txt:
26049 * docs/gst/gstreamer.types:
26050 * docs/gst/tmpl/gstminiobject.sgml:
26051 add miniobject to docs
26052 * gst/gstminiobject.c:
26054 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26055 (gst_string_unwrap):
26056 fix a hard-to-find invalid write for one of the tests
26057 fix a leak for deserialized buffers
26059 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26061 * docs/pwg/advanced-events.xml:
26062 * docs/pwg/advanced-request.xml:
26063 * docs/pwg/advanced-scheduling.xml:
26064 * docs/pwg/appendix-porting.xml:
26065 * docs/pwg/building-boiler.xml:
26066 * docs/pwg/intro-preface.xml:
26067 * docs/pwg/other-ntoone.xml:
26068 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26069 of example code and explanation for pad activation, loop() and
26070 getrange() functions and a bit more. Remove old comments pointing
26072 * examples/pwg/Makefile.am:
26073 Add loop/getrange examples.
26075 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26078 check for valgrind binary + some fixes
26080 valgrind suppressions for the tests
26081 * check/Makefile.am:
26082 add a valgrind: target that valgrinds the unit tests
26083 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26084 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26085 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26086 * check/gst/gstghostpad.c:
26088 * check/gst/gstdata.c:
26090 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26091 (thread_unref), (gst_mini_object_suite), (main):
26093 * gst/gst.c: (gst_deinit):
26095 add a method to clean up.
26096 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26097 (gst_system_clock_obtain):
26098 allow for disposing the system clock.
26099 * tools/gst-launch.c: (main):
26102 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26104 * docs/gst/tmpl/gstbasesrc.sgml:
26105 * docs/gst/tmpl/gstfakesrc.sgml:
26106 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26107 (gst_base_src_init), (gst_base_src_set_property),
26108 (gst_base_src_get_property), (gst_base_src_get_range),
26109 (gst_base_src_start):
26110 * gst/base/gstbasesrc.h:
26111 add num-buffers property
26112 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26113 (gst_fakesrc_init), (gst_fakesrc_set_property),
26114 (gst_fakesrc_get_property), (gst_fakesrc_create),
26115 (gst_fakesrc_start):
26116 remove num-buffers property
26118 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26120 * docs/gst/gstreamer-sections.txt:
26121 * docs/gst/tmpl/gstbasesink.sgml:
26122 * docs/gst/tmpl/gstbasesrc.sgml:
26123 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26124 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26125 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26126 (gst_base_sink_set_property), (gst_base_sink_get_property),
26127 (gst_base_sink_handle_object), (gst_base_sink_event),
26128 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26129 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26130 (gst_base_sink_loop), (gst_base_sink_deactivate),
26131 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26132 (gst_base_sink_change_state):
26133 * gst/base/gstbasesink.h:
26134 * gst/base/gstbasesrc.h:
26135 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26136 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26137 (gst_filesink_init):
26138 more macro splitting
26140 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26142 * gst/gstelement.c: (gst_element_get_bus):
26144 * tools/gst-launch.c: (check_intr), (event_loop):
26147 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26149 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26152 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26154 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26155 (gst_base_src_finalize):
26156 add finalize method and clean up properly
26157 * gst/gstpipeline.c: (gst_pipeline_dispose):
26160 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26162 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26164 add more things to check
26165 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26166 * gst/gstelement.c:
26169 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26171 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26172 (GST_START_TEST), (fakesrc_suite):
26173 * check/gst-libs/gdp.c: (GST_START_TEST):
26174 * check/gst/gst.c: (GST_START_TEST):
26175 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26176 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26177 * check/gst/gstbus.c: (GST_START_TEST):
26178 * check/gst/gstcaps.c: (GST_START_TEST):
26179 * check/gst/gstdata.c: (GST_START_TEST):
26180 * check/gst/gstelement.c: (GST_START_TEST):
26181 * check/gst/gstghostpad.c: (GST_START_TEST):
26182 * check/gst/gstiterator.c: (GST_START_TEST):
26183 * check/gst/gstmessage.c: (GST_START_TEST):
26184 * check/gst/gstobject.c: (GST_START_TEST):
26185 * check/gst/gstpad.c: (GST_START_TEST):
26186 * check/gst/gststructure.c: (GST_START_TEST):
26187 * check/gst/gstsystemclock.c: (GST_START_TEST),
26188 (gst_systemclock_suite):
26189 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26190 * check/gst/gstvalue.c: (GST_START_TEST):
26191 * check/pipelines/cleanup.c: (GST_START_TEST):
26192 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26193 * check/states/sinks.c: (GST_START_TEST):
26194 * check/gstcheck.c: (gst_check_init):
26195 * check/gstcheck.h:
26196 add debugging category
26197 use GST_START_TEST now, so we add a debug line
26199 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26201 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26202 add test for state change message on a bin
26203 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26205 * gst/gstbin.c: (gst_bin_init):
26206 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26207 * gst/gstelement.c: (gst_element_post_message),
26208 (gst_element_set_state):
26209 * gst/gstelementfactory.c: (gst_element_factory_create):
26210 * gst/gstmessage.c: (gst_message_new):
26211 * gst/gstscheduler.c:
26212 various debugging additions and cleanups
26214 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26216 * check/Makefile.am:
26217 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26219 adding tests for elements
26220 * gst/gstelement.c: (gst_element_dispose):
26222 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26224 * gst/registries/gstlibxmlregistry.c: (load_feature):
26225 plug more leaks. A simple gst_init() now is leakfree, yay.
26227 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26229 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26230 (gst_xml_registry_load):
26231 plug another memleak
26233 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26236 use GST_SET_ERROR_CFLAGS
26237 * docs/faq/cvs.xml:
26238 change to ERROR_CFLAGS
26240 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26243 make GST_ERROR_CFLAGS overridable and re-enable Werror
26244 * docs/faq/cvs.xml:
26245 add a note about error CFLAGS
26246 * docs/gst/tmpl/gstfakesrc.sgml:
26247 * gst/elements/gstfakesrc.c:
26248 comment out some unused code
26249 * gst/gst.c: (split_and_iterate):
26250 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26254 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26256 * common/Makefile.am:
26257 * common/gtk-doc.mak:
26258 * docs/gst/Makefile.am:
26259 factor out gtk-doc.mak
26261 2005-07-07 Wim Taymans <wim@fluendo.com>
26263 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26264 (gst_thread_scheduler_dispose):
26265 Unlock the STREAM_LOCK completely.
26267 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26269 * check/Makefile.am:
26270 * check/elements/.cvsignore:
26271 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26272 (START_TEST), (fakesrc_suite), (main):
26273 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26274 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26275 (gst_fakesrc_create), (gst_fakesrc_start):
26276 * gst/elements/gstfakesrc.h:
26277 adding a first element test
26279 2005-07-07 Andy Wingo <wingo@pobox.com>
26281 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26284 2005-07-07 Wim Taymans <wim@fluendo.com>
26290 2005-07-07 Wim Taymans <wim@fluendo.com>
26292 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26293 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26294 Allow subclasses to implement their own negotiation.
26296 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26298 * docs/design/part-gstbin.txt:
26299 * docs/design/part-gstpipeline.txt:
26300 Update design notes to reflect the movement of
26301 responsibility for bus handling from GstPipeline to
26304 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26307 Remove unnecessary queue2/3/4 examples.
26309 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26311 * examples/Makefile.am:
26312 * examples/helloworld/helloworld.c: (event_loop), (main):
26313 * examples/queue/queue.c: (event_loop), (main):
26314 * examples/queue2/queue2.c: (main):
26315 Update a couple of the examples to work again.
26317 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26318 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26319 Spelling corrections and extra debug.
26321 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26322 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26323 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26325 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26326 (gst_pipeline_change_state):
26327 * gst/gstpipeline.h:
26328 Move the bus handler for children to the GstBin, and create a
26329 separate bus for receiving messages from children to the one the
26330 bus sends 'upwards' on.
26332 2005-07-06 Wim Taymans <wim@fluendo.com>
26335 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26336 (gst_base_sink_handle_object), (gst_base_sink_loop),
26337 (gst_base_sink_change_state):
26338 * gst/base/gstbasesink.h:
26339 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26340 (gst_base_src_init), (gst_base_src_setcaps),
26341 (gst_base_src_getcaps), (gst_base_src_loop),
26342 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26343 (gst_base_src_start), (gst_base_src_change_state):
26344 * gst/base/gstbasesrc.h:
26345 Make basesrc negotiate.
26346 Handle the case where preroll fails in basesink.
26349 2005-07-06 Wim Taymans <wim@fluendo.com>
26351 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26352 Implement the fixate function.
26353 Clean up acceptcaps.
26355 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26357 * docs/pwg/building-filterfactory.xml:
26358 * docs/pwg/pwg.xml:
26359 Remove never-written filter-factory chapter; I'll add the various
26360 base classes to part 4 ("other element types") later on.
26362 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26364 * docs/pwg/advanced-negotiation.xml:
26365 * docs/pwg/building-boiler.xml:
26366 * docs/pwg/building-pads.xml:
26367 * docs/pwg/pwg.xml:
26368 * examples/pwg/Makefile.am:
26369 Add a chapter on caps negotiation, simplify the original code
26370 samples a bit w.r.t. caps negotiation, add link to the advanced
26371 section. Add a bunch of examples showing different use cases of
26372 different types of caps negotiation. Upstream renegotiation isn't
26373 fully documented yet since nobody knows how that works.
26375 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26377 * check/gst/gstpad.c:
26378 * check/gstcheck.c:
26379 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26380 if pad has no parent, return NULL as list of internal links
26382 2005-07-05 Andy Wingo <wingo@pobox.com>
26384 * gst/elements/gstfilesrc.c:
26385 * gst/elements/gstfakesrc.c:
26386 * gst/base/gstpushsrc.c:
26387 * gst/base/gstbasesrc.h:
26388 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26390 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26393 better report generation target (lcov needs a patch)
26395 2005-07-05 Andy Wingo <wingo@pobox.com>
26397 * gst/elements, testsuite: Null if we got it...
26399 2005-07-05 Wim Taymans <wim@fluendo.com>
26402 * libs/gst/dataprotocol/Makefile.am:
26403 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26404 * libs/gst/dataprotocol/dataprotocol.h:
26405 * pkgconfig/Makefile.am:
26406 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26407 * pkgconfig/gstreamer-dataprotocol.pc.in:
26408 Ported dataprotol to 0.9.
26409 Added pkgconfig files.
26411 2005-07-05 Andy Wingo <wingo@pobox.com>
26413 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26414 Default to returning TRUE for the case when tranform_caps returns
26415 a fixed caps, like for identity or volume.
26417 * check/gst/gstbus.c (pound_bus_with_messages):
26418 * check/gst/gstmessage.c (START_TEST):
26419 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26420 message API change.
26422 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26423 logic weaks here: always run transform_caps, trying passthrough
26424 operation only if the original caps intersects with the transform.
26426 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26427 source and sink caps.
26429 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26430 Intersect the peer caps with the pad template before going into
26432 (gst_base_transform_transform_caps): More debugging.
26434 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26437 2005-07-04 Edward Hervey <edward@fluendo.com>
26441 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26444 2005-07-04 Andy Wingo <wingo@pobox.com>
26446 * check/gst/gstpad.c: Only set explicit caps on pads.
26448 2005-07-01 Andy Wingo <wingo@pobox.com>
26450 * tests/network-clock.scm: Commentary update.
26452 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26453 Didn't really make sense, not implementable with basetransform,
26455 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26456 attempt at implementing the sync property, needs an unlock method.
26458 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26459 New func, by default returns the same caps (the identity
26461 (gst_base_transform_getcaps): Uses transform_caps to return
26462 something sensible.
26463 (gst_base_transform_setcaps): Complicated logic to get caps on
26464 both pads, even if they are different, and to call set_caps once
26465 for every time both pads get their caps set.
26466 (gst_base_transform_handle_buffer): Give the ref to the transform
26467 function. Allows in-place modification of the buffer.
26469 * gst/base/gstbasetransform.h (transform_caps): New class method.
26470 Given caps on one side, what can I do on the other.
26471 (set_caps): Take two caps, one for each side of the element.
26474 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26475 caps in place. This is safe because we can check the mutability of
26476 the caps, and a good idea because fixate functions are just called
26477 as a matter of last resort. (Not actually implemented.)
26478 (gst_pad_set_caps): If the caps we're setting is actually the same
26479 as the existing pad caps, just update the pointer without calling
26480 setcaps. Assert that caps is either NULL or fixed, as per the
26483 * gst/gstghostpad.c: Update for fixate changes.
26485 2005-07-02 Andy Wingo <wingo@pobox.com>
26488 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26489 two refcounts makes it immutable, which is enough. Doc more.
26491 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26493 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26494 Put the mini_object into GValue as a mini_object,
26495 not a gpointer, since that's how we declared
26498 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26500 * examples/pwg/Makefile.am:
26501 Fix buildbot again.
26503 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26505 * docs/pwg/building-testapp.xml:
26507 * examples/pwg/Makefile.am:
26510 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26513 * examples/Makefile.am:
26514 * examples/pwg/Makefile.am:
26515 * examples/pwg/extract.pl:
26516 Enable building the PWG examples.
26517 * docs/pwg/advanced-interfaces.xml:
26518 Add URI interface stub.
26519 * docs/pwg/advanced-types.xml:
26520 * docs/pwg/other-autoplugger.xml:
26521 * docs/pwg/appendix-porting.xml:
26522 * docs/pwg/pwg.xml:
26523 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26524 * docs/pwg/building-boiler.xml:
26525 * docs/pwg/building-chainfn.xml:
26526 * docs/pwg/building-pads.xml:
26527 * docs/pwg/building-props.xml:
26528 * docs/pwg/building-state.xml:
26529 * docs/pwg/building-testapp.xml:
26530 Update the building-*.xml parts for 0.9 changes. All examples
26531 code blocks compile in examples/pwg/*.
26533 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26535 * docs/manual/advanced-autoplugging.xml:
26536 * docs/manual/appendix-checklist.xml:
26537 * docs/manual/appendix-integration.xml:
26538 * docs/manual/highlevel-components.xml:
26539 Fix playbin/decodebin examples, update docs a bit, mention bus
26540 instead of signals in various places, mention kmplayer and
26541 kaffeine since they have a working GStreamer backend in the KDE
26544 2005-06-30 Wim Taymans <wim@fluendo.com>
26547 * docs/design/draft-ghostpads.txt:
26548 * docs/design/draft-push-pull.txt:
26549 * docs/design/draft-query.txt:
26550 * docs/design/part-TODO.txt:
26551 * docs/design/part-query.txt:
26552 Added CHANGES-0.9 doc, updated status of other docs.
26557 2005-06-30 Wim Taymans <wim@fluendo.com>
26559 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26560 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26561 (gst_base_sink_change_state):
26562 * gst/base/gstbasesink.h:
26563 Some tweaks, only EOS and a buffer complete a preroll.
26565 2005-06-30 Andy Wingo <wingo@pobox.com>
26567 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26568 activate_push down to the internal pad as well.
26570 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26572 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26574 * gst/gsttaginterface.c:
26575 Some documentation fixes (#307394 and #307397).
26577 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26579 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26581 * gst/gstvalue.c: (gst_value_intersect_list):
26582 Fix memleak (#309125).
26584 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26586 * docs/manual/advanced-dataaccess.xml:
26587 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26588 * docs/manual/basics-pads.xml:
26589 Add reference for filtered caps to above chapter.
26591 2005-06-30 Wim Taymans <wim@fluendo.com>
26593 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26594 (gst_bin_change_state):
26596 Lame attempt at making the state change function a bit
26599 2005-06-30 Wim Taymans <wim@fluendo.com>
26601 * docs/design/part-clocks.txt:
26602 * docs/design/part-element-sink.txt:
26603 * docs/design/part-events.txt:
26604 * docs/design/part-preroll.txt:
26605 * docs/design/part-states.txt:
26606 Some more tweeks and additions to the docs.
26608 2005-06-30 Wim Taymans <wim@fluendo.com>
26610 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26611 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26612 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26613 (gst_pad_check_pull_range), (gst_pad_get_range),
26614 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26616 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26617 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26618 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26619 (gst_pad_remove_buffer_probe):
26620 Removed atomic operations, use existing LOCK.
26621 Move exception handling out of main code path.
26623 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26625 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26626 (silly_return_true_function), (gst_pad_class_init),
26627 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26628 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26629 (gst_pad_send_event):
26630 Fix accumulator, add default value by using _emitv() instead
26631 of _emit() for signal emission.
26633 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26635 * docs/manual/advanced-dataaccess.xml:
26636 * examples/manual/Makefile.am:
26638 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26641 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26643 * gst/elements/gstfilesink.c: (gst_filesink_render):
26644 Simplify code so that we don't have to handle short
26645 writes and return GST_FLOW_ERROR if an error occured.
26647 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26649 * docs/gst/gstreamer-docs.sgml:
26650 Remove probes more.
26652 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26654 * docs/gst/gstreamer-sections.txt:
26655 * docs/gst/tmpl/gstpad.sgml:
26656 * docs/gst/tmpl/gstprobe.sgml:
26658 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26659 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26660 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26661 (gst_pad_push_event), (gst_pad_send_event):
26663 * gst/gstutils.c: (gst_pad_add_data_probe),
26664 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26665 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26666 (gst_pad_remove_buffer_probe):
26668 Remove old probes, add new g-signal-based probes and some utility
26671 2005-06-29 Edward Hervey <edward@fluendo.com>
26673 * gst/gstelementfactory.c:
26676 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26677 the definition to the header file.
26679 2005-06-29 Andy Wingo <wingo@pobox.com>
26681 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26682 plugins from the source directory.
26684 2005-06-29 Wim Taymans <wim@fluendo.com>
26686 * docs/gst/tmpl/gstbuffer.sgml:
26687 * docs/gst/tmpl/gstclock.sgml:
26688 Some fixings for blantently wrong text.
26690 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26692 * check/Makefile.am:
26693 * gst/gst.c: (add_path_func), (init_pre):
26694 * gst/gstregistry.c: (gst_registry_add_path):
26695 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26696 only scan the GST_PLUGIN_PATH locations, and not add
26699 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26701 * docs/gst/gstreamer-sections.txt:
26702 * docs/gst/tmpl/gstbasesrc.sgml:
26703 * gst/gstelement.c:
26704 * gst/gstelement.h:
26709 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26711 * docs/manual/advanced-autoplugging.xml:
26712 Fix autoplugging example.
26714 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26716 * docs/manual/advanced-autoplugging.xml:
26717 * docs/manual/mime-world.fig:
26718 Try to get autoplugging working, fix type detection. Fix text
26719 in hello-world image.
26721 2005-06-29 Wim Taymans <wim@fluendo.com>
26723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26724 (gst_base_sink_change_state):
26728 map SIGNAL and BROADCAST to the right function.
26731 Remove redundant braces.
26733 * gst/gstpad.c: (gst_pad_set_caps):
26734 Don't call setcaps function when reseting caps to NULL.
26736 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26737 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26738 (gst_system_clock_id_unschedule):
26739 Use BROADCAST as this is what we do.
26741 2005-06-29 Wim Taymans <wim@fluendo.com>
26743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26744 We are actually prerolling before commiting the state
26747 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26749 * docs/manual/advanced-clocks.xml:
26750 * docs/manual/advanced-interfaces.xml:
26751 * docs/manual/advanced-metadata.xml:
26752 * docs/manual/advanced-position.xml:
26753 * docs/manual/advanced-schedulers.xml:
26754 * docs/manual/advanced-threads.xml:
26755 * docs/manual/appendix-porting.xml:
26756 * docs/manual/basics-bins.xml:
26757 * docs/manual/basics-bus.xml:
26758 * docs/manual/basics-elements.xml:
26759 * docs/manual/basics-helloworld.xml:
26760 * docs/manual/basics-pads.xml:
26761 * docs/manual/highlevel-components.xml:
26762 * docs/manual/manual.xml:
26763 * docs/manual/thread.fig:
26764 Update (until threads/scheduling) Application Development Manual;
26765 remove GstThread, add GstBus, add simple porting checklist, add
26766 documentation for tag writing, clocks, make all examples until this
26767 part compile and run.
26768 * examples/manual/Makefile.am:
26769 Update from changes to Application Development Manual; add bus
26770 example, remove thread example.
26772 2005-06-28 Wim Taymans <wim@fluendo.com>
26774 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26775 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26776 (gst_bus_source_dispatch):
26777 Add debugging messages.
26778 Make internal methods static.
26779 Handle the case where the bus is flushed in the handler.
26781 * gst/gstelement.c: (gst_element_get_bus):
26782 Fix refcount in _get_bus();
26784 * gst/gstpipeline.c: (gst_pipeline_change_state),
26785 (gst_pipeline_get_clock_func):
26786 Clock refcounting fixes.
26787 Handle the case where preroll timed out more gracefully.
26789 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26790 Clean up the internal thread in dispose. This is needed
26791 for subclasses that actually get disposed.
26793 * gst/schedulers/threadscheduler.c:
26794 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26795 (gst_thread_scheduler_dispose):
26796 Free thread pool in dispose.
26798 2005-06-28 Andy Wingo <wingo@pobox.com>
26800 * tests/network-clock-utils.scm (debug, print-event): New utils.
26802 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26803 (*packet-loss*): Unified loss probability.
26804 (network-time): Report out-of-band events.
26806 * tests/plot-data: Add support for out-of-band events. Hack it
26807 into this script instead of passing it down the pipe; should fix
26810 2005-06-28 Wim Taymans <wim@fluendo.com>
26812 * docs/gst/gstreamer.types:
26813 * docs/gst/tmpl/gstbasesrc.sgml:
26814 * docs/gst/tmpl/gstpad.sgml:
26817 2005-06-28 Wim Taymans <wim@fluendo.com>
26819 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26820 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26821 (gst_proxy_pad_do_fixatecaps):
26822 Correctly proxy the check_pull_range function.
26824 2005-06-28 Andy Wingo <wingo@pobox.com>
26826 * tests/network-clock.scm: Removed need for slib.
26828 2005-06-28 Wim Taymans <wim@fluendo.com>
26830 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26831 (gst_basesink_preroll_queue_flush):
26832 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26833 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26834 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26835 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26836 (gst_proxy_pad_set_property):
26839 * gst/gstqueue.c: (gst_queue_init):
26840 The deprecated pad loop function is removed now.
26842 2005-06-28 Andy Wingo <wingo@pobox.com>
26844 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26845 New parameters, simulate network packet loss.
26847 * tests/network-clock-utils.scm: Initialize the RNG.
26849 2005-06-28 Wim Taymans <wim@fluendo.com>
26851 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26852 (gst_basesink_event), (gst_basesink_deactivate):
26853 Flushing the preroll queue always needs to unlock the waiters.
26855 2005-06-28 Edward Hervey <edward@fluendo.com>
26857 * gst/gstpipeline.c: (gst_pipeline_send_event):
26858 Wheen a seek was successful on a pipeline, set the stream_time to the
26859 seek offset in order to have a synchronized stream_time.
26861 2005-06-28 Wim Taymans <wim@fluendo.com>
26863 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26864 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26865 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26866 (gst_proxy_pad_do_fixatecaps):
26867 Call wrapper function instead of just calling the function
26868 pointers. This takes care of any locking and whatmore.
26870 2005-06-28 Wim Taymans <wim@fluendo.com>
26872 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26873 (gst_pad_pull_range):
26875 CONNECTED -> LINKED.
26877 2005-06-28 Andy Wingo <wingo@pobox.com>
26879 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26880 source-munging commit!!!
26882 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26883 (gst_object_sink): Take gpointer arguments, not GstObject --
26884 avoids casts. Like GLib.
26886 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26889 2005-06-27 Andy Wingo <wingo@pobox.com>
26891 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26894 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26895 returns a sorted copy of the trace list.
26896 (gst_alloc_trace_print_live): New API, only prints traces with
26897 live objects. Sort the list.
26898 (gst_alloc_trace_print_all): Sort the list.
26899 (gst_alloc_trace_print): Align columns.
26901 * gst/elements/gstttypefindelement.c:
26902 * gst/elements/gsttee.c:
26903 * gst/base/gstbasesrc.c:
26904 * gst/base/gstbasesink.c:
26905 * gst/base/gstbasetransform.c:
26906 * gst/gstqueue.c: Adapt for pad activation changes.
26908 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26910 (gst_pipeline_dispose): Drop ref on sched.
26912 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26913 (gst_pad_activate_default): Push mode by default.
26914 (pre_activate_switch, post_activate_switch): New stubs, things to
26915 do before and after switching activation modes on pads.
26916 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26917 the pad's activate function to choose which mode to activate.
26918 Shortcut on deactivation and call the right function directly.
26919 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26921 (gst_pad_activate_push): New API, same for push mode.
26922 (gst_pad_set_activate_function)
26923 (gst_pad_set_activatepull_function)
26924 (gst_pad_set_activatepush_function): Setters for new API.
26926 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26927 Trace all miniobjects.
26928 (gst_mini_object_make_writable): Unref the arg if we copy, like
26929 gst_caps_make_writable.
26931 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26933 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26934 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26935 Adapt for new pad API.
26937 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26939 * gst/gstelement.h:
26940 * gst/gstelement.c (gst_element_iterate_src_pads)
26941 (gst_element_iterate_sink_pads): New API functions.
26943 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26944 should fold into gstiterator.c in some form.
26945 (gst_element_pads_activate): Simplified via use of fold and
26946 delegation of decisions to gstpad->activate.
26948 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26951 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26952 class once in init, like gstmessage. Didn't run into this issue
26953 but it seems correct. Don't initialize a trace, gstminiobject does
26956 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26957 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26959 (assert_live_count): New util function, uses alloc traces to check
26962 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26963 To be modified when unlink drops the internal pad.
26965 2005-06-27 Wim Taymans <wim@fluendo.com>
26967 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26968 (gst_bin_change_state):
26969 Cleanup the get_state() function a little, make sure it
26970 iterates the same set of elements.
26971 Added stub iterate_state_order().
26973 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26975 * docs/gst/gstreamer-docs.sgml:
26976 * docs/gst/gstreamer-sections.txt:
26977 * docs/gst/gstreamer.types:
26978 * docs/gst/tmpl/gstbasesink.sgml:
26979 * docs/gst/tmpl/gstbasesrc.sgml:
26980 * docs/gst/tmpl/gstbasetransform.sgml:
26981 * docs/gst/tmpl/gstelement.sgml:
26982 * docs/gst/tmpl/gstiterator.sgml:
26983 * gst/base/gstbasesrc.c:
26984 * gst/base/gstbasesrc.h:
26985 * gst/base/gstbasetransform.h:
26986 * gst/gstelement.c:
26987 * gst/gstiterator.h:
26988 adding basetransform and iterator docs
26990 2005-06-27 Andy Wingo <wingo@pobox.com>
26992 * docs/design/part-activation.txt: Notes on how activation should
26993 work -- not quite implemented yet.
26995 2005-06-25 Wim Taymans <wim@fluendo.com>
26997 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26998 At least get the chain function correct, needs more
27001 2005-06-25 Wim Taymans <wim@fluendo.com>
27003 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27004 (gst_basesink_handle_object), (gst_basesink_event),
27005 (gst_basesink_do_sync), (gst_basesink_handle_event),
27006 (gst_basesink_change_state):
27008 Right, two problems here: ghostpads don't take locks and
27009 glib _rec_mutex_lock_full() with depth==0 still locks.
27010 Catch illegal locking and g_warn them.
27012 2005-06-25 Wim Taymans <wim@fluendo.com>
27014 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27015 Have to check for completion now...
27017 2005-06-25 Wim Taymans <wim@fluendo.com>
27019 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27020 (gst_basesink_handle_object), (gst_basesink_event),
27021 (gst_basesink_do_sync), (gst_basesink_handle_event),
27022 (gst_basesink_change_state):
27024 Unlock STREAM_LOCK whatever the recursion was.
27026 2005-06-25 Wim Taymans <wim@fluendo.com>
27028 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27029 (gst_basesink_preroll_queue_empty),
27030 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27031 (gst_basesink_event), (gst_basesink_do_sync),
27032 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27033 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27034 (gst_basesink_change_state):
27035 Reworked the base sink, handle event and buffer serialisation
27036 correctly and removed possible deadlock.
27037 Handle EOS correctly.
27039 2005-06-25 Wim Taymans <wim@fluendo.com>
27041 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27042 (gst_pipeline_change_state):
27043 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27044 Allow elements to post EOS in the state change function.
27045 Fix up -launch, make it exit the poll loop when the
27046 pipeline actually changed state.
27047 Fix up warning parsing in -launch.
27049 2005-06-25 Wim Taymans <wim@fluendo.com>
27051 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27052 (gst_tee_sink_activate):
27053 Core takes STREAM_LOCK for us now.
27055 2005-06-25 Wim Taymans <wim@fluendo.com>
27057 * gst/gstelement.c: (gst_element_get_state_func),
27058 (gst_element_set_state):
27059 * gst/gstelement.h:
27060 * gst/gstmessage.c: (gst_message_parse_error),
27061 (gst_message_parse_warning):
27062 Keep track of current target state while performing a state
27063 change so that subclasses can do something interesting.
27064 Fix parsing of warning/error messages when GError is NULL.
27066 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27068 * docs/gst/Makefile.am:
27069 * docs/gst/gstreamer-docs.sgml:
27070 * docs/gst/gstreamer-sections.txt:
27071 * docs/gst/gstreamer.types:
27072 * docs/gst/tmpl/gstbasesink.sgml:
27073 * docs/gst/tmpl/gstbasesrc.sgml:
27074 * docs/gst/tmpl/gstbin.sgml:
27075 * docs/gst/tmpl/gstcompat.sgml:
27076 * docs/gst/tmpl/gstfakesink.sgml:
27077 * docs/gst/tmpl/gstfakesrc.sgml:
27078 * docs/gst/tmpl/gstfilesink.sgml:
27079 * docs/gst/tmpl/gstfilesrc.sgml:
27080 * docs/gst/tmpl/gstindex.sgml:
27081 * docs/manual/appendix-quotes.xml:
27082 * gst/base/gstbasesrc.h:
27083 * gst/elements/gstfakesrc.h:
27084 * gst/gstmessage.h:
27085 start pulling in base classes and elements in our docs
27087 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27089 * docs/gst/Makefile.am:
27090 * docs/libs/Makefile.am:
27091 fixed make distcheck with gtk-doc 1.3
27093 2005-06-23 Wim Taymans <wim@fluendo.com>
27095 * gst/gstelement.c: (gst_element_get_state_func),
27096 (gst_element_set_state), (gst_element_change_state):
27097 When the state did not change, also report NO_PREROLL
27100 2005-06-23 Wim Taymans <wim@fluendo.com>
27102 * gst/gstpad.c: (gst_pad_event_default):
27103 * gst/gstqueue.c: (gst_queue_loop):
27104 No unsafe task pausing please.
27106 2005-06-23 Wim Taymans <wim@fluendo.com>
27108 * gst/schedulers/threadscheduler.c:
27109 (gst_thread_scheduler_task_start),
27110 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27111 Ref the task before pushing it on the threadpool. This
27112 makes sure that we have a ref when the threadfunction is
27115 2005-06-23 Andy Wingo <wingo@pobox.com>
27117 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27118 offset is greater than the file's size.
27120 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27121 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27122 * gst/gstobject.c (gst_object_class_init): Make the class lock
27123 recursive. Wim won't let me drop deep_notify. Decodebin works
27124 again, whoopdy doo.
27126 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27127 internal pad, and hacks accordingly. Doesn't do it on the target
27128 pad because we change its caps. Probably catches all cases of
27130 (gst_ghost_pad_set_property): Connect to notify::caps as
27133 * tests/network-clock.scm (plot-simulation): Pipe data to the
27134 elite python skript.
27136 * tests/network-clock-utils.scm (define-parameter): New macro,
27137 defines a parameter that can be set via the command line.
27138 (set-parameter!, parse-parameter-arguments): Command line args
27141 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27144 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27146 * gst/elements/gsttypefindelement.c:
27147 (gst_type_find_element_handle_event):
27148 Don't restart typefinding on a discont.
27149 * gst/gstelement.c: (gst_element_set_state):
27150 Debug spelling fix.
27151 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27152 Allow changing mode of an active pad.
27153 Debug output fixes.
27154 * gst/registries/gstlibxmlregistry.c: (load_feature):
27155 Don't cast a static pad template to a normal pad template.
27157 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27159 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27160 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27161 remove gst_strtoll completely, since it didn't actually do
27162 anything more than what g_ascii_strtoull already does.
27163 check for range errors when deserializing
27164 do a cast for the unsigned cases; but further fixing needs
27165 a decision on what the interpretation of "(int)" and
27166 deserialization should be for values that fall outside the
27167 type's boundaries (ie, refuse, or interpret as casting)
27169 2005-06-23 Wim Taymans <wim@fluendo.com>
27171 * check/Makefile.am:
27172 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27173 * docs/design/part-live-source.txt:
27174 * docs/design/part-states.txt:
27175 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27176 (gst_basesrc_set_live), (gst_basesrc_is_live),
27177 (gst_basesrc_get_range), (gst_basesrc_activate),
27178 (gst_basesrc_change_state):
27179 * gst/base/gstbasesrc.h:
27180 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27181 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27182 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27183 * gst/gstelement.c: (gst_element_get_state_func),
27184 (gst_element_set_state):
27185 * gst/gstelement.h:
27187 * tools/gst-launch.c: (event_loop), (main):
27188 Added support for live sources and other elements that
27190 Updated design docs, added live-source design doc.
27191 Implemented live source functionality in basesrc
27192 Fix error condition in _bin_get_state()
27193 Implement live source handling in -launch.
27194 Added check for live sources.
27195 Fixed case in GstBin where elements were changed state
27199 2005-06-23 Andy Wingo <wingo@pobox.com>
27201 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27202 borken refcounting.
27204 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27205 gst_caps_replace takes care of this for us.
27207 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27208 gst_pad_set_caps on the target, not just its setcaps() function.
27210 * tests/network-clock.scm:
27211 * tests/network-clock-utils.scm: A network clock simulator.
27212 Something of an algorithmic testbed before doing something in C.
27214 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27216 * check/Makefile.am:
27217 * check/gst/capslist.h:
27218 copy over from 0.8, and add two with bitmasks specified with
27220 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27221 add test to parse everything from capslist.h
27222 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27224 add test for structure deserialization
27225 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27226 add tests for deserialization of strings to int types
27227 * gst/gststructure.c: (gst_structure_nth_field_name):
27228 * gst/gststructure.h:
27229 add a way to get the name of a field referenced by index
27230 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27231 instead of checking if the resulting long long lies between
27232 min and max, we check if the long long would fit into
27233 a number of bytes for the final type.
27234 This fixes cases where a string represents 2^32 - 1, which
27235 when cast to int would be the (valid) -1, but is bigger than
27238 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27240 * gst/parse/grammar.y:
27241 add a log line for type deserialization
27243 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27245 * check/gst/gstvalue.c: (START_TEST):
27246 * gst/gstvalue.c: (gst_value_deserialize):
27247 return long long, not int, so gint64 deserialization actually
27248 works. Is there any flag that makes the compiler check this ?
27251 2005-06-22 Wim Taymans <wim@fluendo.com>
27254 Added convenience macros for setting buffers in GValue.
27256 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27258 * check/gst/.cvsignore:
27259 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27260 add a test deserializing int64, and comment part out because
27263 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27265 * check/Makefile.am:
27266 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27267 * testsuite/Makefile.am:
27268 * testsuite/caps/Makefile.am:
27269 * testsuite/caps/value_serialize.c:
27270 * testsuite/test_gst_init.c:
27271 move a value_serialize test over
27273 2005-06-20 Wim Taymans <wim@fluendo.com>
27278 * gst/gstvalue.c: (gst_value_compare_buffer),
27279 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27280 (gst_value_compare_flags), (gst_value_serialize_flags),
27281 (gst_value_deserialize_flags), (_gst_value_initialize):
27282 Fix serialisation of buffers, they are not boxed types anymore
27284 2005-06-20 Wim Taymans <wim@fluendo.com>
27286 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27287 Testcase to show error in buffer-on-caps serialisation.
27289 2005-06-20 Andy Wingo <wingo@pobox.com>
27291 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27292 will be adding to later.
27294 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27295 if its socks fill with rocks.
27296 (gst_system_clock_obtain): Set the name on object construction.
27297 Avoid double-checked locking.
27299 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27301 * gst/gsturi.c: (gst_element_make_from_uri):
27302 Fix potential endless loop.
27304 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27306 * check/Makefile.am:
27308 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27310 move over from testsuite dir and clean up
27313 * testsuite/Makefile.am:
27314 * testsuite/tags/.cvsignore:
27315 * testsuite/tags/Makefile.am:
27316 * testsuite/tags/merge.c:
27317 remove testsuite/tags
27319 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27321 * docs/gst/gstreamer-sections.txt:
27322 * docs/gst/tmpl/gstenumtypes.sgml:
27323 * win32/gstenumtypes.c:
27324 clean up documentation build a little
27326 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27328 * check/gstcheck.h:
27329 add macros for checking refcounts on objects and caps
27330 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27331 add some more unit tests
27332 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27333 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27334 fix leaked refcounts (I hope :)) so unittest works
27338 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27340 * configure.ac: back to HEAD
27342 === release 0.9.1 ===
27344 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27350 2005-06-17 Andy Wingo <wingo@pobox.com>
27352 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27353 assert; it's always possible that the pad gets deactivated in
27354 between the checks in gstpad.c and the implementation. Rely on
27355 finish_preroll() to return a FLUSHING or similar instead of on the
27358 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27359 clock and post an EOS message if we come out of finish_preroll in
27362 2005-06-16 David Schleef <ds@schleef.org>
27364 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27365 (gst_capsfilter_set_property): Allow NULL as possible value
27366 for filter_caps property, indicating GST_CAPS_ANY.
27368 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27370 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27372 * gst/schedulers/Makefile.am:
27374 * gstreamer.spec.in:
27377 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27379 * gstreamer.spec.in:
27382 2005-06-08 Andy Wingo <wingo@pobox.com>
27384 * gst/gstutils.c: RPAD fixes all around.
27385 (gst_element_link_pads): Refcounting fixes.
27387 * tools/gst-inspect.c:
27388 * tools/gst-xmlinspect.c:
27390 * gst/base/gsttypefindhelper.c:
27391 * gst/base/gstbasesink.c:
27392 * gst/gstqueue.c: RPAD fixes.
27394 * gst/gstghostpad.h:
27395 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27396 pads. The tricky thing is they provide both source and sink
27397 interfaces, since they proxy the internal pad for the external
27398 pad, and vice versa. Implement with lower-level ProxyPad objects,
27399 with the interior proxy pad as a child of the exterior ghost pad.
27400 Should write a doc on this.
27402 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27403 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27406 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27407 pads are real pads. No ghost pads in this file. Not documenting
27408 the myriad s/RPAD/PAD/ and REALIZE fixes.
27409 (gst_pad_class_init): Add properties for "direction" and
27410 "template". Both are construct-only, so they can't change during
27411 the life of the pad. Fixes properly deriving from GstPad.
27412 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27413 derived objects, just set properties when creating the objects via
27415 (gst_pad_get_parent): Implement as a function, return NULL if the
27416 parent is not an element.
27417 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27418 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27420 * gst/gstobject.c (gst_object_class_init): Make name a construct
27421 property. Don't set it in the object init.
27423 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27424 with UNKNOWN direction.
27425 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27426 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27427 (gst_element_remove_pad): Remove ghost-pad special cases.
27428 (gst_element_pads_activate): Remove rpad cruft.
27430 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27431 catch the pad's-parent-not-an-element case.
27433 * gst/gst.h: Include gstghostpad.h.
27435 * gst/gst.c (init_post): No more real, ghost pads.
27437 * gst/Makefile.am: Add gstghostpad.[ch].
27439 * check/Makefile.am:
27440 * check/gst/gstbin.c:
27441 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27442 into a bin creates ghost pads, and that the refcounts are right.
27443 Partly moved from gstbin.c.
27445 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27447 * check/gst-libs/.cvsignore:
27448 * check/gst/.cvsignore:
27449 * check/pipelines/.cvsignore:
27451 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27452 (START_TEST), (cleanup_suite), (main):
27453 add some tests related to cleanup after running pipelines
27455 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27457 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27458 add a testsuite for GstBuffer
27460 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27462 * gst/gstminiobject.h:
27463 add defines for accessing the refcount
27465 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27467 * Makefile.am: added support for html unit test coverage reports
27469 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27471 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27472 Free existing caps if the capsfilter changes. Add a FIXME about
27473 setting those caps on the pads.
27475 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27476 Before adding a ghost pad to a parent bin, check that there isn't
27477 already one for the element on the bin. Prevents infinite recursion
27478 when using decodebin in parse pipelines. Andy says he'll rewrite the
27479 way this works anyway, so ignore the hack.
27481 2005-06-02 Andy Wingo <wingo@pobox.com>
27483 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27484 file size, pass it on to the type find helper.
27486 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27487 segment_start and segment_end properly according to the seek
27488 method. Segment_end is still a bit flaky because offset can be
27489 negative for CUR and END cases, but it takes -1 as an "unset"
27492 2005-06-02 Wim Taymans <wim@fluendo.com>
27494 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27495 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27496 (gst_basesink_activate):
27497 * gst/base/gstbasesink.h:
27498 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27499 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27500 (gst_pad_query), (gst_pad_start_task):
27502 * gst/gstqueue.c: (gst_queue_bufferalloc),
27503 (gst_queue_handle_sink_event), (gst_queue_chain):
27504 Bufferalloc: return GstFlowReturn to more accuratly report
27505 why allocation failed.
27507 2005-06-02 Wim Taymans <wim@fluendo.com>
27509 * gst/gstpipeline.c: (gst_pipeline_send_event):
27510 Take snapshot of state without blocking.
27512 2005-06-02 Wim Taymans <wim@fluendo.com>
27514 * docs/design/part-TODO.txt:
27515 * docs/design/part-caps.txt:
27516 * docs/design/part-clocks.txt:
27517 * docs/design/part-negotiation.txt:
27518 * docs/design/part-preroll.txt:
27521 2005-05-30 Wim Taymans <wim@fluendo.com>
27523 * gst/elements/gstidentity.c: (gst_identity_event),
27524 (gst_identity_transform), (gst_identity_get_property):
27525 Protect last_message property as it is accessed from
27528 2005-05-30 Wim Taymans <wim@fluendo.com>
27530 * gst/gstelement.c: (gst_element_init),
27531 (gst_element_pads_activate), (gst_element_change_state):
27532 Slicker pad activation code.
27534 2005-05-30 Wim Taymans <wim@fluendo.com>
27537 * gst/gstelement.h:
27538 * gst/gstelementfactory.h:
27540 Move elementfactory methods to separate .h file.
27542 2005-05-30 Wim Taymans <wim@fluendo.com>
27544 * docs/design/part-overview.txt:
27545 * gst/gstsystemclock.h:
27546 Small typo fixes, doc updates.
27548 2005-05-30 Wim Taymans <wim@fluendo.com>
27550 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27551 (init_popt_callback):
27552 Remove cpu-opt flag.
27554 2005-05-30 Wim Taymans <wim@fluendo.com>
27556 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27557 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27559 Avoid typechecking in places where not needed.
27560 Added accessor for malloc_data.
27562 2005-05-30 Wim Taymans <wim@fluendo.com>
27564 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27565 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27566 (gst_pad_configure_sink), (gst_pad_configure_src),
27567 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27568 (gst_pad_start_task):
27569 Propagate errors from _set_caps() in configure_src/sink
27570 functions instead of returning TRUE.
27571 FLUSH events can travel up and downstream
27574 2005-05-30 Wim Taymans <wim@fluendo.com>
27576 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27577 (gst_basesink_activate):
27578 Handle EOS in preroll.
27580 2005-05-30 Wim Taymans <wim@fluendo.com>
27582 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27583 (gst_queue_loop), (gst_queue_handle_src_event):
27584 Remove old pieces of code
27585 Flushing the queue in an upstream event is a very bad idea.
27587 2005-05-26 Andy Wingo <wingo@pobox.com>
27589 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27590 gst_value_set_mini_object so as to add a ref on the object (which
27591 will be removed when the value is unset).
27593 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27594 arg type in ::handoff.
27596 * gst/gstelement.c (gst_element_change_state): Also deactivate
27597 pads in READY->NULL, just in case the element didn't make it to
27598 PAUSED. Wingo tested, Wim approved.
27600 2005-05-26 Wim Taymans <wim@fluendo.com>
27602 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27603 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27604 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27605 A flushing pad cannot be used to alloc_buffer from.
27607 2005-05-26 Wim Taymans <wim@fluendo.com>
27609 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27610 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27611 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27612 (gst_bus_create_watch), (gst_bus_add_watch_full):
27614 Implement a real GSource and use g_main_context_wakeup() to
27615 signal new messages instead of the socketpair.
27617 2005-05-25 Wim Taymans <wim@fluendo.com>
27619 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27620 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27621 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27622 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27623 (gst_pad_send_event), (gst_pad_start_task):
27624 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27625 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27626 (gst_queue_sink_activate), (gst_queue_src_activate),
27627 (gst_queue_change_state):
27629 Fix state changes for non sinks. We now change sinks, then elements
27630 with unconnected srcpads, then the rest.
27631 More efficient queue unlocking in flush and state changes.
27632 Set the pad activate mode even if it does not have an activate
27635 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27637 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27638 Don't go in pull mode for non-seekable sources.
27639 * gst/elements/gsttypefindelement.h:
27640 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27641 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27642 (free_entry), (stop_typefinding),
27643 (gst_type_find_element_handle_event), (find_peek),
27644 (gst_type_find_element_chain), (do_pull_typefind),
27645 (gst_type_find_element_change_state):
27646 Allow typefinding (w/o seeking) in push-mode, simplified version
27647 of what was in 0.8.
27648 * gst/gstutils.c: (gst_buffer_join):
27650 gst_buffer_join() from 0.8.
27652 2005-05-25 Wim Taymans <wim@fluendo.com>
27654 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27655 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27656 (gst_pad_send_event), (gst_pad_start_task):
27657 Disable attempt at mode switching until it is figured out.
27659 2005-05-25 Wim Taymans <wim@fluendo.com>
27661 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27662 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27663 (gst_basesink_finish_preroll), (gst_basesink_chain),
27664 (gst_basesink_loop), (gst_basesink_activate),
27665 (gst_basesink_change_state):
27666 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27667 (gst_basesrc_get_range), (gst_basesrc_loop),
27668 (gst_basesrc_activate):
27669 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27670 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27671 (gst_real_pad_init), (gst_real_pad_set_property),
27672 (gst_real_pad_get_property), (gst_pad_set_active),
27673 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27674 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27675 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27676 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27677 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27678 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27679 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27680 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27681 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27682 (gst_pad_stop_task):
27684 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27685 (gst_queue_loop), (gst_queue_src_activate):
27686 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27687 (gst_task_get_state):
27689 * gst/schedulers/threadscheduler.c:
27690 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27691 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27693 Remove ACTIVE pad flag, use FLUSHING everywhere
27694 Added _pad_chain(), _pad_get_range() to call chain/getrange
27696 Add locks around IS_FLUSHING when reading.
27697 Take STREAM lock in chain(), get_range() functions so plugins
27698 don't need to take it anymore.
27702 2005-05-25 Wim Taymans <wim@fluendo.com>
27704 * tools/gst-launch.c: (event_loop):
27705 Unref message after using its contents instead of
27708 2005-05-24 Wim Taymans <wim@fluendo.com>
27710 * docs/design/draft-ghostpads.txt:
27711 * docs/design/draft-push-pull.txt:
27712 * docs/design/draft-query.txt:
27713 * docs/design/part-overview.txt:
27714 Docs updates, added general overview doc.
27716 2005-05-21 David Schleef <ds@schleef.org>
27718 * docs/gst/tmpl/old/GstBin.sgml:
27719 * docs/gst/tmpl/old/GstBuffer.sgml:
27720 * docs/gst/tmpl/old/GstCaps.sgml:
27721 * docs/gst/tmpl/old/GstClock.sgml:
27722 * docs/gst/tmpl/old/GstCompat.sgml:
27723 * docs/gst/tmpl/old/GstData.sgml:
27724 * docs/gst/tmpl/old/GstElement.sgml:
27725 * docs/gst/tmpl/old/GstEvent.sgml:
27726 * docs/gst/tmpl/old/GstIndex.sgml:
27727 * docs/gst/tmpl/old/GstStructure.sgml:
27728 * docs/gst/tmpl/old/GstTag.sgml:
27729 * docs/gst/tmpl/old/cothreads.sgml:
27730 * docs/gst/tmpl/old/cothreads_compat.sgml:
27731 * docs/gst/tmpl/old/gettext.sgml:
27732 * docs/gst/tmpl/old/gobject2gtk.sgml:
27733 * docs/gst/tmpl/old/grammar.tab.sgml:
27734 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27735 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27736 * docs/gst/tmpl/old/gst_private.sgml:
27737 * docs/gst/tmpl/old/gstaggregator.sgml:
27738 * docs/gst/tmpl/old/gstarch.sgml:
27739 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27740 * docs/gst/tmpl/old/gstbufferstore.sgml:
27741 * docs/gst/tmpl/old/gstdata_private.sgml:
27742 * docs/gst/tmpl/old/gstdisksink.sgml:
27743 * docs/gst/tmpl/old/gstdisksrc.sgml:
27744 * docs/gst/tmpl/old/gstelementfactory.sgml:
27745 * docs/gst/tmpl/old/gstextratypes.sgml:
27746 * docs/gst/tmpl/old/gstfakesink.sgml:
27747 * docs/gst/tmpl/old/gstfakesrc.sgml:
27748 * docs/gst/tmpl/old/gstfdsink.sgml:
27749 * docs/gst/tmpl/old/gstfdsrc.sgml:
27750 * docs/gst/tmpl/old/gstfilesink.sgml:
27751 * docs/gst/tmpl/old/gstfilesrc.sgml:
27752 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27753 * docs/gst/tmpl/old/gstidentity.sgml:
27754 * docs/gst/tmpl/old/gstindexfactory.sgml:
27755 * docs/gst/tmpl/old/gstmarshal.sgml:
27756 * docs/gst/tmpl/old/gstmd5sink.sgml:
27757 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27758 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27759 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27760 * docs/gst/tmpl/old/gstpipefilter.sgml:
27761 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27762 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27763 * docs/gst/tmpl/old/gstshaper.sgml:
27764 * docs/gst/tmpl/old/gstspider.sgml:
27765 * docs/gst/tmpl/old/gstspideridentity.sgml:
27766 * docs/gst/tmpl/old/gststatistics.sgml:
27767 * docs/gst/tmpl/old/gsttee.sgml:
27768 * docs/gst/tmpl/old/gsttimecache.sgml:
27769 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27770 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27771 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27772 * docs/gst/tmpl/old/types.sgml:
27773 I didn't intend to add these or check them in.
27775 2005-05-19 David Schleef <ds@schleef.org>
27777 * configure.ac: Use -no-common everywhere. In a sane world, it
27778 would be the default in libtool, because without it, you can't
27779 build DLLs on Windows.
27780 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27781 * docs/gst/gstreamer-sections.txt:
27782 * docs/gst/tmpl/gstcpu.sgml:
27783 * docs/gst/tmpl/gstdata.sgml:
27784 * docs/gst/tmpl/gstthread.sgml:
27786 2005-05-19 David Schleef <ds@schleef.org>
27788 * gst/gstminiobject.c: (gst_value_set_mini_object),
27789 (gst_value_take_mini_object), (gst_value_get_mini_object):
27790 * gst/gstminiobject.h: Add GValue set/get functions.
27792 2005-05-19 Wim Taymans <wim@fluendo.com>
27794 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27795 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27796 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27798 * gst/gstbus.c: (gst_bus_post):
27799 * gst/gstelement.c: (gst_element_get_random_pad):
27800 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27801 Make subbufer unref the parent in finalize.
27802 some more debugging info.
27805 2005-05-19 Wim Taymans <wim@fluendo.com>
27807 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27808 (gst_basesink_init), (gst_basesink_finalize),
27809 (gst_basesink_activate), (gst_basesink_change_state):
27810 Don't free preroll queue too early.
27812 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27816 Hi, I'm outdated. Please shoot me.
27818 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27820 * gst/gstpipeline.c: (gst_pipeline_send_event):
27821 Do not access variables after they have been deleted.
27823 2005-05-19 Wim Taymans <wim@fluendo.com>
27825 * tools/gst-inspect.c: (print_plugin_features):
27826 A plugin feature does unfortunatly not use the
27829 2005-05-18 Wim Taymans <wim@fluendo.com>
27831 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27832 Port _span() functions to new subbuffers.
27834 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27836 * gst/gstbin.c: (gst_bin_add_func):
27837 Fix clock settery in bins when adding kids after the clock has
27840 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27842 * gst/elements/gstidentity.c: (gst_identity_class_init):
27843 Workaround until signals support GstMiniObject.
27845 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27848 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27850 2005-05-18 Wim Taymans <wim@fluendo.com>
27852 * gst/base/Makefile.am:
27853 * gst/base/gstadapter.c: (gst_adapter_base_init),
27854 (gst_adapter_class_init), (gst_adapter_init),
27855 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27856 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27857 (gst_adapter_flush), (gst_adapter_available),
27858 (gst_adapter_available_fast):
27859 * gst/base/gstadapter.h:
27860 Ported and added adapter to the base classes.
27862 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27865 * gst/gstmessage.c:
27866 Make sure the class is reffed/unreffed once before threads can be
27867 used. Fixes #304551.
27869 2005-05-17 Wim Taymans <wim@fluendo.com>
27871 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27872 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27873 * gst/gstminiobject.c: (gst_mini_object_get_type),
27874 (gst_mini_object_free):
27875 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27876 (gst_pad_push), (gst_pad_push_event):
27877 * gst/gstqueue.c: (gst_queue_change_state):
27878 Don't queue buffers in basesink when we are flushing.
27879 Unref buffer when flushing in basesink.
27880 Flush queue when going to READY
27881 Unref buffer when _push() returns an error.
27882 Don't free MiniObject instance when refcount is incremented
27883 in _finalize() so that we can recover objects.
27885 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27887 * docs/manual/advanced-schedulers.xml:
27888 * docs/manual/appendix-checklist.xml:
27889 * docs/pwg/advanced-clock.xml:
27890 * docs/pwg/advanced-interfaces.xml:
27891 * docs/pwg/advanced-request.xml:
27892 * docs/pwg/advanced-types.xml:
27893 * docs/pwg/intro-preface.xml:
27894 * examples/plugins/example.c: (gst_example_get_type),
27895 (gst_example_class_init), (gst_example_chain),
27896 (gst_example_set_property), (gst_example_get_property),
27897 (gst_example_change_state), (plugin_init):
27898 * examples/plugins/example.h:
27901 2005-05-17 Wim Taymans <wim@fluendo.com>
27903 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27904 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27905 * gst/gstqueue.c: (gst_queue_change_state):
27906 Clear queue when going to READY.
27907 Remove IN_SETCAPS flag too.
27909 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27911 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27912 Remove implicit cast from gboolean to GstElementStateReturn;
27913 make sure we still return failure in paused => ready case if
27914 the parent class fails to change state and our own stop
27917 2005-05-17 Wim Taymans <wim@fluendo.com>
27919 * tools/gst-launch.c: (event_loop):
27920 Message was unreffed too soon.
27922 2005-05-16 Andy Wingo <wingo@pobox.com>
27924 * gst/gstbin.c (sink_iterator_filter): Err... um...
27926 * check/gst/gstbin.c (test_ghost_pads): New test for the
27927 ghosting-if-elements-not-in-same-bin behavior.
27929 2005-05-16 David Schleef <ds@schleef.org>
27931 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27932 accessing refcount directly.
27934 2005-05-15 David Schleef <ds@schleef.org>
27936 * check/Makefile.am: remove GstData checks
27937 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27938 * gst/Makefile.am: add miniobject, remove data
27939 * gst/gst.h: add miniobject, remove data
27940 * gst/gstdata.c: remove
27941 * gst/gstdata.h: remove
27942 * gst/gstdata_private.h: remove
27943 * gst/gsttypes.h: remove GstEvent and GstMessage
27944 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27945 * gst/gstmarshal.list: change BOXED -> OBJECT
27947 Implement GstMiniObject.
27948 * gst/gstminiobject.c:
27949 * gst/gstminiobject.h:
27951 Modify to be subclasses of GstMiniObject.
27952 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27953 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27954 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27955 (gst_subbuffer_get_type), (gst_subbuffer_init),
27956 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27959 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27960 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27961 (_gst_event_copy), (gst_event_new):
27963 * gst/gstmessage.c: (_gst_message_initialize),
27964 (gst_message_get_type), (gst_message_class_init),
27965 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27966 (gst_message_new), (gst_message_new_error),
27967 (gst_message_new_warning), (gst_message_new_tag),
27968 (gst_message_new_state_changed), (gst_message_new_application):
27969 * gst/gstmessage.h:
27970 * gst/gstprobe.c: (gst_probe_perform),
27971 (gst_probe_dispatcher_dispatch):
27973 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27974 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27975 (_gst_query_copy), (gst_query_new):
27977 Update elements for GstData -> GstMiniObject changes
27979 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27980 (gst_queue_chain), (gst_queue_loop):
27981 * gst/elements/gstbufferstore.c:
27982 (gst_buffer_store_add_buffer_func),
27983 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27984 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27985 (gst_fakesink_render):
27986 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27987 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27988 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27989 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27990 (gst_filesrc_create_read):
27991 * gst/elements/gstidentity.c: (gst_identity_class_init):
27992 * gst/elements/gsttypefindelement.c:
27993 (gst_type_find_element_src_event), (free_entry_buffers),
27994 (gst_type_find_element_handle_event):
27995 * libs/gst/dataprotocol/dataprotocol.c:
27996 (gst_dp_header_from_buffer):
27997 * libs/gst/dataprotocol/dataprotocol.h:
27998 * libs/gst/dataprotocol/dp-private.h:
28000 2005-05-15 David Schleef <ds@schleef.org>
28002 * gst/elements/gstelements.c: Don't include headers that were
28005 2005-05-15 David Schleef <ds@schleef.org>
28007 * gst/elements/Makefile.am: Remove some elements that don't
28008 need to be in the core (or even exist at all).
28009 * gst/elements/gstaggregator.c:
28010 * gst/elements/gstaggregator.h:
28011 * gst/elements/gstmd5sink.c:
28012 * gst/elements/gstmd5sink.h:
28013 * gst/elements/gstmultifilesrc.c:
28014 * gst/elements/gstmultifilesrc.h:
28015 * gst/elements/gstpipefilter.c:
28016 * gst/elements/gstpipefilter.h:
28017 * gst/elements/gstshaper.c:
28018 * gst/elements/gstshaper.h:
28019 * gst/elements/gststatistics.c:
28020 * gst/elements/gststatistics.h:
28021 * po/POTFILES.in: Remove above files.
28023 2005-05-14 Andy Wingo <wingo@pobox.com>
28025 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28026 so as to get the refs right.
28027 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28028 unreffing objects that don't pass the filter.
28030 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28031 gst_element_set_bus.
28032 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28033 normal cases, this will destroy the bus.
28035 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28038 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28041 2005-05-13 Andy Wingo <wingo@pobox.com>
28043 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28044 gst_pad_link, call pad_link_maybe_ghosting,
28045 (pad_link_maybe_ghosting): Links pads, making sure that the
28046 elements being linked are in the same bin.
28047 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28048 Helpers for pad_link_maybe_ghosting.
28050 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28053 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28055 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28057 * docs/design/part-element-source.txt:
28060 2005-05-12 Wim Taymans <wim@fluendo.com>
28062 * gst/base/gstbasesink.c: (gst_basesink_init),
28063 (gst_basesink_activate):
28064 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28065 (gst_basesrc_is_seekable):
28066 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28067 (bin_element_is_sink), (gst_bin_change_state):
28068 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28069 * gst/gstelement.h:
28070 Identify sinks by their flag to avoid overly complicated
28072 Do state changes even for elements not reachable from the
28074 BaseSink is a sink now :)
28075 Some more debugging info in the basesrc.
28078 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28080 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28081 Implement _query on a bin, similar to _send_event.
28083 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28085 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28086 Discont event offset format should be GST_FORMAT_BYTES,
28087 not GST_FORMAT_TIME.
28089 2005-05-12 Wim Taymans <wim@fluendo.com>
28091 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28092 Same fix as Ronald's but without the signal.
28094 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28096 * gst/gstutils.c: (gst_element_query_position):
28097 No, an element is not a pad.
28099 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28101 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28102 (gst_bin_get_state):
28103 If a child is removed from a bin while we remove the child from
28104 the bin and while we're retrieving its state, signal this to the
28105 get_state function so we abort the wait (instead of waiting for
28106 a timeout) and can immediately re-iterate over all other elements.
28108 2005-05-12 Wim Taymans <wim@fluendo.com>
28110 * gst/base/Makefile.am:
28111 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28112 (gst_basesrc_start):
28113 * gst/base/gstbasesrc.h:
28114 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28115 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28116 (gst_pushsrc_init), (gst_pushsrc_create):
28117 * gst/base/gstpushsrc.h:
28118 Added is_seekable to BaseSrc
28119 Added simple PushSrc.
28121 2005-05-11 Wim Taymans <wim@fluendo.com>
28123 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28124 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28125 (gst_element_link_pads), (gst_element_query_position),
28126 (gst_element_query_convert), (intersect_caps_func),
28127 (gst_pad_query_position), (gst_pad_query_convert):
28128 Fix refcounting in utils function.
28129 No point in trying to activate a pad when it's added, it could
28130 be added from the state change function and then we deadlock, the
28131 element has to decide what to do.
28133 2005-05-10 Andy Wingo <wingo@pobox.com>
28135 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28136 *all* the arguments.
28138 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28139 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28140 lock (according to the docs -- if this is wrong change the docs).
28142 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28143 flush messages in the NULL state.
28145 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28146 message immediately and return.
28147 (gst_bus_set_flushing): New function. If a bus is flushing, it
28148 flushes out any queued messages and immediately unrefs new
28149 messages. This is so when an element goes to NULL, all of the
28150 unhandled messages coming from it can be freed, and their
28151 references to the element dropped. In other words: message source
28152 ref considered harmful :P
28154 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28155 we're finished with it.
28157 * gst/gstmessage.c (gst_message_new_state_changed):
28159 2005-05-10 Wim Taymans <wim@fluendo.com>
28161 * gst/gstvalue.c: (gst_value_compare_flags),
28162 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28163 (_gst_value_initialize):
28164 Added flags serialize/deserialize/compare code.
28166 2005-05-09 Andy Wingo <wingo@pobox.com>
28168 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28169 Intersect the peer's caps with our caps.
28171 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28173 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28174 * gst/elements/gsttypefindelement.c: (find_peek):
28175 Handle negative offsets better. Fixes decodebin.
28177 2005-05-09 Wim Taymans <wim@fluendo.com>
28179 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28180 (gst_base_transform_event):
28181 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28182 Implement accept_caps.
28183 Fix silly lock/unlock mismatch in base class.
28185 2005-05-09 Wim Taymans <wim@fluendo.com>
28187 * docs/design/draft-push-pull.txt:
28188 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28189 * gst/elements/gstfilesink.c: (gst_filesink_init),
28190 (gst_filesink_query):
28191 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28192 (gst_type_find_handle_src_query), (find_element_get_length):
28193 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28194 * gst/gstelement.h:
28195 * gst/gstmessage.c:
28196 * gst/gstmessage.h:
28197 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28198 (gst_real_pad_get_caps_unlocked),
28199 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28200 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28201 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28202 (gst_real_pad_dispose), (gst_real_pad_finalize),
28203 (gst_pad_load_and_link), (gst_pad_save_thyself),
28204 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28205 (gst_pad_check_pull_range), (gst_pad_pull_range),
28206 (gst_pad_template_get_type), (gst_pad_template_class_init),
28207 (gst_pad_template_init), (gst_pad_template_dispose),
28208 (name_is_valid), (gst_static_pad_template_get),
28209 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28210 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28211 (gst_pad_get_element_private), (gst_pad_start_task),
28212 (gst_pad_pause_task), (gst_pad_stop_task),
28213 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28214 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28215 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28216 (gst_ghost_pad_new):
28218 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28219 (gst_query_new_position), (gst_query_set_position),
28220 (gst_query_parse_position), (gst_query_new_convert),
28221 (gst_query_set_convert), (gst_query_parse_convert):
28223 * gst/gstqueryutils.c:
28224 * gst/gstqueryutils.h:
28225 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28226 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28227 (gst_queue_handle_src_query):
28228 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28229 (gst_element_query_position), (gst_element_query_convert),
28230 (intersect_caps_func), (gst_pad_query_position),
28231 (gst_pad_query_convert):
28233 * tools/gst-inspect.c: (print_pad_info):
28234 * tools/gst-xmlinspect.c: (print_element_info):
28235 Remove old query functions. Ported old code.
28236 Added position/convert helper functions to gstutils.
28237 Reordered gstpad.c code, grouping relevant things.
28238 Remove gst_message_new(), always need to speficy a specific
28242 2005-05-09 Andy Wingo <wingo@pobox.com>
28244 * gst/gstiterator.h: Add some includes.
28246 * gst/gstqueryutils.h: Include more headers.
28249 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28250 some uses of gst_pad_query.
28252 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28253 NULL out parameters.
28254 (gst_query_new_position): New proc, allocates a new position
28257 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28258 gstqueryutils.c to the build.
28260 * gst/gststructure.c (gst_structure_set_valist): Implement with
28261 the generic G_VALUE_COLLECT.
28263 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28265 * gst/Makefile.am: (gst_headers):
28266 Added gstqueryutils.h to the list of headers to install, that was
28267 a 'nachty' move wingo :)
28269 2005-05-06 Andy Wingo <wingo@pobox.com>
28272 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28273 GstData, init a memchunk.
28274 (standard_definitions): Add a few query types, deprecate a few.
28275 (gst_query_get_type): New proc.
28276 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28278 (gst_query_new_application, gst_query_get_structure): New public
28281 * docs/design/draft-query.txt: Removed LINKS from the query types,
28282 because all the rest can be dispatched to other pads -- seemed
28283 ugly to have a query that couldn't be dispatched. internal_links
28284 is fine as a pad method.
28286 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28287 in gstpad.c, but maintain binary compatibility for the moment.
28288 Will fix before 0.9 is out.
28290 * gst/gstqueryutils.c:
28291 * gst/gstqueryutils.h: New files, implement 3 methods for each
28292 query type: parse_query, parse_response, and set. Probably need an
28295 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28297 * gst/elements/gstfilesink.c (gst_filesink_query2):
28298 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28299 query_types, and formats methods.
28301 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28302 (gst_pad_set_query2_function): New functions.
28303 (gst_real_pad_init): Set query2_default as the default query2
28304 function. Basically just dispatches to internally linked pads.
28308 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28309 without using the atomic operations. Only one thread can possibly
28310 be accessing the data at this point. Changed so as to avoid
28311 gst_atomic operations.
28313 2005-05-06 Wim Taymans <wim@fluendo.com>
28315 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28316 Also set caps if we use the fallback buffer alloc.
28318 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28320 * docs/gst/Makefile.am:
28321 * docs/gst/gstreamer-docs.sgml:
28322 * docs/gst/gstreamer-sections.txt:
28323 * docs/gst/tmpl/gstatomic.sgml:
28324 * docs/gst/tmpl/gstmemchunk.sgml:
28325 * testsuite/elements/struct_i386.h:
28326 * win32/GStreamer.vcproj:
28328 Purge GstAtomic stuff from docs and win32 makefiles as well
28330 2005-05-06 Wim Taymans <wim@fluendo.com>
28332 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28333 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28334 * gst/gstpad.c: (gst_pad_peer_get_caps):
28335 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28336 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28337 (gst_queue_src_activate), (gst_queue_change_state):
28339 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28340 (intersect_caps_func):
28341 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28342 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28343 Some fixes for the peer_get_caps() change.
28345 2005-05-06 Wim Taymans <wim@fluendo.com>
28347 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28348 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28349 (gst_basesink_activate):
28350 Actually do something with error codes returned from the push
28353 2005-05-06 Wim Taymans <wim@fluendo.com>
28355 * docs/design/part-element-sink.txt:
28356 * docs/design/part-element-source.txt:
28357 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28358 (gst_basesink_event), (gst_basesink_activate):
28359 * gst/base/gstbasesink.h:
28360 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28361 (gst_basesrc_activate):
28362 * gst/base/gstbasesrc.h:
28363 * gst/gstelement.c: (gst_element_pads_activate):
28364 Some more documentation.
28365 Fixed scheduling decision in _pads_activate().
28367 2005-05-05 Andy Wingo <wingo@pobox.com>
28369 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28372 2005-05-05 Wim Taymans <wim@fluendo.com>
28374 * gst/base/Makefile.am:
28375 * gst/base/gstbasesink.h:
28376 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28377 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28378 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28379 (gst_collectpads_class_init), (gst_collectpads_init),
28380 (gst_collectpads_finalize), (gst_collectpads_new),
28381 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28382 (find_pad), (gst_collectpads_remove_pad),
28383 (gst_collectpads_is_active), (gst_collectpads_collect),
28384 (gst_collectpads_collect_range), (gst_collectpads_start),
28385 (gst_collectpads_stop), (gst_collectpads_peek),
28386 (gst_collectpads_pop), (gst_collectpads_available),
28387 (gst_collectpads_read), (gst_collectpads_flush),
28388 (gst_collectpads_chain):
28389 * gst/base/gstcollectpads.h:
28390 * gst/elements/Makefile.am:
28391 * gst/elements/gstelements.c:
28392 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28393 (gst_fakesink_get_times), (gst_fakesink_event),
28394 (gst_fakesink_preroll), (gst_fakesink_render):
28395 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28396 (gst_filesink_init), (gst_filesink_set_location),
28397 (gst_filesink_open_file), (gst_filesink_close_file),
28398 (gst_filesink_pad_query), (gst_filesink_event),
28399 (gst_filesink_render), (gst_filesink_change_state):
28400 * gst/elements/gstfilesink.h:
28401 Added object to help in making collect pad based elements.
28403 Make event function in sink baseclass return gboolean.
28405 2005-05-05 Wim Taymans <wim@fluendo.com>
28407 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28408 (gst_bin_get_by_name):
28410 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28411 (gst_clock_finalize):
28412 * gst/gstdata.c: (gst_data_replace):
28414 * gst/gstelement.c: (gst_element_request_pad),
28415 (gst_element_pads_activate):
28416 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28417 (gst_object_unref):
28418 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28419 (gst_pad_set_checkgetrange_function),
28420 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28421 (gst_pad_check_pull_range), (gst_pad_pull_range),
28422 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28423 (gst_pad_pause_task), (gst_pad_stop_task):
28424 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28425 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28426 Fix name lookup in GstBin.
28427 Added _data_replace() function and _buffer_replace()
28428 Use finalize method to clean up clock.
28429 Fix refcounting on request pads.
28430 Fix pad schedule mode error.
28431 Some more object refcounting debug info,
28434 2005-05-04 Andy Wingo <wingo@pobox.com>
28436 * check/Makefile.am:
28437 * docs/gst/tmpl/gstatomic.sgml:
28438 * docs/gst/tmpl/gstplugin.sgml:
28439 * gst/base/gstbasesink.c: (gst_basesink_activate):
28440 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28441 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28442 (gst_basesrc_query), (gst_basesrc_set_property),
28443 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28444 (gst_basesrc_activate):
28445 * gst/base/gstbasesrc.h:
28446 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28447 (gst_base_transform_src_activate):
28448 * gst/elements/gstelements.c:
28449 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28450 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28451 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28452 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28453 (gst_type_find_element_checkgetrange),
28454 (gst_type_find_element_activate):
28455 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28456 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28457 (gst_caps_load_thyself):
28458 * gst/gstelement.c: (gst_element_pads_activate),
28459 (gst_element_save_thyself), (gst_element_restore_thyself):
28460 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28461 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28463 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28464 (gst_xml_parse_file), (gst_xml_parse_memory),
28465 (gst_xml_get_element), (gst_xml_make_element):
28466 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28467 (_file_index_id_save_xml), (gst_file_index_commit):
28468 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28469 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28471 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28472 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28473 * tools/gst-complete.c: (main):
28474 * tools/gst-compprep.c: (main):
28475 * tools/gst-inspect.c: (print_element_properties_info):
28476 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28477 * tools/gst-xmlinspect.c: (print_element_properties):
28480 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28482 * gst/gstplugin.c: (gst_plugin_check_module),
28483 (gst_plugin_check_file), (gst_plugin_load_file):
28484 apply patch from #172526 to make register work on MacOSX
28486 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28488 * docs/gst/tmpl/gstconfig.sgml:
28489 * gst/gstconfig.h.in:
28490 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28491 * testsuite/debug/printf_extension.c: (main):
28492 Do not use GST_PTR_FORMAT on pointers to types with
28493 sizeof < sizeof(gpointer). Fixes test on 64-bit
28494 * testsuite/elements/property.h:
28495 use correct printf format
28497 2005-05-02 Wim Taymans <wim@fluendo.com>
28499 * docs/design/draft-push-pull.txt:
28500 * docs/design/draft-query.txt:
28501 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28502 (gst_basesrc_start):
28503 Added draft for new query API.
28504 Added draft for better selecting scheduling methods.
28505 Make basesrc ignore length if the subclass does not support
28508 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28511 possible fixes for automake-1.5 - _LIBADD is reserved
28513 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28515 * docs/faq/Makefile.am:
28516 * docs/manual/Makefile.am:
28517 * docs/manuals.mak:
28518 * docs/pwg/Makefile.am:
28520 possible fixes for automake-1.5
28522 2005-04-28 Wim Taymans <wim@fluendo.com>
28524 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28525 (gst_basesink_pad_getcaps), (gst_basesink_init),
28526 (gst_basesink_do_sync):
28527 * gst/gstclock.c: (gst_clock_entry_new):
28528 * gst/gstevent.c: (gst_event_discont_get_value):
28529 * gst/gstpipeline.c: (pipeline_bus_handler),
28530 (gst_pipeline_change_state):
28531 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28532 Better debugging of clocking info.
28533 Allow NULL values when getting discont values.
28535 2005-04-27 Wim Taymans <wim@fluendo.com>
28537 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28538 * check/gst/gstpad.c: (gst_pad_suite):
28539 Increase timeout for checks.
28541 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28543 * check/Makefile.am:
28544 fix the broken rule for cleanup. Apparently this rule is
28545 only needed on FC2, so maybe this warrants further autotool
28548 2005-04-26 Wim Taymans <wim@fluendo.com>
28550 * gst/gsttrashstack.h:
28551 Ooohh. a nasty one! After having a failed pop() from the stack,
28552 it's possible that the stack is empty. In that case, don't
28553 follow the NULL pointer.
28555 2005-04-25 Wim Taymans <wim@fluendo.com>
28557 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28558 (gst_pad_set_checkgetrange_function),
28559 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28560 (gst_pad_check_pull_range), (gst_pad_pull_range),
28561 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28562 (gst_pad_pause_task), (gst_pad_stop_task):
28563 * gst/gstplugin.c: (gst_plugin_load):
28565 Remove gst_library_load as it does more harm than good with
28566 the new g_module flags.
28567 Revert bogus caps template check in pad linking, pad caps
28568 are important when linking not the template, which is more
28569 general than the current caps.
28571 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28573 * gst/autoplug/.cvsignore:
28574 * gst/autoplug/Makefile.am:
28575 * gst/autoplug/gstsearchfuncs.c:
28576 * gst/autoplug/gstsearchfuncs.h:
28577 * gst/autoplug/gstspider.c:
28578 * gst/autoplug/gstspider.h:
28579 * gst/autoplug/gstspideridentity.c:
28580 * gst/autoplug/gstspideridentity.h:
28581 * gst/autoplug/spidertest.c:
28584 2005-04-25 Wim Taymans <wim@fluendo.com>
28586 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28587 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28588 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28589 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28591 Added stubs for unimplemented functions.
28593 2005-04-24 David Schleef <ds@schleef.org>
28595 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28598 2005-04-24 David Schleef <ds@schleef.org>
28600 Convert everything from GstAtomicInt to g_atomic_int_*, and
28605 * gst/gstatomic_impl.h:
28613 * gst/gstdata_private.h:
28617 * gst/gstmessage.c:
28620 * gst/gststructure.c:
28621 * gst/gststructure.h:
28622 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28625 2005-04-24 David Schleef <ds@schleef.org>
28627 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28628 make the regressions tests work. Remove some code that is no
28630 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28631 Disable warning for pads without templates.
28633 2005-04-24 David Schleef <ds@schleef.org>
28635 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28636 functions that handle filtered links.
28637 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28639 * gst/gstutils.c: Fix/remove utility functions that handle
28642 * gst/gstvalue.c: Add serialization/deserialization of caps
28643 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28644 requires fixing so that the filter caps notation creates
28645 a capsfilter element and sets the filter_caps property. I
28646 think everyone probably wants to keep the shorthand notation.
28647 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28648 * docs/gst/tmpl/gstpad.sgml:
28650 * gst/elements/gstelements.c: Register capsfilter element.
28651 * gst/Makefile.am: fix spacing
28652 * docs/random/ds/0.9-suggested-changes: random
28654 2005-04-23 David Schleef <ds@schleef.org>
28656 * gst/elements/Makefile.am:
28657 * gst/elements/gstcapsfilter.c: New element that acts like an
28658 identity, but filters caps. Will eventually replace filtered
28659 caps in pad linking.
28660 * gst/gstutils.c: (gst_element_create_all_pads): New function
28661 to create all the ALWAYS pads that are registered with an
28662 element class. This functionality should eventually be
28663 merged in with GstElement initialization.
28665 * testsuite/trigger/README: part of trigger test code that should
28666 have been checked in a long time ago.
28668 2005-04-23 David Schleef <ds@schleef.org>
28670 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28671 needed with new versions of libtool (nobody will confirm this),
28672 and hard to carry around.
28673 * gst/autoplug/Makefile.am:
28674 * gst/base/Makefile.am:
28675 * gst/elements/Makefile.am:
28676 * gst/indexers/Makefile.am:
28677 * gst/schedulers/Makefile.am:
28678 * libs/gst/bytestream/Makefile.am:
28679 * libs/gst/control/Makefile.am:
28680 * libs/gst/dataprotocol/Makefile.am:
28681 * libs/gst/getbits/Makefile.am:
28683 2005-04-21 Wim Taymans <wim@fluendo.com>
28685 * docs/design/draft-push-pull.txt:
28686 * docs/design/part-MT-refcounting.txt:
28687 * docs/design/part-TODO.txt:
28688 * docs/design/part-caps.txt:
28689 * docs/design/part-events.txt:
28690 * docs/design/part-gstbus.txt:
28691 * docs/design/part-gstpipeline.txt:
28692 * docs/design/part-messages.txt:
28693 * docs/design/part-push-pull.txt:
28694 * docs/design/part-query.txt:
28697 2005-04-21 Wim Taymans <wim@fluendo.com>
28699 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28700 (gst_message_new), (gst_message_new_error),
28701 (gst_message_new_warning), (gst_message_new_tag),
28702 (gst_message_new_state_changed), (gst_message_new_application),
28703 (gst_message_get_structure):
28704 * gst/gstmessage.h:
28705 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28706 (gst_structure_copy_conditional):
28707 Use parent refcount in GstMessage to ensure GstStructure
28709 Cleaned up headers a bit.
28712 2005-04-20 Wim Taymans <wim@fluendo.com>
28714 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28715 (gst_basesink_pad_getcaps), (gst_basesink_init),
28716 (gst_basesink_chain_unlocked):
28717 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28718 (gst_type_find_helper):
28719 * gst/elements/gsttypefindelement.c:
28720 (gst_type_find_element_have_type), (gst_type_find_element_init),
28721 (stop_typefinding), (gst_type_find_element_handle_event),
28722 (find_suggest), (gst_type_find_element_chain),
28723 (gst_type_find_element_checkgetrange),
28724 (gst_type_find_element_getrange), (do_typefind),
28725 (gst_type_find_element_activate):
28726 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28727 (gst_buffer_default_free), (gst_buffer_default_copy),
28728 (gst_buffer_set_caps):
28729 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28730 (gst_caps_replace):
28731 * gst/gstmessage.c: (gst_message_new),
28732 (gst_message_new_state_changed):
28733 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28734 (gst_pad_set_checkgetrange_function),
28735 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28736 (gst_pad_set_caps), (gst_pad_check_pull_range),
28737 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28739 * gst/gsttypefind.c: (gst_type_find_register):
28740 Make gst_caps_replace() work like other _replace() functions.
28741 Use _caps_replace() where possible.
28742 Make sure _message_new() initialises its field.
28743 Add gst_static_pad_template_get_caps()
28746 2005-04-18 Andy Wingo <wingo@pobox.com>
28748 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28749 on the peer, not the pad. I think that was a typo. Pass an extra
28750 arg to see if random access is possible. Activate the pads as
28751 PULL_RANGE if possible.
28753 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28755 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28756 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28759 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28761 * docs/faq/using.xml:
28762 Add note on gstreamer-properties (#154996).
28764 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28766 * docs/random/bbb/optional-properties:
28767 Some analysis on optional properties.
28769 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28771 * docs/gst/tmpl/gstelementfactory.sgml:
28772 * gst/gstelement.h:
28773 * gst/gstelementfactory.c: (gst_element_factory_init),
28774 (gst_element_factory_cleanup), (gst_element_register),
28775 (__gst_element_factory_add_static_pad_template),
28776 (gst_element_factory_get_static_pad_templates),
28777 (gst_element_factory_can_src_caps),
28778 (gst_element_factory_can_sink_caps):
28779 * gst/registries/Makefile.am:
28780 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28781 (gst_xml_registry_class_init), (gst_xml_registry_init),
28782 (gst_xml_registry_new), (gst_xml_registry_set_property),
28783 (gst_xml_registry_get_property), (get_time), (make_dir),
28784 (gst_xml_registry_get_perms_func),
28785 (plugin_times_older_than_recurse), (plugin_times_older_than),
28786 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28787 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28788 (add_to_char_array), (read_string), (read_uint), (read_enum),
28789 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28790 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28791 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28792 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28793 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28794 (gst_xml_registry_rebuild):
28795 * gst/registries/gstlibxmlregistry.h:
28796 * tools/gst-compprep.c: (main):
28797 * tools/gst-inspect.c: (print_pad_templates_info):
28798 * tools/gst-xmlinspect.c: (print_element_info):
28799 Use libxml2 for registry parsing, use staticpadtemplates in
28800 elementfactories. Makes gst_init() +/- 10x faster.
28802 2005-04-12 Wim Taymans <wim@fluendo.com>
28804 * gst/base/Makefile.am:
28805 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28806 (gst_basesink_pad_getcaps), (gst_basesink_init),
28807 (gst_basesink_event), (gst_basesink_change_state):
28808 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28809 (gst_basesrc_init), (gst_basesrc_query),
28810 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28811 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28812 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28813 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28814 (gst_basesrc_stop), (gst_basesrc_activate),
28815 (gst_basesrc_change_state):
28816 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28817 (helper_find_suggest), (gst_type_find_helper):
28818 * gst/base/gsttypefindhelper.h:
28819 * gst/elements/Makefile.am:
28820 * gst/elements/gstelements.c:
28821 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28822 (gst_fakesink_get_times), (gst_fakesink_event),
28823 (gst_fakesink_preroll), (gst_fakesink_render):
28824 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28825 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28826 (gst_fakesrc_get_property), (gst_fakesrc_create),
28827 (gst_fakesrc_start), (gst_fakesrc_stop):
28828 * gst/elements/gstfakesrc.h:
28829 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28830 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28831 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28832 (gst_filesrc_create_read), (gst_filesrc_create),
28833 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28834 (gst_filesrc_start):
28835 * gst/elements/gsttypefindelement.c:
28836 (gst_type_find_element_have_type), (gst_type_find_element_init),
28837 (start_typefinding), (stop_typefinding), (push_buffer_store),
28838 (gst_type_find_element_handle_event),
28839 (gst_type_find_element_chain),
28840 (gst_type_find_element_checkgetrange),
28841 (gst_type_find_element_getrange), (do_typefind),
28842 (gst_type_find_element_activate),
28843 (gst_type_find_element_change_state):
28844 * gst/elements/gsttypefindelement.h:
28845 * gst/gstpipeline.c: (pipeline_bus_handler):
28846 Added typefind helper.
28847 Small preroll fix in the base sink.
28848 Disable typefind code in basesrc.
28849 Crude port of typefindelement.
28853 2005-04-11 Wim Taymans <wim@fluendo.com>
28855 * check/gst/gstbus.c: (gstbus_suite):
28856 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28857 * check/gstcheck.h:
28858 Fix up the timeout so that the test does not fail.
28860 2005-04-06 Wim Taymans <wim@fluendo.com>
28863 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28864 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28865 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28866 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28867 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28868 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28869 (gst_basesrc_stop), (gst_basesrc_activate),
28870 (gst_basesrc_change_state), (basesrc_find_peek),
28871 (basesrc_find_suggest), (gst_basesrc_type_find):
28872 * gst/base/gstbasesrc.h:
28873 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28874 (gst_filesrc_class_init), (gst_filesrc_init),
28875 (gst_filesrc_finalize), (gst_filesrc_set_location),
28876 (gst_filesrc_set_property), (gst_filesrc_get_property),
28877 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28878 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28879 (gst_filesrc_create_read), (gst_filesrc_create),
28880 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28881 * gst/elements/gstfilesrc.h:
28882 * gst/gstelement.c: (gst_element_get_state_func),
28883 (gst_element_lost_state), (gst_element_pads_activate):
28884 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28885 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28886 (gst_pad_pull_range):
28888 More work on the generic source base class, implement seeking,
28890 Make filesrc extend the base source class.
28891 Added gst_pad_set_checkgetrange_function to GstPad.
28893 2005-04-06 Andy Wingo <wingo@pobox.com>
28895 * pkgconfig/gstreamer-base.pc.in:
28896 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28898 * pkgconfig/Makefile.am:
28899 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28901 2005-04-04 Wim Taymans <wim@fluendo.com>
28903 * gst/base/Makefile.am:
28905 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28906 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28907 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28908 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28909 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28910 (gst_basesrc_base_init), (gst_basesrc_class_init),
28911 (gst_basesrc_init), (gst_basesrc_get_formats),
28912 (gst_basesrc_get_query_types), (gst_basesrc_query),
28913 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28914 (gst_basesrc_set_property), (gst_basesrc_get_property),
28915 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28916 (gst_basesrc_loop), (gst_basesrc_activate),
28917 (gst_basesrc_change_state):
28918 * gst/base/gstbasesrc.h:
28919 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28920 (gst_fakesrc_class_init), (gst_fakesrc_init),
28921 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28922 (gst_fakesrc_get_property), (gst_fakesrc_create):
28923 * gst/elements/gstfakesrc.h:
28924 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28925 (gst_filesrc_open_file), (gst_filesrc_loop),
28926 (gst_filesrc_activate), (filesrc_find_peek),
28927 (gst_filesrc_type_find):
28928 Made base source class, make fakesrc extend it.
28929 Add comments to basesink class.
28930 Some filesrc cleanup.
28932 2005-03-31 David Schleef <ds@schleef.org>
28934 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28935 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28936 expected to link against libgstreamer.
28937 * gst/base/Makefile.am: link against libgstreamer
28938 * gst/elements/Makefile.am: same
28940 2005-03-31 Andy Wingo <wingo@pobox.com>
28942 * tests/instantiate/Makefile.am:
28943 * tests/instantiate/caps.c: Add test to test speed of caps copy
28946 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28947 GMemChunk to be fair.
28949 * gst/gsttrashstack.h: Remove warning about using the fallback
28950 trash stack implementation, it's still faster than malloc.
28952 2005-03-30 Andy Wingo <wingo@pobox.com>
28954 * tests/complexity.c: Add a copyright.
28956 2005-03-31 Wim Taymans <wim@fluendo.com>
28958 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28959 (gst_base_transform_class_init), (gst_base_transform_init),
28960 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28961 (gst_base_transform_get_property),
28962 (gst_base_transform_sink_activate),
28963 (gst_base_transform_src_activate),
28964 (gst_base_transform_change_state):
28965 * gst/base/gstbasetransform.h:
28966 * gst/elements/gstidentity.c: (gst_identity_class_init),
28967 (gst_identity_event), (gst_identity_check_perfect),
28968 (gst_identity_transform), (gst_identity_start),
28969 (gst_identity_stop):
28970 Added start/stop methods to transform base class so subclasses
28971 don't need to deal with state changes even.
28973 2005-03-31 Wim Taymans <wim@fluendo.com>
28975 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28976 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28978 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28979 (gst_pad_pull_range):
28980 Added rate to the discont event to prepare for variable speed
28981 and reverse playback.
28983 2005-03-29 David Schleef <ds@schleef.org>
28986 * testsuite/trigger/Makefile.am:
28987 * testsuite/trigger/trigger.c: A little example program to show
28988 how trigger-based elements can work.
28990 2005-03-29 Wim Taymans <wim@fluendo.com>
28992 * gst/base/Makefile.am:
28994 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28995 (gst_basesink_base_init), (gst_basesink_class_init),
28996 (gst_basesink_pad_getcaps), (gst_basesink_init),
28997 (gst_basesink_activate), (gst_basesink_change_state):
28998 * gst/base/gstbasesink.h:
28999 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29000 (gst_base_transform_base_init), (gst_base_transform_finalize),
29001 (gst_base_transform_class_init), (gst_base_transform_init),
29002 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29003 (gst_base_transform_event), (gst_base_transform_getrange),
29004 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29005 (gst_base_transform_set_property),
29006 (gst_base_transform_get_property),
29007 (gst_base_transform_sink_activate),
29008 (gst_base_transform_src_activate),
29009 (gst_base_transform_change_state):
29010 * gst/base/gstbasetransform.h:
29011 * gst/elements/gstidentity.c: (gst_identity_finalize),
29012 (gst_identity_class_init), (gst_identity_init),
29013 (gst_identity_event), (gst_identity_check_perfect),
29014 (gst_identity_transform), (gst_identity_set_property),
29015 (gst_identity_get_property), (gst_identity_change_state):
29016 * gst/elements/gstidentity.h:
29017 * gst/gstelement.c: (gst_element_get_state_func),
29018 (gst_element_lost_state), (gst_element_pads_activate):
29019 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29020 (gst_pad_check_pull_range), (gst_pad_pull_range):
29022 Simplify pad activation.
29023 Added function to check if pull_range can be performed.
29024 Error out when pulling inactive or flushing pads.
29025 Removed const from refcounted types as it does not make sense.
29026 Simplify pad templates in basesink
29027 Added base class for simple 1-to-1 transforms.
29028 Make identity subclass the base transform.
29030 2005-03-29 Andy Wingo <wingo@pobox.com>
29032 * docs/libs/gstreamer-libs-overrides.txt:
29033 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29034 really don't understand what's going on, but like whatever. I want
29037 * docs/gst/Makefile.am:
29038 * docs/libs/Makefile.am: Dist the overrides files.
29040 * check/Makefile.am (clean-local): Remove .libs directories.
29042 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29043 elements to EXTRA_DIST, so po/ files are happy.
29045 * po/POTFILES.in: Er, remove it here.
29047 * po/POTFILES: Remove gstspider.c.
29049 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29051 * docs/libs/gstreamer-libs-docs.sgml:
29052 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29055 * tests/complexity.c (main): Set the length of the preroll queue
29056 on the sinks to prevent a lockup.
29058 * libs/gst/dataprotocol/Makefile.am:
29059 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29060 the same as the one in check/gst-libs/gdp.c.
29062 * po/, docs/gst/: Commit automatic changes to docs and po files.
29064 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29065 the versioned libgstbase.
29067 * check/Makefile.am: Depend on an unversioned gst-register, seems
29068 to make autoconf happier.
29070 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29072 2005-03-28 Wim Taymans <wim@fluendo.com>
29075 * docs/design/part-gstelement.txt:
29076 * docs/design/part-negotiation.txt:
29077 * docs/design/part-preroll.txt:
29078 * docs/design/part-scheduling.txt:
29079 * docs/design/part-states.txt:
29081 * gst/base/Makefile.am:
29083 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29084 (gst_basesink_base_init), (gst_basesink_class_init),
29085 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29086 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29087 (gst_basesink_set_pad_functions),
29088 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29089 (gst_basesink_set_property), (gst_basesink_get_property),
29090 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29091 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29092 (gst_basesink_preroll_queue_push),
29093 (gst_basesink_preroll_queue_empty),
29094 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29095 (gst_basesink_event), (gst_basesink_get_times),
29096 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29097 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29098 (gst_basesink_loop), (gst_basesink_activate),
29099 (gst_basesink_change_state):
29100 * gst/base/gstbasesink.h:
29101 * gst/elements/Makefile.am:
29102 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29103 (gst_fakesink_class_init), (gst_fakesink_init),
29104 (gst_fakesink_set_property), (gst_fakesink_get_property),
29105 (gst_fakesink_get_times), (gst_fakesink_event),
29106 (gst_fakesink_preroll), (gst_fakesink_render),
29107 (gst_fakesink_change_state):
29108 * gst/elements/gstfakesink.h:
29109 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29110 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29111 * gst/gstelement.c: (gst_element_add_pad),
29112 (gst_element_get_state_func), (gst_element_abort_state),
29113 (gst_element_commit_state), (gst_element_lost_state),
29114 (gst_element_set_state), (gst_element_pads_activate):
29115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29116 * gst/gstpipeline.c: (gst_pipeline_send_event),
29117 (gst_pipeline_change_state):
29118 Added state change code.
29119 Added/updated docs.
29120 Added sink base class, make fakesink extend the base class.
29121 Small cleanups in GstPipeline.
29123 2005-03-26 David Schleef <ds@schleef.org>
29125 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29126 is broken and should be implemented in a different library.
29127 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29128 * gst/gst.h: remove gstcpu.h
29129 * gst/gstcpu.c: remove
29130 * gst/gstcpu.h: remove
29131 * gst/Makefile.am.future: Remove this file. It's ancient.
29133 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29135 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29136 (gst_bin_send_event):
29137 Add default event/set_manager handlers. The set_manager handler
29138 takes care that the manager is distributed over kids that were
29139 already in the bin before the manager was set. The event handler
29140 is a utility virtual function that sends the event over all sinks,
29141 so that gst_element_send_event (bin, event); has the expected
29143 * gst/gstpad.c: (gst_pad_event_default):
29144 Re-install default event handling for discontinuities, so that
29145 seeking works without requiring hacks in applications or extra
29147 * gst/gstpipeline.c: (gst_pipeline_class_init),
29148 (gst_pipeline_send_event):
29149 Half hack, half utility: set a pipeline to PAUSED for seek events,
29150 since that is the only way we can guarantee a/v sync. Means that
29151 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29152 and it "just works".
29154 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29156 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29157 Lock/unlock mismatch.
29159 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29161 * docs/faq/gst-uninstalled:
29162 add gst-plugins-base
29163 * docs/gst/Makefile.am:
29164 don't error out until docs are fixed
29165 * docs/gst/gstreamer.types:
29168 2005-03-22 Wim Taymans <wim@fluendo.com>
29170 * check/Makefile.am:
29171 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29172 * gst/gststructure.c: (gst_structure_set_valist),
29173 (gst_structure_copy_conditional):
29174 Activated more tests.
29175 Added message test.
29176 Added G_TYPE_POINTER to GstStructure.
29179 2005-03-22 Wim Taymans <wim@fluendo.com>
29181 * docs/design/part-TODO.txt:
29182 * docs/design/part-events.txt:
29183 * docs/design/part-gstbin.txt:
29184 * docs/design/part-gstbus.txt:
29185 * docs/design/part-gstpipeline.txt:
29186 * docs/design/part-messages.txt:
29188 * gst/gstmessage.c:
29191 2005-03-21 Wim Taymans <wim@fluendo.com>
29193 * gst/gstbus.c: (gst_bus_post):
29194 Fix copy-and-paste error.
29196 2005-03-21 Wim Taymans <wim@fluendo.com>
29198 * check/Makefile.am:
29200 * gst/elements/Makefile.am:
29201 * gst/elements/gstelements.c:
29202 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29203 (gst_fakesink_event), (gst_fakesink_chain):
29204 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29205 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29206 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29207 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29208 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29209 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29210 (gst_fakesrc_loop), (gst_fakesrc_activate),
29211 (gst_fakesrc_change_state):
29212 * gst/elements/gstfakesrc.h:
29213 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29214 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29215 (gst_filesrc_open_file), (gst_filesrc_loop),
29216 (gst_filesrc_activate), (gst_filesrc_change_state),
29217 (filesrc_find_peek), (filesrc_find_suggest),
29218 (gst_filesrc_type_find):
29219 * gst/elements/gstidentity.c: (gst_identity_finalize),
29220 (gst_identity_class_init), (gst_identity_init),
29221 (gst_identity_proxy_getcaps), (identity_queue_push),
29222 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29223 (gst_identity_getrange), (gst_identity_chain),
29224 (gst_identity_sink_loop), (gst_identity_src_loop),
29225 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29226 (gst_identity_set_property), (gst_identity_get_property),
29227 (gst_identity_change_state):
29228 * gst/elements/gstidentity.h:
29229 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29230 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29231 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29232 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29233 (gst_tee_sink_activate):
29234 * gst/elements/gsttee.h:
29235 * gst/gst.c: (gst_register_core_elements), (init_post):
29237 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29238 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29239 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29240 (gst_bin_change_state):
29242 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29243 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29244 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29245 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29246 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29247 (bus_watch_callback), (bus_watch_destroy),
29248 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29249 (poll_timeout), (gst_bus_poll):
29253 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29254 (gst_element_post_message), (gst_element_message_full),
29255 (gst_element_get_state_func), (gst_element_get_state),
29256 (gst_element_abort_state), (gst_element_commit_state),
29257 (gst_element_lost_state), (gst_element_set_state),
29258 (gst_element_pads_activate), (gst_element_change_state),
29259 (gst_element_dispose), (gst_element_set_manager_func),
29260 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29261 (gst_element_set_manager), (gst_element_get_manager),
29262 (gst_element_set_bus), (gst_element_get_bus),
29263 (gst_element_set_scheduler), (gst_element_get_scheduler):
29264 * gst/gstelement.h:
29265 * gst/gstevent.c: (gst_event_new_segment_seek),
29266 (gst_event_new_flush):
29268 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29269 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29270 (gst_message_new_eos), (gst_message_new_error),
29271 (gst_message_new_warning), (gst_message_new_tag),
29272 (gst_message_new_state_changed), (gst_message_new_application),
29273 (gst_message_get_structure), (gst_message_parse_tag),
29274 (gst_message_parse_state_changed), (gst_message_parse_error),
29275 (gst_message_parse_warning):
29276 * gst/gstmessage.h:
29277 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29278 (gst_real_pad_set_property), (gst_pad_set_active),
29279 (gst_pad_is_active), (gst_pad_set_blocked_async),
29280 (gst_pad_set_blocked), (gst_pad_is_blocked),
29281 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29282 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29283 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29284 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29285 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29286 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29287 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29288 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29289 (gst_pad_set_caps), (gst_pad_configure_sink),
29290 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29291 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29292 (gst_real_pad_dispose), (gst_real_pad_finalize),
29293 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29294 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29295 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29297 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29298 (pipeline_bus_handler), (gst_pipeline_change_state),
29299 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29300 * gst/gstpipeline.h:
29302 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29303 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29304 (gst_queue_link_src), (gst_queue_bufferalloc),
29305 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29306 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29307 (gst_queue_loop), (gst_queue_handle_src_event),
29308 (gst_queue_handle_src_query), (gst_queue_src_activate),
29309 (gst_queue_change_state):
29311 * gst/gstscheduler.c: (gst_scheduler_init),
29312 (gst_scheduler_dispose), (gst_scheduler_create_task),
29313 (gst_scheduler_factory_create):
29314 * gst/gstscheduler.h:
29315 * gst/gststructure.c: (gst_structure_get_type),
29316 (gst_structure_copy_conditional):
29317 * gst/gststructure.h:
29318 * gst/gsttaginterface.h:
29319 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29320 (gst_task_init), (gst_task_dispose), (gst_task_create),
29321 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29327 * gst/schedulers/Makefile.am:
29328 * gst/schedulers/cothreads_compat.h:
29329 * gst/schedulers/entryscheduler.c:
29330 * gst/schedulers/faircothreads.c:
29331 * gst/schedulers/faircothreads.h:
29332 * gst/schedulers/fairscheduler.c:
29333 * gst/schedulers/gstbasicscheduler.c:
29334 * gst/schedulers/gstoptimalscheduler.c:
29335 * gst/schedulers/gthread-cothreads.h:
29336 * gst/schedulers/threadscheduler.c:
29337 (gst_thread_scheduler_task_get_type),
29338 (gst_thread_scheduler_task_class_init),
29339 (gst_thread_scheduler_task_init),
29340 (gst_thread_scheduler_task_start),
29341 (gst_thread_scheduler_task_stop),
29342 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29343 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29344 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29345 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29347 * libs/gst/Makefile.am:
29348 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29349 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29350 (gst_file_pad_parent_set):
29351 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29352 (gst_dp_event_from_packet):
29353 * tests/complexity.c: (main):
29354 * tests/mass_elements.c: (main):
29355 * testsuite/states/locked.c: (message_received), (main):
29356 * testsuite/states/parent.c: (main):
29357 * tools/gst-inspect.c: (print_element_flag_info),
29358 (print_implementation_info), (print_pad_info):
29359 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29361 * tools/gst-md5sum.c: (event_loop), (main):
29362 * tools/gst-typefind.c: (main):
29363 * tools/gst-xmlinspect.c: (print_element_info):
29365 Added GstBus for mainloop integration.
29366 Added GstMessage for sending notifications on the bus.
29367 Added GstTask as an abstraction for pipeline entry points.
29369 Removed Schedulers.
29370 Simplified GstQueue for multithreaded core.
29371 Made _link threadsafe, removed old capsnego.
29372 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29373 Added pad blocking functions.
29374 Reworked scheduling functions in GstPad to prepare for
29375 scheduling updates soon.
29376 Moved events out of data stream.
29377 Simplified GstEvent types.
29378 Added return values to push/pull.
29379 Removed clocking from GstElement.
29380 Added prototypes for state change function for next merge.
29381 Removed iterate from bins and state change management.
29382 Fixed some elements, disabled others for now.
29383 Fixed -inspect and -launch.
29384 Added check for GstBus.
29386 2005-03-10 Wim Taymans <wim@fluendo.com>
29388 * docs/design/part-MT-refcounting.txt:
29389 * docs/design/part-clocks.txt:
29390 * docs/design/part-gstelement.txt:
29391 * docs/design/part-gstobject.txt:
29392 * docs/design/part-standards.txt:
29393 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29394 (gst_bin_remove_func), (gst_bin_remove):
29398 * testsuite/clock/clock1.c: (main):
29399 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29401 * testsuite/dlopen/loadgst.c: (do_test):
29402 * testsuite/refcounting/bin.c: (add_remove_test1),
29403 (add_remove_test2), (main):
29404 * testsuite/refcounting/element.c: (main):
29405 * testsuite/refcounting/element_pad.c: (main):
29406 * testsuite/refcounting/pad.c: (main):
29407 * tools/gst-launch.c: (sigint_handler_sighandler):
29408 * tools/gst-typefind.c: (main):
29410 Added doc about clock.
29411 removed gst_bin_iterate_recurse_up(), marked methods
29413 Fix more testsuites.
29415 2005-03-09 Wim Taymans <wim@fluendo.com>
29417 * gst/gstpad.c: (gst_pad_get_direction),
29418 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29419 (gst_pad_collect_valist):
29420 * testsuite/bins/interface.c: (main):
29421 * testsuite/caps/audioscale.c: (test_caps):
29422 * testsuite/caps/caps.c: (test1), (test2), (test3):
29423 * testsuite/caps/deserialize.c: (main):
29424 * testsuite/caps/enumcaps.c: (main):
29425 * testsuite/caps/filtercaps.c: (main):
29426 * testsuite/caps/intersect2.c: (main):
29427 * testsuite/caps/random.c: (main):
29428 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29429 * testsuite/caps/sets.c: (check_caps):
29430 * testsuite/caps/simplify.c: (check_caps), (main):
29431 * testsuite/caps/subtract.c: (check_caps):
29432 Fix _pad_get_direction wrt ghostpads.
29433 Fix caps testsuite.
29435 2005-03-09 Wim Taymans <wim@fluendo.com>
29437 * check/Makefile.am:
29438 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29439 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29440 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29441 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29442 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29443 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29444 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29445 (bin_element_is_sink), (gst_bin_iterate_sinks),
29446 (gst_bin_iterate_all_by_interface):
29448 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29449 (gst_element_change_state), (gst_element_dispose),
29450 (gst_element_finalize), (gst_element_set_loop_function):
29451 * gst/gstelement.h:
29452 * gst/gstiterator.c: (find_custom_fold_func):
29453 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29454 (gst_pad_collectv), (gst_pad_collect_valist),
29455 (gst_pad_template_new):
29456 * gst/gstpipeline.c: (gst_pipeline_class_init),
29457 (gst_pipeline_dispose), (gst_pipeline_set_property),
29458 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29459 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29460 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29462 * gst/schedulers/entryscheduler.c:
29463 * gst/schedulers/gstbasicscheduler.c:
29464 (gst_basic_scheduler_cothreaded_chain),
29465 (gst_basic_scheduler_chain_add_element):
29466 * testsuite/bins/interface.c: (main):
29468 Added GstSystemClock test.
29469 Implemented clock distribution code in GstBin.
29470 Implemented iterate sinks method for future use.
29471 Rearranged gstelement.h
29472 Fix GstIterator comparison bug.
29473 Moved some code to GstPipeline, mostly clocking related.
29475 2005-03-09 Wim Taymans <wim@fluendo.com>
29478 * gst/gst_private.h:
29479 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29480 (gst_bin_remove_func), (gst_bin_remove),
29481 (gst_bin_get_by_name_recurse_up):
29482 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29483 (gst_clock_id_compare_func), (gst_clock_id_wait),
29484 (gst_clock_id_wait_async), (gst_clock_init),
29485 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29486 * gst/gstelement.h:
29487 * gst/gstinfo.c: (_gst_debug_init):
29489 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29490 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29492 Bump version number, we're now 0.9.0
29493 Add future debugging category.
29494 Fix NULL _unref() in _get_by_name_recurse_up
29495 Rearrange gstpad.h.
29498 2005-03-08 Wim Taymans <wim@fluendo.com>
29500 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29501 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29502 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29503 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29504 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29505 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29506 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29507 * gst/elements/gstidentity.c: (gst_identity_class_init):
29508 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29509 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29510 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29511 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29512 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29514 * gst/gstelement.c: (gst_element_class_init),
29515 (gst_element_base_class_init), (gst_element_init),
29516 (gst_element_get_random_pad), (gst_element_wait_state_change),
29517 (gst_element_change_state), (gst_element_dispose),
29518 (gst_element_finalize), (gst_element_set_loop_function):
29519 * gst/gstelement.h:
29520 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29521 * gst/gstthread.c: (gst_thread_class_init),
29522 (gst_thread_release_children_locks), (gst_thread_change_state):
29523 * gst/schedulers/gstbasicscheduler.c:
29524 (gst_basic_scheduler_loopfunc_wrapper),
29525 (gst_basic_scheduler_chain_wrapper),
29526 (gst_basic_scheduler_src_wrapper),
29527 (gst_basic_scheduler_remove_element):
29528 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29529 Remove threadsafe properties. Fix elements because GObject
29530 complains when installing a property before declaring a
29531 set/get_property handler.
29532 Rearrange gstelement.h file, use STATE macros for state locks.
29533 Free mutexes in the finalize method instead of dispose.
29535 2005-03-08 Wim Taymans <wim@fluendo.com>
29537 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29538 * gst/gstthread.c: (gst_thread_release_children_locks):
29539 Added parentage check.
29540 Fix build og GstThread again.
29542 2005-03-08 Wim Taymans <wim@fluendo.com>
29544 * docs/design/part-MT-refcounting.txt:
29545 * docs/design/part-conventions.txt:
29546 * docs/design/part-gstobject.txt:
29547 * docs/design/part-relations.txt:
29548 * docs/design/part-standards.txt:
29549 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29550 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29551 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29552 (gst_bin_iterate_all_by_interface):
29555 * gst/gstelement.c: (gst_element_class_init),
29556 (gst_element_change_state), (gst_element_set_loop_function):
29557 * gst/gstelement.h:
29558 * gst/gstiterator.c:
29559 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29560 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29561 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29562 (gst_object_set_parent), (gst_object_unparent),
29563 (gst_object_check_uniqueness):
29565 Docs updates, clean up some headers.
29567 2005-03-07 Wim Taymans <wim@fluendo.com>
29569 * check/.cvsignore:
29570 * check/Makefile.am:
29571 * check/gst-libs/.cvsignore:
29572 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29573 * check/gst/.cvsignore:
29574 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29575 (START_TEST), (gstbus_suite), (main):
29576 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29577 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29578 (gst_data_suite), (main):
29579 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29580 (add_fold_func), (gstiterator_suite), (main):
29581 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29582 (thread_name_object), (thread_name_object_default),
29583 (gst_object_name_compare), (gst_object_suite), (main):
29584 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29585 (gst_pad_suite), (main):
29586 * check/gstcheck.c: (gst_check_log_message_func),
29587 (gst_check_log_critical_func), (gst_check_init):
29588 * check/gstcheck.h:
29589 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29590 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29593 2005-03-07 Wim Taymans <wim@fluendo.com>
29595 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29596 (gst_list_iterator_next), (gst_list_iterator_resync),
29597 (gst_list_iterator_free), (gst_iterator_new_list),
29598 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29599 (gst_iterator_free), (gst_iterator_push), (filter_next),
29600 (filter_resync), (filter_uninit), (filter_free),
29601 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29602 (gst_iterator_foreach), (find_custom_fold_func),
29603 (gst_iterator_find_custom):
29604 * gst/gstiterator.h:
29605 Added missing files.
29607 2005-03-07 Wim Taymans <wim@fluendo.com>
29611 * docs/design/part-MT-refcounting.txt:
29612 * docs/design/part-conventions.txt:
29613 * docs/design/part-gstobject.txt:
29614 * docs/design/part-relations.txt:
29615 * examples/mixer/mixer.c: (main):
29616 * examples/thread/thread.c: (eos), (main):
29618 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29619 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29620 (gst_spider_plug_from_srcpad):
29621 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29622 (gst_spider_identity_change_state),
29623 (gst_spider_identity_sink_loop_type_finding):
29624 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29625 * gst/elements/gstidentity.c: (gst_identity_init):
29626 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29627 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29628 * gst/elements/gsttypefindelement.c: (free_entry):
29631 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29632 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29633 (gst_bin_set_index), (gst_bin_set_element_sched),
29634 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29635 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29636 (gst_bin_iterate_elements), (iterate_child_recurse),
29637 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29638 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29639 (compare_interface), (gst_bin_get_by_interface),
29640 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29642 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29643 (gst_buffer_default_free), (gst_buffer_default_copy),
29644 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29645 (gst_buffer_create_sub):
29647 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29648 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29649 (gst_caps_unref), (gst_static_caps_get),
29650 (gst_caps_remove_and_get_structure), (gst_caps_append),
29651 (gst_caps_append_structure), (gst_caps_remove_structure),
29652 (gst_caps_copy_nth), (gst_caps_set_simple),
29653 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29654 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29655 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29656 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29657 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29658 (gst_caps_structure_figure_out_union),
29659 (gst_caps_switch_structures), (gst_caps_do_simplify),
29660 (gst_caps_replace), (gst_caps_from_string),
29661 (gst_caps_copy_conditional):
29663 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29664 (_gst_clock_id_free), (gst_clock_id_unref),
29665 (gst_clock_id_compare_func), (gst_clock_id_wait),
29666 (gst_clock_id_wait_async), (gst_clock_class_init),
29667 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29668 (gst_clock_get_time), (gst_clock_set_time_adjust),
29669 (gst_clock_set_property), (gst_clock_get_property):
29672 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29673 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29675 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29676 (gst_element_requires_clock), (gst_element_provides_clock),
29677 (gst_element_set_clock), (gst_element_clock_wait),
29678 (gst_element_wait), (gst_element_set_time_delay),
29679 (gst_element_is_indexable), (gst_element_add_pad),
29680 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29681 (pad_compare_name), (gst_element_get_static_pad),
29682 (gst_element_request_pad), (gst_element_get_request_pad),
29683 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29684 (gst_element_class_get_pad_template_list),
29685 (gst_element_class_get_pad_template), (gst_element_error_func),
29686 (gst_element_get_random_pad), (gst_element_get_event_masks),
29687 (gst_element_send_event), (gst_element_seek),
29688 (gst_element_get_query_types), (gst_element_query),
29689 (gst_element_get_formats), (gst_element_convert),
29690 (gst_element_is_locked_state), (gst_element_set_locked_state),
29691 (gst_element_sync_state_with_parent), (gst_element_change_state),
29692 (gst_element_finalize), (gst_element_yield),
29693 (gst_element_interrupt), (gst_element_set_scheduler),
29694 (gst_element_get_scheduler), (gst_element_set_loop_function):
29695 * gst/gstelement.h:
29697 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29698 (gst_format_get_by_nick), (gst_format_get_details),
29699 (gst_format_iterate_definitions):
29701 * gst/gstindex.c: (gst_index_gtype_resolver):
29704 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29705 (gst_mem_chunk_free):
29706 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29707 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29708 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29709 (gst_object_dispatch_properties_changed),
29710 (gst_object_set_name_default), (gst_object_set_name),
29711 (gst_object_get_name), (gst_object_set_name_prefix),
29712 (gst_object_get_name_prefix), (gst_object_set_parent),
29713 (gst_object_get_parent), (gst_object_unparent),
29714 (gst_object_check_uniqueness), (gst_object_save_thyself),
29715 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29716 (gst_object_set_property), (gst_object_get_property),
29717 (gst_object_get_path_string):
29719 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29720 (gst_real_pad_init), (gst_real_pad_get_property),
29721 (gst_pad_custom_new), (gst_pad_get_direction),
29722 (gst_pad_set_active), (gst_pad_is_active),
29723 (gst_pad_set_event_function), (gst_pad_is_linked),
29724 (gst_pad_link_free), (gst_pad_link_intersect),
29725 (gst_pad_link_fixate), (gst_pad_set_caps),
29726 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29727 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29728 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29729 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29730 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29731 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29732 (gst_pad_realize), (gst_pad_get_allowed_caps),
29733 (gst_real_pad_dispose), (gst_real_pad_finalize),
29734 (gst_pad_collectv), (gst_pad_collect_valist),
29735 (gst_pad_template_dispose), (gst_pad_template_new),
29736 (gst_pad_get_internal_links):
29738 * gst/gstpipeline.c: (gst_pipeline_dispose),
29739 (gst_pipeline_change_state):
29740 * gst/gstpipeline.h:
29742 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29743 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29744 * gst/gstpluginfeature.h:
29745 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29746 * gst/gstquery.c: (_gst_query_type_initialize),
29747 (gst_query_type_register), (gst_query_type_get_by_nick),
29748 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29750 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29751 * gst/gstscheduler.c: (gst_scheduler_add_element),
29752 (gst_scheduler_factory_create):
29753 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29754 (gst_structure_free), (gst_structure_set_name),
29755 (gst_structure_id_set_value), (gst_structure_set_value),
29756 (gst_structure_set_valist), (gst_structure_remove_field),
29757 (gst_structure_remove_fields),
29758 (gst_structure_remove_fields_valist),
29759 (gst_structure_remove_all_fields), (gst_structure_foreach),
29760 (gst_structure_map_in_place),
29761 (gst_caps_structure_fixate_field_nearest_int),
29762 (gst_caps_structure_fixate_field_nearest_double):
29763 * gst/gststructure.h:
29764 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29765 (gst_system_clock_init), (gst_system_clock_dispose),
29766 (gst_system_clock_async_thread),
29767 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29768 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29769 * gst/gstsystemclock.h:
29770 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29771 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29772 * gst/gsttaginterface.c:
29773 * gst/gstthread.c: (gst_thread_dispose),
29774 (gst_thread_release_children_locks), (gst_thread_change_state),
29775 (gst_thread_main_loop):
29776 * gst/gsttrashstack.h:
29777 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29779 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29780 (gst_element_request_pad), (gst_element_get_pad_from_template),
29781 (gst_element_request_compatible_pad),
29782 (gst_element_get_compatible_pad_filtered),
29783 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29784 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29785 (gst_element_link_many), (gst_element_link),
29786 (gst_element_link_pads), (gst_element_unlink_pads),
29787 (gst_element_unlink_many), (gst_element_unlink),
29788 (gst_pad_can_link_filtered), (gst_pad_can_link),
29789 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29790 (gst_object_default_error), (gst_bin_add_many),
29791 (gst_bin_remove_many), (gst_element_populate_std_props),
29792 (gst_element_class_install_std_props), (gst_buffer_merge),
29793 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29794 (link_fold_func), (gst_pad_proxy_setcaps):
29796 * gst/gstvalue.c: (gst_value_deserialize_string):
29797 * gst/parse/grammar.y:
29798 * gst/schedulers/gstbasicscheduler.c:
29799 (gst_basic_scheduler_cothreaded_chain),
29800 (gst_basic_scheduler_chain_recursive_add),
29801 (gst_basic_scheduler_pad_link):
29802 * gst/schedulers/gstoptimalscheduler.c:
29803 (get_group_schedule_function),
29804 (gst_opt_scheduler_state_transition),
29805 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29806 * libs/gst/bytestream/bytestream.c:
29807 * libs/gst/dataprotocol/dataprotocol.c:
29808 (gst_dp_header_from_buffer):
29811 * tests/threadstate/threadstate2.c: (eos):
29812 * tools/gst-compprep.c: (main):
29813 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29814 (print_pad_info), (print_children_info):
29815 * tools/gst-launch.c: (idle_func), (main):
29816 * tools/gst-md5sum.c: (idle_func), (main):
29817 * tools/gst-xmlinspect.c: (print_element_info):
29818 First THREADED backport attempt, focusing on adding locks and
29819 making sure the API is threadsafe. Needs more work. More docs
29822 2005-02-24 Andy Wingo <wingo@pobox.com>
29824 * tests/bench-complexity.scm:
29825 * tests/complexity.gnuplot: New files, good for running complexity
29828 * tests/Makefile.am:
29829 * tests/complexity.c: New test, sets up N elements, at each level
29830 teeing into M streams per element. Eeeenteresting.
29832 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29833 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29834 running bench-mass_elements.scm.
29836 * tests/bench-mass_elements.scm: New script, runs mass_elements
29837 for various numbers of identities, outputting the results to a
29838 file. Requires guile 1.6. Just for testing.
29840 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29842 * gst/schedulers/fairscheduler.c:
29843 compile with debug disabled
29845 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29848 hunting season on 0.9 is now OPEN